Re: [SlimDevices: Unix] Custom Joggler HD Skin with Controls (Took me all week)

2022-04-16 Thread Eyerex


Am i right in thinking the the styles code for each screen can be edited
to add content into each one so say i change 


{
style = 'nowplaying', 
artworkSize = midArtwork,
text = self:string("ART_AND_TEXT"),
},

to below the spectrum analyzer is then added to the playback skin which
i can them change placement and size 

{
style = 'nowplaying', 
artworkSize = midArtwork,
text = 
self:string("ART_AND_TEXT_SPECTRUM_ANALYZER"),
},



Eyerex's Profile: http://forums.slimdevices.com/member.php?userid=65695
View this thread: http://forums.slimdevices.com/showthread.php?t=116248

___
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)

2022-04-16 Thread bpa


Apesbrain wrote: 
> Went to update squeezelite and just noticing the "ffmpeg" versions.  I
> assume these will play files that the standard version will not?  Any
> reason not to use the ffmpeg version?  Thanks.

IIRC ffmpeg was used for WMA format.  If player cannot handle WMA
natively, then LMS has to transcode.  WMA transcode support is standard
with LMS under Windows but under Linux or OSX - you need to install
ffmpeg and a plugin.  ffmpeg may not be available for some platforms
(e.g. some NAS, CORE32 ?)



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
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)

2022-04-16 Thread Apesbrain


Went to update squeezelite and just noticing the "ffmpeg" versions.  I
assume these will play files that the standard version will not?  Any
reason not to use the ffmpeg version?  Thanks.



Apesbrain's Profile: http://forums.slimdevices.com/member.php?userid=738
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)

2022-04-16 Thread bpa


Learned something new. Not quite clear but with ALSA it seems "plug:" is
a prefix before pseudo device. (e.g. "plug:iec958" or "plug:surround21")


so -o plug:USB1 is the same as -o USB1  - so new test did nothing
different to first.

Another reason to try "hw:" or "plughw:"



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
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)

2022-04-16 Thread bpa


Chestroled wrote: 
> 
> 
> thanks for feedback.
> 
> This code was from a friend and related to alsa equaliser . So i've
> tried :
> 

The usual choices are

hw:USB2
or 
plughw:USB2

These are known to work with squeezelite.

It's not clear what ALSA setup (and unknown settings/behaviour) would be
chosen by USB2 so no point debugging with an unknown.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
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)

2022-04-16 Thread Chestroled


bpa wrote: 
> This is just a comment based on what has been displayed.
> 
> I don't know what "plug:" means in ALSA. Usual prefixes are "hw:" and
> "plughw:" 
> 
> You are using device designation like "plug:USB1"
> 
> Extracting from the  "squeeszelite -l" list of valid devices the
> following are shown as an example for USB1
> 
> There is no "plug:USB1"
> 
> > 
Code:

  >   > 
  > USB1
  > default:CARD=USB1  - USB Audio DAC, USB Audio - Default Audio 
Device
  > sysdefault:CARD=USB1   - USB Audio DAC, USB Audio - Default Audio 
Device
  > front:CARD=USB1,DEV=0  - USB Audio DAC, USB Audio - Front speakers
  > surround21:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - 2.1 Surround 
output to Front and Subwoofer speakers
  > surround40:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - 4.0 Surround 
output to Front and Rear speakers
  > surround41:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - 4.1 Surround 
output to Front, Rear and Subwoofer speakers
  > surround50:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - 5.0 Surround 
output to Front, Center and Rear speakers
  > surround51:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - 5.1 Surround 
output to Front, Center, Rear and Subwoofer speakers
  > surround71:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - 7.1 Surround 
output to Front, Center, Side, Rear and Woofer speakers
  > iec958:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - IEC958 (S/PDIF) 
Digital Audio Output
  > dmix:CARD=USB1,DEV=0   - USB Audio DAC, USB Audio - Direct sample 
mixing device
  > dsnoop:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - Direct sample 
snooping device
  > hw:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - Direct hardware 
device without any conversions
  > plughw:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - Hardware device 
with all software conversions 
  > 
  > 

> > 


Hello dear,

thanks for feedback.

This code was from a friend and related to alsa equaliser . So i've
tried :


Code:

