Closed simonc56 closed 2 years ago
inspect
was written in sense of debugging, and it's organically grown, depending on the needs. episode support was already added.
Show inspect:
How to resolve Season guid to something that trakt allows to search?
Guids:
Guid: <PlexGuid:com.plexapp.agents.thetvdb://328724/2?lang=en>, Id: 328724/2, Provider: 'tvdb'
Metadata: {'collected_at': '2020-11-07:T15:59:00.000Z', 'media_type': 'digital'}
[2022-10-21 01:46:26] ERROR Ignoring invalid id: '328724/2'
With legacy plex agent you can't (will it be deprecated sometime). But with the new agent you have external guids, right?
looks like trakt doesn't allow searching by season
Media.Type: 'season'
Media.Guid: 'plex://season/602e62e291bd55002cf7d7c5'
Media.Guids: [<Guid:tmdb://61356>]
Guids:
Guid: <PlexGuid:tmdb://61356>, Id: 61356, Provider: 'tmdb'
{"message":"invalid type"}
yep. missing from docs too:
tmdb | /search/tmdb/:id |
---|---|
/search/tmdb/:id?type=movie | |
/search/tmdb/:id?type=show | |
/search/tmdb/:id?type=episode | |
/search/tmdb/:id?type=person |
just skipping such searches then:
Feature description
Actually, when running
plextraktsync inspect 4922
it will crash if 4922 (the Plex ratingKey) is a show or a season. It will be ok only if it's a movie or an episode.I think for shows and seasons, it should al least display title, type and guid.
Use case
This is usefull for debugging.
Trace