I've noticed that TMPDIR is included in the transcoding commands multple
times for each invocations of the spotty helper.

I'm using the bandwidth limiting feature with iPeng in this log


Code:
--------------------
    [21-09-12 06:56:08.6834] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state IDLE
  [21-09-12 06:56:08.6853] Slim::Player::StreamingController::nextsong (889) 
The next song is number 16, was 15
  [21-09-12 06:56:08.6886] Slim::Player::Song::new (109) index 16 -> 
spotify://track:7cMn3Octp5SRRGpv6fTSLE
  [21-09-12 06:56:08.6954] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state TRACKWAIT
  [21-09-12 06:56:08.6974] Slim::Player::Song::getNextSong (222) 
spotify://track:7cMn3Octp5SRRGpv6fTSLE
  [21-09-12 06:56:08.7070] Slim::Player::StreamingController::_nextTrackReady 
(744) 01:xx:xx:xx:35:6e: nextTrack will be index 16
  [21-09-12 06:56:08.7115] Slim::Player::StreamingController::_Stream (1210) 
Song queue is now 16,15
  [21-09-12 06:56:08.7132] Slim::Player::StreamingController::_Stream (1213) 
01:xx:xx:xx:35:6e: preparing to stream song index 16
  Error writing mp3 output 
  [21-09-12 06:56:08.7153] Slim::Player::Song::open (362) 
spotify://track:7cMn3Octp5SRRGpv6fTSLE
  [21-09-12 06:56:08.7300] Slim::Player::Song::open (386) seek=false time=0 
canSeek=2
  [21-09-12 06:56:08.7330] Slim::Player::TranscodingHelper::_rateLimit (698) 
Native:0 type:spt maxRate:192 bitrate:
  [21-09-12 06:56:08.7369] Slim::Player::TranscodingHelper::getConvertCommand2 
(493) Matched: spt->mp3 via: TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty [spotty-hf] --enable-volume
 -normalisation  -n Squeezebox -c 
"/opt/logitechmediaserver/cache/spotty/4206caa0" --single-track $URL$ --bitrate 
320 --disable-discovery --disable-audio-cache $START$ | [lame] -r --silent -q 
$QUALITY$ $BITRATE$ - -
  [21-09-12 06:56:08.7391] Slim::Player::Song::open (416) Transcoder: 
streamMode=R, streamformat=mp3
  [21-09-12 06:56:08.7434] 
Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (667) Using command 
for conversion: TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty "/opt/logitechm
 ediaserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf" 
--enable-volume-normalisation  -n Squeezebox -c 
"/opt/logitechmediaserver/cache/spotty/4206caa0" --single-track 
"spotify://track:7cMn3Octp5SRRGpv6fTSLE" --bitrate 320 --disable-discovery 
--disable-audio-cache | "/opt/logitechmediaserver/Bin/armhf-linux/lame" -r 
--silent -q 3 --abr 192 - - & |
  [21-09-12 06:56:08.7452] Slim::Player::Song::open (578) Tokenized command: 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
"/opt/logitechmediaserver/cache/InstalledPlugins/Plugins/S
 potty/Bin/arm-linux/spotty-hf" --enable-volume-normalisation  -n Squeezebox -c 
"/opt/logitechmediaserver/cache/spotty/4206caa0" --single-track 
"spotify://track:7cMn3Octp5SRRGpv6fTSLE" --bitrate 320 --disable-discovery 
--disable-audio-cache | "/opt/logitechmediaserver/Bin/armhf-linux/lame" -r 
--silent -q 3 --abr 192 - - & |
  [21-09-12 06:56:08.8067] Slim::Player::StreamingController::_Stream (1282) 
01:xx:xx:xx:35:6e: stream
  [21-09-12 06:56:08.8250] Slim::Player::Client::volume (826) VOLUME CHANGE 0 1
  [21-09-12 06:56:08.8278] Slim::Player::StreamingController::_Stream (1319) 
Song queue is now 16,15
  [21-09-12 06:56:08.8304] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state STREAMING
  
--------------------


After restarting LMS TMPDIR is defined fewer times, but increases again
over time.


Code:
--------------------
    [21-09-12 08:27:13.6644] Slim::Player::StreamingController::_Stream (1210) 
Song queue is now 3,2
  [21-09-12 08:27:13.6677] Slim::Player::StreamingController::_Stream (1213) 
00:04:20:xx:xx:xx: preparing to stream song index 3
  [21-09-12 08:24:36.6712] Slim::Player::Song::open (362) 
spotify://track:5EpR6BqAnwR9PPl6sIrzGy
  [21-09-12 08:24:36.6776] Slim::Player::Song::open (386) seek=false time=0 
canSeek=2
  [21-09-12 08:24:36.6836] Slim::Player::TranscodingHelper::checkBin (301)   
couldn't find binary for: spotty-ogg
  [21-09-12 08:24:36.6865] Slim::Player::TranscodingHelper::getConvertCommand2 
(493) Matched: spt->pcm via: TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty [spotty-hf] 
--enable-volume-normalisation  -n Squeezebox -c 
"/opt/logitechmediaserver/cache/spotty/4206caa0" --single-track $URL$ --bitrate 
320 --disable-discovery --disable-audio-cache $START$
  [21-09-12 08:24:36.6896] Slim::Player::Song::open (416) Transcoder: 
streamMode=R, streamformat=pcm
  [21-09-12 08:24:36.6929] 
Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (667) Using command 
for conversion: TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
"/opt/logitechmediaserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf"
 --enable-volume-normalisation  -n Squeezebox -c 
"/opt/logitechmediaserver/cache/spotty/4206caa0" --single-track 
"spotify://track:5EpR6BqAnwR9PPl6sIrzGy" --bitrate 320 --disable-discovery 
--disable-audio-cache & |
  [21-09-12 08:24:36.6953] Slim::Player::Song::open (578) Tokenized command: 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
TMPDIR=/opt/logitechmediaserver/cache/spotty 
"/opt/logitechmediaserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-hf"
 --enable-volume-normalisation  -n Squeezebox -c 
"/opt/logitechmediaserver/cache/spotty/4206caa0" --single-track 
"spotify://track:5EpR6BqAnwR9PPl6sIrzGy" --bitrate 320 --disable-discovery 
--disable-audio-cache & |
  [21-09-12 08:24:36.7598] Slim::Player::StreamingController::_Stream (1282) 
00:04:20:xx:xx:xx: stream
  [21-09-12 08:24:36.7787] Slim::Player::Client::volume (826) VOLUME CHANGE 100 
  [21-09-12 08:24:36.7824] Slim::Player::StreamingController::_Stream (1319) 
Song queue is now 2,1
  [21-09-12 08:24:36.7857] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state STREAMING
  [21-09-12 08:24:36.8134] Slim::Player::Squeezebox2::directHeaders (478) 
Processing headers for direct streaming:
  HTTP/1.1 200 OK
  Server: Logitech Media Server (8.3.0 - git-fe8165987)
  Connection: close
  Content-Type: audio/L16
  Set-Cookie: Squeezebox-albumView=; path=/
  Set-Cookie: Squeezebox-expandPlayerControl=true; path=/
  Set-Cookie: Squeezebox-expanded-MY_MUSIC=1; path=/
  Set-Cookie: Squeezebox-expanded-FAVORITES=0; path=/
  Set-Cookie: Squeezebox-expanded-PLUGINS=0; path=/
  Set-Cookie: Squeezebox-expanded-PLUGIN_MY_APPS_MODULE_NAME=1; path=/
  Set-Cookie: Squeezebox-expanded-RADIO=1; path=/
  
  [21-09-12 08:24:46.6269] 
Slim::Player::StreamingController::playerTrackStarted (2200) 00:04:20:06:6b:34
  [21-09-12 08:24:46.6295] Slim::Player::StreamingController::_setPlayingState 
(2377) new playing state PLAYING
  
--------------------


I'm running lms on debian 10 armhf with spotty 4.6.1 and the spotty
ogg/vorbis file type disabled.


Code:
--------------------
    Logitech Media Server Version: 8.3.0 - git-fe8165987 @ 2021-09-04 00:41:11 
+0200
  Server HTTP Port Number: 9000
  Operating system: Debian - EN - utf8
  Platform Architecture: armv7l-linux
  Perl Version: 5.28.1 - arm-linux-gnueabihf-thread-multi-64int
  Audio::Scan: 1.05
  Net::SSLeay: 1.88 - OpenSSL 1.1.1d 10 Sep 2019
  IO::Socket::SSL: 2.070
  Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
  Total Players Recognized: 1
--------------------



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=114836

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to