Closed varoOP closed 4 years ago
Also maybe we could make a public custom_mappings.ini in which users go on adding their mappings and you could make it the default that way the script would be closer to being perfect. Obviously it would only work for people using HAMA as well so gotta mention that.
Thought it already had ignore year for custom mapping entries, will check and fix :)
Public custom_mappings is a good idea but would need some way to collaborate and not every Plex library will be the same so will be tricky I think.
Pushed fix and just let me know if that solves it.
The error still persists it would seem. You don't have another branch right ? I cloned into the master branch again. Here is the output :
2019-11-08 05:31:53 Found multiple seasons so using season search instead for: Shokugeki no Souma
2019-11-08 05:31:53 [PLEX] Retrieving episode watch count for show: Shokugeki no Souma | season: 1
2019-11-08 05:31:53 [PLEX] Retrieving episode watch count for show: Shokugeki no Souma | season: 1
2019-11-08 05:31:53 [ANILIST] Used custom mapping id | title: Shokugeki no Souma | season: 1 | anilist id: 20923
2019-11-08 05:31:53 [ANILIST] Found AniList entry for Plex title: Shokugeki no Souma
2019-11-08 05:31:53 [ANILIST] Series is already marked as completed on AniList so skipping update
2019-11-08 05:31:53 [PLEX] Retrieving episode watch count for show: Shokugeki no Souma | season: 2
2019-11-08 05:31:54 [MAPPING] Used custom mapping id | title: Shokugeki no Souma | season: 2 | anilist id: 21518
2019-11-08 05:31:54 [ANILIST] Found AniList entry for Plex title: Food Wars! The Second Plate
2019-11-08 05:31:54 [ANILIST] Series is already marked as completed on AniList so skipping update
2019-11-08 05:31:54 [PLEX] Retrieving episode watch count for show: Shokugeki no Souma | season: 3
2019-11-08 05:31:54 [MAPPING] Used custom mapping id | title: Shokugeki no Souma | season: 3 | anilist id: 99255
2019-11-08 05:31:54 [ANILIST] Found AniList entry for Plex title: Food Wars! The Third Plate
2019-11-08 05:31:54 [ANILIST] Series is already marked as completed on AniList so skipping update
2019-11-08 05:31:54 [PLEX] Retrieving episode watch count for show: Shokugeki no Souma | season: 4
2019-11-08 05:31:54 [MAPPING] Used custom mapping id | title: Shokugeki no Souma | season: 4 | anilist id: 109963
2019-11-08 05:31:54 [ANILIST] Adding new series id to list: 109963 | Plex episodes watched: 1
2019-11-08 05:31:54 [ANILIST] Found AniList entry for Plex title: Shokugeki no Souma
2019-11-08 05:31:54 [ANILIST] Series year did not match (skipping update) => Plex has 2017 and AniList has 2019
2019-11-08 05:31:54 --------------------------------------------------
2019-11-08 05:31:54 [ANILIST] Found AniList entry for Plex title: Steins;Gate
2019-11-08 05:31:54 [ANILIST] Series is already marked as completed on AniList so skipping update
2019-11-08 05:31:54 --------------------------------------------------
2019-11-08 05:31:54 [ANILIST] Found AniList entry for Plex title: Steins;Gate 0
2019-11-08 05:31:54 [ANILIST] Series is already marked as completed on AniList so skipping update
2019-11-08 05:31:54 --------------------------------------------------
2019-11-08 05:31:54 Found multiple seasons so using season search instead for: Sword Art Online
2019-11-08 05:31:54 [PLEX] Retrieving episode watch count for show: Sword Art Online | season: 3
2019-11-08 05:31:54 [PLEX] Retrieving episode watch count for show: Sword Art Online | season: 1
2019-11-08 05:31:54 [ANILIST] Found AniList entry for Plex title: Sword Art Online
2019-11-08 05:31:54 [ANILIST] Series is already marked as completed on AniList so skipping update
2019-11-08 05:31:54 [PLEX] Retrieving episode watch count for show: Sword Art Online | season: 2
2019-11-08 05:31:55 [ANILIST] Found match: Sword Art Online II [20594]
2019-11-08 05:31:55 [ANILIST] Found AniList entry for Plex title: Sword Art Online II
2019-11-08 05:31:55 [ANILIST] Series is already marked as completed on AniList so skipping update
2019-11-08 05:31:55 [PLEX] Retrieving episode watch count for show: Sword Art Online | season: 3
2019-11-08 05:31:55 [MAPPING] Used custom mapping id | title: Sword Art Online | season: 3 | anilist id: 100182
2019-11-08 05:31:55 [ANILIST] Found AniList entry for Plex title: Sword Art Online: Alicization
2019-11-08 05:31:55 [ANILIST] Series is already marked as completed on AniList so skipping update
2019-11-08 05:31:55 [PLEX] Retrieving episode watch count for show: Sword Art Online | season: 4
2019-11-08 05:31:55 [MAPPING] Used custom mapping id | title: Sword Art Online | season: 4 | anilist id: 108759
2019-11-08 05:31:55 [ANILIST] Adding new series id to list: 108759 | Plex episodes watched: 2
2019-11-08 05:31:55 [ANILIST] Found AniList entry for Plex title: Sword Art Online
2019-11-08 05:31:55 [ANILIST] Series year did not match (skipping update) => Plex has 2018 and AniList has 2019
Also wanted to ask I haven't tried yet but do custom_mappings for specials work ? Like in case of https://anilist.co/anime/106509/Tensei-Shitara-Slime-Datta-Ken-OVA/ We can add : Tensei Shitara Silme Datta Ken^0^106509 because Plex treats season 0 as specials.
Pushed another change as I forgot to include every season in check.
Season 0 / specials is not yet supported but noticed @Versatile-BFG made a change for that in another fork so he can make a pull request and will add that in 👍
Thanks the issue has been solved! Looking forward to this for MAL when its possible. Again , appreciate this a lot!
Updating PlexMALsync is on my list once MAL fixes their API, they posted something about an open beta which is in reality a closed one with poor documentation:
https://myanimelist.net/forum/?topicid=1804432
Think once they published the API that MAL will again have new management again /sarcasm ;)
Is this an issue again?
I've got a couple custom mappings that are being ignored due to mismatching years.
Same here. For some reason, the fresh installation I made, started to happen this issue to me. Before it just ignored the year but now, it will not update the entry.
Using custom mappings I have gotten rid of all the errors except the one in which the update is skipped because the plex and anilist year are different for a particular anime. Full output :