Convert numeric value to integer
Plex API behaves weird otherwise, appends the value to plex server url
without separator, which makes it connect to some odd tcp port.
MODIFY
plex_trakt_sync/commands/inspect.py
plex_trakt_sync/commands/inspect.py
@@ -16,6 +16,9 @@ def inspect(input):
server = PlexServer(url, token)
plex = PlexApi(server)
+ if input.isnumeric():
+ input = int(input)
+
m = plex.fetch_item(input)
movie = m.item

Convert numeric value to integer

Plex API behaves weird otherwise, appends the value to plex server url
without separator, which makes it connect to some odd tcp port.