Issue with local Episode nfo file - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Issue with local Episode nfo file (/showthread.php?tid=365722) |
Issue with local Episode nfo file - muggsy - 2021-11-28 Hi guys, I have a media file called rv-ff106-1080.mkv (compressed inside a RAR) - This file is Firefly S01 E05 (bear with me, the naming etc of the episode is wrong due to the airing, and dvd order etc) I've had trouble scraping this properly with all sorts of regex that seem to not be applied. No matter what I do, it keeps trying to apply the season as 10 and the episode as 80 (10x80) which matches with the 1080 at the end of the file. Here is my basic info <?xml version="1.0" encoding="utf-8"?> <episodedetails> <ratings /> <season>1</season> <episode>5</episode> <dateadded>2021-11-28 18:48:12</dateadded> <locked>true</locked> <user_note /> </episodedetails> Here is where the nfo is detected in my kodi.log 2021-11-28 21:49:31.143 T:16400 DEBUG <general>: metadata.tvdb.com.python: Parsing NFO file: <?xml version="1.0" encoding="utf-8"?> <episodedetails> <ratings /> <season>1</season> <episode>5</episode> <dateadded>2021-11-28 18:48:12</dateadded> <locked>false</locked> <user_note /> </episodedetails> 2021-11-28 21:49:31.143 T:16400 INFO <general>: CPythonInvoker(1, C:\apps\kodi\portable_data\addons\metadata.tvdb.com.python\scraper.py): script successfully run Yet, each time it is showing under Firefly as 10x80 I am running a mariadb backend if that makes any difference. Other basic nfos have worked as expected within this current setup. If I try to scrape the file with out the local nfo, I get this information logged in my kodi.log 2021-11-28 21:59:34.260 T:18856 DEBUG <general>: VIDEO::CVideoInfoScanner::OnProcessSeriesFolder - no match for show: 'Firefly', season: 10, episode: 80.0, airdate: '01/01/1601', title: '' I don't know if this is a bug, or something I am doing wrong. I understand the easiest thing to do, is renamed the files, but I don't want to do that. I'm unsure if this is a bug, this is how things are intended, or it's a regression. I'm struggling to find anyone else who has had this issue. I've used variations of these regex's to attempt to scrape without the need for a local nfo <regexp>(?i)[.a-z](\d{1,2})(\d\d)-notv([^/\\]*)</regexp> <!-- frng101-notv.avi --> <regexp>(?i)[/\\]\w+-\w+(\d)(\d\d)\.</regexp> <!-- mtn-tts104.avi --> which all work within regex testers as far as I can tell.. Any help would be greatly appreciated RE: Issue with local Episode nfo file - gibxxi - 2021-11-28 The '1080' in the filename refers to the resolution of the contained video stream and has nothing to do with the show season or episode number(s). Firefly only has 1 season, with 14 episodes. The '1080' in your file's name should of been followed by a 'p' (1080p) indicating the file is a full-HD 1080p rip. https://thetvdb.com/series/firefly You need to rename the file thus: "Firefly - S01E05 - Out of Gas.mkv" for Kodi to be able to correctly scrape it. Dan / Gib. RE: Issue with local Episode nfo file - Karellen - 2021-11-28 (2021-11-28, 13:03)muggsy Wrote: No matter what I do, it keeps trying to apply the season as 10 and the episode as 80 (10x80) which matches with the 1080 at the end of the file.As gibxxi states, you need to rename the file. Kodi does not read season and episode information from the nfo file. It comes from the file name. Issue with local Episode nfo file - muggsy - 2021-11-28 Another example is Lost S01E25. I am using thetvdb for my scraper but episode 25 does not exist. I have created a basic nfo, with season number and episode number with some extra info info that works correctly. That logic should apply here but it doesn't. When I've created a FULL nfo for the firefly episode, and set the scraper to Local Info ( I forget the scraper name precisely) it shouldn't be trying to determine the episode details, it should be reading it from the nfo file, but it doesn't. Even with the correct regex which identifies the episode correctly as Season 1, episode 5 it still attempts to identify the episode based on the 1080 number. I've been using xbmc still the xbox days where I use to compile nighties so I'm not a green user. I shouldn't have to bend my files and folder structure to an archaic system when the fields I am using are actually present in the nfo file itself. If I wanted to rename all my media files I would probably switch to Plex, but Kodi is more flexible with things like this and I don't understand why this has cropped up before |