mirror of
https://github.com/lifegpc/pythonscript.git
synced 2026-07-08 01:31:10 +08:00
Add new script link_directory
This commit is contained in:
@@ -84,7 +84,7 @@ def get_m4a_files(dir: str, r: bool) -> List[str]:
|
||||
if isdir(file):
|
||||
if r:
|
||||
re += get_m4a_files(file, r)
|
||||
elif file.endswith('.m4a') or file.endswith(".flac"):
|
||||
elif file.endswith('.m4a') or file.endswith(".flac") or file.endswith(".mp3"):
|
||||
re.append(file)
|
||||
return re
|
||||
|
||||
|
||||
Reference in New Issue
Block a user