Seasonal information retrieval broken by build later than probably October 30 in 4.9.8

All your suggestions, requests and ideas for future development
Post Reply
sakuraimikoto33
Posts: 12
Joined: 03 Dec 2022, 17:24

Seasonal information retrieval broken by build later than probably October 30 in 4.9.8

Post by sakuraimikoto33 »

Previous builds have correctly identified the season.
二人の白皇 = Season 3
Image
In the latest build, the same file is recognized as Season 1.
Image
User avatar
rednoah
The Source
Posts: 21496
Joined: 16 Nov 2011, 08:59

Re: Seasonal information retrieval broken by build later than probably October 30 in 4.9.8

Post by rednoah »

:?: Can you post file paths as text for testing?


:!: Since you're using {original} we can't tell from the console output what the matched episode was, and if it was in fact correct. Not sure if FileBot did / did not match the correct episode. Not sure if it's expected behaviour or random lucky case. FileBot probably can't know 二人の白皇 = Season 3 but the airdate in the file name might help identify the episode, though I'm not sure if FileBot can recognized YYMMDD patterns specifically as such.
:idea: Please read the FAQ and How to Request Help.
sakuraimikoto33
Posts: 12
Joined: 03 Dec 2022, 17:24

Re: Seasonal information retrieval broken by build later than probably October 30 in 4.9.8

Post by sakuraimikoto33 »

Previous builds

Code: Select all

Renamer\うたわれるもの 二人の白皇\うたわれるもの 二人の白皇 第24話 「深淵より来る声」 (BS11) [221204].mkv	{"@type":"Episode","seriesName":"うたわれるもの","season":3,"episode":24,"title":"第24話","absolute":75,"airdate":{"year":2022,"month":12,"day":4},"id":9333777,"group":"うたわれるもの 二人の白皇","seriesInfo":{"database":"TheTVDB","order":"Airdate","language":"ja-JP","type":"TV Series","id":79880,"name":"うたわれるもの","aliasNames":["うたわれるもの 偽りの仮面","Utawarerumono: Itsuwari no Kamen","うたわれるもの 二人の白皇","Utawarerumono: Futari no Hakuoro","Utawarerumono: The False Faces","Utawarerumono: The False Mask","The One Being Sung","Utawarerumono: Mask of Truth","Le chant des rêves","Utawarerumono ~Le Chant des Rêves~","Utawarerumono Le Chant des Rêves","Utawarerumono: Heldenlied","Прославеният","Утаварерумоно","传颂之物","傳頌之物","受讚頌者","칭송받는 자"],"startDate":{"year":2006,"month":4,"day":3},"genres":["Fantasy","Animation","Adventure","Anime"],"rating":6213.0,"runtime":25,"status":"Continuing"}}
Latest build

Code: Select all

Renamer\うたわれるもの 二人の白皇\うたわれるもの 二人の白皇 第24話 「深淵より来る声」 (BS11) [221204].mkv	{"@type":"Episode","seriesName":"うたわれるもの","season":1,"episode":24,"title":"滅びゆくもの","absolute":24,"airdate":{"year":2006,"month":9,"day":11},"id":324525,"seriesInfo":{"database":"TheTVDB","order":"Airdate","language":"ja-JP","type":"TV Series","id":79880,"name":"うたわれるもの","aliasNames":["うたわれるもの 偽りの仮面","Utawarerumono: Itsuwari no Kamen","うたわれるもの 二人の白皇","Utawarerumono: Futari no Hakuoro","Utawarerumono: The False Faces","Utawarerumono: The False Mask","The One Being Sung","Utawarerumono: Mask of Truth","Le chant des rêves","Utawarerumono ~Le Chant des Rêves~","Utawarerumono Le Chant des Rêves","Utawarerumono: Heldenlied","Прославеният","Утаварерумоно","传颂之物","傳頌之物","受讚頌者","칭송받는 자"],"startDate":{"year":2006,"month":4,"day":3},"genres":["Fantasy","Animation","Adventure","Anime"],"rating":6213.0,"runtime":25,"status":"Continuing"}}
User avatar
rednoah
The Source
Posts: 21496
Joined: 16 Nov 2011, 08:59

Re: Seasonal information retrieval broken by build later than probably October 30 in 4.9.8

Post by rednoah »

I've tried with the latest stable release, and it does not work correctly, as expected:

Code: Select all

$ filebot -version
FileBot 4.9.6 (r9125)

Code: Select all

$ filebot -rename -r . --db TheTVDB -non-strict --action TEST --log INFO
[TEST] from [Renamer/うたわれるもの 二人の白皇/うたわれるもの 二人の白皇 第24話 「深淵より来る声」 (BS11) [221204].mp4] to [Renamer/うたわれるもの 二人の白皇/Utawarerumono - 1x24 - On the Path of Destruction.mp4]
:!: FileBot does not understand 二人の白皇 nor 221204 and thus selects "some Episode 24" as a "best guess". In this case, I get 1x24 but this might be random, and many factors are at play, so you might sometimes get the correct match 3x24 by lucky coincidence.



:idea: FileBot does however understand 20221204 and so fixing the date pattern ahead of time would guarantee the correct match based on that:

Code: Select all

$ filebot -rename -r . --db TheTVDB -non-strict --action TEST --log INFO
[TEST] from [Renamer/うたわれるもの 二人の白皇/うたわれるもの 二人の白皇 第24話 「深淵より来る声」 (BS11) [20221204].mp4] to [Renamer/うたわれるもの 二人の白皇/Utawarerumono - 3x24 - TBA.mp4]



EDIT:

FileBot r9429 improves support for yyMMdd style date patterns.
:idea: Please read the FAQ and How to Request Help.
sakuraimikoto33
Posts: 12
Joined: 03 Dec 2022, 17:24

Re: Seasonal information retrieval broken by build later than probably October 30 in 4.9.8

Post by sakuraimikoto33 »

I tried the [YYYYYMMDD] format in the latest build and it worked!
Thank you very much.
User avatar
rednoah
The Source
Posts: 21496
Joined: 16 Nov 2011, 08:59

Re: Seasonal information retrieval broken by build later than probably October 30 in 4.9.8

Post by rednoah »

Further investigation reveals that --lang Japanese makes it work:

Code: Select all

$ filebot -rename -r . --db TheTVDB -non-strict --lang Japanese --action TEST --log INFO
[TEST] from [Renamer/うたわれるもの 二人の白皇/うたわれるもの 二人の白皇 第24話 「深淵より来る声」 (BS11) [221204].mp4] to [Renamer/うたわれるもの 二人の白皇/うたわれるもの - 3x24 - 第24話.mp4]
In this case, うたわれるもの - 3x24 - 第24話 is chosen over うたわれるもの 二人の白皇/うたわれるもの - 1x24 - 滅びゆくもの because 第24話 happens to appear in the file name, and nudges FileBot to match 3x24 in this case, because the "episode title" matches. This is a happy accident. But might work out differently in the future once someone comes along and changes the episode title from 第24話 to the real episode title.
:idea: Please read the FAQ and How to Request Help.
sakuraimikoto33
Posts: 12
Joined: 03 Dec 2022, 17:24

Re: Seasonal information retrieval broken by build later than probably October 30 in 4.9.8

Post by sakuraimikoto33 »

thank you for the advice
I don't think it's a problem because it's a personal recording, but I'll refer to it if I run into problems in the future.
Post Reply