Scraping season/episode numbers from folder names - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +--- Thread: Scraping season/episode numbers from folder names (/showthread.php?tid=169728) |
Scraping season/episode numbers from folder names - lido - 2013-07-24 Hey everyone, I was wondering if there's a way to make XBMC scrape the season and episode numbers from folder names rather than file names. For example, I have something like this: Code: TV\Someshow\S05\E03\somefile.mkv And I want XBMC to recognize it as Someshow.S05E03. One thing that's important is that it must ignore the file name, because some of the files have the wrong numbers in their names, and unfortunately I can't change the file names, only the directories. Also some directories have .nfo's in them that should be ignored as well. Is there a way to go about doing this? I'm using XBMC Frodo on Windows 8.1. I don't mind installing additional add-ons. Thanks! If it makes things easier, I don't mind changing the paths to something like: Code: TV\Someshow.S05E03\somefile.mkv But I prefer to keep the hierarchy as it is. RE: Scraping season/episode numbers from folder names - spiff - 2013-07-25 of course. the regressions are fed the full path. just add re's to your likings. RE: Scraping season/episode numbers from folder names - lido - 2013-07-25 Awesome, where can I configure this? Is there also a way to make the scraper ignore the last directory? Something like this: Code: TV\Someshow\S05\E03\Somefolder\somefile.mkv RE: Scraping season/episode numbers from folder names - lido - 2013-07-26 Guys, please give me a hand here. I understand that I need to add a regex to advancedsettings.xml, but I have no idea what to add. For example let's say I have: Code: TV\Dexter\S05\E03\Dexter.S01E99\dexter.s80e11.mkv Thanks for your help |