This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| A script for automatically generating CUE files from a list of timestamps and titles, like | |
| those commonly seen in YouTube descriptions. | |
| Usage: | |
| python cuemaker.py --output="Filename without extension" "timestamps.txt" "Album name" "Artist name" | |
| "timestamps.txt" should be a text file containing a list of timestamps and titles like: | |
| 00:00 Track 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import csv | |
| import datetime | |
| session_start_time = datetime.datetime(2018, 8, 31, 22, 57, 27) | |
| print("FILE \"swingit_vol1.mp3\" MP3") | |
| with open('edit-31.8.2018.csv') as csvfile: | |
| reader = csv.reader(csvfile) |