From b880a5d76cb26954c56a49fdee5284e8243cca54 Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 29 Dec 2021 23:20:18 +0700 Subject: [PATCH] rename task to csv export --- README.md | 2 +- interface.py | 6 +++--- src/db_export.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 172a626..91c3004 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Trailers are named in this style, a more flexible solution is in pending: ## Fix Movie Names Sometimes Emby get's it wrong. Sometimes this script can get it wrong too. The *Fix Movie Names* function goes through the movie library looking for filenames that don't match with the movie name as identified in emby. -## DB export +## CSV export Export the library to csv files. Calles the Emby API to get a list of movies and episodes and exports this to a convenient set ov CSV files. ## setup diff --git a/interface.py b/interface.py index 8bd548d..9b7ad9b 100755 --- a/interface.py +++ b/interface.py @@ -55,11 +55,11 @@ class Interface: def build_menu(self): """ build the menu based on availabe keys in config file """ menu = ['All', 'Movies', 'TV shows', 'Trailer download', - 'Fix Movie Names', 'DB export', 'Exit'] + 'Fix Movie Names', 'CSV export', 'Exit'] config_keys = self.CONFIG.keys() if 'emby' not in config_keys: menu.remove('Fix Movie Names') - menu.remove('DB export') + menu.remove('CSV export') if 'ydl_opts' not in config_keys: menu.remove('Trailer download') return menu @@ -144,7 +144,7 @@ class Interface: trailers.main() elif menu_item == 'Fix Movie Names': id_fix.main() - elif menu_item == 'DB export': + elif menu_item == 'CSV export': db_export.main() def print_menu(self, current_row_idx): diff --git a/src/db_export.py b/src/db_export.py index 553e6e6..230d49f 100644 --- a/src/db_export.py +++ b/src/db_export.py @@ -287,7 +287,7 @@ class ListParser: def main(): """ main to regenerate csv files """ - print('recreating db files') + print('recreating csv files') # stop if scan in progress lib_state = EmbyLibrary() if not lib_state.ready: