snollygolly / bloodhound

:tv: Makes TV more awesome.
31 stars 5 forks source link

Guidebox: Better way to handle special episodes #50

Open snollygolly opened 9 years ago

snollygolly commented 9 years ago

When searching for the following:

Bar Rescue - 6127 - guidebox

You see the following: screen shot 2015-01-25 at 8 32 28 pm

snollygolly commented 9 years ago

Just as an FYI, this is something to do with Guidebox's API. When pulling the listing manually, you'll see a few results like this:

{ 
"id":470308, 
"tvdb":4691724, 
"content_type":"Full Episode", 
"alternate_tvdb":[

], 
"imdb_id":"", 
"themoviedb":0, 
"show_id":6127, 
"season_number":0, 
"episode_number":0, 
"special":1, 
"first_aired":"2013-11-03", 
"title":"Attack of the Yummy Mommies", 
"alternate_titles":[

], 
"overview":"This Vegas motorsports bar has come off the track thanks to an inept owner & a staff of busty cougars. Can Jon create a new & classy concept to tap into the largest single & divorced MILF population in the country?", 
"duration":2499, 
"production_code":"", 
"thumbnail_208x117":"http:\/\/static-api.guidebox.com\/new_thumbs\/thumbnails_episodes\/6127-5-3-1383462000-1475941595-small-208x117.jpg", 
"thumbnail_304x171":"http:\/\/static-api.guidebox.com\/new_thumbs\/thumbnails_episodes\/6127-5-3-1383462000-1165719480-medium-304x171.jpg", 
"thumbnail_400x225":"http:\/\/static-api.guidebox.com\/new_thumbs\/thumbnails_episodes\/6127-5-3-1383462000-7253558859-large-400x225.jpg", 
"thumbnail_608x342":"http:\/\/static-api.guidebox.com\/new_thumbs\/thumbnails_episodes\/6127-5-3-1383462000-4457025323-xlarge-608x342.jpg" 
},

This is clearly a "special", but without a season or episode number, I'm unsure how to handle this. I've omitted them for now. We might need to reconsider how we index episodes.

For the record, TV Rage didn't have the episode shown in the screenshot, so pruning them is fairly reasonable for consistency's sake.

Leaving open for now.

ozee commented 9 years ago

@snollygolly I agree, I think that pruning them is proper. They aren't a part of the episode list, if we want to handle show specials, I think that we can provide a link for them on the show listings so that they can be viewed separately.