Skip to content

Instantly share code, notes, and snippets.

@r-a-y
r-a-y / cuemaker.py
Last active September 11, 2025 08:16 — forked from joshbarrass/cuemaker.py
Python code to generate cue sheets (.cue files) from YouTube timestamps
"""
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
@antont
antont / csv2cue.py
Last active June 18, 2023 13:38
Serato History CSV to Mixcloud compatible CUE converter, with time offset
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)