sudo squeezelite -z -n Cuisine -m 00:00:00:00:00:01 -o USB0 -a 80:::0 -r 
32000,44100,48000 -C 5 -G 4:H -d all=info -f ~/squeezelite_cui.log
  sudo squeezelite -z -n Sam -m 00:00:00:00:00:02 -o USB2 -a 80:::0 -r 
32000,44100,48000 -C 5 -G 17:H -d all=info -f ~/squeezelite_sam.log



it play when run some local music, but If I pick as example a YouTube
sound it stuck again :


Code:

[12:42:59.928432] alsa_open:354 opening device at: 48000
  [12:42:59.943950] alsa_open:425 opened device USB2 using format: S32_LE 
sample rate: 48000 mmap: 0
  [12:42:59.950027] alsa_open:516 buffer: 80 period: 4 -> buffer size: 3840 
period size: 960
  [12:42:59.954912] alsa_open:533 unable to set hw params: Broken pipe
  [12:43:04.955084] output_thread:685 open output device: USB2
  [12:43:04.955847] alsa_open:354 opening device at: 48000
  [12:43:04.970565] alsa_open:425 opened device USB2 using format: S32_LE 
sample rate: 48000 mmap: 0
  [12:43:04.976592] alsa_open:516 buffer: 80 period: 4 -> buffer size: 3840 
period size: 960
  [12:43:04.981410] alsa_open:533 unable to set hw params: Broken pipe
  




Chestroled's Profile: http://forums.slimdevices.com/member.php?userid=59945
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)

2022-04-16 Thread bpa


Chestroled wrote: 
> Hello, anyone have an idea to found what's wrong?

This is just a comment based on what has been displayed.

I don't know what "plug:" means in ALSA. Usual prefixes are "hw:" and
"plughw:" 

You are using device designation like "plug:USB1"

Extracting from the  "squeeszelite -l" list of valid devices the
following are shown as an example for USB1

There is no "plug:USB1"


Code:


  USB1
  default:CARD=USB1  - USB Audio DAC, USB Audio - Default Audio 
Device
  sysdefault:CARD=USB1   - USB Audio DAC, USB Audio - Default Audio 
Device
  front:CARD=USB1,DEV=0  - USB Audio DAC, USB Audio - Front speakers
  surround21:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - 2.1 Surround 
output to Front and Subwoofer speakers
  surround40:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - 4.0 Surround 
output to Front and Rear speakers
  surround41:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - 4.1 Surround 
output to Front, Rear and Subwoofer speakers
  surround50:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - 5.0 Surround 
output to Front, Center and Rear speakers
  surround51:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - 5.1 Surround 
output to Front, Center, Rear and Subwoofer speakers
  surround71:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - 7.1 Surround 
output to Front, Center, Side, Rear and Woofer speakers
  iec958:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - IEC958 (S/PDIF) 
Digital Audio Output
  dmix:CARD=USB1,DEV=0   - USB Audio DAC, USB Audio - Direct sample 
mixing device
  dsnoop:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - Direct sample 
snooping device
  hw:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - Direct hardware 
device without any conversions
  plughw:CARD=USB1,DEV=0 - USB Audio DAC, USB Audio - Hardware device 
with all software conversions 
  
  




bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
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)

2022-04-16 Thread Chestroled


Chestroled wrote: 
> Hello squeezebox community !
> 
> I'm actually facing a strange problem with squeezelite.
> 
> My goal is to achieve a multiroom rack system based on a Raspberry
> running 6 squeezelite instance and 6 PCM2704 chinese DAC
> 
> The architecture system is : .


Hello, anyone have an idea to found what's wrong?


seems problems happen when trying to sync 2 players .


Code:

[10:34:53.501309] opus_decompress:154 setting track_start
  [10:34:53.532072] _output_frames:65 start buffer frames: 17928
  [10:34:53.532282] _output_frames:153 track start sample rate: 48000 
replay_gain: 0
  [10:34:53.542391] output_thread:685 open output device: plug:USB2
  [10:34:53.544063] alsa_open:354 opening device at: 48000
  [10:34:53.552262] alsa_open:425 opened device plug:USB2 using format: S32_LE 
sample rate: 48000 mmap: 0
  [10:34:53.557395] alsa_open:516 buffer: 80 period: 4 -> buffer size: 3840 
