2024-04-28, 16:06
So I'm using an application called TubeSync to download YouTube channels and build NFO files for them as there is no data on these channels in TheTVDB or the likes. I'm running into an issue where number sequences in the filenames are being interpreted as the episode and filename and ignoring the NFO. Here's an example:
File Name: Phil's Computer Lab 2014-10-08 Roland SC-55 vs AWE64 Gold Descent [1080p WEB-DL].mkv
Kodi reads this file as being 'Season 1 Episode 64' during scrape, I'm guessing from the 'E64' in 'AWE64'.
However I also have an NFO file with the name: Phil's Computer Lab 2014-10-08 Roland SC-55 vs AWE64 Gold Descent [1080p WEB-DL].nfo
This NFO's XML clearly provides the information that this file is Season 2014, Episode 49, and Kodi ignores this entirely, opting to use it's own attempt to guess from the filename instead.
I understand what Kodi is trying to do, but when provided with an NFO file with the information, shouldn't that be a higher authority than it trying to figure it out from the filename?
This is not the only example from this YT channel of this happening, it's happening to about 20 videos, some of which literally have things like 'S1E2' in their episode titles cause they did 'a few videos in a series' and titled them that way.
I can provide logs later, I'm just short on time this morning to do a nice clean Log with any unrelated nonsense not happening.
File Name: Phil's Computer Lab 2014-10-08 Roland SC-55 vs AWE64 Gold Descent [1080p WEB-DL].mkv
Kodi reads this file as being 'Season 1 Episode 64' during scrape, I'm guessing from the 'E64' in 'AWE64'.
However I also have an NFO file with the name: Phil's Computer Lab 2014-10-08 Roland SC-55 vs AWE64 Gold Descent [1080p WEB-DL].nfo
Code:
<?xml version='1.0' encoding='utf8'?>
<episodedetails>
<title>Roland SC-55 vs AWE64 Gold Descent</title>
<showtitle>Phil's Computer Lab</showtitle>
<season>2014</season>
<episode>49</episode>
<ratings>
<rating name="youtube" max="5" default="True">
<value>None</value>
<votes>272</votes>
</rating>
</ratings>
<plot>Thank you for watching this video! Hope you found it interesting, please leave a comment and subscribe to the channel!
Disclosure: Some links in this description are affiliate links. I receive a small commission when you make a purchase. There are no additional costs to you.
Support PhilsComputerLab:
Amazon.com: https://amzn.to/3fvz8sg
AliExpress: http://s.click.aliexpress.com/e/b6c7Xgiy
eBay US: https://ebay.us/bKzLAW
ebay UK: https://ebay.us/Bs9Z0u
eBay Germany: https://ebay.us/k3bPol
eBay Canada: https://ebay.us/CD6KZz
eBay Australia: https://ebay.us/eon4Ys
GOG: https://adtr.co/eqi5mb
PayPal donation: https://www.paypal.me/PhilsComputerLab</plot>
<thumb>Phil's Computer Lab 2014-10-08 Roland SC-55 vs AWE64 Gold Descent [1080p WEB-DL].jpg</thumb>
<mpaa>0</mpaa>
<runtime>235</runtime>
<id>D9iyi7_BNRQ</id>
<uniqueid type="youtube" default="True">D9iyi7_BNRQ</uniqueid>
<studio>PhilsComputerLab</studio>
<aired>2014-10-08</aired>
<dateadded>2024-04-27 23:54:20</dateadded>
<genre>Science & Technology</genre>
</episodedetails>
This NFO's XML clearly provides the information that this file is Season 2014, Episode 49, and Kodi ignores this entirely, opting to use it's own attempt to guess from the filename instead.
I understand what Kodi is trying to do, but when provided with an NFO file with the information, shouldn't that be a higher authority than it trying to figure it out from the filename?
This is not the only example from this YT channel of this happening, it's happening to about 20 videos, some of which literally have things like 'S1E2' in their episode titles cause they did 'a few videos in a series' and titled them that way.
I can provide logs later, I'm just short on time this morning to do a nice clean Log with any unrelated nonsense not happening.