mherger wrote: 
> Ok, now we're getting somewhere :-). Log is looking good:
> 
> > 
Code:
--------------------
  >   > [17-06-10 22:11:07.5610] Slim::Player::Song::open (558) Tokenized 
command: 
"/mnt/state/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64" 
-n Squeezebox -c "/mnt/state/cache/spotty/default" --single-track 
"spotify://track:6xImOq7J8ty2xMj3AhPZTq" --disable-discovery | 
"/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -cs --channels=2 
--sample-rate=44100 --bps=16 --endian=little --sign=signed --fast 
--totally-silent --ignore-chunk-sizes - & |
--------------------
> > 
> 
> That's the command line run to stream that track. What would happen if
> you run it manually in a terminal session? Start with spotty:
> 
> > 
Code:
--------------------
  >   > 
/mnt/state/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64" 
-n Squeezebox -c "/mnt/state/cache/spotty/default" --single-track 
"spotify://track:6xImOq7J8ty2xMj3AhPZTq" --disable-discovery > test.pcm
--------------------
> > 
> 
> This should send all data received to a file called test.pcm. Does
> that work? What does "file test.pcm" tell you about it?
> 
> Then do the same with the full command line:
> 
> > 
Code:
--------------------
  >   > [17-06-10 22:11:07.5610] Slim::Player::Song::open (558) Tokenized 
command: 
"/mnt/state/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64" 
-n Squeezebox -c "/mnt/state/cache/spotty/default" --single-track 
"spotify://track:6xImOq7J8ty2xMj3AhPZTq" --disable-discovery | 
"/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -cs --channels=2 
--sample-rate=44100 --bps=16 --endian=little --sign=signed --fast 
--totally-silent --ignore-chunk-sizes - > test.flac
--------------------
> > 
> 
> What does "file test.flac" tell you about this?

OK, I tried the above.

The first test (with output supposed to go to test.pcm) produces the
error message on stdout "Illegal Instruction". The file test.pcm was not
created. Note that I had to step into the Docker container to execute
this command line.

The second test (with output supposed to go to test.flac) produces a
file called test.flac (8282 bytes large).  Note that I had to step into
the Docker container to execute this command line. Output from the file
command is:

test.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, length
unknown


------------------------------------------------------------------------
vinnie_tw's Profile: http://forums.slimdevices.com/member.php?userid=58556
View this thread: http://forums.slimdevices.com/showthread.php?t=107418

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

Reply via email to