period size: 960
  [10:37:25.804940] stream_thread:408 end of stream (5041804 bytes)
  [10:39:11.357003] decode_flush:236 decode flush
  [10:39:11.357236] output_flush:439 flush output buffer
  [10:39:15.724131] decode_flush:236 decode flush
  [10:39:15.724199] output_flush:439 flush output buffer
  [10:39:15.834334] codec_open:264 codec open: 'm'
  [10:39:15.834437] codec_open:281 closing codec: 'u'
  [10:39:15.834571] connect_socket:168 connecting to 192.168.0.10:9000
  [10:39:15.835157] stream_sock:604 header: GET 
/stream.mp3?player=00:00:00:00:00:02 HTTP/1.0
  Authorization: Basic c3F1ZWV6ZWJveFhYWDpqS2RPWWJNRnVN
  
  
  
  [10:39:15.936908] stream_thread:335 headers: len: 491
  HTTP/1.1 200 OK
  Server: Logitech Media Server (8.0.0 - 1605166211)
  Connection: close
  Content-Type: audio/mpeg
  Set-Cookie: Squeezebox-albumView=; path=/
  Set-Cookie: Squeezebox-expandPlayerControl=true; path=/
  Set-Cookie: Squeezebox-expanded-MY_MUSIC=1; path=/
  Set-Cookie: Squeezebox-expanded-FAVORITES=1; path=/
  Set-Cookie: Squeezebox-expanded-PLUGINS=1; path=/
  Set-Cookie: Squeezebox-expanded-PLUGIN_MY_APPS_MODULE_NAME=1; path=/
  Set-Cookie: Squeezebox-expanded-RADIO=1; path=/
  
  
  [10:39:16.031695] _check_lame_header:163 gapless: skip: 2257 samples: 9006396 
delay: 1105 padding: 1139
  [10:39:16.032311] mad_decode:247 setting track_start
  [10:39:16.199096] _output_frames:153 track start sample rate: 44100 
replay_gain: 0
  [10:39:16.209414] output_thread:685 open output device: plug:USB2
  [10:39:16.210322] alsa_open:354 opening device at: 44100
  [10:39:16.221973] alsa_open:425 opened device plug:USB2 using format: S32_LE 
sample rate: 44100 mmap: 0
  [10:39:16.229218] alsa_open:516 buffer: 80 period: 4 -> buffer size: 3528 
period size: 882
  [10:39:16.235210] alsa_open:533 unable to set hw params: Broken pipe
  [10:39:21.235585] output_thread:685 open output device: plug:USB2
  [10:39:21.236294] alsa_open:354 opening device at: 44100
  [10:39:21.246334] alsa_open:425 opened device plug:USB2 using format: S32_LE 
sample rate: 44100 mmap: 0
  [10:39:21.252601] alsa_open:516 buffer: 80 period: 4 -> buffer size: 3528 
period size: 882
  [10:39:21.257615] alsa_open:533 unable to set hw params: Broken pipe
  [10:39:26.257778] output_thread:685 open output device: plug:USB2
  [10:39:26.258439] alsa_open:354 opening device at: 44100
  [10:39:26.267008] alsa_open:425 opened device plug:USB2 using format: S32_LE 
sample rate: 44100 mmap: 0
  [10:39:26.272669] alsa_open:516 buffer: 80 period: 4 -> buffer size: 3528 
period size: 882
  [10:39:26.276967] alsa_open:533 unable to set hw params: Broken pipe
  [10:39:31.277111] output_thread:685 open output device: plug:USB2
  [10:39:31.277816] alsa_open:354 opening device at: 44100
  [10:39:31.287270] alsa_open:425 opened device plug:USB2 using format: S32_LE 
sample rate: 44100 mmap: 0
  [10:39:31.292702] alsa_open:516 buffer: 80 period: 4 -> buffer size: 3528 
period size: 882
  [10:39:31.297011] alsa_open:533 unable to set hw params: Broken pipe
  [10:39:36.297215] output_thread:685 open output device: plug:USB2
  [10:39:36.298603] alsa_open:354 opening device at: 44100
  [10:39:36.312111] alsa_open:425 opened device plug:USB2 using format: S32_LE 
sample rate: 44100 mmap: 0
  [10:39:36.320311] alsa_open:516 buffer: 80 period: 4 -> buffer size: 3528 
period size: 882
  [10:39:36.325942] alsa_open:533 unable to set hw params: Broken pipe




Chestroled's Profile: http://forums.slimdevices.com/member.php?userid=59945
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