Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2014-11-06 Thread slimhase

Triode wrote: 
 1) The log is the squeezelite log not the LMS log.  
 2) If you install it from apt-get it may be running as a service rather
 than manually from the command line - this will be why other instances
 of squeeze players won't work - as they will use the same mac address. 
 You probably need to stop the squeezelite service or set it to use a
 different mac address via the -m option.

Thanks again Adrian for following up on this.

I am also a step further - but the whole thing is like peeling an onion:
There is always a next layer of problems

1) I got Squeezeplay and Squeezelite working alongsite.
The fix was not the MAC address problem - I had squeezelite already
running using the -m option
The fix was as you suggsted to not start squeezelite as a service during
startup, but manually start it after the OS boot process is finished. 
When starting it as a service via rc.local, then jive-alsa seems to get
killed or never starts and that makes Squeezeplay not playing audio any
more.

2) The original Problem is still there: I can not get the NPR WMA stream
to play natively.
However, I now have a error log from squeezelite when trying to run this
stream - here it is:


Code:


  [09:13:18.514592] _read_data:207 chunk parser stalled bytes: 0 0
  [09:13:18.517094] ffmpeg: next_block_len_bits 7 out of range
  [09:13:18.517310] ff_decode:377 avcodec_decode_audio4 error: -1 Operation not 
permitted
  [09:13:18.717774] ffmpeg: next_block_len_bits 7 out of range
  [09:13:18.718045] ff_decode:377 avcodec_decode_audio4 error: -1 Operation not 
permitted
  [09:13:18.718261] ffmpeg: overflow in spectral RLE, ignoring
  [09:13:18.718526] ffmpeg: frame_len overflow
  [09:13:18.718723] ff_decode:377 avcodec_decode_audio4 error: -1 Operation not 
permitted
  [09:13:18.719079] ffmpeg: overflow in spectral RLE, ignoring
  [09:13:18.719363] ffmpeg: frame_len overflow
  [09:13:18.719570] ff_decode:377 avcodec_decode_audio4 error: -1 Operation not 
permitted
  [09:13:18.719773] ffmpeg: next_block_len_bits 7 out of range
  [09:13:18.719978] ff_decode:377 avcodec_decode_audio4 error: -1 Operation not 
permitted
  [09:13:18.720162] ffmpeg: frame_len overflow
  [09:13:18.720353] ff_decode:377 avcodec_decode_audio4 error: -1 Operation not 
permitted
  [09:13:18.720523] ffmpeg: prev_block_len_bits 7 out of range
  [09:13:18.720719] ff_decode:377 avcodec_decode_audio4 error: -1 Operation not 
permitted
  [09:13:18.720924] ffmpeg: overflow in spectral RLE, ignoring
  [09:13:18.721189] ffmpeg: frame_len overflow
  [09:13:18.721390] ff_decode:377 avcodec_decode_audio4 error: -1 Operation not 
permitted
  [09:13:18.721678] ffmpeg: overflow in spectral RLE, ignoring
  [09:13:18.721954] ffmpeg: frame_len overflow
  [09:13:18.722161] ff_decode:377 avcodec_decode_audio4 error: -1 Operation not 
permitted
  [09:13:18.722373] ffmpeg: frame_len overflow
  [09:13:18.722570] ff_decode:377 avcodec_decode_audio4 error: -1 Operation not 
permitted
  [09:13:18.723389] ffmpeg: next_block_len_bits 7 out of range
  [09:13:18.723620] ff_decode:377 avcodec_decode_audio4 error: -1 Operation not 
permitted
  [09:13:18.723953] ffmpeg: frame_len overflow
  [09:13:18.724166] ff_decode:377 avcodec_decode_audio4 error: -1 Operation not 
permitted
  



Can you tell from this where the problem is?

Thanks again for your help!

Heiner



Heiner
My system:
LMS 7.8 on modded Open Peak Joggler running Roobarbs SqueezePlay OS.
1 x Slimp3
5 x Squeezebox Classic
1 x Controller
2 x Squeeze Commander (on 2 rooted Nook Touch e-reader)
X x Squeezeplay on various PC's  Laptops

slimhase's Profile: http://forums.slimdevices.com/member.php?userid=31958
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2014-11-06 Thread SamS

sbp wrote: 
 Hi. 
 In order to help we need more info.
 Do you have any sound from your DAC?
 
 What does the List AlSA devices show?.
 
 Could you please show us your config.cfg file (copy from the About
 page)
 
 Steen

Hi Steen,

I do not get any sound of the DAC.

List ALSA devices shows:


Code:

