Module Import alias ImportFrom alias Import alias Import alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign NameStore BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad orelse Return NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign NameStore BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body If AttributeLoad NameLoad attr body Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body If AttributeLoad NameLoad attr body Assign NameStore Num orelse Assign NameStore Num Expr Call AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body If NameLoad body Assign NameStore Num orelse Assign NameStore Num Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr finalbody Expr Call AttributeLoad NameLoad attr If NameLoad body Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr orelse Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign NameStore BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Return NameLoad orelse Return NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Return NameLoad orelse Return NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign NameStore BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad orelse Return NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign NameStore BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body If AttributeLoad NameLoad attr body Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Expr Call AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num If CompareEq SubscriptLoad NameLoad Index Num Num body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num If UnaryOpNot CompareEq Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num If UnaryOpNot CompareEq Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpOr CompareIs NameLoad NameLoad CompareEq NameLoad Str body Return NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A N/A sqlite3 datetime datetime N/A config N/A metadata N/A SERIES_COLUMNS s.id, s.zap2it_id, s.imdb_id, s.title, s.description, s.actors, s.genres, s.content_rating, s.watch N/A EPISODE_COLUMNS e.id, e.title, e.description, e.season_number, e.episode_number, e.original_air_date, e.rating, e.director, e.host, e.choreographer, e.guest_stars, e.writers, e.executive_producers, e.producers N/A MOVIE_COLUMNS m.id, m.imdb_id, m.title, m.description, m.time, m.rating, m.directors, m.writers, m.producers, m.actors, m.movie_year, m.mpaa_rating, m.genres N/A TIME_FORMAT %Y-%m-%d %H:%M:%S N/A ORIGINAL_AIR_DATE_FORMAT %Y-%m-%d Database N/A N/A __init__ N/A N/A self config debug N/A N/A N/A N/A self debug debug N/A database_file N/A N/A config getDatabaseFile N/A N/A self connection N/A N/A sqlite3 connect database_file N/A get_series N/A N/A self id N/A N/A N/A c N/A N/A N/A self connection cursor N/A N/A N/A sql N/A select %s from series s where id=? N/A SERIES_COLUMNS N/A N/A N/A c execute sql N/A id N/A results N/A N/A c fetchall N/A N/A N/A len results 1 N/A N/A r N/A results N/A 0 N/A to_return N/A N/A self create_series_from_row r N/A to_return N/A N/A None N/A N/A N/A N/A c close N/A get_all_series N/A N/A self N/A N/A N/A c N/A N/A N/A self connection cursor N/A N/A N/A sql N/A select %s from series s N/A SERIES_COLUMNS N/A N/A N/A c execute sql N/A to_return N/A N/A results N/A N/A c fetchall N/A r results N/A N/A N/A N/A to_return append N/A N/A self create_series_from_row r N/A to_return N/A N/A N/A N/A c close N/A add_series N/A N/A self series N/A N/A N/A existing_series N/A N/A self get_series N/A series id N/A N/A existing_series None N/A N/A N/A self debug N/A N/A N/A Adding series '%s' to the local cache. N/A N/A series title N/A c N/A N/A N/A self connection cursor N/A N/A N/A N/A series watch N/A N/A watch 1 N/A N/A watch 0 N/A N/A N/A c execute insert into series (id, zap2it_id, imdb_id, title, description, actors, genres, content_rating, watch) values (?, ?, ?, ?, ?, ?, ?, ?, ?) N/A N/A series id N/A series zap2it_id N/A series imdb_id N/A series title N/A series description N/A N/A | join N/A series actors N/A N/A | join N/A series genres N/A series content_rating watch N/A N/A N/A N/A self connection commit N/A N/A N/A N/A c close N/A watch_series N/A N/A self series watch N/A N/A N/A existing_series N/A N/A self get_series N/A series id N/A N/A N/A existing_series None N/A N/A c N/A N/A N/A self connection cursor N/A N/A N/A watch N/A N/A db_watch 1 N/A N/A db_watch 0 N/A N/A N/A c execute update series set watch = ? where id = ? N/A db_watch N/A series id N/A N/A N/A N/A self connection commit N/A N/A N/A N/A c close N/A watch N/A N/A N/A Will now watch series '%s'. N/A N/A series title N/A N/A N/A Will no longer watch series '%s'. N/A N/A series title N/A get_watched_series N/A N/A self N/A N/A N/A c N/A N/A N/A self connection cursor N/A N/A N/A sql N/A select %s from series s where watch=1 order by title N/A SERIES_COLUMNS N/A N/A N/A c execute sql N/A to_return N/A N/A results N/A N/A c fetchall N/A r results N/A N/A N/A N/A to_return append N/A N/A self create_series_from_row r N/A to_return N/A N/A N/A N/A c close N/A clear_series N/A N/A self series_id N/A N/A N/A c N/A N/A N/A self connection cursor N/A N/A N/A sql delete from series where id=? N/A N/A N/A c execute sql N/A series_id N/A N/A N/A N/A self connection commit N/A N/A N/A N/A c close N/A add_episode N/A N/A self episode series N/A N/A N/A N/A self debug N/A N/A N/A Adding season %i episode %i of series '%s' to the local cache. N/A N/A episode season_number N/A episode episode_number N/A series title N/A c N/A N/A N/A self connection cursor N/A N/A N/A directors N/A N/A | join N/A episode directors N/A guest_stars N/A N/A | join N/A episode guest_stars N/A writers N/A N/A | join N/A episode writers N/A executive_producers N/A N/A | join N/A episode executive_producers N/A producers N/A N/A | join N/A episode producers N/A N/A N/A episode original_air_date None N/A N/A original_air_date N/A N/A original_air_date N/A N/A N/A episode original_air_date strftime ORIGINAL_AIR_DATE_FORMAT N/A sql insert into episodes  N/A sql N/A sql (series_id, title, description, season_number, episode_number,  N/A sql N/A sql  original_air_date, rating, director, host, choreographer,  N/A sql N/A sql  guest_stars, writers, executive_producers, producers) N/A sql N/A sql values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) N/A N/A N/A c execute sql N/A N/A series id N/A episode title N/A episode description N/A episode season_number N/A episode episode_number original_air_date N/A episode rating directors N/A episode host N/A episode choreographer guest_stars writers executive_producers producers N/A N/A N/A N/A self connection commit N/A N/A N/A N/A c close N/A clear_all_episodes N/A N/A self series_id N/A N/A N/A c N/A N/A N/A self connection cursor N/A N/A N/A sql delete from episodes where series_id=? N/A N/A N/A c execute sql N/A series_id N/A N/A N/A N/A self connection commit N/A N/A N/A N/A c close N/A get_all_episodes N/A N/A self series_id N/A N/A N/A c N/A N/A N/A self connection cursor N/A N/A N/A sql N/A select %s, %s from episodes e join series s on e.series_id = s.id where s.id=? N/A SERIES_COLUMNS EPISODE_COLUMNS N/A N/A N/A c execute sql N/A series_id N/A results N/A N/A c fetchall N/A to_return N/A N/A r results N/A N/A N/A N/A to_return append N/A N/A self create_episode_from_row r N/A to_return N/A N/A N/A N/A c close N/A get_episodes N/A N/A self series_id season_number N/A N/A N/A c N/A N/A N/A self connection cursor N/A N/A N/A sql N/A select %s, %s from episodes e join series s on e.series_id = s.id where s.id=? and e.season_number=? N/A SERIES_COLUMNS EPISODE_COLUMNS N/A N/A N/A c execute sql N/A series_id season_number N/A results N/A N/A c fetchall N/A to_return N/A N/A r results N/A N/A N/A N/A to_return append N/A N/A self create_episode_from_row r N/A to_return N/A N/A N/A N/A c close N/A get_episode N/A N/A self series_id season_number episode_number N/A N/A N/A c N/A N/A N/A self connection cursor N/A N/A N/A sql N/A select %s, %s from episodes e join series s on e.series_id = s.id where s.id=? and e.season_number=? and e.episode_number=? N/A SERIES_COLUMNS EPISODE_COLUMNS N/A N/A N/A c execute sql N/A series_id season_number episode_number N/A results N/A N/A c fetchall N/A N/A N/A len results 1 N/A N/A to_return N/A N/A self create_episode_from_row N/A results N/A 0 N/A to_return N/A N/A None N/A N/A N/A N/A c close N/A get_episode_by_date N/A N/A self series_id year month day N/A N/A N/A the_date N/A datetime year month day N/A the_date_str N/A N/A the_date strftime ORIGINAL_AIR_DATE_FORMAT N/A c N/A N/A N/A self connection cursor N/A N/A N/A sql N/A select %s, %s from episodes e join series s on e.series_id = s.id where s.id=? and e.original_air_date=? N/A SERIES_COLUMNS EPISODE_COLUMNS N/A N/A N/A c execute sql N/A series_id the_date_str N/A results N/A N/A c fetchall N/A N/A N/A len results 1 N/A N/A to_return N/A N/A self create_episode_from_row N/A results N/A 0 N/A to_return N/A N/A None N/A N/A N/A N/A c close N/A get_movie N/A N/A self id N/A N/A N/A c N/A N/A N/A self connection cursor N/A N/A N/A sql N/A select %s from movies m where imdb_id=? N/A MOVIE_COLUMNS N/A N/A N/A c execute sql N/A id N/A results N/A N/A c fetchall N/A N/A N/A len results 1 N/A N/A r N/A results N/A 0 N/A to_return N/A N/A self create_movie_from_row r N/A to_return N/A N/A None N/A N/A N/A N/A c close N/A get_all_movies N/A N/A self N/A N/A N/A c N/A N/A N/A self connection cursor N/A N/A N/A sql N/A select %s from movies m N/A MOVIE_COLUMNS N/A N/A N/A c execute sql N/A to_return N/A N/A results N/A N/A c fetchall N/A r results N/A N/A N/A N/A to_return append N/A N/A self create_movie_from_row r N/A to_return N/A N/A N/A N/A c close N/A add_movie N/A N/A self movie N/A N/A N/A existing_movie N/A N/A self get_movie N/A movie id N/A N/A existing_movie None N/A N/A N/A self debug N/A N/A N/A Adding movie '%s' to the local cache. N/A N/A movie title N/A c N/A N/A N/A self connection cursor N/A N/A N/A N/A N/A c execute insert into movies (imdb_id, title, description, time, rating, directors, writers, producers, actors, movie_year, mpaa_rating, genres) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) N/A N/A movie id N/A movie title N/A movie description N/A movie time N/A movie rating N/A N/A | join N/A movie directors N/A N/A | join N/A movie writers N/A N/A | join N/A movie producers N/A N/A | join N/A movie actors N/A movie movie_year N/A movie mpaa_rating N/A N/A | join N/A movie genres N/A N/A N/A N/A self connection commit N/A N/A N/A N/A c close N/A clear_movie N/A N/A self movie_id N/A N/A N/A c N/A N/A N/A self connection cursor N/A N/A N/A sql delete from movies where imdb_id=? N/A N/A N/A c execute sql N/A movie_id N/A N/A N/A N/A self connection commit N/A N/A N/A N/A c close N/A create_series_from_row N/A N/A self row N/A N/A N/A to_return N/A N/A metadata Series N/A N/A to_return id N/A row N/A 0 N/A N/A to_return zap2it_id N/A row N/A 1 N/A N/A to_return imdb_id N/A row N/A 2 N/A N/A to_return title N/A row N/A 3 N/A N/A to_return description N/A row N/A 4 N/A N/A to_return actors N/A N/A N/A row N/A 5 split | N/A N/A to_return genres N/A N/A N/A row N/A 6 split | N/A N/A to_return content_rating N/A row N/A 7 N/A N/A N/A row N/A 8 1 N/A N/A N/A to_return watch True N/A N/A N/A to_return watch False N/A to_return N/A create_episode_from_row N/A N/A self row N/A N/A N/A to_return N/A N/A metadata Episode N/A N/A to_return series N/A N/A self create_series_from_row row N/A N/A to_return db_id N/A row N/A 9 N/A N/A to_return title N/A row N/A 10 N/A N/A to_return description N/A row N/A 11 N/A N/A to_return season_number N/A row N/A 12 N/A N/A to_return episode_number N/A row N/A 13 N/A N/A N/A N/A N/A N/A row N/A 14 strip N/A N/A N/A to_return original_air_date N/A N/A self get_datetime_from_string N/A row N/A 14 ORIGINAL_AIR_DATE_FORMAT N/A N/A N/A to_return original_air_date None N/A N/A to_return rating N/A row N/A 15 N/A N/A to_return directors N/A N/A N/A row N/A 16 split | N/A N/A to_return host N/A row N/A 17 N/A N/A to_return choreographer N/A row N/A 18 N/A N/A to_return guest_stars N/A N/A N/A row N/A 19 split | N/A N/A to_return writers N/A N/A N/A row N/A 20 split | N/A N/A to_return executive_producers N/A N/A N/A row N/A 21 split | N/A N/A to_return producers N/A N/A N/A row N/A 22 split | N/A to_return N/A create_movie_from_row N/A N/A self row N/A N/A N/A to_return N/A N/A metadata Movie N/A N/A to_return db_id N/A row N/A 0 N/A N/A to_return id N/A row N/A 1 N/A N/A to_return title N/A row N/A 2 N/A N/A to_return description N/A row N/A 3 N/A N/A N/A N/A N/A N/A row N/A 4 strip N/A N/A N/A to_return time N/A N/A self get_datetime_from_string N/A row N/A 4 TIME_FORMAT N/A N/A N/A to_return time None N/A N/A to_return rating N/A row N/A 5 N/A N/A to_return directors N/A N/A N/A row N/A 6 split | N/A N/A to_return writers N/A N/A N/A row N/A 7 split | N/A N/A to_return producers N/A N/A N/A row N/A 8 split | N/A N/A to_return actors N/A N/A N/A row N/A 9 split | N/A N/A to_return movie_year N/A row N/A 10 N/A N/A to_return mpaa_rating N/A row N/A 11 N/A N/A to_return genres N/A N/A N/A row N/A 12 split | N/A to_return N/A get_datetime_from_string N/A N/A self input_str format N/A N/A N/A N/A N/A input_str None N/A input_str N/A N/A None N/A N/A N/A N/A datetime strptime input_str format N/A N/A