Bug 904 - ending time missing for files referenced by external cuesheet
: ending time missing for files referenced by external cuesheet
Status: RESOLVED DUPLICATE of bug 885
Product: Logitech Media Server
Classification: Unclassified
Component: Formats
: 6.0.0
: PC All
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-01 15:19 UTC by michael
Modified: 2005-03-01 15:20 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description michael 2005-03-01 15:19:11 UTC
when using an external cuesheet to reference parts of a multi-track audio file,
the last track referenced is missing an ending time, resulting in an invalid
anchor. some transcoding methods, (Flac for one) don't deal well with an ending
time (0:00 in this case) that is less than the starting time.

an example (using --d_source)...

2005-02-28 22:40:28.2145   Found command: [flac] -dcs --skip=$START$
--until=$END$ $FILE$ | [lame] --resample 44100  --silent -q$QUALITY$ -b$BITRATE$
- -              
2005-02-28 22:40:28.2164 Matched Format: mp3 Type: flc Command: [flac] -dcs
--skip=$START$ --until=$END$ $FILE$ | [lame] --resample 44100  --silent
-q$QUALITY$ -b$BITRATE$ - - 
2005-02-28 22:40:28.2165 openSong: this is an flc file:
file:///var/audio/cue-test/external/withtags/Tori%20Amos%20-%20Winter.flac#983.24-0
2005-02-28 22:40:28.2165   file type: flc format: mp3 inrate: 775.284219205071
maxRate: 320
2005-02-28 22:40:28.2166   command: [flac] -dcs --skip=$START$ --until=$END$
$FILE$ | [lame] --resample 44100  --silent -q$QUALITY$ -b$BITRATE$ - -         
          
Use of uninitialized value in substitution (s///) at
/usr/src/slim/trunk/server/Slim/Player/Source.pm line 1336.
2005-02-28 22:40:28.2176 Using command for conversion:
"/usr/src/slim/trunk/server/Bin/i386-linux-thread-multi/flac" -dcs
--skip=16:23.24 --until=0:00.00 "/var/audio/cue-test/external/withtags/Tori Amos
- Winter.flac" | "/usr/bin/lame" --resample 44100  --silent -q -b320 - - & |
2005-02-28 22:40:28.2257 Streaming with format: mp3
Tori Amos - Winter.flac: ERROR, --until value is before --skip point
Assuming raw pcm input file
Comment 1 michael 2005-03-01 15:20:01 UTC
sorry, hit the wrong browser button and submitted a dupe

*** This bug has been marked as a duplicate of 885 ***