Kodi Community Forum
TV show scraper without season/episode - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: Ember Media Manager (https://forum.kodi.tv/forumdisplay.php?fid=195)
+---- Thread: TV show scraper without season/episode (/showthread.php?tid=239805)



TV show scraper without season/episode - avandeputte - 2015-09-23

The PVR I use is NextPVR. It saves season and episode as part of the name, and Ember does a great job picking that up correct. Where I struggle, is shows that don't have seasons or episodes per se - things like NBC Nightly News. The file name looks like this: NBC Nightly News_20150922_18301900.ts

I added the follow regex _([0-9]{4})([0-9]{2})([0-9]{2})_[^\\/]*$ and checked "by date" on the TV Shows File and Sources --> regex tab, but it doesn't seem to work. That same regex worked in Kodi, so how do I get Ember to correctly parse the file name?


RE: TV show scraper without season/episode - DanCooper - 2015-09-23

You can use the same regex in Ember like in Kodi, but you have to proper escape the special characters. You can always test the regex on https://regex101.com/.

So you don't have escaped the "/" at the end of the regex. The fixed and working regex is:

Code:
_([0-9]{4})([0-9]{2})([0-9]{2})_[^\\\/]*$



RE: TV show scraper without season/episode - avandeputte - 2015-09-23

Thanks, it works!

And awesome website - thanks for telling me about it.