TheTVDB.com Scraper absolute_number for Anime?

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Maxim Offline
Fan
Posts: 706
Joined: Sep 2004
Reputation: 0
Post: #31
tripe Wrote:How difficult would it be to alter absolute number so that it simply used absolute number to find the episode. Then correctly fetched into the library the actual season #s etc.

I was curious about this idea myself. Theoretically it should be possible since the information in the library is arbitrary and based of nothing but the information that is put into it. It doesn't really have anything to do at all with the filename of the episode itself. I'll keep an eye on this thread in the case that this is implemented.
find quote
acaranta Offline
Junior Member
Posts: 34
Joined: Jan 2009
Reputation: 0
Location: Mougins, France
Post: #32
I'm not sure I understand what you're saying ... anyway, What you could try with my lastest version of the tvdb (which has been commited to svn Wink ) if activate the absolute numbering ...

Now in this mode, the scraper should return both episodes as S01e<absolutenumber> and SXXEXX as normal seasons ... so it *should* work all the time both absolute and not absolute

But I may not have understood your request Tongue
find quote
sho Offline
Team-XBMC Member
Posts: 4,133
Joined: May 2004
Reputation: 3
Post: #33
I think they mean they want to skip the season identifier altogether.
If I understand things correctly that would require an XBMC code change and no developer has sprung out of the woodwork to volunteer to do that.

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
goku31640 Offline
Member
Posts: 89
Joined: Nov 2007
Reputation: 0
Post: #34
im not sure, but i think yhey are trying to say is that it would be cool if you turn on absolute numbering and name all your episodes s01e54, s01e192 etc etc but they still show up in the library as seasons 1,2,3,4 etc.

The filenames are in absolute format, but once entered into the library, they show up as they normally would with absolute ordering.

Am I making sense?
find quote
tripe Offline
Junior Member
Posts: 3
Joined: Feb 2009
Reputation: 0
Post: #35
goku31640 Wrote:it would be cool if you turn on absolute numbering and name all your episodes s01e54, s01e192 etc etc but they still show up in the library as seasons 1,2,3,4 etc.
^^ Basically I meant what he said.
find quote
acaranta Offline
Junior Member
Posts: 34
Joined: Jan 2009
Reputation: 0
Location: Mougins, France
Post: #36
OK Wink

got it ... but yes it'd need changes in the xbmc code ... and i'm not really good enough to do such thing Tongue
find quote
WorldWide01 Offline
Junior Member
Posts: 5
Joined: Mar 2009
Reputation: 0
Post: #37
When I do a scan, it seems like all of my episodes are coming back as specials. The number is listed in the filename as " - 050 -" for example. Can you point me in the right direction?

Update:
Okay. I think I see what's going on now. Please correct me if I'm wrong in any of these statements:

1) You're naming the files in the format "S01Exxx" where "xxx" represents the absolute number
2) Using the same format, you're designating specials as season "0" in the format S0Exxx (with "xxx" being the special number again)

If this is correct, I see where some people raising concerns. You can't really rename it if it's in a torrent and you'd like to seed in order to share with others. For example, most of the people that have downloaded DBZ probably got it from the old [AHQ] release which numbers their episodes as I've stated above.

I've only been using XBMC since Thursday, so please forgive my lack of knowledge. So are you saying that XBMC itself hanldes the parsing of the filenames to determine a number and then the scraper takes that and uses it against the database? I guess where I'm a little lost is in what the scraper is handling and what XBMC is doing.

To the leech who scoffed at leaving the names alone for the purposes of a torrent: I guess I'm crazy for wanting to keep seeding in order to allow others to enjoy the same file set? If nobody was seeding, you never would've gotten yours in the first place...
(This post was last modified: 2009-03-22 19:49 by WorldWide01.)
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,187
Joined: Nov 2003
Reputation: 82
Post: #38
xbmc enumerate a series. the scraper returns an episode guide (i.e. a map with season and episode numbers as key, url as data). we match those, and run the scraper on the url's in question. there is absolutely no problem to handle this if only you are willing to do some stuff yourself.
stick the files in a numbered season folder (season 1). do a regexp to grab the season number for the folder name, the ep number from the files. voila

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
WorldWide01 Offline
Junior Member
Posts: 5
Joined: Mar 2009
Reputation: 0
Post: #39
spiff Wrote:xbmc enumerate a series. the scraper returns an episode guide (i.e. a map with season and episode numbers as key, url as data). we match those, and run the scraper on the url's in question. there is absolutely no problem to handle this if only you are willing to do some stuff yourself.
stick the files in a numbered season folder (season 1). do a regexp to grab the season number for the folder name, the ep number from the files. voila

I think I get what the issue is with what I'm trying to do. I'm trying to have theTVDB actually parse out the seasons and episiodes. This is difficult (impossible?) b/c that's done by XBMC before the query is ever sent. Is there any way to do a reverse lookup during the scrape or possibly a second pass? Is the following even possible?

XBMC enumerates the files -> scrape is done -> data is examined -> re-enumerated by what was returned from the scrape.

I think that's the only way to leave the absolute numbers in the file name and then parse it into manageable seasons (DBZ, I blame you) without renaming any files.
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,187
Joined: Nov 2003
Reputation: 82
Post: #40
of course it's possible. totally unwanted ofc, but possible. also it doesn't make sense at all, why would we need to fetch anything?

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