null   - Discard all samples (playback) or generate 
zero samples (capture)
  sysdefault:CARD=DAC- OPPO HA-1 USB AUDIO 2.0 DAC, USB Audio - 
Default Audio Device
  front:CARD=DAC,DEV=0   - OPPO HA-1 USB AUDIO 2.0 DAC, USB Audio - 
Front speakers
  surround21:CARD=DAC,DEV=0  - OPPO HA-1 USB AUDIO 2.0 DAC, USB Audio - 2.1 
Surround output to Front and Subwoofer speakers
  surround40:CARD=DAC,DEV=0  - OPPO HA-1 USB AUDIO 2.0 DAC, USB Audio - 4.0 
Surround output to Front and Rear speakers
  surround41:CARD=DAC,DEV=0  - OPPO HA-1 USB AUDIO 2.0 DAC, USB Audio - 4.1 
Surround output to Front, Rear and Subwoofer speakers
  surround50:CARD=DAC,DEV=0  - OPPO HA-1 USB AUDIO 2.0 DAC, USB Audio - 5.0 
Surround output to Front, Center and Rear speakers
  surround51:CARD=DAC,DEV=0  - OPPO HA-1 USB AUDIO 2.0 DAC, USB Audio - 5.1 
Surround output to Front, Center, Rear and Subwoofer speakers
  surround71:CARD=DAC,DEV=0  - OPPO HA-1 USB AUDIO 2.0 DAC, USB Audio - 7.1 
Surround output to Front, Center, Side, Rear and Woofer speakers
  iec958:CARD=DAC,DEV=0  - OPPO HA-1 USB AUDIO 2.0 DAC, USB Audio - 
IEC958 (S/PDIF) Digital Audio Output
  sysdefault:CARD=ALSA   - bcm2835 ALSA, bcm2835 ALSA - Default Audio 
Device




Config.cfg states:


Code:

NAME=piCorePlayerB+
  OUTPUT=sysdefault:CARD=DAC
  ALSA_PARAMS=160:::0
  BUFFER_SIZE=
  _CODEC=
  PRIORITY=
  MAX_RATE=
  UPSAMPLE=
  MAC_ADDRESS=
  SERVER_IP=
  LOGLEVEL=
  LOGFILE=
  DSDOUT=
  VISULIZER=
  OTHER=
  AUDIO=Analog
  HOST=piCorePlayerB+
  SSID=
  PASSWORD=
  ENCRYPTION=WPA
  TIMEZONE=CST6CDT%2CM3.2.0%2CM11.1.0
  OVERCLOCK=NONE
  CMD=Default
  WIFI=off
  FIQ=0x7
  ALSAlevelout=Default
  REBOOT=Disabled
  RB_H=0
  RB_WD=0
  RB_DMONTH=0
  RESTART=Disabled
  RS_H=0
  RS_WD=0
  RS_DMONTH=0
  AUTOSTARTLMS=




SamS's Profile: http://forums.slimdevices.com/member.php?userid=9261
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2014-11-06 Thread Man in a van

front:CARD=DAC,DEV=0 

try this line in the alsa settings page

atb

Ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] EL6/7 yum repo for latest LMS (7.8.x/7.9.x) ?

2014-11-06 Thread robinbowes

Hi,

Can someone please put me out of my misery and point me at the URL for
the yum repo containing the latest LMS RPMs, ie. 7.8.x + 7.9.x?

Thanks!

R.



Net-UDAP is free software - you do not have to pay for it.
However, if you found it useful, please consider donating:
https://projects.robinbowes.com/Net-UDAP/trac#Donations

robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480
View this thread: http://forums.slimdevices.com/showthread.php?t=102439

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2014-11-06 Thread probedb

I was going to ask whether the card was connected via S/P-DIF or
analogue as it would appear to support both.



'last.fm' (http://www.last.fm/user/probedb)

probedb's Profile: http://forums.slimdevices.com/member.php?userid=7825
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2014-11-06 Thread SamS

Man in a van wrote: 
 front:CARD=DAC,DEV=0 
 
 try this line in the alsa settings page
 
 atb
 
 Ronnie

That did it! Thanks Ronnie :-)

probedb wrote: 
 I was going to ask whether the card was connected via S/P-DIF or
 analogue as it would appear to support both.

I originally had it connected via the headphone jack, just for testing
purposes.  I have the HiFiBerry Digi, but only for my standard B model.

So, do we have a universal preference on which output should deliver
better sound to a USB DAC, USB or coax/optical SPDIF?



SamS's Profile: http://forums.slimdevices.com/member.php?userid=9261
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2014-11-06 Thread Man in a van

SamS wrote: 
 That did it! Thanks Ronnie :-)
 
 
 
 I originally had it connected via the headphone jack, just for testing
 purposes.  I have the HiFiBerry Digi, but only for my standard B model.
 
 So, do we have a universal preference on which output should deliver
 better sound to a USB DAC, USB or coax/optical SPDIF?


:cool:


The 'pi usb is allegedly (by those who know about these things)
compromised by share the same 'bus' (tink that is the word) as the
Ethernet.

Try it and see is all I can offer, from my own experience,the HiFiBerry
Digi is very good, the IQaudIO dac very good, and using a couple of USB
dacs with SqueezePlug and piCorePlayer, the only real difference was the
connectivity (dac drivers included in the respective kernels).

I have also used a cubox base player with both usb and spdif outlets.

Can't say that any one, is really better than the other, sometimes I
think the only difference is in the mood/demeanour of the listener.:p

Glad your sorted.

atb

Ronnie.



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2014-11-06 Thread probedb

SamS wrote: 
 So, do we have a universal preference on which output should deliver
 better sound to a USB DAC, USB or coax/optical SPDIF?

It varies but to be honest any differences are going to be below the
threshold of human hearing so not worth worrying about :)

I'm getting a HifiBerry Digi+ just because it's an easier connection to
my AVR. I'd use HDMI if my amp was new enough but it doesn't have it so
I'm using the line out at the moment. Apart from the level being lower
than the line out from a SB3 it sounds fine to me.



'last.fm' (http://www.last.fm/user/probedb)

probedb's Profile: http://forums.slimdevices.com/member.php?userid=7825
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2014-11-06 Thread Triode

slimhase wrote: 
 Thanks again Adrian for following up on this.
 
 I am also a step further - but the whole thing is like peeling an onion:
 There is always a next layer of problems
 
 1) I got Squeezeplay and Squeezelite working alongsite.
 The fix was not the MAC address problem - I had squeezelite already
 running using the -m option
 The fix was as you suggsted to not start squeezelite as a service during
 startup, but manually start it after the OS boot process is finished. 
 When starting it as a service via rc.local, then jive-alsa seems to get
 killed or never starts and that makes Squeezeplay not playing audio any
 more.
 
 2) The original Problem is still there: I can not get the NPR WMA stream
 to play natively.
 However, I now have a error log from squeezelite when trying to run this
 stream - here it is:
 
  
Code:

  
   [09:13:18.514592] _read_data:207 chunk parser stalled bytes: 0 0
   [09:13:18.517094] ffmpeg: next_block_len_bits 7 out of range
   [09:13:18.517310] ff_decode:377 avcodec_decode_audio4 error: -1 Operation 
not permitted
   [09:13:18.717774] ffmpeg: next_block_len_bits 7 out of range
   [09:13:18.718045] ff_decode:377 avcodec_decode_audio4 error: -1 Operation 
not permitted
   [09:13:18.718261] ffmpeg: overflow in spectral RLE, ignoring
   [09:13:18.718526] ffmpeg: frame_len overflow
   [09:13:18.718723] ff_decode:377 avcodec_decode_audio4 error: -1 Operation 
not permitted
   [09:13:18.719079] ffmpeg: overflow in spectral RLE, ignoring
   [09:13:18.719363] ffmpeg: frame_len overflow
   [09:13:18.719570] ff_decode:377 avcodec_decode_audio4 error: -1 Operation 
not permitted
   [09:13:18.719773] ffmpeg: next_block_len_bits 7 out of range
   [09:13:18.719978] ff_decode:377 avcodec_decode_audio4 error: -1 Operation 
not permitted
   [09:13:18.720162] ffmpeg: frame_len overflow
   [09:13:18.720353] ff_decode:377 avcodec_decode_audio4 error: -1 Operation 
not permitted
   [09:13:18.720523] ffmpeg: prev_block_len_bits 7 out of range
   [09:13:18.720719] ff_decode:377 avcodec_decode_audio4 error: -1 Operation 
not permitted
   [09:13:18.720924] ffmpeg: overflow in spectral RLE, ignoring
   [09:13:18.721189] ffmpeg: frame_len overflow
   [09:13:18.721390] ff_decode:377 avcodec_decode_audio4 error: -1 Operation 
not permitted
   [09:13:18.721678] ffmpeg: overflow in spectral RLE, ignoring
   [09:13:18.721954] ffmpeg: frame_len overflow
   [09:13:18.722161] ff_decode:377 avcodec_decode_audio4 error: -1 Operation 
