Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
When running cdg2bin.py I get several problems as listed below:
Having read that right permissions I have used chmod 777 for the containing folder and n the file itself, with no change. (I'll change that back if it isn't helping!) Anyone know the magic I need to make this work?
patches@LinuxBox:~/cdgtools-0.3.2$ ./cdg2bin.py Human.ogg+Human.cdg
Traceback (most recent call last):
File "./cdg2bin.py", line 348, in <module>
(cdg, audio) = fetchpair(file)
File "./cdg2bin.py", line 151, in fetchpair
(cdg, audio) = findmatch(file)
File "./cdg2bin.py", line 67, in findmatch
if cdg and audio:
UnboundLocalError: local variable 'audio' referenced before assignment
Thanks in advance for any help - Patches.
PS I know no python - sorry.
Where in the instructions did you find the command format: "./cdg2bin.py Human.ogg+Human.cdg"
It looks to me like you just specify the music filename or the CDG filename:
Wow, thanks for the reply - that problem sorted :)
I found the instructions using the ./cdg2bin -h option (see bold below)
A re-read would indicate I need to learn how to RTFM!
After any appropriate program options, list files to be added to the CD+G disc.
They will be placed on the disc in the order provided on the command line.
Files can be any combination of tar.gz, tar.bz2, .zip, .mp3+cdg, .ogg+cdg, and
.wav+cdg. For .mp3+cdg and .ogg+cdg, specify either the CDG file or the sound
file; cdg2bin will find the matching file.