bloodhound icon indicating copy to clipboard operation
bloodhound copied to clipboard

Guidebox: Better way to handle special episodes

Open snollygolly opened this issue 10 years ago • 2 comments

When searching for the following:

Bar Rescue - 6127 - guidebox

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

snollygolly avatar Jan 26 '15 02:01 snollygolly

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.

snollygolly avatar Jan 27 '15 01:01 snollygolly

@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.

ozee avatar Feb 02 '15 16:02 ozee