move folder into file
This commit is contained in:
parent
27f96fff6e
commit
1fc51d578e
@ -13,6 +13,18 @@ model_name = "medium"
|
|||||||
start_time = 0
|
start_time = 0
|
||||||
total_audio_length = 0
|
total_audio_length = 0
|
||||||
|
|
||||||
|
folder_list = [
|
||||||
|
# Speyer
|
||||||
|
# "\\\\10.1.0.11\\Aufnahme-stereo\\010 Gottesdienste ARCHIV\\2025",
|
||||||
|
# "\\\\10.1.0.11\\Aufnahme-stereo\\010 Gottesdienste ARCHIV\\2016",
|
||||||
|
# "\\\\10.1.0.11\\Aufnahme-stereo\\010 Gottesdienste ARCHIV\\2015",
|
||||||
|
# "\\\\10.1.0.11\\Aufnahme-stereo\\010 Gottesdienste ARCHIV\\2014",
|
||||||
|
|
||||||
|
# Schwegenheim
|
||||||
|
"\\\\10.1.1.11\\Aufnahme-stereo\\010 Gottesdienste ARCHIV\\2025",
|
||||||
|
"\\\\10.1.1.11\\Aufnahme-stereo\\010 Gottesdienste ARCHIV\\2024"
|
||||||
|
]
|
||||||
|
|
||||||
def format_timestamp(seconds):
|
def format_timestamp(seconds):
|
||||||
"""Format seconds into HH:MM:SS."""
|
"""Format seconds into HH:MM:SS."""
|
||||||
hours = int(seconds // 3600)
|
hours = int(seconds // 3600)
|
||||||
@ -236,10 +248,6 @@ def process_folder(root_folder):
|
|||||||
print(e)
|
print(e)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
if len(sys.argv) != 2:
|
for folder in folder_list:
|
||||||
print("Usage: python transcribe_all.py <root_folder>")
|
process_folder(folder)
|
||||||
sys.exit(1)
|
print("All done!")
|
||||||
|
|
||||||
root_folder = sys.argv[1]
|
|
||||||
|
|
||||||
process_folder(root_folder)
|
|
||||||
Loading…
x
Reference in New Issue
Block a user