Automatically load playlist from FLAC's CUE file
Hi there.
I've just downloaded an autio-cd rip and found a .flac file with a .cue file for it, which contains tracks disposition info. When I open the .cue file, VLC successfully finds all tracks and creates a playlist. But when I open the .flac file, VLC seems to ignore the very possibility of .cue file's existance.
I thought maybe it would be nice to search for a file with the same name but with '.cue' on the end in the same dir when we open a .flac file, and load it automatically?
Also, a bit of a pitfall that I see: then we load multiple .flac files, we must search for .cue files and insert their contents in the order, in which we load .flac files. In other words, we shouldn't mix them.
Another one it that one .cue file potentially may contain info for multiple .flac files. But since VLC automatically finds the right flac file, it shouldn't be a problem. Just tell the cue-loader module to pay attention the a section for a particular file.