Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

How to change scraper settings
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
How to change scraper settings
25th Mar, 2013, 08:02 AM
Post: #1
swedish cook Offline
Registered
Posts: 3
Joined: Mar 2013
Reputation: 1
How to change scraper settings
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.
Find all posts by this user
Quote this message in a reply
25th Mar, 2013, 05:50 PM
Post: #2
namtih Offline
Tester
Posts: 269
Joined: Dec 2012
Reputation: 28
RE: How to change scraper settings
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
Find all posts by this user
Quote this message in a reply
26th Mar, 2013, 07:39 AM
Post: #3
swedish cook Offline
Registered
Posts: 3
Joined: Mar 2013
Reputation: 1
RE: How to change scraper settings
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 !
Find all posts by this user
Quote this message in a reply
26th Mar, 2013, 05:48 PM
Post: #4
namtih Offline
Tester
Posts: 269
Joined: Dec 2012
Reputation: 28
RE: How to change scraper settings
(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.
Find all posts by this user
Quote this message in a reply
26th Mar, 2013, 09:48 PM
Post: #5
swedish cook Offline
Registered
Posts: 3
Joined: Mar 2013
Reputation: 1
RE: How to change scraper settings
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 ?
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 9th May, 2025, 11:19 PM Powered By MyBB, © 2002-2025 MyBB Group.