Open captn3m0 opened 3 years ago
This is very much appreciated! Especially when still having some MP3+TXT lying around from the times before Youtube, as many DJs used to provide on their own websites back then. And as many online radios and podcasts (music and speech likewise) still do!
How is the state of development in that regard?
Haven't had the time so far. Maybe this weekend.
@porg I pushed some rough code for this in #82. You can try it out locally with
npm install captn3m0/youtube-cue#file-processor
Required a lot more changes than I'd thought of, mainly because I can't get album artist or album information from plain text files.
I looked through the DJ Mixes which I wanted to cut with the playlist files. Turns out they all only have number + artist + title, but no timecodes ahead. Cannot test with realistic dataset. But will later try with custom made tracklist file.
Since the core of the project is a generic timestamp parser to cue sheet generator, it might be helpful to support parsing text directly. Something like:
youtube-cue file.txt output.cue
Where file.txt contains:
And the cue sheet is generated accordingly.