Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Apr 2009
    Posts
    2

    SC can't read my FLAC's embedded cue sheets

    I just installed SqueezeCenter 7.3.2 on Ubuntu Server 8.04 with apt-get and had it scan my library of FLAC album images with embedded cue sheets. I can play the albums using SoftSqueeze but according to SqueezeCenter each album is one big long track. I can't skip to track 2 or get any hits when I search by track name. My albums are fine in foobar2000.

    I rip my CDs with EAC to .wav and .cue then use foobar2000 to fix up any tags and convert to FLAC with embedded cue.

    Here's an example output from metaflac:
    Code:
    D:\My Music>metaflac --list MyCulture.flac
    METADATA block #0
      type: 0 (STREAMINFO)
      is last: false
      length: 34
      minimum blocksize: 4096 samples
      maximum blocksize: 4096 samples
      minimum framesize: 14 bytes
      maximum framesize: 14283 bytes
      sample_rate: 44100 Hz
      channels: 2
      bits-per-sample: 16
      total samples: 40605516
      MD5 signature: 68c28355cc3d4fc46a279769dc7cc449
    METADATA block #1
      type: 4 (VORBIS_COMMENT)
      is last: false
      length: 673
      vendor string: reference libFLAC 1.2.1 20070917
      comments: 8
        comment[0]: album=My Culture (CD Single)
        comment[1]: artist=1 Giant Leap
        comment[2]: COMMENT=ExactAudioCopy v0.95b3
        comment[3]: cuesheet=REM GENRE Tribal
    REM DATE 2001
    REM DISCID 2409C404
    REM COMMENT ExactAudioCopy v0.95b3
    PERFORMER "1 Giant Leap"
    TITLE "My Culture (CD Single)"
    FILE "MyCulture.flac" WAVE
      TRACK 01 AUDIO
        TITLE "My Culture (Radio Edit)"
        INDEX 01 00:00:00
      TRACK 02 AUDIO
        TITLE "My Culture (We Love This Mix)"
        INDEX 00 03:38:15
        INDEX 01 03:41:05
      TRACK 03 AUDIO
        TITLE "Racing Away (Album Version)"
        INDEX 00 09:20:10
        INDEX 01 09:22:02
    
        comment[4]: DATE=2001
        comment[5]: DISCID=2409C404
        comment[6]: GENRE=Tribal
        comment[7]: totaltracks=3
    METADATA block #2
      type: 1 (PADDING)
      is last: true
      length: 7559
    And here's my SqueezeCenter Status:

    Version: 7.3.2 - 24695 @ Mon Jan 19 17:13:58 PST 2009
    Hostname: mserver
    Server IP Address: 192.168.1.3
    Server HTTP Port Number: 9000
    Operating system: Debian - EN - utf8
    Platform Architecture: i686-linux
    Perl Version: 5.8.8 - i486-linux-gnu-thread-multi
    MySQL Version: 5.0.51a-3ubuntu5.1
    Total Players Recognized: 1

    Can anybody see what's wrong with my setup?

    Thanks,
    Dook

  2. #2
    Senior Member
    Join Date
    Jul 2007
    Posts
    832

    Try external CUE sheets, and see if that helps

    Quote Originally Posted by dookka View Post
    I just installed SqueezeCenter 7.3.2 on Ubuntu Server 8.04 with apt-get and had it scan my library of FLAC album images with embedded cue sheets. I can play the albums using SoftSqueeze but according to SqueezeCenter each album is one big long track. I can't skip to track 2 or get any hits when I search by track name. My albums are fine in foobar2000.

    I rip my CDs with EAC to .wav and .cue then use foobar2000 to fix up any tags and convert to FLAC with embedded cue.

    Can anybody see what's wrong with my setup?

    Thanks,
    Dook
    I tried your approach and eventually gave up, and went to one FLAC file per track. This is much more the way SC expects the library to be organized.

    The quick way to get some usable functionality for your situation would be to run a script using Metaflac or Foobar2k to get a copy of the CUE sheets outside of the FLAC files. (This is a step backwards in some ways as you naturally wanted one self-contained image file per album. But it can be a way to go.) Then you would include .flacs and exclude .cues from the Media Library in Foobar2k and exclude .flacs and include .cues in SC before re-scanning. Failing to do so creates double entries for each album. (Thanks to goharbourview123 for that suggestion.)

    Best regards,
    ----------------------
    "Dreamer, easy in the chair that really fits you..."

  3. #3
    Junior Member
    Join Date
    Apr 2009
    Posts
    2
    Thanks for the reply.
    I used metaflac to export the tags and extracted the cuesheet comment, then imported the cuesheet as a native cuesheet and now SqueezeCenter and foobar2000 both seem happy without the seperate .cue files.

    I guess I now have to find out if foobar2000 or something else can do this automatically for me, and if there's going to be any other problems this way.

  4. #4
    Senior Member
    Join Date
    Jul 2007
    Posts
    832

    You're right. It seems to work. Small script example

    Quote Originally Posted by dookka View Post
    Thanks for the reply.
    I used metaflac to export the tags and extracted the cuesheet comment, then imported the cuesheet as a native cuesheet and now SqueezeCenter and foobar2000 both seem happy without the seperate .cue files.

    I guess I now have to find out if foobar2000 or something else can do this automatically for me, and if there's going to be any other problems this way.
    Just for kicks, I tried making a few single FLAC file album images and following your experience was able to covert a collection of such images with a one-line WinXP DOS command file as shown below.

    fixcue.bat:
    Code:
    for %%f in (*.flac) do (metaflac --show-tag=CUESHEET "%%f" > "%%~nf.cue" && metaflac --import-cuesheet-from="%%~nf.cue" "%%f" )
    I was able to scan the resulting library and the meta-data seems to show up as expected in SC.

    A very similar bash script could be written if you're using Linux. Something not entirely unlike the following:
    Code:
    #!/bin/bash
    for flac in *.flac
    do
       metaflac --show-tag=CUESHEET "$flac" > "$flac".cue
       metaflac --import-cuesheet-from="$flac".cue "$flac"
    done
    ----------------------
    "Dreamer, easy in the chair that really fits you..."

  5. #5
    Senior Member
    Join Date
    May 2005
    Location
    UK
    Posts
    744

    SC can't read my FLAC's embedded cue sheets

    Hi,

    In article <dsdreamer.3qwman1240168201 (AT) no-mx (DOT) forums.slimdevices.com>,
    dsdreamer<dsdreamer.3qwman1240168201 (AT) no-mx (DOT) forums.slimdevices.com> wrote:
    > I tried your approach and eventually gave up, and went to one FLAC file
    > per track. This is much more the way SC expects the library to be
    > organized.


    I'm not sure what gave you that idea. My library is 95% whole album FLAC
    files with embedded CUE sheets. Works just fine.

    Andy


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •