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 2007-04-04, 09:47   #1
KodeK
Junior Member
 
Join Date: Apr 2007
Posts: 5
KodeK is on a distinguished road
Question Question about TV.com scraping

Hi!
(Hopefully this post is in the right place so the right people can read it)

I'm working on a little app to organize my tv shows in my computer, and I keep finding myself reinventing the wheel (xbmc in this case). Hopefully my little app will complement xbmc and not just replicate what it does.

I've been reading the tv.com scraping xml file, but I can't really understand how you guys managed to go from a season number and an episode number to a series episode number (overall episode number).

For example, if you see Prison Break's episode list, episode 2x22 shows up as episode 44.
Also, how did you manage to skip "special" episodes or episodes that were "unaired?" I'm trying to find the most elegant solution, and thought you guys would point me in the right direction.

Anyway, thank you for your time.

KodeK
KodeK is offline   Reply With Quote
Old 2007-04-04, 11:44   #2
spiff
Grumpy Bastard Developer
 
spiff's Avatar
 
Join Date: Nov 2003
Posts: 7,715
spiff is on a distinguished road
Default

skipping is handled by the regexp's.

as for going number -> season, episode the logic is simple. make sure each season starts on ep 1.
__________________
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 online now   Reply With Quote
Old 2007-04-04, 23:14   #3
KodeK
Junior Member
 
Join Date: Apr 2007
Posts: 5
KodeK is on a distinguished road
Default

That makes sense. Thanks!

One thing that's not clear, though, is the skipping. I noticed that on Prison Break, there's a "special" episode that's not counted as an actual episode (they go from episode n, to the special episode, to n+1), but on mythbusters, they have special episodes that count as episodes (episode n, special, episode n+2). Does XBMC take this into consideration? If so, how?

Thanks again.

KodeK
KodeK is offline   Reply With Quote
Old 2007-04-08, 15:14   #4
spiff
Grumpy Bastard Developer
 
spiff's Avatar
 
Join Date: Nov 2003
Posts: 7,715
spiff is on a distinguished road
Default

that is not handled unfortunately. hard to find a general logic :/
__________________
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 online now   Reply With Quote
Old 2007-04-08, 16:02   #5
sho
Team-XBMC Wiki Content Manager
 
sho's Avatar
 
Join Date: May 2004
Posts: 2,947
sho is on a distinguished road
Default

More on this (I think )

Can it handle specials in the DB, such as the Black Adder specials that are categorized with Season 4 on tv.com
http://www.tv.com/the-black-adder/sh...own;dropdown;3

And the Little Britain Specials
http://www.tv.com/little-britain/sho...&tag=nav_bar;2

I will add this info to the manual if it makes sense.
__________________
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.


sho is offline   Reply With Quote
Old 2007-04-09, 18:28   #6
grote002
Member
 
grote002's Avatar
 
Join Date: Jan 2004
Location: Enschede, The Netherlands
Posts: 52
grote002 is on a distinguished road
Default

I noticed that on quite alot of episodes, some of the cast seem to be missing in the xbmc-database, but are on tv.com as star/guest-star for that episode.
Even after a refresh of the episode-info it doesn't show up.

http://www.tv.com/csi/unbearable/epi...4/summary.html , a couple of people are missing from this episode (CSI 5x14 Unbearable). 'Palmer Davis' and 'Sara Foster' for instance don't show up in the database as cast for this episode.

It seems the scraper is missing something, but can't really figure out why it's going wrong.
grote002 is offline   Reply With Quote
Old 2007-04-11, 02:33   #7
egoldy
Junior Member
 
Join Date: Apr 2007
Posts: 5
egoldy is on a distinguished road
Default

I posted this somewhere else and haven't got an answer in a few weeks so I'm trying it here.

I love the new interface and the support of TV shows - that work for many of the TV shows, but many do NOT seem to recognize the episodes.

I'm following the wiki's naming format:

e.g. \\.....\Penn and Teller\Season 4\01 - Boy Scouts.ISO

Now, I'm using ISO files (as well as some wmv files) - but that shouldn't ben an issue because it works perfectly for some shows (e.g. 24)..

I'm just trying to find out if there is a manual way to enter TV show episode informaiton into the database so that the episodes show up in library mode (currently they are ignored).

Thanks.
egoldy is offline   Reply With Quote
Old 2007-04-11, 03:57   #8
egoldy
Junior Member
 
Join Date: Apr 2007
Posts: 5
egoldy is on a distinguished road
Default

Played around with this more and I was able to get the shows that were in TV.com to show up in there... Interestingly, the naming convention doesn't seem to work for some reason (e.g. 01 - name of show).. What DID work was doing the following:

Penn and Teller/Season 1/Penn and Teller Bullshit - S01E01 - Name Of Show.ISO

I'd still like to find a way to add shows that are NOT in the tv.com site (e.g. they seem to be missing the third season of high stakes poker - so how do I manually add that into the database....)

Any ideas?
egoldy is offline   Reply With Quote
Old 2007-04-11, 04:54   #9
J_K_M_A_N
Fan
 
Join Date: Feb 2006
Location: Minnesota
Posts: 360
J_K_M_A_N is an unknown quantity at this point
Default

You have to remember that the TV scraper and database are in the early stages. I don't believe there is a way to manually add a TV show yet.

Maybe I can check into the star/guest stars not being picked up but I can't promise anything. I got lucky with the IMDB.xml scraper but my luck may have been used up.

J_K_M_A_N
J_K_M_A_N is offline   Reply With Quote
Old 2007-04-11, 16:50   #10
J_K_M_A_N
Fan
 
Join Date: Feb 2006
Location: Minnesota
Posts: 360
J_K_M_A_N is an unknown quantity at this point
Default

I fixed the missing Actors. It was looking for a comma after the actor/roll but the last listing of each actor/roll didn't have a comma. I will submit a patch.

J_K_M_A_N
J_K_M_A_N 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 15:36.


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