TheTVDB.com Scraper absolute_number for Anime?

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
acaranta Offline
Junior Member
Posts: 34
Joined: Jan 2009
Reputation: 0
Location: Mougins, France
Question  TheTVDB.com Scraper absolute_number for Anime? Post: #1
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 Wink

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

Or anything else ? Wink

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 Tongue



NB : Sorry for the ceretificate warning if it happens for the picture Wink
(This post was last modified: 2012-01-18 00:08 by ronie.)
find quote
acaranta Offline
Junior Member
Posts: 34
Joined: Jan 2009
Reputation: 0
Location: Mougins, France
Post: #2
Of course this means that your anime episodes should be named "S01Exx" Wink

But that is really easy ! Or at least easier than going to rename as every seasons in tvdb.
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,187
Joined: Nov 2003
Reputation: 82
Post: #3
trac please. and this is awesome Smile

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.
find quote
acaranta Offline
Junior Member
Posts: 34
Joined: Jan 2009
Reputation: 0
Location: Mougins, France
Post: #4
Please pardon my ignorance ... the url of xbmc trac ? Wink
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,187
Joined: Nov 2003
Reputation: 82
Post: #5
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.
find quote
acaranta Offline
Junior Member
Posts: 34
Joined: Jan 2009
Reputation: 0
Location: Mougins, France
Post: #6
ok found the url Tongue so dumb on friday evening Wink
find quote
acaranta Offline
Junior Member
Posts: 34
Joined: Jan 2009
Reputation: 0
Location: Mougins, France
Post: #7
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 Tongue )
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,187
Joined: Nov 2003
Reputation: 82
Post: #8
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.
find quote
acaranta Offline
Junior Member
Posts: 34
Joined: Jan 2009
Reputation: 0
Location: Mougins, France
Post: #9
Ok ... Patch submitted to TRAC :
http://trac.xbmc.org/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.

Wink
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,187
Joined: Nov 2003
Reputation: 82
Post: #10
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.
find quote
Post Reply