Kodi Community Forum
Scraper entries for directories ? - 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: Scraper entries for directories ? (/showthread.php?tid=202894)



Scraper entries for directories ? - te36 - 2014-08-25

Can't quite get the answer from the wiki doc:

My recorded TV media is currently kept in a directory hierarchy:

/<series-name>/<episode-number>_<episode-title>/<station>_<year>/<recording-date>.avi

This is because of recordings coming from VDR, and has in general served me well. Alas, i have not been able to figure out how to get scraping done:

I would like to see episode scaper information while being in directory /<series-name>, but it seems more and more that thats not possible, because XBMC does not even seem to look at .nfo files for directories. Eg: i've renamed /<episode-number>_<episode-title>/ to /<episode-number>_<episode-title>.avi/ and created /<episode-number>_<episode-title>.nfo, but no luck.

Any way how i could make this work for XBMC without changing my directory structure ?

If the only way would be to write my own scraper, any recommendation of a scraper i could start out with ?


RE: Scraper entries for directories ? - Ned Scott - 2014-08-25

You likely need to modify the regex used to see if a file is an episode or not. Regex is a dark and scary world to me, so I won't be of much help there, but here's a place to start: http://forum.xbmc.org/showthread.php?tid=51614


RE: Scraper entries for directories ? - te36 - 2014-08-25

But as you say "file", i think the regex isn't even applied to directories when searching for episodes.

(2014-08-25, 10:55)Ned Scott Wrote: You likely need to modify the regex used to see if a file is an episode or not. Regex is a dark and scary world to me, so I won't be of much help there, but here's a place to start: http://forum.xbmc.org/showthread.php?tid=51614



RE: Scraper entries for directories ? - nickr - 2014-08-25

Do you need to retain the VDR names? Or alternatively can you symlink them to an XBMC-like name? mythtv for example has a mythlink script that can symlink their internal naming scheme to a filename that is human readable.


RE: Scraper entries for directories ? - Ned Scott - 2014-08-26

(2014-08-25, 11:35)te36 Wrote: But as you say "file", i think the regex isn't even applied to directories when searching for episodes.

(2014-08-25, 10:55)Ned Scott Wrote: You likely need to modify the regex used to see if a file is an episode or not. Regex is a dark and scary world to me, so I won't be of much help there, but here's a place to start: http://forum.xbmc.org/showthread.php?tid=51614

I think it can be adapted to directories, but I don't know for certain.