Help - Search - Members - Calendar
Full Version: irritating behaviour cue + flac
Hydrogenaudio Forums > Lossless Audio Compression > FLAC
qash
Hi,

When I'm loading a folder (dragging to foobar window) with cue + flac. Foobar sees the tracks in the cue sheet but also loads the flac. So in playlist window I have the tracks in the cuesheet and also one (the whole album) flac.

I just want the tracks loaded from the cue sheet.

Is it posssible?

Greetings from a snowy Sweden!
tongue.gif

Synthetic Soul
  1. Be more selective with the files you drag. As you only want the cuesheet it's not too much effort to open the folder and drag the cue, rather than drag the folder
  2. Not convinced? OK, well I tried. You could embed the cuesheet in the FLAC file. If you are using foobar 0.9 you could keep the external cuesheet, but exclude the .CUE filetype ("Preferences" > "General" > "Exclude file types") so that it is not imported when you drag the folder. If not, once you have embedded the cuesheet, you could delete it, move it to a specific "Cuesheets" folder, amend the extension to .bak, etc.
If you do embed the cuesheet it is recommended to use a Vorbis comment, rather than the FLAC meta block, as the meta block will strip out all meta data, like artist, album and track names.
qash
Thanks for your answer!

I'm lazy that's why but you're right. I can just open the folder. But it seems that xmplay do what I meant. AnywayI will look further in your thoughts.
qash
With your software "tag" I'm trying to embed cuesheets in a directory and subdirectories.

So what is the correct syntax?

I tried this in but it's not working for me

Tag -f "cuesheet=*.cue" --recursive *.flac

Error: *.cue: failed to open file for for reading.
Synthetic Soul
Tag is not my application: it was written by Case and I have simply made a few minor changes.

I did implement the -f switch, but I'm afraid I didn't implement it well enough that you can use wildcards; you must specify the exact location of the cuesheet.

I assume that you are trying to run this in a folder in which there are many subfolders, each of which contain one FLAC and one cuesheet?

Are your cuesheets named as per the FLAC file? I.e.: are your FLAC files called "<name>.flac" and your cuesheets "<name>.flac.cue"?

If so, it would be quiet easy for me (and perhaps you) to write a quick batch file to do what you need.
qash
Yes - I'm trying to run this in a folder in which there are many subfolders, each of which contain one FLAC and one cuesheet?

..... My files are named like this "<name>.flac" and "<name>.cue".

"quite easy", sorry to say, not for me

ta-ta



Synthetic Soul
Copy the script below and save it as "embed-cue.bat". Ensure that TAG.EXE is in a folder in PATH; I generally recommend people to put it in system32. This means you can then call TAG.EXE from anywhere without having to provide a path.

Then, simply drag the root folder (the folder that contains all you subfolders with FLACs) onto the batch file icon. The script will iterate through all folders, and when it finds a FLAC file called "<path>\<name>.flac" it will run Tag attempting to embed "<path>\<name>.cue" in to "<path>\<name>.flac".

CODE
FOR /R %1 %%G IN (*.flac) DO TAG.EXE -f "CUESHEET=%%~dpnG.cue" "%%G"

Please test this on some copies before running on your whole collection.
qash
THANKS for your help and effort!

I've tested it and it did work.

I consider buying a Squeezebox (http://www.slimdevices.com/index.html) and as I understand it's neccessary with embedded cuesheet then.

biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.