XBMC Community Forum  

Go Back   XBMC Community Forum > Development > Scraper Development

Scraper Development Developers forum for meta data scrapers. Scraper developers only!
Not for posting feature requests, bugs, or end-user support requests!

Reply
 
Thread Tools Search this Thread Display Modes
Old 2009-01-30, 18:29   #1
acaranta
Junior Member
 
acaranta's Avatar
 
Join Date: Jan 2009
Location: Mougins, France
Posts: 27
acaranta is on a distinguished road
Question TheTVDB.com Scraper absolute_number for Anime?

Hi everyone ...


As I posted somewhere else in here, I tryied to code a scraper for anidb.net, but I couldn't find an easy way to do it ....

But I found that TheTVDB had nearly anything I needed for my Animes ... except that, for example, Naruto was tagged with around 10 Season, whereas my files are tagged as a single season of 220 episodes ....

I found (and read here) that TVDB was providing "absolute_number" which could fit nicely my needs ...

So I modified thetvdb.xml to add an parameter "Force Single Season (use absolute_number)" which returns to XBMC that all episodes gathered from TVdb are in Season 1 and uses absolute_number ...

And it works fine

Shall I post it here or give it to someone to commit the changes after tests ?

Or anything else ?

PS : I just need some final changes to allow Single Season Animes to responds normally when The "Force Single Season switch" is active, but that's just for lazy people like me



NB : Sorry for the ceretificate warning if it happens for the picture
acaranta is offline   Reply With Quote
Old 2009-01-30, 18:32   #2
acaranta
Junior Member
 
acaranta's Avatar
 
Join Date: Jan 2009
Location: Mougins, France
Posts: 27
acaranta is on a distinguished road
Default

Of course this means that your anime episodes should be named "S01Exx"

But that is really easy ! Or at least easier than going to rename as every seasons in tvdb.
acaranta is offline   Reply With Quote
Old 2009-01-30, 18:32   #3
spiff
Grumpy Bastard Developer
 
spiff's Avatar
 
Join Date: Nov 2003
Posts: 7,715
spiff is on a distinguished road
Default

trac please. and this is awesome

the option should be named 'Use Absolute Ordering' though.

also it should be fairly simple to hack episode-only expressions in there (to avoid the renaming)
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
spiff is offline   Reply With Quote
Old 2009-01-30, 18:34   #4
acaranta
Junior Member
 
acaranta's Avatar
 
Join Date: Jan 2009
Location: Mougins, France
Posts: 27
acaranta is on a distinguished road
Default

Please pardon my ignorance ... the url of xbmc trac ?
acaranta is offline   Reply With Quote
Old 2009-01-30, 18:34   #5
spiff
Grumpy Bastard Developer
 
spiff's Avatar
 
Join Date: Nov 2003
Posts: 7,715
spiff is on a distinguished road
Default

cleverly hidden as

xbmc.org/trac

;P
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
spiff is offline   Reply With Quote
Old 2009-01-30, 18:36   #6
acaranta
Junior Member
 
acaranta's Avatar
 
Join Date: Jan 2009
Location: Mougins, France
Posts: 27
acaranta is on a distinguished road
Default

ok found the url so dumb on friday evening
acaranta is offline   Reply With Quote
Old 2009-01-30, 18:40   #7
acaranta
Junior Member
 
acaranta's Avatar
 
Join Date: Jan 2009
Location: Mougins, France
Posts: 27
acaranta is on a distinguished road
Default

Wow ... err ... i'll search how to add asap ... because I have to go to a concert right now ... but normally before tomorrow it should be available (as soon as I'll know how to use trac ... I use subversion a lot, but never really used trac )
acaranta is offline   Reply With Quote
Old 2009-01-30, 18:50   #8
spiff
Grumpy Bastard Developer
 
spiff's Avatar
 
Join Date: Nov 2003
Posts: 7,715
spiff is on a distinguished road
Default

basically CVideoInfoScanner::EnumerateSeriesFolder

you need a new set of expressions that is to be run if all others fail
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
spiff is offline   Reply With Quote
Old 2009-01-31, 03:56   #9
acaranta
Junior Member
 
acaranta's Avatar
 
Join Date: Jan 2009
Location: Mougins, France
Posts: 27
acaranta is on a distinguished road
Default

Ok ... Patch submitted to TRAC :
http://xbmc.org/trac/ticket/5804

I merged the changes from revision I had missed
I changed the option name to "Use Absolute Numbering"
And Commented the code within the xml.

acaranta is offline   Reply With Quote
Old 2009-01-31, 14:11   #10
spiff
Grumpy Bastard Developer
 
spiff's Avatar
 
Join Date: Nov 2003
Posts: 7,715
spiff is on a distinguished road
Default

r17482
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
spiff is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:54.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project