Skip to content

[bug] Generic TMDB Franchise template cannot be created or configured in the web UI #717

Closed

Description

@tomislav

What happened

The generic TMDB Franchise collection template cannot be used from the web UI.

Opening the individual template shows a read-only summary with a disabled Use Template Bundles button. Applying the Franchise Collections bundle creates the placeholder, but its editor has no TMDB Collection ID field. The editor shows ordinary TMDB preset controls instead.

This leaves the placeholder at collection_id: 0 with no supported UI path to make it syncable. The collection-template documentation currently tells the administrator to edit the resulting collection's source_config, but the UI does not expose that configuration.

Steps to reproduce

  1. Run the web UI from commit 78b5d39529a5.
  2. Go to Admin → Collections → Browse Templates.
  3. Open the generic TMDB Franchise template.
  4. Observe that the template is read-only and cannot be created directly.
  5. Apply Template Bundles → Franchise Collections to a movie library.
  6. Open the resulting TMDB Franchise placeholder for editing.
  7. Observe that the editor offers TMDB preset, media type, limit, and schedule controls, but no TMDB Collection ID field.

Expected behavior

An administrator can create and configure a generic TMDB franchise collection without editing the database or calling the API manually.

At minimum, the editor should recognize source_config.mode: "tmdb_collection", show a validated TMDB Collection ID field, and preserve that source mode when saving. If the standalone generic template remains bundle-only, the UI should explain that constraint without leaving the bundle-created placeholder impossible to configure.

Silo version / commit

78b5d39529a5

Deployment

Local dev build

Clients affected

  • Web UI
  • Android
  • iOS/tvOS/macOS
  • Jellyfin-compat client (Infuse, Findroid, ...)
  • Other/not client-specific

Relevant logs

No logs available. The reproduction did not emit a server error; the required controls are absent from the UI.

Technical notes

Observed behavior and suspected cause are kept separate above. Code inspection found two relevant branches:

  • CollectionTemplateConfigForm.tsx renders every tmdb_collection template as a read-only summary and disables its action.
  • CollectionEditForm in adminCollectionsShared.tsx identifies a TMDB source only through collection.collection_type === "tmdb". On submit, that branch calls buildTMDBPresetSourceInput, regardless of source_config.mode. A franchise collection therefore has no mode-specific editor, and saving it risks replacing tmdb_collection configuration with tmdb_preset configuration.

The backend already dispatches sync behavior using source_config.mode and accepts tmdb_collection with a positive collection_id. The UI should use the same discriminator. Updating the ID should also keep source_url consistent as tmdb://collection/{id}.

This is separate from #677, which proposes automatic grouping of movies in catalog browsing rather than editing administrator-curated synced collections.

AI Disclosure

  • Tool(s): Codex desktop
  • Model(s): GPT-5
  • Involvement: AI-assisted; the user reproduced the UI behavior and requested the issue, while Codex inspected the relevant frontend, API, sync, documentation, contribution policy, and existing issues and drafted the report.
  • Adversarial review: Issue-only review. The observed UI behavior was separated from code-derived technical notes; repository paths and API behavior were checked against commit 78b5d39529a5; existing issues were searched for overlap; [v1] Automatic movie collection grouping #677 was reviewed and found to cover a different catalog-grouping feature. No implementation or test results are claimed.

Confirmations

  • I reproduced this myself on a real deployment.
  • No logs were available; no logs have been summarized or fabricated.

Activity

  1. added
    bug
    triaged
    and removed
    triaged
    on Sep 20, 2026
  2. added theissue type on Sep 20, 2026
  3. removed
    bug
    on Sep 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions