MainSqueeze wrote: 
> Will do but it'll be a couple hours or so before I'll get round to it,
> I'm afraid. Which log set should I choose from the dropdown at the top
> of the logging page? Or is choosing "Debug" for the player.source by
> itself enough?

player.source to DEBUG is enough - it will generate a load of messages
but only interest in the ones around "Tokenized command: "   which is
the full command that will be used to transcode.  Example below is from
a WAV file with associated CUE file.

Code:
--------------------
    
  [20-07-03 16:54:27.8766] Slim::Player::TranscodingHelper::checkBin (258)   
Found command: [flac] -cs --totally-silent --compression-level-0 $START$ $END$ 
-- $FILE$ | [sox] -q -t flac - -t flac -C 0 $RESAMPLE$ -
  [20-07-03 16:54:27.8767] Slim::Player::TranscodingHelper::getConvertCommand2 
(475) Matched: wav->flc via: [flac] -cs --totally-silent --compression-level-0 
$START$ $END$ -- $FILE$ | [sox] -q -t flac - -t flac -C 0 $RESAMPLE$ -
  [20-07-03 16:54:27.8768] Slim::Player::Song::open (408) Transcoder: 
streamMode=F, streamformat=flc
  [20-07-03 16:54:27.8772] 
Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (646) Using command 
for conversion: "/mnt/hddrive/home/latest/trunk/Bin/x86_64-linux/flac" -cs 
--totally-silent --compression-level-0 --skip=13:32.22 --until=18:06.76 -- 
"/mnt/hddrive/albums/Rock/Silver_and_Gold/Silver_and_Gold.wav" | 
"/mnt/hddrive/home//latest/trunk/Bin/x86_64-linux/sox" -q -t flac - -t flac -C 
0 - & |
  [20-07-03 16:54:27.8773] Slim::Player::Song::open (572) Tokenized command: 
"/mnt/hddrive/home/latest/trunk/Bin/x86_64-linux/flac" -cs --totally-silent 
--compression-level-0 --skip=13:32.22 --until=18:06.76 -- 
"/mnt/hddrive/albums/Rock/Silver_and_Gold/Silver_and_Gold.wav" | 
"/mnt/hddrive/home/latest/trunk/Bin/x86_64-linux/sox" -q -t flac - -t flac -C 0 
- & |
  
--------------------


If transcoding is not used then seeking will look like something like
":_timeToOffset (356) seeking using Slim::Formats::FLAC
findFrameBoundaries"   - Example below is a Flac files and I clicked a
place within time bar in web GUI

Code:
--------------------
    
  [20-07-03 16:58:27.3675] Slim::Player::Song::open (475) Opening stream (no 
direct streaming) using Slim::Player::Protocols::File 
[file:///mnt/hddrive/home/albums/Rock/Silver_and_Gold/Silver_and_Gold.flac]
  [20-07-03 16:58:27.3677] Slim::Player::Protocols::File::open (80) duration: 
[27.28] size: [2362532] endian [] offset: [0] for 
file:///mnt/hddrive/home/albums/Rock/Silver_and_Gold/Silver_and_Gold.flac
  [20-07-03 16:58:27.3677] Slim::Player::Protocols::File::open (97) Opening 
file /mnt/hddrive/home/albums/Rock/Silver_and_Gold/Silver_and_Gold.flac
  [20-07-03 16:58:27.3680] Slim::Player::Protocols::File::_timeToOffset (356) 
seeking using Slim::Formats::FLAC findFrameBoundaries(640996, 7.4015444015444)
  [20-07-03 16:58:27.3681] Slim::Player::Protocols::File::_timeToOffset (368) 
7.4015444015444 -> 904750 (align: 1 size: 2362532 duration: 27.28)
  [20-07-03 16:58:27.3682] Slim::Player::Protocols::File::open (191) Seeking in 
904750 into /mnt/hddrive/home/albums/Rock/Silver_and_Gold/Silver_and_Gold.flac
  [20-07-03 16:58:27.3684] Slim::Player::Song::open (496) URL is a song 
(audio): 
file:///mnt/hddrive/home/albums/Rock/Silver_and_Gold/Silver_and_Gold.flac, 
type=flc
  [20-07-03 16:58:27.4081] Slim::Player::SongStreamController::new (30) live=1
  
  
--------------------


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112497

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to