Forum
How to change scraper settings - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Kodi (/forum-18.html)
+--- Thread: How to change scraper settings (/thread-672.html)



How to change scraper settings - swedish cook - 25th Mar, 2013 08:02 AM

This may be a really dumb question, but several hours googling and a helpful answer on xbmc forum and I'm still a little confused how to proceed.

What I'm Trying To Do
One of my sources of movies is an Enigma2 PVR, it creates recordings with a date prefix, such as "20130316 - Total Recall.ts"

What I found
Suggestion was to add the following directly below the <CreateSearchUrl ...> line in the relevant scraper file
Code:
<RegExp input="$$1" output="\1" dest="1">
    <expression noclean="1">\d{8}%20-%20(.*)$</expression>
</RegExp>

So Whats The Problem
I can't find the scrapers ... my system folder doesn't have anything in it and googling says thats where they are meant to be. I see some directories and xml files for what look like the scrapers under addons but those xml files have no "CreateSearchUrl" tags in them.

Confused Confused - probably just me being dumb but if you could point me the right way it would be appreciated.


RE: How to change scraper settings - namtih - 25th Mar, 2013 05:50 PM

So you want to delete timestamp, don't you?
Then I think this might help you, without editing the original scraper:
http://wiki.xbmc.org/index.php?title=Advancedsettings.xml#.3Ccleandatetime.3E


RE: How to change scraper settings - swedish cook - 26th Mar, 2013 07:39 AM

Have you actually used cleandatetime in this way ? I understand from other posts that everything after the date will be dropped (which in my case is the name of the film). Would have been a blumin obvious setting to add to enable a regexp to pull the title from the filename !


RE: How to change scraper settings - namtih - 26th Mar, 2013 05:48 PM

(26th Mar, 2013 07:39 AM)swedish cook Wrote:  I understand from other posts that everything after the date will be dropped (which in my case is the name of the film).

Yeah, I think you are right:
http://networkingathome.blogspot.de/2013/02/cleaning-file-names-in-xbmc-before.html
Quote:...then everything before the date is considered the name of the movie and everything after the date is discarded.

If you're still looking for the scaper files, it's here:
/usr/local/share/xbmc/addons

Good luck.


RE: How to change scraper settings - swedish cook - 26th Mar, 2013 09:48 PM

Thanks namtih & will post back a summary when I get it working !

Will also post back the suggestion on xbmc to add an advanced setting for a rexpexp to simply grab the filename ! What is there currently is a overly complex way to address a small subset of the possible scenarios, or is it just me that thinks that ?