MyEpisodes Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Network info for Web Channels (Netflix, Amazon...)

 
Post new topic   Reply to topic    MyEpisodes Forum Index -> Requests
View previous topic :: View next topic  

Do we really need this?
Totally!
88%
 88%  [ 8 ]
I didn't even know this info existed
11%
 11%  [ 1 ]
Total Votes : 9

Author Message
VortX


Posts: 8

PostPosted: Fri Nov 27, 2015 12:38 pm    Post subject: Network info for Web Channels (Netflix, Amazon...) Reply with quote

Shows not airing on networks but on Web Channels have (obviously Rolling Eyes) the field "Network" empty

https://www.myepisodes.com/show/id-13907/

I guess the info comes from the field "network" in the TVMaze API (http://api.tvmaze.com/shows/1370 in this case), which is empty:

Code:
{
   "id" : 1370,
   "url" : "http://www.tvmaze.com/shows/1370/marvels-jessica-jones",
   "name" : "Marvel's Jessica Jones",
   "type" : "Scripted",
   "language" : "English",
   "genres" : ["Action", "Crime", "Science-Fiction"],
   "status" : "Running",
   "runtime" : 60,
   "premiered" : "2015-11-20",
   "schedule" : {
      "time" : "00:01",
      "days" : []
   },
   "rating" : {
      "average" : 7.8
   },
   "weight" : 100,
   "network" : null,
   "webChannel" : {
      "id" : 1,
      "name" : "Netflix",
      "country" : {
         "name" : "United States",
         "code" : "US",
         "timezone" : "America/New_York"
      }
   },
   "externals" : {
      "tvrage" : 38797,
      "thetvdb" : 284190
   },
   "image" : {
      "medium" : "http://tvmazecdn.com/uploads/images/medium_portrait/17/43413.jpg",
      "original" : "http://tvmazecdn.com/uploads/images/original_untouched/17/43413.jpg"
   },
   "summary" : "<p>Krysten Ritter plays Jessica Jones, first introduced in writer Brian Michael Bendis and artist Michael Gaydos' classic <em>ALIAS </em>comic series. After a tragic ending to her short-lived superhero stint, Jones is rebuilding her personal life and career as a detective who gets pulled into cases involving people with extraordinary abilities in New York City.</p>",
   "updated" : 1448595180,
   "_links" : {
      "self" : {
         "href" : "http://api.tvmaze.com/shows/1370"
      },
      "previousepisode" : {
         "href" : "http://api.tvmaze.com/episodes/206167"
      }
   }
}


It would be nice to have the Web Channel info in the field Network for this type of shows:

Code:
if (network == null) {
  webChannel.name;
) else {
  network.name;
}


Thanks in advance!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MyEpisodes Forum Index -> Requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Main design by MW. Refitted to board by Hostile.