29 lines
1.2 KiB
Python
29 lines
1.2 KiB
Python
ENV = {
|
|
'usage': [
|
|
'music_import.py',
|
|
'<translation_db>',
|
|
'<source_directory>',
|
|
'[destination_directory]'
|
|
],
|
|
'help': [
|
|
"Provide a translation, a source and a destination path to copy the files renaming them accordingly, ",
|
|
"The translation file is a csv, containing the following entries:",
|
|
""
|
|
"<source_file>" "<destination_file>"
|
|
"",
|
|
"Using relative path for source and destination file",
|
|
"Destination file name should looke something like:",
|
|
"",
|
|
"<CODE>_<description>.<extension>",
|
|
"",
|
|
"CODE: weather condition name",
|
|
"description: just a way for you to recognize the file and for the system's FS to not overwrite files",
|
|
"extension: any format supported by mpv should be ok",
|
|
"",
|
|
"CODE recognized values are:", "'day' 'night' 'fog' 'rain' 'snow' 'thunder'",
|
|
"Only when teh weather is clear (day/night): a check on current time is performed against the known",
|
|
"sunset/sunrise time to determine which to pick"
|
|
],
|
|
'dst_dir': './music'
|
|
}
|