Bug 5735 - Some songs are reported to have a duration of 0 seconds
: Some songs are reported to have a duration of 0 seconds
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.0
: PC Windows XP
: P2 normal (vote)
: Future
Assigned To: Squeezebox QA Team email alias
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-08 16:39 UTC by Philip Meyer
Modified: 2008-12-15 13:07 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
The cue file (1.61 KB, text/plain)
2007-10-08 16:40 UTC, Philip Meyer
Details
The album track listing (82.33 KB, image/jpeg)
2007-10-08 16:45 UTC, Philip Meyer
Details
tarball of all cue + m3u files in album directory (6.24 KB, application/x-gzip)
2007-11-05 10:31 UTC, Robin Bowes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Meyer 2007-10-08 16:39:21 UTC
I have an album that has been ripped in flac format to individual track files, but also has a .cue file.

Some songs on the album are reported with correct durations, other have a duration of 0 seconds.  I think this is due to PREGAP cue tags associated with some of the tracks (the ones displayed with 0 seconds).

Also, one track appears listed twice on the album (track 7, which is the only without a PREGAP statement after a track that does have a PREGAP).

See attachments.
Comment 1 Philip Meyer 2007-10-08 16:40:02 UTC
Created attachment 2229 [details]
The cue file
Comment 2 Philip Meyer 2007-10-08 16:45:29 UTC
Created attachment 2230 [details]
The album track listing

Song 7 appears twice - the first occurance has a duration of 0, the second has a duration of 4:54.
Comment 3 Robin Bowes 2007-11-05 04:40:27 UTC
I've just run into something similar to this.

I have a flac file:

/mnt/media/music/library/lossless/Classical/Bach, Johann Sebastian/(1989) Matthaus-Passion (Gardiner)/Disc 2/07 - Und der Hohepriester antwortete.flac

flac --test says it's OK.

metaflac --list shows this:

METADATA block #0
  type: 0 (STREAMINFO)
  is last: false
  length: 34
  minimum blocksize: 4096 samples
  maximum blocksize: 4096 samples
  minimum framesize: 3086 bytes
  maximum framesize: 10616 bytes
  sample_rate: 44100 Hz
  channels: 2
  bits-per-sample: 16
  total samples: 5061504
  MD5 signature: 2ae667787cf243022b11af91f451eae4
METADATA block #1
  type: 3 (SEEKTABLE)
  is last: false
  length: 198
  seek points: 11
    point 0: sample_number=0, stream_offset=0, frame_samples=4096
    point 1: sample_number=454656, stream_offset=657805, frame_samples=4096
    point 2: sample_number=913408, stream_offset=1323048, frame_samples=4096
    point 3: sample_number=1376256, stream_offset=1950784, frame_samples=4096
    point 4: sample_number=1835008, stream_offset=2710737, frame_samples=4096
    point 5: sample_number=2297856, stream_offset=3468686, frame_samples=4096
    point 6: sample_number=2756608, stream_offset=4206355, frame_samples=4096
    point 7: sample_number=3215360, stream_offset=5022160, frame_samples=4096
    point 8: sample_number=3674112, stream_offset=5942933, frame_samples=4096
    point 9: sample_number=4136960, stream_offset=6708688, frame_samples=4096
    point 10: sample_number=4595712, stream_offset=7720890, frame_samples=4096
METADATA block #2
  type: 4 (VORBIS_COMMENT)
  is last: false
  length: 247
  vendor string: reference libFLAC 1.1.4 20070213
  comments: 7
    comment[0]: TITLE=Und der Hohepriester antwortete
    comment[1]: ARTIST=John Eliot Gardiner
    comment[2]: ALBUM=Mathaus-Passion
    comment[3]: TRACKNUMBER=07
    comment[4]: DATE=1989
    comment[5]: GENRE=Classical
    comment[6]: Comment=Encoded by FLAC v1.1.2a with FLAC Frontend v1.7.1
METADATA block #3
  type: 1 (PADDING)
  is last: true
  length: 3889

When I play the track, it shows a length of 0.

This is the log output with some debuggin options enabled:

[12:38:32.5361] Slim::Utils::Misc::crackURL (556) Cracked: http://192.168.1.231:9000/Fishbone/songinfo.html?item=1819&player=00:04:20:10:01:94 with [192.168.1.231],[9000],[/Fishbone/songinfo.html?item=1819&player=00:04:20:10:01:94]
[12:38:32.5368] Slim::Player::Source::playmode (298) 00:04:20:10:01:94: Switching to mode stop from playout-play
[12:38:32.5371] Slim::Player::Source::playmode (397) 00:04:20:10:01:94 New play mode: stop
[12:38:32.5373] Slim::Player::Source::playmode (442) Stopping and clearing out old chunks for client 00:04:20:10:01:94
[12:38:32.5433] Slim::Player::Source::resetSong (1587) Resetting song buffer.
[12:38:32.5435] Slim::Player::Source::resetSongQueue (1421) Resetting song queue
[12:38:32.5437] Slim::Player::Source::resetSongQueue (1431) Song queue is now 0
[12:38:32.5441] Slim::Player::Source::playmode (551) 00:04:20:10:01:94: Current playmode: stop
[12:38:32.5443] Slim::Player::Source::streamingSongIndex (1347) Adding song index 0 to song queue
[12:38:32.5444] Slim::Player::Source::streamingSongIndex (1351) Clearing out song queue first
[12:38:32.5446] Slim::Player::Source::streamingSongIndex (1368) Song queue is now 0
[12:38:32.5482] Slim::Player::Source::playmode (298) 00:04:20:10:01:94: Switching to mode stop from stop
[12:38:32.5484] Slim::Player::Source::playmode (305) Already in playmode stop : ignoring mode change
[12:38:32.5486] Slim::Player::Source::streamingSongIndex (1347) Adding song index 0 to song queue
[12:38:32.5487] Slim::Player::Source::streamingSongIndex (1351) Clearing out song queue first
[12:38:32.5489] Slim::Player::Source::streamingSongIndex (1368) Song queue is now 0
[12:38:32.5491] Slim::Player::Source::playmode (298) 00:04:20:10:01:94: Switching to mode play from stop
[12:38:32.5494] Slim::Player::Source::resetSong (1587) Resetting song buffer.
[12:38:32.5550] Slim::Player::Source::openSong (1681) Trying to open: file:///mnt/media/music/library/lossless/Classical/Bach,%20Johann%20Sebastian/(1989)%20Matthaus-Passion%20(Gardiner)/Disc%202/07%20-%20Und%20der%20Hohepriester%20antwortete.flac#0-0
[12:38:32.5556] Slim::Player::Source::openSong (1858) duration: [0] size: [8663067] endian [] offset: [0] for file:///mnt/media/music/library/lossless/Classical/Bach,%20Johann%20Sebastian/(1989)%20Matthaus-Passion%20(Gardiner)/Disc%202/07%20-%20Und%20der%20Hohepriester%20antwortete.flac#0-0
[12:38:32.5561] Slim::Player::TranscodingHelper::getConvertCommand (203) undermax = 1, type = flc, transporter = 00:04:20:10:01:94
[12:38:32.5562] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-transporter-00:04:20:10:01:94
[12:38:32.5564] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-*-00:04:20:10:01:94
[12:38:32.5565] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-transporter-*
[12:38:32.5567] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-squeezebox2-*
[12:38:32.5569] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-*-*
[12:38:32.5570] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-transporter-00:04:20:10:01:94
[12:38:32.5572] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-*-00:04:20:10:01:94
[12:38:32.5573] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-transporter-*
[12:38:32.5575] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-squeezebox2-*
[12:38:32.5576] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-*-*
[12:38:32.5578] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-transporter-00:04:20:10:01:94
[12:38:32.5579] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-*-00:04:20:10:01:94
[12:38:32.5581] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-transporter-*
[12:38:32.5582] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-squeezebox2-*
[12:38:32.5584] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-*-*
[12:38:32.5585] Slim::Player::TranscodingHelper::enabledFormat (105) Checking to see if flc-flc-*-* is enabled
[12:38:32.5587] Slim::Player::TranscodingHelper::checkBin (146)    enabled
[12:38:32.5588] Slim::Player::TranscodingHelper::checkBin (148)   Found command: -
[12:38:32.5590] Slim::Player::TranscodingHelper::getConvertCommand (308) Matched Format: flc Type: flc Command: [flac] -dcs --skip=$START$ --until=$END$ -- $FILE$ | [flac] -cs --totally-silent --compression-level-0 -
[12:38:32.5592] Slim::Player::Source::openSong (1885) This is an flc file: file:///mnt/media/music/library/lossless/Classical/Bach,%20Johann%20Sebastian/(1989)%20Matthaus-Passion%20(Gardiner)/Disc%202/07%20-%20Und%20der%20Hohepriester%20antwortete.flac#0-0
[12:38:32.5593] Slim::Player::Source::openSong (1886)   file type: flc format: flc inrate: 603.532 maxRate: 0
[12:38:32.5595] Slim::Player::Source::openSong (1887)   command: [flac] -dcs --skip=$START$ --until=$END$ -- $FILE$ | [flac] -cs --totally-silent --compression-level-0 -
[12:38:32.5598] Slim::Utils::Misc::findbin (94) Looking for executable: [flac]
[12:38:32.5601] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/sbin/Bin/i386-linux/flac
[12:38:32.5602] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/sbin/Bin/linux/flac
[12:38:32.5604] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/share/squeezecenter/Bin/flac
[12:38:32.5606] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/share/squeezecenter/Bin/i386-linux/flac
[12:38:32.5607] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/kerberos/bin/flac
[12:38:32.5609] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/local/bin/flac
[12:38:32.5610] Slim::Utils::Misc::findbin (135) Checking for flac in /bin/flac
[12:38:32.5612] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/bin/flac
[12:38:32.5614] Slim::Utils::Misc::findbin (139) Found binary /usr/bin/flac for flac
[12:38:32.5615] Slim::Utils::Misc::findbin (94) Looking for executable: [flac]
[12:38:32.5618] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/sbin/Bin/i386-linux/flac
[12:38:32.5619] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/sbin/Bin/linux/flac
[12:38:32.5621] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/share/squeezecenter/Bin/flac
[12:38:32.5622] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/share/squeezecenter/Bin/i386-linux/flac
[12:38:32.5624] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/kerberos/bin/flac
[12:38:32.5626] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/local/bin/flac
[12:38:32.5627] Slim::Utils::Misc::findbin (135) Checking for flac in /bin/flac
[12:38:32.5629] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/bin/flac
[12:38:32.5631] Slim::Utils::Misc::findbin (139) Found binary /usr/bin/flac for flac
[12:38:32.5633] Slim::Player::TranscodingHelper::tokenizeConvertCommand (366) Using command for conversion: "/usr/bin/flac" -dcs --skip=0:00.00 --until=0:00.00 -- "/mnt/media/music/library/lossless/Classical/Bach, Johann Sebastian/(1989) Matthaus-Passion (Gardiner)/Disc 2/07 - Und der Hohepriester antwortete.flac" | "/usr/bin/flac" -cs --totally-silent --compression-level-0 - & |
[12:38:32.5794] Slim::Player::Source::openSong (2049) Streaming with format: flc
[12:38:32.5968] Slim::Player::Source::playmode (397) 00:04:20:10:01:94 New play mode: play
[12:38:32.6036] Slim::Player::Transporter::play (101) Setting DigitalInput to 0 for [file:///mnt/media/music/library/lossless/Classical/Bach,%20Johann%20Sebastian/(1989)%20Matthaus-Passion%20(Gardiner)/Disc%202/07%20-%20Und%20der%20Hohepriester%20antwortete.flac#0-0]
[12:38:32.6038] Slim::Player::Transporter::setDigitalInput (181) Switching to digital input 0
[12:38:32.6131] Slim::Player::Source::playmode (551) 00:04:20:10:01:94: Current playmode: play
[12:38:32.7767] Slim::Player::Source::readNextChunk (2308) Read to end of file or pipe
[12:38:32.7771] Slim::Utils::Misc::msg (1193) Warning: [12:38:32.7769] Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/Slim/Player/Source.pm line 2332.
[12:38:32.7773] Slim::Player::Source::readNextChunk (2331) end of file or error on socket, opening next song, (song pos: 0(tell says: . ), totalbytes: 0)
[12:38:32.7775] Slim::Player::Source::readNextChunk (2344) Didn't stream any bytes for this song, so just mark it as played
[12:38:32.7777] Slim::Player::Source::gotoNext (1203) Opening next song...
[12:38:32.7780] Slim::Player::Source::nextsong (1548) The next song is number 0, was 0
[12:38:32.7784] Slim::Player::TranscodingHelper::getConvertCommand (203) undermax = 1, type = flc, transporter = 00:04:20:10:01:94
[12:38:32.7786] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-transporter-00:04:20:10:01:94
[12:38:32.7788] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-*-00:04:20:10:01:94
[12:38:32.7789] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-transporter-*
[12:38:32.7790] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-squeezebox2-*
[12:38:32.7792] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-*-*
[12:38:32.7793] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-transporter-00:04:20:10:01:94
[12:38:32.7795] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-*-00:04:20:10:01:94
[12:38:32.7796] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-transporter-*
[12:38:32.7798] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-squeezebox2-*
[12:38:32.7800] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-*-*
[12:38:32.7801] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-transporter-00:04:20:10:01:94
[12:38:32.7803] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-*-00:04:20:10:01:94
[12:38:32.7804] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-transporter-*
[12:38:32.7806] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-squeezebox2-*
[12:38:32.7807] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-*-*
[12:38:32.7809] Slim::Player::TranscodingHelper::enabledFormat (105) Checking to see if flc-flc-*-* is enabled
[12:38:32.7811] Slim::Player::TranscodingHelper::checkBin (146)    enabled
[12:38:32.7812] Slim::Player::TranscodingHelper::checkBin (148)   Found command: -
[12:38:32.7814] Slim::Player::TranscodingHelper::getConvertCommand (308) Matched Format: flc Type: flc Command: [flac] -dcs --skip=$START$ --until=$END$ -- $FILE$ | [flac] -cs --totally-silent --compression-level-0 -
[12:38:32.7816] Slim::Player::Source::gotoNext (1268) Playing out before starting next song. (old format: flc, new: flc)
[12:38:32.7818] Slim::Player::Source::playmode (298) 00:04:20:10:01:94: Switching to mode playout-play from play
[12:38:32.7820] Slim::Player::Source::playmode (397) 00:04:20:10:01:94 New play mode: playout-play
[12:38:32.7880] Slim::Player::Source::playmode (551) 00:04:20:10:01:94: Current playmode: playout-play
[12:38:32.7882] Slim::Player::Source::dropStreamingConnection (1312) No pending chunks - we're dropping the streaming connection
[12:38:32.7887] Slim::Player::Source::readNextChunk (2389) 00:04:20:10:01:94: Can't opennext, returning no chunk.
[12:38:32.7966] Slim::Player::Source::decoderUnderrun (577) 00:04:20:10:01:94: Decoder underrun while this mode: playout-play
[12:38:32.7968] Slim::Player::Source::nextsong (1548) The next song is number 0, was 0
[12:38:32.7972] Slim::Player::Source::nextsong (1548) The next song is number 0, was 0
[12:38:32.7974] Slim::Player::Source::skipahead (863) **skipahead: opening next song
[12:38:32.7976] Slim::Player::Source::gotoNext (1203) Opening next song...
[12:38:32.7978] Slim::Player::Source::nextsong (1548) The next song is number 0, was 0
[12:38:32.7982] Slim::Player::TranscodingHelper::getConvertCommand (203) undermax = 1, type = flc, transporter = 00:04:20:10:01:94
[12:38:32.7983] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-transporter-00:04:20:10:01:94
[12:38:32.7985] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-*-00:04:20:10:01:94
[12:38:32.7986] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-transporter-*
[12:38:32.7988] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-squeezebox2-*
[12:38:32.7989] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-*-*
[12:38:32.7991] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-transporter-00:04:20:10:01:94
[12:38:32.7992] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-*-00:04:20:10:01:94
[12:38:32.7994] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-transporter-*
[12:38:32.7995] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-squeezebox2-*
[12:38:32.7997] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-*-*
[12:38:32.7998] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-transporter-00:04:20:10:01:94
[12:38:32.8000] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-*-00:04:20:10:01:94
[12:38:32.8001] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-transporter-*
[12:38:32.8003] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-squeezebox2-*
[12:38:32.8004] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-*-*
[12:38:32.8006] Slim::Player::TranscodingHelper::enabledFormat (105) Checking to see if flc-flc-*-* is enabled
[12:38:32.8007] Slim::Player::TranscodingHelper::checkBin (146)    enabled
[12:38:32.8009] Slim::Player::TranscodingHelper::checkBin (148)   Found command: -
[12:38:32.8011] Slim::Player::TranscodingHelper::getConvertCommand (308) Matched Format: flc Type: flc Command: [flac] -dcs --skip=$START$ --until=$END$ -- $FILE$ | [flac] -cs --totally-silent --compression-level-0 -
[12:38:32.8013] Slim::Player::Source::gotoNext (1290) opening next song (old format: flc, new: flc) current playmode: playout-play
[12:38:32.8014] Slim::Player::Source::streamingSongIndex (1347) Adding song index 0 to song queue
[12:38:32.8016] Slim::Player::Source::streamingSongIndex (1368) Song queue is now 0,0
[12:38:32.8018] Slim::Player::Source::skipahead (869) **skipahead: restarting
[12:38:32.8019] Slim::Player::Source::playmode (298) 00:04:20:10:01:94: Switching to mode play from playout-play
[12:38:32.8022] Slim::Player::Source::resetSong (1587) Resetting song buffer.
[12:38:32.8078] Slim::Player::Source::openSong (1681) Trying to open: file:///mnt/media/music/library/lossless/Classical/Bach,%20Johann%20Sebastian/(1989)%20Matthaus-Passion%20(Gardiner)/Disc%202/07%20-%20Und%20der%20Hohepriester%20antwortete.flac#0-0
[12:38:32.8084] Slim::Player::Source::openSong (1858) duration: [0] size: [8663067] endian [] offset: [0] for file:///mnt/media/music/library/lossless/Classical/Bach,%20Johann%20Sebastian/(1989)%20Matthaus-Passion%20(Gardiner)/Disc%202/07%20-%20Und%20der%20Hohepriester%20antwortete.flac#0-0
[12:38:32.8088] Slim::Player::TranscodingHelper::getConvertCommand (203) undermax = 1, type = flc, transporter = 00:04:20:10:01:94
[12:38:32.8090] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-transporter-00:04:20:10:01:94
[12:38:32.8092] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-*-00:04:20:10:01:94
[12:38:32.8093] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-transporter-*
[12:38:32.8095] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-squeezebox2-*
[12:38:32.8096] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-*-*
[12:38:32.8098] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-transporter-00:04:20:10:01:94
[12:38:32.8099] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-*-00:04:20:10:01:94
[12:38:32.8101] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-transporter-*
[12:38:32.8102] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-squeezebox2-*
[12:38:32.8104] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-*-*
[12:38:32.8105] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-transporter-00:04:20:10:01:94
[12:38:32.8107] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-*-00:04:20:10:01:94
[12:38:32.8108] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-transporter-*
[12:38:32.8110] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-squeezebox2-*
[12:38:32.8111] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-*-*
[12:38:32.8113] Slim::Player::TranscodingHelper::enabledFormat (105) Checking to see if flc-flc-*-* is enabled
[12:38:32.8114] Slim::Player::TranscodingHelper::checkBin (146)    enabled
[12:38:32.8116] Slim::Player::TranscodingHelper::checkBin (148)   Found command: -
[12:38:32.8118] Slim::Player::TranscodingHelper::getConvertCommand (308) Matched Format: flc Type: flc Command: [flac] -dcs --skip=$START$ --until=$END$ -- $FILE$ | [flac] -cs --totally-silent --compression-level-0 -
[12:38:32.8119] Slim::Player::Source::openSong (1885) This is an flc file: file:///mnt/media/music/library/lossless/Classical/Bach,%20Johann%20Sebastian/(1989)%20Matthaus-Passion%20(Gardiner)/Disc%202/07%20-%20Und%20der%20Hohepriester%20antwortete.flac#0-0
[12:38:32.8121] Slim::Player::Source::openSong (1886)   file type: flc format: flc inrate: 603.532 maxRate: 0
[12:38:32.8122] Slim::Player::Source::openSong (1887)   command: [flac] -dcs --skip=$START$ --until=$END$ -- $FILE$ | [flac] -cs --totally-silent --compression-level-0 -
[12:38:32.8125] Slim::Utils::Misc::findbin (94) Looking for executable: [flac]
[12:38:32.8128] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/sbin/Bin/i386-linux/flac
[12:38:32.8130] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/sbin/Bin/linux/flac
[12:38:32.8132] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/share/squeezecenter/Bin/flac
[12:38:32.8133] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/share/squeezecenter/Bin/i386-linux/flac
[12:38:32.8135] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/kerberos/bin/flac
[12:38:32.8137] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/local/bin/flac
[12:38:32.8139] Slim::Utils::Misc::findbin (135) Checking for flac in /bin/flac
[12:38:32.8140] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/bin/flac
[12:38:32.8142] Slim::Utils::Misc::findbin (139) Found binary /usr/bin/flac for flac
[12:38:32.8144] Slim::Utils::Misc::findbin (94) Looking for executable: [flac]
[12:38:32.8146] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/sbin/Bin/i386-linux/flac
[12:38:32.8148] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/sbin/Bin/linux/flac
[12:38:32.8149] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/share/squeezecenter/Bin/flac
[12:38:32.8151] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/share/squeezecenter/Bin/i386-linux/flac
[12:38:32.8152] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/kerberos/bin/flac
[12:38:32.8154] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/local/bin/flac
[12:38:32.8156] Slim::Utils::Misc::findbin (135) Checking for flac in /bin/flac
[12:38:32.8157] Slim::Utils::Misc::findbin (135) Checking for flac in /usr/bin/flac
[12:38:32.8159] Slim::Utils::Misc::findbin (139) Found binary /usr/bin/flac for flac
[12:38:32.8161] Slim::Player::TranscodingHelper::tokenizeConvertCommand (366) Using command for conversion: "/usr/bin/flac" -dcs --skip=0:00.00 --until=0:00.00 -- "/mnt/media/music/library/lossless/Classical/Bach, Johann Sebastian/(1989) Matthaus-Passion (Gardiner)/Disc 2/07 - Und der Hohepriester antwortete.flac" | "/usr/bin/flac" -cs --totally-silent --compression-level-0 - & |
[12:38:32.8324] Slim::Player::Source::openSong (2049) Streaming with format: flc
[12:38:32.8369] Slim::Player::Source::playmode (397) 00:04:20:10:01:94 New play mode: play
[12:38:32.8436] Slim::Player::Transporter::play (101) Setting DigitalInput to 0 for [file:///mnt/media/music/library/lossless/Classical/Bach,%20Johann%20Sebastian/(1989)%20Matthaus-Passion%20(Gardiner)/Disc%202/07%20-%20Und%20der%20Hohepriester%20antwortete.flac#0-0]
[12:38:32.8439] Slim::Player::Transporter::setDigitalInput (181) Switching to digital input 0
[12:38:32.8531] Slim::Player::Source::playmode (551) 00:04:20:10:01:94: Current playmode: play
[12:38:32.8712] Slim::Player::Source::readNextChunk (2308) Read to end of file or pipe
[12:38:32.8716] Slim::Utils::Misc::msg (1193) Warning: [12:38:32.8713] Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/Slim/Player/Source.pm line 2332.
[12:38:32.8717] Slim::Player::Source::readNextChunk (2331) end of file or error on socket, opening next song, (song pos: 0(tell says: . ), totalbytes: 0)
[12:38:32.8719] Slim::Player::Source::readNextChunk (2344) Didn't stream any bytes for this song, so just mark it as played
[12:38:32.8721] Slim::Player::Source::gotoNext (1203) Opening next song...
[12:38:32.8724] Slim::Player::Source::nextsong (1548) The next song is number 0, was 0
[12:38:32.8728] Slim::Player::TranscodingHelper::getConvertCommand (203) undermax = 1, type = flc, transporter = 00:04:20:10:01:94
[12:38:32.8731] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-transporter-00:04:20:10:01:94
[12:38:32.8732] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-*-00:04:20:10:01:94
[12:38:32.8734] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-transporter-*
[12:38:32.8735] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-squeezebox2-*
[12:38:32.8737] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-wma-*-*
[12:38:32.8738] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-transporter-00:04:20:10:01:94
[12:38:32.8740] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-*-00:04:20:10:01:94
[12:38:32.8741] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-transporter-*
[12:38:32.8743] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-squeezebox2-*
[12:38:32.8744] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-ogg-*-*
[12:38:32.8746] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-transporter-00:04:20:10:01:94
[12:38:32.8748] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-*-00:04:20:10:01:94
[12:38:32.8749] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-transporter-*
[12:38:32.8751] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-squeezebox2-*
[12:38:32.8752] Slim::Player::TranscodingHelper::checkBin (138) Checking formats for: flc-flc-*-*
[12:38:32.8754] Slim::Player::TranscodingHelper::enabledFormat (105) Checking to see if flc-flc-*-* is enabled
[12:38:32.8755] Slim::Player::TranscodingHelper::checkBin (146)    enabled
[12:38:32.8757] Slim::Player::TranscodingHelper::checkBin (148)   Found command: -
[12:38:32.8759] Slim::Player::TranscodingHelper::getConvertCommand (308) Matched Format: flc Type: flc Command: [flac] -dcs --skip=$START$ --until=$END$ -- $FILE$ | [flac] -cs --totally-silent --compression-level-0 -
[12:38:32.8760] Slim::Player::Source::gotoNext (1268) Playing out before starting next song. (old format: flc, new: flc)
[12:38:32.8762] Slim::Player::Source::playmode (298) 00:04:20:10:01:94: Switching to mode playout-play from play
[12:38:32.8765] Slim::Player::Source::playmode (397) 00:04:20:10:01:94 New play mode: playout-play
[12:38:32.8825] Slim::Player::Source::playmode (551) 00:04:20:10:01:94: Current playmode: playout-play
[12:38:32.8827] Slim::Player::Source::dropStreamingConnection (1312) No pending chunks - we're dropping the streaming connection
[12:38:32.8832] Slim::Player::Source::readNextChunk (2389) 00:04:20:10:01:94: Can't opennext, returning no chunk.
[12:38:32.9139] Slim::Player::Source::decoderUnderrun (577) 00:04:20:10:01:94: Decoder underrun while this mode: playout-play
[12:38:32.9141] Slim::Player::Source::nextsong (1548) The next song is number 0, was 0
[12:38:32.9144] Slim::Player::Source::decoderUnderrun (612) 00:04:20:10:01:94: Ignoring decoder underrun, player already has 2 tracks
Comment 4 Robin Bowes 2007-11-05 05:30:22 UTC
Hmmm. My comments were working with the "new" RPM on CentOS5.

I've just gone back to my "old" installation, running from trunk, and the duration is reported correctly, and the track plays.

So, it seems there are two issues here:

1. Why was the track duration reported as "0"?
2. Is it OK for the track to not play when the duration is reported as "0"?

R.
Comment 5 Robin Bowes 2007-11-05 07:58:13 UTC
More info: I modified file types to exclude .cue and .m3u files as valid extensions for music files and rescanned. This fixes the issue. So, this looks like a cue file processing issue.

R.
Comment 6 Chris Owens 2007-11-05 10:14:27 UTC
Could I trouble you to attach the CUE, Robin?
Comment 7 Robin Bowes 2007-11-05 10:31:49 UTC
Created attachment 2358 [details]
tarball of all cue + m3u files in album directory
Comment 8 Robin Bowes 2007-11-05 10:35:12 UTC
Chris, see attached.

Note that there are 3 cue files and an m3u file per disc - one for flac, one for wav, and one for whole-disc wav.

R.
Comment 9 Chris Owens 2007-12-10 09:58:47 UTC
related to bug 5734
Comment 10 Alan Young 2007-12-10 10:01:23 UTC
Code has comment "defer pregap handling until we have continuous play through consecutive tracks" so it looks like pregaps are not properly handled at all just now.
Comment 11 Andy Grundman 2007-12-11 13:32:51 UTC
Can you enlighten me as to why an album with individual FLAC files needs a cue sheet?
Comment 12 Robin Bowes 2007-12-11 13:58:10 UTC
So the original disc can be recreated *exactly* (all gaps intact, etc.)
Comment 13 Andy Grundman 2007-12-11 14:06:37 UTC
OK, fair enough.

Looking through the code, it turns out cue sheets with multiple FILE lines are not supported.  I'm going to fix this by simply ignoring any cue sheet with multiple FILE entries.  All the files will be scanned as normal files and you should be just fine playing them.

Fixed in change 15191.
Comment 14 James Richardson 2008-12-15 13:07:59 UTC
This bug appears to have been fixed in the latest release!

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.

Make sure to include the version number of the software you are seeing the error with.