Posts: 113
Joined: Apr 2010
Reputation:
0
I've been adding seasons of tv just fine for a year. However, I recently found a particular show (all seasons) with the seas/ep in the filename as "showname [1.01]". Won't scrape. I change it to "showname [s1.e01]" and it works. Problem is I have many many seasons of a show like this. What can I do here?
I don't think you need a debug log for this question. if you do, let me know.
I have xbmc v9.11, and thetvdb.org for tvscrapes.
Thanks
5 year XBMC user on iMac OS X
Posts: 2,145
Joined: Jul 2008
Reputation:
12
rename included with ubuntu/linux will make it really easy.
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
Posts: 88
Joined: Sep 2010
Reputation:
-6
2011-01-26, 19:14
(This post was last modified: 2011-01-26, 19:25 by kaiser423.)
Just add that to your advancedsettings.xml
I had a show that was ripped like s1ep04, which wasn't getting scraped. In your xbmc directory, open up advancedsettings.xml (search the wiki for more in-depth isntructions) and add what you need.
I needed something like
<tvshowmatching append="yes">
<regexp>[\\/]s([0-9]+)ep([0-9]+)</regexp>
</tvshowmatching>
You probably need something like
<tvshowmatching append="yes">
<regexp>[\\/]([0-9]+)\.([0-9]+)</regexp>
</tvshowmatching>
There are regex helpers online to help you make it if the above isn't correct (didn't test anything).
save the file out, restart the scraper and see if it gets them.
Edit: A more restrictive regex (less false positives) would be if they always have the ['s around them would be like given below. This is what I would recommend.
<tvshowmatching append="yes">
<regexp>[\\/]\[([0-9]+)\.([0-9]+)\]</regexp>
</tvshowmatching>
Posts: 26,215
Joined: Oct 2003
Reputation:
187
It's not a V - it's \ \ / (without the spaces). It's there to ensure you only match the filename portion of the path.
Posts: 113
Joined: Apr 2010
Reputation:
0
i see.. but I actually copied and pasted, and kaiser423's line is not a 'v'. i just mis-typed it in my post.
but it's still not working. and still can't find any regex helpers online that give me anything that resembles a [\\/] (a single line of text). The online helper I mentioned above give me lots of lines of code related to whatever language you want it in. gskinner's however, allowed me to past in kaiser's line and the output *looked* like it would work, but it doesn't in real life...
5 year XBMC user on iMac OS X