57 # define EAPI __attribute__ ((visibility("default"))) EAPI Episode * etvdb_episode_by_number_get(Series *s, int season, int episode)
Get episode data for one specific Episode.
Definition: episodes.c:253
EAPI time_t etvdb_server_time_get(void)
Function to retrieve time from TVDB's servers.
Definition: infra.c:134
EAPI Eina_Bool etvdb_init(char *api_key)
Initialize etvdb.
Definition: etvdb.c:36
EAPI int etvdb_series_episodes_count(Series *s, int season)
Count episodes of one season in a Series structure.
Definition: series.c:278
EAPI Episode * etvdb_episode_airs_next_get(Series *s, char *timestr)
Get the Episode that airs next.
Definition: episodes.c:78
uint16_t number
Definition: etvdb.h:112
EAPI Eina_Hash * etvdb_languages_get(const char *lang_file_path)
Function to retrieve supported languages.
Definition: infra.c:39
EAPI Episode * etvdb_episode_by_id_get(uint32_t id, Series **s)
Get episode data for one specific Episode.
Definition: episodes.c:207
char * name
Definition: etvdb.h:109
EAPI Episode * etvdb_episode_latest_aired_get(Series *s, char *timestr)
Get the Episode that aired most recently.
Definition: episodes.c:349
EAPI Series * etvdb_series_by_id_get(uint32_t id)
Get Series data by TVDB Series ID.
Definition: series.c:34
EAPI Eina_Bool etvdb_language_set(Eina_Hash *hash, char *lang)
Change the global language setting.
Definition: infra.c:105
struct _etvdb_episode Episode
EAPI Series * etvdb_series_from_list_get(Eina_List *list, int number)
Get a Series from a list and initialize it fully.
Definition: series.c:78
EAPI Eina_List * etvdb_episodes_get(Series *s)
Get all Episodes of a Series.
Definition: episodes.c:32
EAPI void etvdb_series_free(Series *s)
Free a Series structure.
Definition: series.c:245
char * name
Definition: etvdb.h:94
char etvdb_language[3]
This array holds the language id. It is initialized by default and can be overview via etvdb_language...
Definition: etvdb.h:84
EAPI Eina_Bool etvdb_series_populate(Series *s)
Populate a Series structure with Episode data.
Definition: series.c:186
Eina_List * seasons
Definition: etvdb.h:97
char * firstaired
Definition: etvdb.h:111
char * overview
Definition: etvdb.h:110
Series * series
Definition: etvdb.h:114
char * imdb_id
Definition: etvdb.h:93
EAPI Eina_Bool etvdb_shutdown(void)
Shutdown etvdb.
Definition: etvdb.c:96
char etvdb_api_key[17]
This array holds the TVDB api key for ETVDB. You should never manually overwrite it.
Definition: etvdb.h:74
uint16_t season
Definition: etvdb.h:113
char * overview
Definition: etvdb.h:95
uint32_t id
Definition: etvdb.h:92
EAPI void etvdb_episode_free(Episode *e)
Free a Episode structure.
Definition: episodes.c:298
Eina_List * specials
Definition: etvdb.h:98
uint32_t id
Definition: etvdb.h:107
uint16_t runtime
Definition: etvdb.h:96
EAPI Episode * etvdb_episode_by_date_get(Series *s, const char *date)
Get episode data for a specific date.
Definition: episodes.c:129
struct _etvdb_series Series
EAPI Episode * etvdb_episode_from_series_get(Series *s, int season, int episode)
Get Episode data from Series data.
Definition: episodes.c:323
EAPI Eina_List * etvdb_series_find(const char *name)
Find Series by Name.
Definition: series.c:120
char * imdb_id
Definition: etvdb.h:108