jone / plex-trakt-syncer

Sync watched movies from plex to trakt.
10 stars 1 forks source link

TV-shows are added twice #4

Open tester22 opened 12 years ago

tester22 commented 12 years ago

It seems like there is an error when parsing Tv-Shows in plex.

All episodes are added twice once with season and once without. This causes all specials to be marked as seen on trakt, see:

2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 1 (Days Gone Bye) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 2 (Guts) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 3 (Tell It to the Frogs) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 4 (Vatos) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 5 (Wildfire) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 6 (TS-19) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 1 (What Lies Ahead) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 2 (Bloodletting) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 3 (Save the Last One) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 4 (Cherokee Rose) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 5 (Chupacabra) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 1, episode 1 (Days Gone Bye) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 1, episode 2 (Guts) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 1, episode 3 (Tell It to the Frogs) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 1, episode 4 (Vatos) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 1, episode 5 (Wildfire) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 1, episode 6 (TS-19) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 2, episode 1 (What Lies Ahead) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 2, episode 2 (Bloodletting) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 2, episode 3 (Save the Last One) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 2, episode 4 (Cherokee Rose) as seen 2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 2, episode 5 (Chupacabra) as seen 2012-03-26T11:55:34 INFO [plex-trakt-syncer] Mark "22" episodes of the show The Walking Dead as seen in trakt.tv

jone commented 12 years ago

Hey

I cannot reproduce the bug with my plex library - not sure how this happend. It seems that you have seasons without a "index" in your library.

Could you try to dump the show metadata from your plex API and post it here?

Cheers

tester22 commented 12 years ago

Hi, here are the xml from the PMS and the log from the script: http://files.trugen.net/46dfxp8l I took 30 Rock but I have the same problem on that series.