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
path.strip('"') #Remove quotes | |
title = [] | |
trackno = [] | |
length = [] | |
artist = [] | |
#PARSING | |
for root, dirs, files in os.walk(os.path.abspath(path)): | |
for file in files: | |
if file.endswith(".mp3"): |
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 eyed3 | |
import os | |
cumlength = 0 | |
ntrack = 0 | |
path = input("Path to tracks: ") | |
path.strip('"') #Remove quotes | |
title = [] | |
trackno = [] | |
length = [] |
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
"""Convert DDP mastered CDs to Kunaki's CUE format. | |
tl;dr: | |
Type in CMD where the script is located in: | |
python ddp-to-kunaki.py "my-cool-cd-ddp-dir" "my-cool-cd-kunaki" <-- Yes, you need to put in quotation marks | |
ddp-to-kunaki.py - name of script | |
my-cool-cd-ddp-dir - path to ddp files IN QUOTATION MARKS | |
my-cool-cd-kunaki - name of your cue and iso files for Kunaki IN QUOTATION MARKS | |
This will produce two files: | |
my-cool-cd-kunaki.CUE <-- the markers |