not permitted
   [09:13:18.722373] ffmpeg: frame_len overflow
   [09:13:18.722570] ff_decode:377 avcodec_decode_audio4 error: -1 Operation 
not permitted
   [09:13:18.723389] ffmpeg: next_block_len_bits 7 out of range
   [09:13:18.723620] ff_decode:377 avcodec_decode_audio4 error: -1 Operation 
not permitted
   [09:13:18.723953] ffmpeg: frame_len overflow
   [09:13:18.724166] ff_decode:377 avcodec_decode_audio4 error: -1 Operation 
not permitted
   

  
 
 Can you tell from this where the problem is?
 
 Thanks again for your help!
 
 Heiner

Can you post the url of the station - I don't know what is going on and
would like to try it myself.



Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2014-11-06 Thread Julf

probedb wrote: 
 It varies but to be honest any differences are going to be below the
 threshold of human hearing so not worth worrying about :)

And even if it was audible, the answer would be depends on the DAC, so
there is no universal answer.



To try to judge the real from the false will always be hard. In this
fast-growing art of 'high fidelity' the quackery will bear a solid gilt
edge that will fool many people - Paul W Klipsch, 1953

Julf's Profile: http://forums.slimdevices.com/member.php?userid=42050
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2014-11-06 Thread slimhase

Triode wrote: 
 Can you post the url of the station - I don't know what is going on and
 would like to try it myself.

This is an example stream link, which shows the issue on my
Squeezelite:
http://thin.npr.org/dmg.wax?prgCode=ATCshowDate=segNum=5mediaPref=WM

Just to confirm: These streams play fine when I use my SB3/Classic
(playing the stream natively); also Squeezeplay plays it when
transcoding to MP3.

Heiner



Heiner
My system:
LMS 7.8 on modded Open Peak Joggler running Roobarbs SqueezePlay OS.
1 x Slimp3
5 x Squeezebox Classic
1 x Controller
2 x Squeeze Commander (on 2 rooted Nook Touch e-reader)
X x Squeezeplay on various PC's  Laptops

slimhase's Profile: http://forums.slimdevices.com/member.php?userid=31958
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2014-11-06 Thread Triode

slimhase wrote: 
 This is an example stream link, which shows the issue on my
 Squeezelite:
 http://thin.npr.org/dmg.wax?prgCode=ATCshowDate=segNum=5mediaPref=WM
 
 Just to confirm: These streams play fine when I use my SB3/Classic
 (playing the stream natively); also Squeezeplay plays it when
 transcoding to MP3.
 
 Heiner
 
 P.S.: Also pls note that the version of squeezelite, which installed via
 apt-get squeezelite is only 1.4
 And related questions: If I would install squeezelite via Localplayer
 Plugin of LMS:
 a - which version would it install?
 b - would that install include dependencies for libav / would it support
 wma decode?
 c - where (file location) would that be installed?

Just checked - that stream does the same thing for me - looks like it is
not playable at present with squeezelite native decoding.



Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2014-11-06 Thread probedb

Julf wrote: 
 And even if it was audible, the answer would be depends on the DAC, so
 there is no universal answer.

Indeed :)

What is the difference with something like the HifiBerry that is I2S and
a USB DAC? Is I2S a different bus in the RPi?



'last.fm' (http://www.last.fm/user/probedb)

probedb's Profile: http://forums.slimdevices.com/member.php?userid=7825
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2014-11-06 Thread slimhase

Triode wrote: 
 Just checked - that stream does the same thing for me - looks like it is
 not playable at present with squeezelite native decoding.

Thats a bummer.
Thanks for confirming it, though!

Heiner



Heiner
My system:
LMS 7.8 on modded Open Peak Joggler running Roobarbs SqueezePlay OS.
1 x Slimp3
5 x Squeezebox Classic
1 x Controller
2 x Squeeze Commander (on 2 rooted Nook Touch e-reader)
X x Squeezeplay on various PC's  Laptops

slimhase's Profile: http://forums.slimdevices.com/member.php?userid=31958
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2014-11-06 Thread Greg Erskine

probedb wrote: 
 Indeed :)
 
 What is the difference with something like the HifiBerry that is I2S and
 a USB DAC? Is I2S a different bus in the RPi?

The RPi has 4 audio options:

1. Analog thru headphone jack
2. HDMI (I think I2S may be available thru HDMI)
3. USB
4. I2S thru GPIOs

All (well 99%) audio DAC chips use I2S as their input. So going through
USB adds a couple of extra steps in the digital to analog process.

I2S is a 4 wire bus - Word clock/Data line/Bit clock/Master clock

regards
Greg



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix