Skip to content

TMDBSeasonAPI Not Working When Searching by Series Title #259

@Dan25852

Description

@Dan25852
  • The Plugin is up to date - 0.8.0-canary.20260129T112027
  • Obsidian is up to date - 1.12.7

Describe the bug
Adding a new MediaDB entry via TMDBSeasonAPI does not work when searching by series title.

To Reproduce

  1. In Obsidian sidebar menu: Click "Add new Media DB entry" icon.
  2. In Media DB Advanced search popup menu: Enter a TV series. I searched "pokemon".
  3. In Media DB Advanced search popup menu: Toggle on "TMDBSeasonAPI". Click "Ok"
  4. In search results menu: Select a series. I selected item: "Pokémon (1997) 26 Seasons SEASON from TMDBSeasonAPI". Click "Ok".
  5. An error popup appears that reads: Error MDB | Invalid season id "60572". Expected format "<series_id>/season/<season_number>".

Expected behavior
I expected a new obsidian note to be created.

Screenshots
N/A

Occurs on

  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Plugin version
0.8.0-canary.20260129T112027

Additional context
I suspect that after submitting a selected search result, TMDBSeasonAPI tries to run the function "async getById(id: string)" but it is only being given a string like "60572" instead of being in the expected format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions