Update kobackupdec.py

added 'audios': 'audio'  folder_to_media_type
This commit is contained in:
realSnoopy 2020-05-19 13:46:46 +02:00 committed by GitHub
parent 3a587e38a2
commit 1030d7d24c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -711,7 +711,7 @@ def decrypt_files_in_root(decrypt_info, path_in, path_out):
def decrypt_files_in_folder(decrypt_info, folder, path_out):
folder_to_media_type = {'movies': 'video', 'pictures': 'photo'}
folder_to_media_type = {'movies': 'video', 'pictures': 'photo', 'audios': 'audio', }
media_out_dir = path_out.absolute().joinpath('storage')
media_unk_dir = path_out.absolute().joinpath('unknown')