var searchIndex = {}; searchIndex["tvdb"] = {"doc":"","items":[[3,"Date","tvdb","Used for air-date of an episode etc",null,null],[12,"year","","",0,null],[12,"month","","",0,null],[12,"day","","",0,null],[3,"EpisodeId","","Series ID from TheTVDB.com, along with language",null,null],[12,"seriesid","","",1,null],[12,"language","","",1,null],[3,"SeriesSearchResult","","Series info as returned from TheTVDB's series search method:\nhttp://www.thetvdb.com/wiki/index.php?title=API:GetSeries",null,null],[12,"seriesid","","TheTVDB's series ID ('seriesid' is preferred over 'id' from XML response)",2,null],[12,"seriesname","","Series name in the language indicated by `language`",2,null],[12,"language","","Language this episode information is in",2,null],[12,"overview","","Description of series",2,null],[12,"banner","","Relative path to the highest rated banner",2,null],[12,"imdb_id","","[IMDB](http://www.imdb.com/) ID for this series",2,null],[12,"first_aired","","First aired date",2,null],[12,"network","","Network this series aired on",2,null],[12,"zap2it_id","","[zap2it](http://zap2it.com/) ID for this series",2,null],[3,"EpisodeInfo","","Base episode record,\nhttp://www.thetvdb.com/wiki/index.php?title=API:Base_Episode_Record",null,null],[12,"id","","An unsigned integer assigned by TheTVDB to the episode. Cannot be null.",3,null],[12,"episode_name","","A string containing the episode name in the language requested. Will return the English name if no translation is available in the language requested.",3,null],[12,"season_number","","An unsigned integer representing the season number for the episode according to the aired order. Cannot be null.",3,null],[12,"season_dvd","","An unsigned integer indicating the season the episode was in according to the DVD release. Usually is the same as EpisodeNumber but can be different.",3,null],[12,"season_combined","","An unsigned integer or decimal. Cannot be null. This returns the value of DVD_season if that field is not null. Otherwise it returns the value from SeasonNumber. The field can be used as a simple way of prioritizing DVD order over aired order in your program. In general it's best to avoid using this field as you can accomplish the same task locally and have more control if you use the DVD_season and SeasonNumber fields separately.\n(note: missing from episodes so made optional)",3,null],[12,"episode_number","","An unsigned integer representing the episode number in its season according to the aired order. Cannot be null.",3,null],[12,"episode_combined","","An unsigned integer or decimal. Cannot be null. This returns the value of DVD_episodenumber if that field is not null. Otherwise it returns the value from EpisodeNumber. The field can be used as a simple way of prioritizing DVD order over aired order in your program. In general it's best to avoid using this field as you can accomplish the same task locally and have more control if you use the DVD_episodenumber and EpisodeNumber fields separately.\n(note: missing from episodes so made optional)",3,null],[12,"episode_dvd","","A decimal with one decimal and can be used to join episodes together. Can be null, usually used to join episodes that aired as two episodes but were released on DVD as a single episode. If you see an episode 1.1 and 1.2 that means both records should be combined to make episode 1. Cartoons are also known to combine up to 9 episodes together, for example Animaniacs season two.",3,null],[12,"first_aired","","A string containing the date the series first aired in plain text using the format "YYYY-MM-DD". Can be null.",3,null],[12,"imdb_id","","An alphanumeric string containing the IMDB ID for the series. Can be null.",3,null],[12,"language","","A two character string indicating the language in accordance with ISO-639-1. Cannot be null.",3,null],[12,"overview","","A string containing the overview in the language requested. Will return the English overview if no translation is available in the language requested. Can be null.",3,null],[12,"production_code","","An alphanumeric string. Can be null.",3,null],[12,"rating","","The average rating our users have rated the series out of 10, rounded to 1 decimal place. Can be null.",3,null],[12,"rating_count","","An unsigned integer representing the number of users who have rated the series. Can be null.",3,null],[12,"guest_stars","","A pipe delimited string of guest stars in plain text. Can be null.",3,null],[12,"director","","A pipe delimited string of directors in plain text. Can be null.",3,null],[12,"writer","","A pipe delimited string of writers in plain text. Can be null.",3,null],[12,"episode_absolute","","An unsigned integer. Can be null. Indicates the absolute episode number and completely ignores seasons. In others words a series with 20 episodes per season will have Season 3 episode 10 listed as 50. The field is mostly used with cartoons and anime series as they may have ambiguous seasons making it easier to use this field.",3,null],[12,"airs_after_season","","An unsigned integer indicating the season number this episode comes after. This field is only available for special episodes. Can be null.",3,null],[12,"airs_before_episode","","An unsigned integer indicating the episode number this special episode airs before. Must be used in conjunction with airsbefore_season, do not with airsafter_season. This field is only available for special episodes. Can be null.",3,null],[12,"airs_before_season","","An unsigned integer indicating the season number this special episode airs before. Should be used in conjunction with airsbefore_episode for exact placement. This field is only available for special episodes. Can be null.",3,null],[12,"season_id","","An unsigned integer assigned by our site to the season. Cannot be null.",3,null],[12,"series_id","","An unsigned integer assigned by our site to the series. It does not change and will always represent the same series. Cannot be null.",3,null],[12,"thumbnail","","A string which should be appended to <mirrorpath>/banners/ to determine the actual location of the artwork. Returns the location of the episode image. Can be null.",3,null],[12,"thumbnail_flag","","An unsigned integer from 1-6.",3,null],[12,"thumbnail_added","","A string containing the time the episode image was added to our site in the format "YYYY-MM-DD HH:MM:SS" based on a 24 hour clock. Can be null.",3,null],[12,"thumbnail_height","","An unsigned integer that represents the height of the episode image in pixels. Can be null",3,null],[12,"thumbnail_width","","An unsigned integer that represents the width of the episode image in pixels. Can be null",3,null],[12,"last_updated","","Unix time stamp indicating the last time any changes were made to the episode. Can be null.",3,null],[3,"Tvdb","","Main interface",null,null],[12,"key","","",4,null],[4,"TvdbError","","Errors in contacting TheTVDB",null,null],[13,"InternalError","","",5,null],[12,"reason","tvdb::TvdbError","",5,null],[13,"SeriesNotFound","tvdb","",5,null],[13,"CommunicationError","","",5,null],[12,"reason","tvdb::TvdbError","",5,null],[13,"DataError","tvdb","",5,null],[12,"reason","tvdb::TvdbError","",5,null],[13,"Cancelled","tvdb","",5,null],[6,"TvdbResult","","",null,null],[11,"clone","","",0,null],[11,"fmt","","",0,null],[11,"fmt","","",5,null],[11,"from","","",5,{"inputs":[{"name":"parseinterror"}],"output":{"name":"tvdberror"}}],[11,"clone","","",1,null],[11,"fmt","","",1,null],[11,"new","","",1,{"inputs":[{"name":"u32"},{"name":"str"}],"output":{"name":"episodeid"}}],[11,"from","","",1,{"inputs":[{"name":"u32"}],"output":{"name":"self"}}],[11,"from","","",1,{"inputs":[{"name":"seriessearchresult"}],"output":{"name":"self"}}],[11,"from","","",1,{"inputs":[{"name":"seriessearchresult"}],"output":{"name":"self"}}],[11,"clone","","",2,null],[11,"fmt","","",2,null],[11,"clone","","",3,null],[11,"fmt","","",3,null],[11,"clone","","",4,null],[11,"fmt","","",4,null],[11,"new","","Initalise API with the given API key. A key can be aquired via\nthe [API Key Registration page](http://thetvdb.com/?tab=apiregister)",4,{"inputs":[{"name":"s"}],"output":{"name":"tvdb"}}],[11,"search","","Searches for a given series name.",4,null],[11,"episode","","Get episode information for given season/episode number",4,null]],"paths":[[3,"Date"],[3,"EpisodeId"],[3,"SeriesSearchResult"],[3,"EpisodeInfo"],[3,"Tvdb"],[4,"TvdbError"]]}; initSearch(searchIndex);