Skip to content

Instantly share code, notes, and snippets.

@r-a-y
r-a-y / cuemaker.py
Last active April 6, 2024 16:28 — 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
@r-a-y
r-a-y / README.md
Last active December 16, 2017 21:03 — forked from johnpbloch/README.md

Installation

To install, you need to have the WordPress i18n library on your computer. Check it out using SVN:

sudo svn co http://i18n.svn.wordpress.org/tools/trunk/ /usr/lib/wpi18n

You don't have to put the library in /usr/lib/wpi18n, but if you don't put it there, make sure to set the $WP_I18N_LIB environment variable in your .bashrc file (with no trailing slash):

export WP_I18N_LIB="/path/to/i18n/lib"