Re: [SlimDevices: Plugins] Picoreplayer / Shairport-sync

2022-12-19 Thread ralphy


Shairplay-sync only reports Airplay2 support in the version string when
it's enabled and one of my previous posts confirms that.

Here's the configure options used to build the version currently in the
repository.


Code:

./configure --with-airplay-2 --with-alsa --with-libdaemon 
--with-tinysvcmdns --with-ssl=openssl --with-soxr --with-stdout --with-pipe 
--with-metadata



Here's the list and versions of the support libraries used for the 4.1.1
build.  Some are linked statically as nothing else in pcp uses them.

libsodium 1.0.17
libplist 2.0.1
libdaemon 0.14-7
libconfig 1.5
libpopt 1.16


Code:

$ ldd /usr/local/sbin/shairport-sync
linux-vdso.so.1 (0x007fb975e000)
libuuid.so.1 => /lib/libuuid.so.1 (0x007fb971a000)
libswresample.so.3 => /usr/local/lib/libswresample.so.3 
(0x007fb96f5000)
libavformat.so.58 => /usr/local/lib/libavformat.so.58 
(0x007fb94a5000)
  libavcodec.so.58 => /usr/local/lib/libavcodec.so.58 (0x007fb8237000)
libavutil.so.56 => /usr/local/lib/libavutil.so.56 (0x007fb7f93000)
libgcrypt.so.20 => /usr/local/lib/libgcrypt.so.20 (0x007fb7ec5000)
libgpg-error.so.0 => /usr/local/lib/libgpg-error.so.0 
(0x007fb7e92000)
libasound.so.2 => /usr/local/lib/libasound.so.2 (0x007fb7dae000)
libsoxr.so.0 => /usr/local/lib/libsoxr.so.0 (0x007fb7d3c000)
libssl.so.1.1 => /usr/local/lib/libssl.so.1.1 (0x007fb7ca7000)
libcrypto.so.1.1 => /usr/local/lib/libcrypto.so.1.1 (0x007fb7a4)
libpthread.so.0 => /lib/libpthread.so.0 (0x007fb7a12000)
librt.so.1 => /lib/librt.so.1 (0x007fb79fa000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x007fb7869000)
libm.so.6 => /lib/libm.so.6 (0x007fb77cf000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x007fb77ad000)
libc.so.6 => /lib/libc.so.6 (0x007fb766)
/lib/ld-linux-aarch64.so.1 (0x007fb9731000)
libdl.so.2 => /lib/libdl.so.2 (0x007fb764c000)
libz.so.1 => /usr/lib/libz.so.1 (0x007fb7628000)
  



Here's the list of files included in the extension.

Code:

/usr/local/bin/shairport-sync-metadata-reader
  /usr/local/etc/init.d/shairport-sync 
  /usr/local/sbin/nqptp
  /usr/local/sbin/shairport-sync
  /usr/local/share/pcp-shairportsync
  /usr/local/share/pcp-shairportsync/files  
  /usr/local/share/pcp-shairportsync/files/shairport-sync.conf
  /usr/local/tce.installed
  /usr/local/tce.installed/pcp-shairportsync 



If you'd like to investigate an incompatibility between the versions
that would be great.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=117145

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


Re: [SlimDevices: Plugins] Squeezelite output bit depth

2022-12-16 Thread ralphy


slartibartfast wrote: 
> I am choosing a snd-aloop loopback hw:3,0,0 as the output device for
> Squeezelite. I selected it in the Squeezelite settings file to
> temporarily replace my Topping E30. I noticed in piCorePlayer the bit
> depth is not normally specified so does that mean the output bit depth
> is automatically the same as the original file?
> Is volume of a 16 bit file performed at 24 bit like hardware
> Squeezeboxes?
> 
> This is the command I used to save it
> ffmpeg -f alsa -acodec pcm_s32le -channels 2 -sample_rate 44100 -i
> hw:3,1,0 fromFLAC.wav
> so I specified a sample rate but no bit depth so from your reply it
> would default to 16 bit. I originally wanted 16 bit so I could compare
> my original 16 bit FLAC file to Squeezelite output directly and show it
> was bit perfect. Now I am comparing different volume levels I thought I
> might get better results saving the output at 24 bits.
> Deltawave correlates the two waveforms correcting for amplitude and the
> 16 bit waveform looks very blocky at 10% volume [emoji1787]
> 
> Sent from my Pixel 3a using Tapatalk

Squeezelite uses the largest integer format that the device supports and
pads the unused upper bits with zeroes.
For example, alsacap reports the following for my loopback device.


Code:

Card 2, ID `Loopback', name `Loopback'
  Device 0, ID `Loopback PCM', name `Loopback PCM', 8 subdevices (7 available)
  1..32 channels, sampling rate 8000..192000 Hz
  Sample formats: S16_LE, S16_BE, S32_LE, S32_BE, FLOAT_LE, FLOAT_BE



squeezelite opens the device with S32_LE


Code:

squeezelite -o hw:CARD=Loopback -d all=info
  [06:49:21.605652] alsa_open:425 opened device hw:CARD=Loopback using format: 
S32_LE sample rate: 44100 mmap: 1
  [06:49:21.605697] alsa_open:516 buffer: 40 period: 4 -> buffer size: 1764 
period size: 441



squeezelite will use the digitial volume of the device if supported and
you specify the control with -V.  The device is often named PCM.


Code:

squeezelite -o hw:CARD=Intel -L 
  Volume controls for hw:CARD=Intel
  Master
  Headphone
  Speaker+LO
  PCM
  Mic
  Mic Boost
  Dock Mic
  Dock Mic Boost
  Internal Mic
  Internal Mic Boost
  



otherwise a software volume adjustment is applied using 32-bits.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=117236

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


Re: [SlimDevices: Plugins] Picoreplayer / Shairport-sync

2022-12-15 Thread ralphy


Interesting as the pCP-Airplay2 device is available via core audio on my
mac, but all older airplay1 shairport instances are not.

The missing 1 in the list is an airplay1 shairport instance from the old
3.3.8 shairport extension. But I can select that airplay1 device as well
from the sound device chooser in macos.


Code:

/Applications/Squeezelite.app/Contents/MacOS/Squeezelite -l
  Output devices:
  0 - pCP-Airplay2 [Core Audio]
  2 - MacBook Pro Speakers [Core Audio]



And squeezelite can open the device at higher sample rates.


Code:

[13:50:47.345346] _output_frames:153 track start sample rate: 88200 
replay_gain: 0
  [13:50:47.356988] pa_stream_finished:254 stream finished
  [13:50:47.463662] _pa_open:359 opening device in PlayNice mode
  [13:50:47.469289] _pa_open:410 opened device 0 - pCP-Airplay2 [Core Audio] at 
88200 latency 1046 ms



I don't have a phone that supports airplay2 to test further.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=117145

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


Re: [SlimDevices: Plugins] Squeezelite output bit depth

2022-12-15 Thread ralphy


slartibartfast wrote: 
> This might be a waste of time but I thought I would use Deltawave
> software to compare the Squeezelite output waveforms at a series of
> volume levels from 100% to 10%.
> I know volume in the Squeezebox universe is done at 24 bits but where is
> the output converted back to 16 bits? If I save the output of
> Squeezelite using FFMPEG (as described in another recent Deltawave
> thread) I get a 16 bit file so presumably this is the information the
> DAC receives.
> I have read that volumes down to 40% have no audible effect in theory
> (for 16 bit files) so this is my misguided attempt to quantify it
> [emoji3]
> 
> Sent from my Pixel 3a using Tapatalk

I've never used the Deltawave software, but when you record from a
device you usually have to specified the samplerate, bits and channels.

If you enable squeezelite logging level info or higher the output format
is reported at startup.


Code:

squeezelite -o hw:CARD=Intel -d all=info
  
  [05:54:24.435635] alsa_open:425 opened device hw:CARD=Intel using format: 
S32_LE sample rate: 44100 mmap: 1
  [05:54:24.435675] alsa_open:516 buffer: 40 period: 4 -> buffer size: 1764 
period size: 441



If you're capturing the output from squeezelite through stdout then you
have to specify the bit depth using the -a option, otherwise the default
is 16.


Code:

-a Specify sample format (16|24|32) of output file when using -o - 
to output samples to stdout (interleaved little endian only)




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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=117236

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


Re: [SlimDevices: Plugins] Picoreplayer / Shairport-sync

2022-12-08 Thread ralphy


I found a problem with the 4.1-5 extension and have removed it.

Version 4.1.1 is now available from the Shairport-sync option in the
Audio Tweaks section of the tweaks tab in the web admin, replacing the
old 3.3.8 build.
It's available for both 32 and 64bit installs of picoreplayer 8.x. 
There are several additional dependencies for 4.1.1 that will be
downloaded during the install.

To update; select No and let pcp uninstall and reboot, then select Yes
and reboot again if prompted.

You should now see a pCP-Airplay2 device listed.

Again, If you want to change the name of the device, edit
/usr/local/etc/shairport-sync.conf and restart shairport-sync.

For configuration changes to "stick" between reboots you'll also need to
add usr/local/etc/shairport-sync.conf to /opt/.filetool.lst and backup
your config.
Note that there is no slash at the beginning of the path in
.filetool.lst it's not a typo.

You can check the version of shairport-sync with the command;

Code:

/usr/local/sbin/shairport-sync -V
  
  
4.1.1-AirPlay2-libdaemon-OpenSSL-tinysvcmdns-ALSA-stdout-pipe-soxr-metadata-sysconfdir:/usr/local/etc
  
----



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=117145

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


Re: [SlimDevices: Plugins] Picoreplayer / Shairport-sync

2022-12-04 Thread ralphy


Here's beta/test v4.1-5 build for 64bit pcp 8.2 for you to try.

If running squeezelite, ensure you have set the -C option to a low
value, for example 5, so the alsa device can be shared with shairport.

Install Shairport-sync from Audio tweaks section of the Tweaks tab in
the web admin.

Make sure you have clicked the Configure button and set the default
device(s).

Stop shairport-sync

Code:

sudo /usr/local/etc/init.d/shairport-sync stop



Remove the extension

Code:

sudo umount /tmp/tcloop/pcp-shairportsync
  
  sudo rm /usr/local/tce.installed/pcp-shairportsync



Delete the old configuration file.

Code:

sudo rm /usr/local/etc/shairport-sync.conf



Download and install the replacement beta extension.

Code:

ceo
  
  wget -Opcp-shairportsync.tcz 
http://downloads.sourceforge.net/project/picoreplayer/beta/pcp-shairportsync.tcz-64
  
  wget -Opcp-shairportsync.tcz.md5.txt 
http://downloads.sourceforge.net/project/picoreplayer/beta/pcp-shairportsync.tcz.md5.txt-64
  
  md5sum -c pcp-shairportsync.tcz.md5.txt
  pcp-shairportsync.tcz: OK
  
  tce-load -i pcp-shairportsync.tcz
  pcp-shairportsync.tcz: OK



Start shairport-sync


Code:

sudo /usr/local/etc/init.d/shairport-sync start



You should see a pCP-Airplay device.

If you want to change the name of the device, edit
/usr/local/etc/shairport-sync.conf and restart shairport-sync.

For configuration changes to "stick" between reboots you'll also need to
add usr/local/etc/shairport-sync.conf to /opt/.filetool.lst and backup
your config.
Note that there is no slash at the beginning of the path in
.filetool.lst it's not a typo.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=117145

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


Re: [SlimDevices: Plugins] piCorePlayer spams with DNS requests

2022-12-04 Thread ralphy


If you are running jivelite, it makes DNS calls, but shouldn't be a lot.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=117154

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


Re: [SlimDevices: Plugins] Picoreplayer / Shairport-sync

2022-12-02 Thread ralphy


I don't use shairport-sync anymore so I haven't been following new
development for a while.

I'll see if I can easily build an updated extension for picoreplayer.

Are you using the 32 or 64 bit version of picoreplayer?



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=117145

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2022-11-23 Thread ralphy


expectingtofly wrote: 
> Interestingly, I remember when I implemented the throttling that the
> problem was easily reproducible.  The odd thing now is,  with this
> latest release of the firmware, I can't reproduce the problem at all,
> even if I set the throttling to zero, effectively turning it off.
> (Although i can see the impact the throttling has on the speed the input
> buffer on the radio fills up)
> So, the fact is they are getting the stuttering even with the throttling
> suggests this isn't the same issue at all, and something else is
> happening on their radio affecting the CPU time available for decoding. 
> 
> Also it all might be a coincidence that I got 2 reports at the same
> time, and they may not be related, I mentioned it here in case it was
> more widespread.

I did fix a problem with 'reported number of decoded samples available
in the AAC decoder'
(https://github.com/ralph-irving/squeezeos-squeezeplay/commit/a6ced8195144bbc64cfdc57def9c12634ed78bae)
back in March 2021.  That might explain why the behaviour is different.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2022-11-23 Thread ralphy


mrw wrote: 
> Right, I've just experienced this. Playback stops within a very short
> time after the stream is started, and the stream needs to be started
> again. It is not 'the norm', but has happened a few times, now I think
> about it.
> 
> I wouldn't describe it as stuttering.
> 
> I suppose that it might become 'stuttering' if it were happening mid
> stream, and the stream restarted by itself.
> 
> I'll test the patch in due course.
> 
> Could it simply be that 320kbs aac is "too much" for the Radio ? I think
> I have remarked before, perhaps to @slartibartfast, that I find that the
> UI seems to become a little sluggish when playing out aac streams, as
> compared to other streams. In fact, at one point, I disabled native aac
> playback for that reason.

Sorry, it's been a while since I looked at this.  Looks like it was back
in June based on the patch I posted.
Yes the radio actually pauses the stream, until the output buffer fills
a bit then resumes.  Occasionally, this pause/unpause happens several
times before the stream stabilizes, which could sound similar to
stuttering when you first start a stream.  I've not had it happen
afterwards.

The original AAC decoder in the official firmware does not tax the CPU
in the radio as much as the open source variant I'm using now.  It would
be good to test if a Touch exhibits the same issue with the BBC sounds
streams.  It has a higher powered CPU and more memory and I've not been
able to recreate the issue with a Touch and my test AAC stream.  I know
you don't have Touch or at least didn't, but perhaps someone with a
Touch in the UK could try it with the latest firmware.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2022-11-22 Thread ralphy


slartibartfast wrote: 
> Can this stuttering occur any time or just at the beginning of a
> stream?
> 
> Sent from my Pixel 3a using Tapatalk

For me, it only happens at the beginning of the stream.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2022-11-22 Thread ralphy


I implemented the AAC decoder for squeezeplay and later the community
firmware as Logitech never released the code as they used the closed
source fdk-aac library in the official firmware.

I have spent some time investigating this issue but had to setup a local
server that streams AAC 320Kbps at 48KHz as unfortunately the high rate
BBC streams aren't available outside the UK.

What's happening is the aac decoder can't push enough decoded PCM data
to the output buffer at the start of the high rate streams and jive_alsa
throws an underrun error.

So far I have been able to mitigate this problem using this patch to
Playback.lua on the radio. This change stopped the stuttering about 95%
of the time with my test stream.


Code:

--- share/jive/jive/audio/Playback.lua.orig 1969-12-31 
19:00:00.0 -0500
  +++ share/jive/jive/audio/Playback.lua  2022-06-20 08:49:07.469506981 -0400
  @@ -908,6 +908,11 @@
  -- Even this may not be enough for files with large comments...
  self.decodeThreshold = self.threshold
  
  +   elseif self.mode == 'a' then
  +   -- For fdk-aac, we need to let the decoder fill the 
pcm output
  +   -- buffer, otherwise alsa immediately throws an 
underrun error.
  +   self.decodeThreshold = 40960
  +
  elseif self.threshold > (254 * 1024) and (self.mode == 'f' or self.mode == 
'p' or self.mode == 'l') then
  -- For lossless (high bit-rate) formats, lets try to get a much bigger chunk 
so that
  -- any server-side delay in streaming caused by playlist updates, etc., do 
not cause undue problems.
  



The BBC Sounds Stream throttling interval works around the problem but
might also help find proper fix in the firmware, however the stuttering
doesn't happen with the 96Kbps streams.

Any help would be appreciated.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] Jivelite needs a version bump

2022-11-21 Thread ralphy


The jivelite extension has been upgraded for picoreplayer 8.x, it now
reports 8.0.0 as the version to LMS.

To update, navigate to the Tweaks page in the pcp webadmin and click the
Update button in the Jivelite Setup section.

If you've installed the work around from post '#2'
(https://forums.slimdevices.com/showthread.php?117025-Jivelite-needs-a-version-bump=1064639=1#post1064639)
you should delete the file /home/tc/.jivelite/userpath/jive/JiveMain.lua
and backup the configuration to remove it before installed the new
build.

Using the work around jivelite still reports the version as 0.1.0 in
/var/log/jivelite.log

Code:

cat /var/log/jivelite.log 
  Using /dev/fb0 as frame buffer device.
  Frame rate set to 22 frames per second.
  Frame buffer color bit depth set to 32.
  
  JiveLite 0.1.0
  



The updated extension reports the modified version and revision.

Code:

cat /var/log/jivelite.log 
  Using /dev/fb0 as frame buffer device.
  Frame rate set to 22 frames per second.
  Frame buffer color bit depth set to 32.
  
  JiveLite 8.0.0-r208
  




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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=117025

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


Re: [SlimDevices: Plugins] Jivelite needs a version bump

2022-11-09 Thread ralphy


mherger wrote: 
> > The big hassle now would be replacing the default lua-jit interpreter
> > for all jivelite builds with the lua 5.1.5 sources from squeezeplay.
> 
> Isn't this what you said you did for pCP?

Yes. that's correct.

I was talking in general as I build jivelite for many platforms and most
of them are still using lua-jit.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=117025

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


Re: [SlimDevices: Plugins] Jivelite needs a version bump

2022-11-08 Thread ralphy


mherger wrote: 
> 
> Ah, I see. I wonder why he didn't opt for a custom target. That would 
> have given applet developers more flexibility.
> 
> Is the difference in Lua runtime worth the hassle?
> 
> Thanks for this insight!

lua-jit is "suppose" to be faster than standard lua, but I've never seen
any significant speed improvements between lua-jit jivelite and lua 5.1
based jivelite.

The big hassle now would be replacing the default lua-jit interpreter
for all jivelite builds with the lua 5.1.5 sources from squeezeplay.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=117025

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


Re: [SlimDevices: Plugins] Jivelite needs a version bump

2022-11-08 Thread ralphy


bengaldave wrote: 
> @ralphy
> 
> Thanks, just verified the work around you provided.
> 
> Applets now show and can be installed!
> 
> It is working but had a question
> 
> You wrote:
> [22-11-07 07:24:24.1760] Slim::Plugin::Extensions::Plugin::_parseXML
> (501) searching http://ralph.irving.sdf.org/extensions/sigen.xml for
> type: applet target: jivelite version: 8.0.0
> 
> Where would I see this? In the regular LMS logs? Somewhere else?

I was just highlighting the fact that the jivelite version 8.0.0 is now
reported.  You won't see this exact log entry unless you have the above
url setup in LMS.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=117025

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


Re: [SlimDevices: Plugins] Jivelite needs a version bump

2022-11-07 Thread ralphy


Triode hard coded the JIVE_VERSION to 0.1.0 in jivelite during
development because he used lua-jit which is not 100% syntax compatible
with the lua 5.1 used in the jive based players.

Most of the 3rd party applets I've tried don't work with a lua-jit based
jivelite.

It's the main reason I changed jivelite for picoreplayer to use the same
lua 5.1 version as the squeezeplay players.

For picoreplayer I will change the version with an update to the
extension, but that's going take a bit as I don't have my pcp build
environments online.

In the meantime, here's how to temporarily override the version in pcp.

# create jive folder and copy JiveMain.lua

sudo mkdir -p /home/tc/.jivelite/userpath/jive
sudo cp -p /opt/jivelite/share/jive/jive/JiveMain.lua
/home/tc/.jivelite/userpath/jive/

# Using vi add the line *_G["jive"].JIVE_VERSION = "8.0.0"* above the
comment line before local io as shown in the patch below.
# Don't include the leading + sign(s).

sudo vi /home/tc/.jivelite/userpath/jive/JiveMain.lua


Code:

--- /opt/jivelite/share/jive/jive/JiveMain.lua
  +++ /home/tc/.jivelite/userpath/jive/JiveMain.lua
  @@ -18,6 +18,8 @@
  =cut
  --]]
  
  +_G["jive"].JIVE_VERSION = "8.0.0"
  +
  
-
  local io= require("io")
  
-
  



Quit jivelite from the menu and when it restarts version 8.0.0 will be
reported from the applet installer.


Code:

[22-11-07 07:24:24.1760] Slim::Plugin::Extensions::Plugin::_parseXML (501) 
searching http://ralph.irving.sdf.org/extensions/sigen.xml for type: *applet 
target: jivelite version: 8.0.0*



After you've confirmed the change, don't forget to backup the pcp
configuration *pcp bu* or you'll loose it at the next reboot.

NB:  /var/log/jivelite.log will still report JiveLite 0.1.0 as the
version.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=117025

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2022-11-07 Thread ralphy


seth_space wrote: 
> updated three radios successful and the logitech touch.
> But now the touch does not wants to switch off anymore,
> Any thoughts?

I've been running the firmware on my touch for a month and have not
experienced this issue.

I'd suggest you first perform a factory reset on the touch.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2022-11-05 Thread ralphy


P Nelson wrote: 
> from the change log:
> 
Update Fraunhofer FDK AAC Codec Library v2.0.3 and remove
> encoder support.
> 
> Due to my lack of technical knowledge, I am interpreting the above as it
> was updated and then removed.  Of course, that conclusion does not any
> make sense.  Please add some more information for those less
> knowledgeable on codecs and encoders.  I also did not understand the
> implications of "Build failure mitigations: (Not included in firmware
> release)".  
> 
> Thanks to everyone for the hard work it takes to keep this platform
> going.  It is appreciated! 
> 
> Paul

The encoder support is used to create AAC content and the firmware only
decodes AAC streams/files, so it was never used.
Removing it frees a bit of memory which is tight on the controller and
radio.

The build failure mitigation details have been removed from the change
log.  Unless you are building the firmware, it's irrelevant.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2022-11-04 Thread ralphy


Release 8.0.1_r16907 is now available via the plugin.

See the ' community firmware plugin changelog'
(https://ralph_irving.gitlab.io/lms-community-firmware/changelog.html)
for details.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2022-10-17 Thread ralphy


Apesbrain wrote: 
> Maybe I've jumped the gun?  Is the 'r16907;10/4/22 firmware'
> (https://sourceforge.net/projects/lmsclients/files/squeezeos/) released
> for the plugin to download?

No. I haven't released it through the plugin yet.

I usually wait a few weeks for the early adopters to have a bang at it
just in case something is broken.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] Local Player on Mac OS Monteray

2022-09-24 Thread ralphy


Man in a van wrote: 
> 
> Edit: Can Local Player on a Mac OS be updated in a fashion similar to
> the method used for a Windows 10 Desktop ? 
> 
> ronnie

You can replace the old binary in LocalPlayer/Bin/squeezelite-osx with
the one from Squeezelite-x86_64-1.9.9r*.dmg after installing the
plugin.

You might need to shutdown LMS before replacing the file.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=116843

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


Re: [SlimDevices: Plugins] Spotty and socketwrapper 1.12beta

2022-04-15 Thread ralphy


There was an 'update to the mixcloud plugin this morning at least in the
dev channel'
(https://forums.slimdevices.com/showthread.php?88286-Mixcloud-plugin=1052503=1#post1052503).

Might be worth checking if it fixes the problem.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=116078

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


Re: [SlimDevices: Plugins] [Announce] Spotty 4.0 - integrate local library with your Spotify collection (LMS 8+)

2022-03-05 Thread ralphy


mherger wrote: 
> > However, with an LMS 8.3 nightly, spotty sends ogg when the option is
> > enabled.
> 
> Is this a good or a bad thing?

Doesn't matter for me.

I was just noting the different behaviour between the two server
versions.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=111923

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


Re: [SlimDevices: Plugins] [Announce] Spotty 4.0 - integrate local library with your Spotify collection (LMS 8+)

2022-03-04 Thread ralphy


gorman wrote: 
> I'm having troubles playing back native Ogg on endpoints that do support
> Ogg decoding.
> 
> I'm using LMS Version: 8.2.1 - 1639114554 @ Fri Dec 10 07:58:57 WEST
> 2021
> Operating system: Windows 10 - EN - cp1252
> Platform Architecture: 8664
> Perl Version: 5.14.1 - MSWin32-x86-multi-thread
> Audio::Scan: 1.02
> IO::Socket::SSL: 2.068
> Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
> 
> Spotty is at version 4.8.0
> 
> How can I solve this?

I've experienced the same behaviour with 8.2.1.

If you have the Prefer native format (decoding on the player) whenever
possible option checked in file types spotty sends flac to the player
and pcm when unchecked.

However, with an LMS 8.3 nightly, spotty sends ogg when the option is
enabled.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=111923

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


Re: [SlimDevices: Plugins] Pipe Squeezelite to Icecast

2022-02-23 Thread ralphy


You need to append .monitor to the parec device.


Code:

parec -v -d Radio -r test.pcm
  
  Opening a recording stream with sample specification 's16le 2ch 44100Hz' and 
channel map 'front-left,front-right'.
  Connection established.
  Stream error: No such entity





Code:

parec -v -d Radio.monitor -r test.pcm
  
  Opening a recording stream with sample specification 's16le 2ch 44100Hz' and 
channel map 'front-left,front-right'.
  Connection established.
  Stream successfully created.
  Buffer metrics: maxlength=4194304, fragsize=352800
  Using sample spec 's16le 2ch 44100Hz', channel map 'front-left,front-right'.
  Connected to device Radio.monitor (7, not suspended).
  



I'd also suggest that you enable logging, "lock-down" squeezelite-pulse
to 44100Hz, tell the server that squeezelite support a higher sample
rate so it doesn't resample and then have squeezelite resample any
stream that is not 44100.

You might also need to daemonize (run it in the background) squeezelite
using the -z option.

squeezelite -d all=debug -f squeezelite.log -Z 384000 -r 44100-44100 -u
E

You can play the pcm file using aplay to confirm.  Well I don't have
icecast setup.


Code:

aplay -f cd test.pcm
  Playing raw data 'test.pcm' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo
  
----



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=112809

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


Re: [SlimDevices: Plugins] Volume always resets to 33

2022-02-05 Thread ralphy


My touch goes to 99% as well after a restart with the latest build of
LMS 8.2.1.
Occasionally the volume just pops to 99% while listening using Spotty
too.
I have logging enabled on the player and server but still haven't been
able to track down a cause.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=115909

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


Re: [SlimDevices: Plugins] IR-Blaster SB3's not responding

2022-01-05 Thread ralphy


johnco wrote: 
> I am endeavouring to set up IR-Blaster on any of my four SB3's. As a
> first test I checked that the headphone output worked and found that
> three of the SB3's have no output from the headphone socket - doubtless
> due to the 10mF capacitors having failed (as  reported elsewhere in the
> forum). This leaves me with one good SB3. I have verified from the debug
> log that the test commands provided on the IR-Blaster settings page are
> being sent by the server to the SB3 but neither of two different IR
> senders (1 borrowed from a Logitech Harmony & 1 oem) work.
> I am running the latest 8.3.0 nightly.
> Is anyone still using the plugin successfully and are there any
> recommended solutions?
> As a separate issue, I do intend to replace the capacitors at some stage
> but the phono and toslink outputs are still working fine.
> 
> John C

I'm running IR-Baster v6.2.2 on an SB3 with lms 8.2.1 without issue. 
However, it's been years since I first set it up, so I'm very rusty with
configuration.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=115703

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


Re: [SlimDevices: Plugins] Error 'No such file or directory' when starting Squeezlite on MiniDSP SHD (Studio)

2022-01-04 Thread ralphy


Stouthart wrote: 
> Thanks for your reply Ralphy. I know it's old, but not much I can do
> about it. This specific build of Volumio seems to be the only linux
> distribution with a kernel that supports the 32 bit 192kHz audio on the
> MiniDSP SHD series of audio devices (pcm5102a). Will have to wait for
> the Volumio 3 release in Q1. Wish I could build/compile Squeezelite
> myself, but my dev skills are a bit rusty.
> 
> Below you will find the error message I got form the other build
> (squeezelite-1.9.9.1392-armhf):
> 
> $ /usr/bin/squeezelite -d all=debug
> /usr/bin/squeezelite: /lib/arm-linux-gnueabihf/libc.so.6: version
> `GLIBC_2.25' not found (required by /usr/bin/squeezelite)
> 
> Update: when trying to install libc6 manually, I get the "libc6 is
> already the newest version" message (newer version cannot be found via
> apt install libc6=[version]).

That's around the time that I upgraded the squeezelite armhf build
system.

Sometimes you can eliminate the "noises" by disabling mmap and/or
increasing the  with the -a parameter.


Code:

-a :::  Specify ALSA params to open output device, b = buffer 
time in ms or size in bytes, p = period count or size in bytes, f sample format 
(16|24|24_3|32), m = use mmap (0|1)
  
----


For example try -a 120:8::0 or -a 200:8



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=115677

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


Re: [SlimDevices: Plugins] Error 'No such file or directory' when starting Squeezlite on MiniDSP SHD (Studio)

2022-01-03 Thread ralphy


Jessie is a very old version of debian 8.  I'm currently building the
armhf binaries on debian 9, which is still old.

What is the version of the latest squeezelite armhf you tried?

What is the glibc error?

Alternatively, you can build squeezelite yourself on jessie to overcome
your issues.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=115677

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


Re: [SlimDevices: Plugins] [Announce] Music Similarity DSTM mixer

2022-01-01 Thread ralphy


cpd73 wrote: 
> Thanks. I tried installing a centos6 VM, but then installing packages
> failed - something todo with repos not found. Was about to try centos7,
> but installing ffmpeg in an Ubuntu VM seems to have resolved the library
> loading. So, the library itself was OK, just needed its dependencies to
> be installed.

Since it's just be a library dependency perhaps linking the static
ffmpeg libraries would be an alternative to needing the shared ffmpegs
libs installed on target systems.

Sorry, centos 6 has been EOL for several years now.  I've no reason to
update the packages so hadn't noticed that.

Centos 7 glibc is likely old enough these days, but only if you start
having lots of reports of like.


Code:

squeezelite: /lib64/libc.so.6: version `GLIBC_x.xx' not found (required by 
squeezelite)
----



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=115609

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


Re: [SlimDevices: Plugins] [Announce] Music Similarity DSTM mixer

2021-12-31 Thread ralphy


cpd73 wrote: 
> I'm guessing this is due to the musly library having been built on
> Fedora. I'll install Ubuntu in a VM and rebuild the library on that.

When I started supporting squeezelite, I've found the plethora of
different libc versions to be a constant issue.  I eventually discovered
that building on an older OS virtually eliminated the problem.

The intel 32 and 64bit binaries are still built on CentOS 6 VMs.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=115609

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


Re: [SlimDevices: Plugins] [Announce] Squeezelite-X

2021-12-10 Thread ralphy


rgdawson wrote: 
> I wish I knew.  I am seeing squeezelite "stop" playing and last night I
> noticed this after pausing for say, 20 minutes, then resuming.  It plays
> for a while (maybe what is left in buffer?), then stops for a while, but
> if I do nothing and wait awhile it starts again.  Of course, I can't
> make it happen at will.  This was while listening to Pandora.  As for
> log data, I presume you are capturing the squeezelite player log info
> that you can turn on in SLX advanced settings.  I've tried that to
> finding nothing interesting, so far.
> 
> Edit: On second thought, if it was a squeezelite crash, it would take
> SLX around 5-10 seconds to detect that, and then SLX would automatically
> restart squeezelite.  There would be a "Squeezelite aborted" message in
> that case.
> 
> Edit:  On third thought, I checked and SLX does not automatically
> restart.  It used to, but now it shows an error message.  So, if you are
> not seeing that, then I don't think it is an actual squeezelite crash.
> 
> R Greg Dawson

Squeezelite stopping is likely related to the 'discussion in this
thread'
(https://forums.slimdevices.com/showthread.php?114661-Music-streaming-stops-intermittently).

I don't have a fix.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=108550

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-11-21 Thread ralphy


tommyz wrote: 
> Are the experimental kernels still available?

Some of them I was able to recover and they are listed from within the
EDO app on the touch.

Please move further discussions of EDO to that 'thread'
(https://forums.slimdevices.com/showthread.php?94512-Announce-Enhanced-Digital-Output-app-USB-Dac-and-192k-Digital-Ouput).
Thanks.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] Squeezelite crashing on Picoreplayer during podcasts

2021-11-20 Thread ralphy


nitrogen28 wrote: 
> Hi ralphy,
> 
> I am encountering a similar problem. Squeezelite crashes on PiCorePlayer
> when I play podcast. 
> Could you point me to a repository with out the SSL option. The one you
> listed is not online anymore.
> 
> Cheers

There have been a lot of improvements to podcasts playback in LMS 8.3 so
I've removed that old build.

See Settings->Advanced->Network->Streaming Mode for HTTP(S).

> When a HTTP(S) connection to a server fails, Logitech Media Server
> terminates playback. It can also try to re-open it (Persistent mode) or
> it can buffer streams (Cache mode) of defined length (podcasts, single
> tracks) on disk files. These will be removed once the stream has been
> played. This can improve the reliability with some servers that expect
> tracks to be downloaded, not streamed and thus close long connections.
> But it also does cause more writing to the file system, which could
> potentially wear out e.g. SD cards. If you have enough space for
> buffering files, then "Cache" mode is the way to go
>



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=111064

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


Re: [SlimDevices: Plugins] Softsqueeze 3.9.2 OSX High Sierra disable sleep

2021-11-05 Thread ralphy


MarkS wrote: 
> Thanks for the reply but that's double Dutch to me...
Sorry, my comment was for Michael.

mherger wrote: 
> > Only change is upgrade in Softsqueeze, from 3.8, due to upgrade in
> Mac
> > mini and OSX from 32bit early machine to newer i5 64bit machine.
> 
> Maybe it's time to say goodbye to Softsqueeze. It hasn't been updated 
> for years, has it? And it never worked as reliably as Squeezeplay to 
> start with.
> 
> > I don't want to change from Softsqueeze, I like using it and it's
> served
> > me well to date.
> 
> But then you updated your host, and the software's compatibility has 
> come to an end.

Softsqueeze was updated 3 years ago to fix an 'issue with corrupted
displays on MacOS'
(https://forums.slimdevices.com/showthread.php?109593-Help-debugging-weird-font-display-issue).

It's still a popular download averaging 80 downloads a week, so I'm not
sure we should bin it just yet and those of us who don't own a
transporter find it handy for debugging dual display problems.

MarkS wrote: 
> Having spoken to Richard T I now realise you're the custodian of the
> Softsqueeze repository on SourceForge, so you must have an above average
> familiarity with the SS application?

I took ownership of the sourceforge softsqueeze site about 3 years ago
when Richard stopped maintaining it and needed to upload the then new
v3.9.2 builds.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=115362

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


Re: [SlimDevices: Plugins] Softsqueeze 3.9.2 OSX High Sierra disable sleep

2021-11-04 Thread ralphy


mherger wrote: 
> Use Squeezeplay instead :-). Seriously: it prevents my Mac from going to
> 
> sleep so reliably I sometimes use it for this very purpose only. And I 
> prefer it over Softsqueeze very much. It's more up to date.

You need to run Squeezeplay with the following Automator bash shell
script to allow the screensaver to start.


Code:

export SDL_VIDEO_ALLOW_SCREENSAVER=1
  /Applications/SqueezePlay.app/Contents/MacOS/SqueezePlay > 
$HOME/SqueezePlay.log 2>&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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=115362

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


Re: [SlimDevices: Plugins] Native VPN Client Plugin for Squeezbox Radio

2021-10-14 Thread ralphy


Squeeza wrote: 
> Hello :)
> 
> First of all i wanna thank all of You for Your great support and keeping
> LMS alive an d up to date!
> 
> I would like to ask if I can get a VPN-Connection directly between the
> SqueezeBox and my Router (Fritz!Box) without additional Hardware.
> 
> Did someone already realize this?

I have built a native openvpn client for the radio, but it doesn't have
enough cpu power nor memory to handle the vpn tunnel and decode a music
stream, so I never released it.

There is one for the touch and it works well.  See 'this post'
(https://forums.slimdevices.com/showthread.php?114055-Remote-access-to-LMS-VPN-Port-Forwarding-any-tips=1015388=1#post1015388)
for details.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=115260

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


Re: [SlimDevices: Plugins] [Announce] Spotty 4.6 - sorting option for Albums/Artists/Songs, replay gain fix

2021-09-12 Thread ralphy
n: 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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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


Re: [SlimDevices: Plugins] Squeezelite - won't play Ogg Vorbis files and plays MP3s Mickey Mouse style

2021-08-30 Thread ralphy


Thanks for the file.

The file plays fine for me.

Code:

-rw-r--r-- 1 squeezeboxserver squeezeboxserver   *4967200* Aug 29 13:12  
01_Disniland.ogg



As philippe_44 mentioned, your lms setup is transcoding your files and
that is causing the problem.

Here's a clip from the squeezelite log with -d all=debug playing the
test file.


Code:

[07:46:22.259964] codec_open:264 codec open: 'o'
  [07:46:22.260264] connect_socket:164 connecting to 192.168.199.31:9000
  [07:46:22.260608] stream_sock:600 header: GET 
/stream.mp3?player=00:11:22:33:77:77 HTTP/1.0
  [07:46:22.260628] sendSTAT:195 STAT: STMc
  [07:46:22.260646] process_strm:384 set fade mode: 0, channels: 0, invert: 0
  [07:46:22.260666] process:528 audg
  [07:46:22.260678] process_audg:440 audg gainL: 781 gainR: 781 adjust: 1
  [07:46:22.260688] set_volume:233 setting internal gain left: 781 right: 781
  [07:46:22.401611] stream_thread:331 headers: len: 493
  HTTP/1.1 200 OK
  Server: Logitech Media Server (8.3.0 - git-55f8e3f3d)
  Connection: close
  CONTENT-TYPE: AUDIO/OGG
  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=/
  [07:46:22.401691] sendRESP:226 RESP
  [07:46:22.515294] vorbis_decode:171 setting track_start
  [07:46:22.515336] resample_newstream:232 disable resampling - rates match
  [07:46:22.515348] process_newstream:124 processing: inactive
  [07:46:22.519274] _output_frames:65 start buffer frames: 11840
  [07:46:22.519331] _output_frames:153 *track start sample rate: 44100* 
replay_gain: 0
  ..snip..
  [07:46:42.835384] process:528 strm
  [07:46:42.835397] process_strm:280 strm command t
  [07:46:42.835408] sendSTAT:195 STAT: STMt
  [07:46:43.307034] stream_thread:404 end of stream (*4967200 bytes*)
  [07:46:43.307103] sendDSCO:214 DSCO: 0




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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=115044

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


Re: [SlimDevices: Plugins] Squeezelite - won't play Ogg Vorbis files and plays MP3s Mickey Mouse style

2021-08-29 Thread ralphy


The current release of squeezelite is 1.9.9-1386 and my linux builds are
available from
https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/

All these builds have the codec libraries built into the binary.

Please try the problem ogg files with the latest squeezelite version and
if you still have an issue, please PM me a download link to a couple of
the ogg files with the problem.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=115044

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-08-05 Thread ralphy


justwords wrote: 
> Any chance the community firmware will be changed so that napster
> streaming works again?

I believe that Napster is now Rhapsody and should work using LMS 8.2.

I might help if you provided the LMS version and log file with
player.source set to info as well as the /var/log/messages file from the
radio after a playback failure.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-08-05 Thread ralphy


PasTim wrote: 
> With apologies for being somewhat dim, but would it be possible for the
> LMS plugin (which has its own completely independent version number) to
> display the latest firmware number?  When the plugin got updated I
> expected new firmware, but I now understand that there's no reason to
> suppose that there is.

You can check the current firmware version(s) that are available using
the link to the changelog behind the 'fixes several issues and removes
obsolete features'
(https://ralph_irving.gitlab.io/lms-community-firmware/changelog.html)
text in the plugin description.

Also, the firmware versions available for each player type may not be
the same release level.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-07-28 Thread ralphy


I've added the link to settings in the LMS active plugins tab for
release 0.0.7 of the CF plugin.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Spotty 4.6 - sorting option for Albums/Artists/Songs, replay gain fix

2021-07-28 Thread ralphy


jotap_66 wrote: 
> Due to this, I wanted to know if Squeezepad worked with Browse on
> Spotify
> 
> JP

I just tried Browse on Spotify on Squeezepad and it works.

I browsed to a local artist in my collection, and at the bottom of the
album list for the artist is the Browse on Spotify menu option which
takes you to the albums, singles & eps, compilations, etc list from
spotify.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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


Re: [SlimDevices: Plugins] Ifi Zen Dac V2 no DSD with Squeezelite?

2021-07-26 Thread ralphy


The output from alsacap should list at least one DSD sample format for
the iFi if it actually supports native DSD, which doesn't appear to be
the case from your previous post.

Eg from my iFi ione nano


Code:

Card 2, ID `Audio', name `iFi (by AMR) HD USB Audio'
  Device 0, ID `USB Audio', name `USB Audio', 1 subdevices (1 available)
  2 channels, sampling rate 44100..384000 Hz
  Sample formats: S32_LE, *SPECIAL, DSD_U32_BE*
  Buffer size range from 16 to 131072
  Period size range from 8 to 65536
  Subdevice 0, name `subdevice #0'
  



Then you need to use that format in the squeezelite settings.  ie. *-D
0:u32be*



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=114888

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


Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player

2021-06-19 Thread ralphy


Toei wrote: 
> hi i just get another shark white one .
> 
> where i can get rs-stream.sh where its located?
> 
> alsa detect two sharks but just change r to R
> 
> And it give another address to the other shark.

The code to locate the card at line 194.

You can just change the *r*adioSHARK to *R*adioSHARK


Code:

--- /u/tmp/rs-stream.sh 2021-06-06 09:03:37.0 -0400
  +++ /u/tmp/rs-stream2.sh  2021-06-19 08:31:12.0 -0400
  @@ -191,7 +191,7 @@
  ;;
  esac
  
  -CARD=$(cat /proc/asound/cards | sed 'N;s/\n/ /' | grep radioSHARK | awk '-F[ 
:]' '{print $2}')
  +CARD=$(cat /proc/asound/cards | sed 'N;s/\n/ /' | grep RadioSHARK | awk '-F[ 
:]' '{print $2}')
  
  if [ -z $CARD ]; then
print -u2 "radioSHARK not found."




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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=54926

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


Re: [SlimDevices: Plugins] [Announce] Spotty 4.5 - improved Ogg direct, Autoplay, multi-user setup

2021-06-19 Thread ralphy


cortegedusage wrote: 
> after the update I've experienced the songs played from spotify were
> LOUD and Distorted. 
> (I updated last night and was wide awake after that :))
> 
> I had LMS convert the stream to flac because I experienced this was the
> only way to have 
> the levels the same when playing playlists with very different songs.
> when I turned ogg on the sound was normal.
> 
> Did anything changed in the way Spotty processes the replaygain data?
> 
> which log should i enable to see what is happening?
> 
> cheers
> dennis

Were you using iPeng when you had the LOUD and Distorted playback?

I have the same problem but only with iPeng.  All other players that I
tried so far the audio has been okay.

I'm running LMS 8.2.0 - git-c1ac49e44 @ 2021-06-18 05:39:37 on Debian 10
armhf.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=114726

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-06-12 Thread ralphy


Sorry for the issues with the 0.0.3 plugin released yesterday.  Should
be sorted now.

Version 0.0.6 is available which should fix the issue with downloading
the logitech firmware for the i3pk players.  You need to be running LMS
8.2 from June 11th or newer as well.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player

2021-06-08 Thread ralphy


Toei wrote: 
> question pcp 7.0 have an old version of pcp-streamer .tcz? i mean its
> not update it? i read that on yesterday post. 
> 
> 
> its any difference update one ?
> 
> EDIT, I UPDATE IT, ITS IMPROVE ANYTHING ON THE SHARK FUNCTIONALITY?
> 
> thanks

no, the rs-stream script has the changes from v1.04 applied.  the other
components of the pcp-streamer.tcz you are using are the same in both
versions.

I just posted an update and temporary work around in the pcp7 thread.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=54926

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


Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player

2021-06-07 Thread ralphy


Toei wrote: 
> woa! its working
> 
> i just copy 
> 
> > 
Code:

  >   > http://192.168.x.xxx:9101/670.00/S16_LE/44100/2/F

> > 
> 
> and its tune it!
> 
> 
> thanks a lot!
> 
> thanks for the patience bpa, i see post from 12 years old wow!
> 
> 
> question if i plug both sharks 1 and 2 it be work? thanks!

Yes, but you'd have to copy and modify the rs-stream.sh script to find
the 2nd radioshark device.

Usually ALSA adds _1 to the device name when there are 2 devices the
same.

Then run the modified script on a different port.


Code:

/usr/local/bin/tcpserver -R 0 9102 /mnt/mmcblk0p2/tce/rs-stream2.sh




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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=54926

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


Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player

2021-06-07 Thread ralphy


bpa wrote: 
> Ralphy's mods is unlikely to support it if it uses my application
> directly.

My rs-stream script does not use or require the radioshark plugin.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=54926

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


Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player

2021-06-06 Thread ralphy


Toei wrote: 
> i update myself. i able to hear sound from .
> 
> i fullly newbie about this so idk.
> 
> with radioshark i able to tune stations but i cant hear nothing there.
> 
> 
> there its a stream link from audio tweaks
> hw:CARD=radioSHARK,DEV=0
> 
> http://192.xxx.x.xxx:9100/S16_LE/44100/2/F
> 
> this one. 
> 
> so i have to tune on lms to change station.  there its other way?
> 
> 
> i able to add it to tivimate .
> 
> my goal its get a stream for each station. like its done on lms. idk if
> its possible , for now i have one stream link but i have to tune on lms.

I have a modified pcp-stream script that selects the radio frequency of
the radioshark via the url and turns the blue LED on when the stream is
connected.


Code:

http://192.xxx.x.xxx:9101/*91.1*/S16_LE/44100/2/F



Copy the script to /mnt/mmcblk0p2/tce/rs-stream.sh and make sure it's
executable.

You need to run it on a different port from the user commands so it
doesn't conflict with the standard streamer.  You can run the command
from an ssh session to test it.

The rs-stream.sh script automatically locates the radioshark device but
exits if it's not found.

Once it's working you can start if from the user commands on the tweaks
page of the webadmin.


Code:

/usr/local/bin/tcpserver -R 0 9101 /mnt/mmcblk0p2/tce/rs-stream.sh



I'll try to build a 64bit version of the radioshark extension in the
coming days.

I also noticed that the pcp-streamer extension in pcp 7 is an older
version than what's in pcp 6, not sure how this keeps happening.  I"ll
fix that too.


+---+
|Filename: rs-stream.sh.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=34915|
+-------+


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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=54926

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-05-01 Thread ralphy


Apesbrain wrote: 
> New firmware 8.0.1-r16855 installed today on all Touch and Radio.  Has
> the issue with Radio dropping wifi been addressed?  Thanks.

No.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: Signal Generator Plugin � where does it install to?

2021-04-17 Thread ralphy


The icon tag in install.xml can be used in the getMetadataFor function. 
I didn't do anything for you as there was no code to use it.

I've added support for this, updated the icon.png and removed the 0
bitrate that was displayed in the default skin for v1.5.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=114368

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


Re: Signal Generator Plugin � where does it install to?

2021-04-16 Thread ralphy


I've updated the Signal Generator plugin to include a menu icon and fix
the search_like() is deprecated and will be removed in DBIC version 0.09
warning.
I "borrowed" the icon from the WavInput plugin as I couldn't find a
suitable wave form image that worked in the menu.

34216

To test it add the following repository url and restart LMS


Code:

http://ralph.irving.sdf.org/extensions/sigen.xml



You should then have a separate Signal Generator Plugin section near the
bottom of the settings-plugin tab in lms.

34217

We can update the 3rd party plugin extension to provide v1.3, if testing
proves successful.


+---+
|Filename: sigen2.jpg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=34217|
+---+


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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=114368

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


Re: [SlimDevices: Plugins] Jazz Groove Support

2021-03-31 Thread ralphy

bluetdi wrote: 
> Just tried to listen to their stream and they announced that the stream
> has reached its limit for today. Hmmm? 
> No problem in the past, what is this? 
> 
> They also told me to go to jazzgroove.org\squeezebox when I want to
> listen to their stream with my squeezeboxes. Yes, I want, but that link
> shows nothing. Do they really have a plugin or a special stream for us?
> 
> 
> Does anyone has a link to listen to that station as in the last years?
> 
> Edit: And of course I woud pay for their music if they offer the premium
> stream reliably on squeezeboxes/LMS.

I heard that message last night too.

I get this when I navigate to
https://jazzgroove.org/squeezebox?channel=mix1

> ROON, BLUESOUND, ROKU, SQUEEZEBOX, ETC & JAZZGROOVE.ORG: BETA-TEST
> 
> Follow the below steps to enjoy The Jazz Groove’s Premium Plus streams
> (streams without promotional & fund drive messages) with Roon, Bluesound
> & other devices that require a URL:
> 
> Step 1: At JazzGroove.org Log In to your account.
> 
> Step 2: Click Account & then click Audio Settings
> 
> Step 3: Under Premium URL, Select the Audio Quality & the Channel.
> 
> Step 4: Check  the Expanded URL box.
> 
> Step 5: COPY the provided custom URL and use it with your device (Roon,
> Roku, Squeezebox, etc.)
> 
> Bluesound owners, after step 4, follow details here.
> 
> Cambridge Audio, follow these steps.
> 
> We’re beta-testing this process. Your feedback is welcome via email:
> supp...@jazzgroove.org
> 
> *As a Jazz Groove member you’re authorized to use our custom URLs
> generated in your account for your devices. We run on the honor system;
> please do not share these URLs with anyone outside of your household.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=111294

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-03-27 Thread ralphy


hestbank wrote: 
> I've just successfully updated the firmware on my Touch. Many thanks to
> all who have made that possible.
> 
> Seeing the talk about Remote Login I thought, just for interest, I would
> have a look around inside. I can log in ok but the command "ls" doesn't
> show me anything. What language does the Touch use? Can anyone point me
> in the direction of a few basic commands.
> 
> Many thanks.
Standard unix command line tools.

*ls* didn't show anything because there's no files to list in the /root
folder.

I would bet that *ls / *would.


Code:

# *ls*
  # *pwd*
  /root
  # *ls /*
  bin  dev  etc  lib  linuxrc  mediamnt  proc root  
   sbin sys  tmp  usr  var
  




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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-03-24 Thread ralphy


mrw wrote: 
> Hmm, I wonder if that is really a good idea, given the well known login
> details. Convenient for you on this occasion, of course.

I enabled remote login by default to aid recovery if needed during the
early adoption phase of the CF.  The early CF releases also had telnet
enabled when I was testing the updates to the ssh server.

We are likely past the need to have it enable by default now.  I will
change it back to off for the next builds.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-03-19 Thread ralphy


NigelDavvenport wrote: 
> Hi, I am really sorry with these irritating questions but the three
> touches work fabulously with your update administered by SD card
> although the LSM offers to downgrade them to 7.8 despite being 8.2 LSM
> if you go to software update on Touches.  I did tick the box etc... I
> did it by downloading the Fab4 update for the SD card and plugging it
> directly into the Touches.  Which is the update file for the controller?
> I have never tried updating a controller via card before
> https://sourceforge.net/projects/lmsclients/files/squeezeos/?  Also is
> there a way of me forcing LSM to recognise the update rather than
> wanting the touches etc... to go back to the old firmware? 
> 
> I am amateur to say the least.
> 
> Many thanks,
> 
> Nigel
The firmware for the controller is the jive_8.0.1_r16844.zip

You can just press and hold the back button to ignore the updates for
now.

The firmware on sourceforge is newer than what's available via the
plugin allowing users to test the new version before it's released.

I will be updating the version available via the plugin to the same
version (8.0.1_r16844) this weekend and then the prompts to update will
stop appearing.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-03-18 Thread ralphy


Patricia P wrote: 
> The community firmware 8.1 installed perfectly on Touch and Radio. I
> really like the new options for Touch wallpaper. 
> 
> Mysb doesn't show the radio update; the Touch  doesn't appear at all. 
> 
> This hasn't affected the radio apps however. 
> Is this normal behaviour?

Yes, mysb will not present the community firmware, you must run a local
LMS server, install the plugin AND enable it, as mentioned in my
previous post.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-03-18 Thread ralphy


NigelDavvenport wrote: 
> Hi, I have completed the instructions above and running on the latest
> update for LMS on Netgear NAS (Logitech Media Server Version: 8.2.0 -
> 1615827177) but none of my devices (Remotes or Touches) seem to see the
> update.  I have a spare touch and factory reset it but it only offers as
> far as Firmware: 7.8.0-r16754.
> 
> Hoping for any advice ;)
> 
> Many thanks,
> 
> Nigel

Have you enabled the plugin in settings as described in 'this post'
(https://forums.slimdevices.com/showthread.php?113479-Announce-Community-Firmware-for-Squeezebox-Radio-Touch-Controller-and-LMS-8=1010022=1#post1010022)?



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] Help with Sox LMS 8.0.0

2021-03-17 Thread ralphy


bpa wrote: 
> Remember these can be patched/built for LMS which means it is possible
> that (i) LMS specific stuff added, (ii) some functionality disabled (ii)
> some old version feature are enabled  (iii) some features added from
> later version (iv) special build options chosen.

Also, at some point, the sox developers removed the short command line
options, which LMS uses in the convert.conf rules.  So if you're using
an OS supplied version of sox it will likely fail on any LMS transcoding
rule that requires sox.

The 02-restore-short-options.patch file adds them back to sox binaries
included with LMS.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113932

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-03-16 Thread ralphy


ralphy wrote: 
> I've uploaded a 'new firmware build to sourceforge'
> (https://sourceforge.net/projects/lmsclients/files/squeezeos/) for
> testing.
> 
> It is NOT available via the community firmware plugin at this time and
> will need to be manually installed.
> 
> The build includes the fix for "stuttering" aac stream playback, support
> for mono output channel mode added to LMS 8.2 and the mp3 decoder has
> been updated with the latest bug and security fixes.
> 
> Version 8.0.1 r16844 - Mar 7 2021
> 
> Bug Fixes:
> AAC decoder audio drop outs playing high bit and sample rate streams.
> Improved dropbear ssh server security.
> 
> Feature Changes:
> Add both channels mono output channel mode support.
> Balance control support confirmed.
> Update libmad MP3 decoder.

I haven't had any reports of issues, so if there's no objections, I'm
going to update the community firmware plugin to version 8.0.1 r16844
this weekend.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] SuperDateTime Screensaver v5.11.0 - Date/Time/Weather/Sports/Stocks

2021-03-14 Thread ralphy


BoomX2 wrote: 
> I am not sure what to tell you.  I have a few Booms and a Classic.  They
> correctly switch between the screensavers with VU Meter set to show
> while playing and SDT set to show while stopped.  I do not have a
> Transporter to test.  Do both screensavers show on top of each other
> every time you stop the Transporter?

You could try 'Softsqueeze'
(https://sourceforge.net/projects/lmsclients/files/softsqueeze/), it has
a transporter skin.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=112122

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-03-10 Thread ralphy


frankd wrote: 
> Dear Ralphy, 
> maybe you could consider including the script provided by PomDev into
> the next radio firmware. 
> The script will help to reduce down-times of the Radio in WIFI-6
> environments. 
> It is not a perfect solution (synchronization), but the best bet we have
> for using radios in new WIFI environment without external hardware
> (Vonets).
> I would propose to adapt the script in two ways:
> 1) no logging
> 2) 3 failed pings for triggering the restarting, instead of 6 pings.
> 
> More info:
> https://forums.slimdevices.com/showthread.php?109953-WiFi-connection-unstable-lost-on-three-Radios=1013643#post1013643
> 
> Kind regards,
> Frank

IMO the script would be better packaged as an applet to install for
those experiencing the wifi disconnect issue on the radio.
Then updates to the script(s) doesn't require building a new firmware
release.

Another option that's been discussed is incorporating the detection and
recovery methods from the script within the lua networking code.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-03-09 Thread ralphy


I've uploaded a 'new firmware build to sourceforge'
(https://sourceforge.net/projects/lmsclients/files/squeezeos/) for
testing.

It is NOT available via the community firmware plugin at this time and
will need to be manually installed.

The build includes the fix for "stuttering" aac stream playback, support
for mono output channel mode added to LMS 8.2 and the mp3 decoder has
been updated with the latest bug and security fixes.

Version 8.0.1 r16844 - Mar 7 2021

Bug Fixes:
AAC decoder audio drop outs playing high bit and sample rate streams.
Improved dropbear ssh server security.

Feature Changes:
Add both channels mono output channel mode support.
Balance control support confirmed.
Update libmad MP3 decoder.

You need a local LMS and the player should already be connected to it.

Find the cache folder path in the LMS settings->information tab near the
bottom. Mine is /opt/logitechmediaserver/cache
Unzip the firmware file into the cache/updates folder and restart LMS.
Alternatively, you can use the 'loading custom firmware'
(http://wiki.slimdevices.com/index.php/Custom.baby.version) as
documented on the old wiki, replace *baby* (radio) with *fab4* for the
touch or *jive* for the controller.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-03-03 Thread ralphy


TinySC in the touch community firmware  was a decision that I discussed
with Michael before removing it.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-03-01 Thread ralphy
; Mar  1 11:54:37 squeezeplay: INFO   audio.decode - Playback.lua:448 
72.5%/93.3%
  > Mar  1 11:54:37 dropbear[2293]: Password auth succeeded for 'root' from 
172.16.0.70:40578
  > 

> > 
> 
> Actually, I'm probably happy to release like this, with a default of 1
> second interval throttling,  you could probably argue that does have
> benefits server side. 
> Obviously, this is very BBC Sounds specific. What's your thoughts?

I think that's a good solution.  I was replying to your previous
regarding outputThreshold when I spotted these.

Basically, there are 2 threshold values sent from the server in the strm
command.
1. $threshold - the KB of input buffer data before autostart or notify.
2. $output_Threshold - amount of output buffer data before playback
starts, in tenths of a second.
and the player honours/ignores 1. depending on the auto start flag.

I've been investigating how the aac decoder implemented in the community
firmware on the radio responses to the thresholds and under what
conditions they are applied, but that's going to take some time.

expectingtofly wrote: 
> Further to the above, I've tested applying the throttling to the r16835
> release of the firmware.   I can confirm it also eliminates the buffer
> underrruns for that release.

That's great!  Even with the bug in r16835 that reports that the number
of decoded samples is only 1/4 of what's actually available, the
throttle is enough to let the radio recover.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-02-28 Thread ralphy
ueezeplay: INFO   audio.decode - Playback.lua:448 
64.4%/2.4%
  > 

> > 
> 
> The underrun happens at the point of end of the Bufferthreshold time
> that the buffer represents (1 second and 5 Second respectively) after
> the track started  .  I guess that must mean something! But beats me
> what that is :)
That's what I noticed in the first log as well.  To me, that means it's
not making a difference and you can probably just remove setting the
bufferThreshold.

It appears that at startup the player just can't fill the output buffer
fast enough. Thanks for testing the different options.  I now have a lot
more info to go through.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-02-28 Thread ralphy
0
  > Feb 28 14:31:50 squeezeplay: DEBUG  audio.decode - Playback.lua:855 strm u
  > Feb 28 14:31:50 squeezeplay: DEBUG  audio.decode - Playback.lua:991 resume 
unpause
  > Feb 28 14:31:50 squeezeplay: DEBUG  audio.decode - decode_resume_audio:601 
decode_resume_audio start_jiffies=0
  > Feb 28 14:31:50 squeezeplay: DEBUG  audio.decode - 
decode_resume_audio_handler:133 decode_resume_audio_handler start_jiffies=0
  > Feb 28 14:31:50 squeezeplay: DEBUG  audio.decode - debug_fullness:112 
fullness: 910447 / 82944 | 28.94% / 2.35%
  > Feb 28 14:31:50 squeezeplay: DEBUG  audio.decode - 
decode_resume_audio_handler:146 resume_audio decode state: 1 audio state 40
  > Feb 28 14:31:50 squeezeplay: DEBUG  audio.decode - Playback.lua:1262 
stopping local pause timer
  > Feb 28 14:31:50 squeezeplay: DEBUG  audio.decode - Playback.lua:1192 gainL, 
gainR: 555 555
  > Feb 28 14:31:51 squeezeplay: INFO   audio.decode - Playback.lua:448 
33.6%/5.4%
  > Feb 28 14:31:52 squeezeplay: INFO   audio.decode - Playback.lua:448 
42.3%/7.9%
  > Feb 28 14:31:53 squeezeplay: INFO   audio.decode - Playback.lua:448 
50.6%/11.3%
  > Feb 28 14:31:54 squeezeplay: INFO   audio.decode - Playback.lua:448 
63.9%/12.7%
  > Feb 28 14:31:55 squeezeplay: INFO   audio.decode - Playback.lua:448 
78.2%/9.8%
  > Feb 28 14:31:56 squeezeplay: INFO   audio.decode - Playback.lua:448 
85.7%/15.4%
  > Feb 28 14:31:57 squeezeplay: INFO   audio.decode - Playback.lua:448 
99.7%/17.3%
  > Feb 28 14:31:58 squeezeplay: INFO   audio.decode - Playback.lua:448 
99.7%/29.0%
  > Feb 28 14:31:59 squeezeplay: INFO   audio.decode - Playback.lua:448 
99.6%/41.0%
  > Feb 28 14:32:00 squeezeplay: INFO   audio.decode - Playback.lua:448 
99.7%/52.0%
  > Feb 28 14:32:01 squeezeplay: INFO   audio.decode - Playback.lua:448 
99.7%/63.9%
  > Feb 28 14:32:03 squeezeplay: INFO   audio.decode - Playback.lua:448 
99.6%/76.8%
  > Feb 28 14:32:04 squeezeplay: INFO   audio.decode - Playback.lua:448 
99.7%/88.1%
  > Feb 28 14:32:05 squeezeplay: INFO   audio.decode - Playback.lua:448 
99.6%/99.0%
  > Feb 28 14:32:06 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/97.9%
  > Feb 28 14:32:07 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/97.6%
  > Feb 28 14:32:08 squeezeplay: INFO   audio.decode - Playback.lua:448 
99.9%/98.0%
  > Feb 28 14:32:09 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/97.4%
  > Feb 28 14:32:10 squeezeplay: DEBUG  audio.decode - Playback.lua:1262 
stopping local pause timer
  > Feb 28 14:32:10 squeezeplay: DEBUG  audio.decode - Playback.lua:1192 gainL, 
gainR: 0 0
  > Feb 28 14:32:10 squeezeplay: DEBUG  audio.decode - Playback.lua:855 strm p
  > Feb 28 14:32:10 squeezeplay: DEBUG  audio.decode - Playback.lua:1262 
stopping local pause timer
  > Feb 28 14:32:10 squeezeplay: DEBUG  audio.decode - decode_pause_audio:624 
decode_pause_audio interval_ms=0
  > Feb 28 14:32:10 squeezeplay: DEBUG  audio.decode - 
decode_pause_audio_handler:156 decode_pause_handler interval=0
  > Feb 28 14:32:10 squeezeplay: DEBUG  audio.decode - 
decode_pause_audio_handler:171 pause_audio decode state: 1 audio state 0
  > Feb 28 14:32:10 squeezeplay: DEBUG  audio.decode - Playback.lua:855 strm q
  > Feb 28 14:32:10 squeezeplay: DEBUG  audio.decode - Playback.lua:1262 
stopping local pause timer
  > Feb 28 14:32:10 squeezeplay: DEBUG  audio.decode - decode_stop:667 
decode_stop
  > 

> > 
> 
> As far as I'm concerned the  ramp up audio underruns really aren't
> that much of a problem, they don't always happen, and now that the
> output buffer is filling up correctly they don't occur again once the
> stream is underway.
Thank you for trying this.  I'll have a closer look at your log later on
today.

I agree that just with the higher buffer fill rate after the initial
pause, it is much better than the r16835 release.

Do you see the same issue with either the hide audio sample rate from
LMS or Force http streaming options enabled?



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-02-28 Thread ralphy


mrw wrote: 
> And, if I recall correctly, the EDO/non-squeezeos version of Squeezeplay
> has another, triode initiated, accommodation for high bit rate streams
> somewhere. I recall pulling portaudio into line with you last year.

Yes, we did.  'It was for high sample rate streams. Limiting the output
threshold to 1 second for 172Khz+ streams.'
(https://github.com/ralph-irving/squeezeplay/commit/3e3d877d756c62870ba962e20de6f360e7878745)

mrw wrote: 
> Perhaps it would be a "good thing" for any change to be in Squeezeplay
> rather than the server. But it's all very confusing. Why proxying https
> through LMS should be treated differently is not immediately obvious.
> Perhaps it will become so.

It is very convoluted/confusing and plugins also have the ability to
override the server default bufferThresholds as well.
The problem with squeezeplay changes of this nature is I have no idea
how they will impact the plethora of content users consume, or the
impact on older versions of LMS.
The later could be avoided by forcing the use of a minimum LMS version.

The bufferThreshold might be used to alleviate the startup problems with
BBC sounds along with the current AAC decoder patch we're testing.
I can't be sure it would help as I don't have access to the 320b@48K
streams to test and it would likely depend on what stream format is
selected in the BBC Sounds settings too.

mrw wrote: 
> *Edit:* Might it be that, when LMS is proxying, the start up delay is
> explicitly handled by LMS so doesn't need to be handled by the player ?
> Just a thought.
> If so, it may or may not complicate any Squeezeplay change. Or even ease
> matters. It is, perhaps, somewhat player/firmware specific.

Yes it does appear as such. I tried to follow the logic for https in LMS
but gave up for now.  I will ask philippe_44 how the proxied https
streams handle bufferThreshold.

I will apply the AAC decoder patch to the desktop squeezeplay sources
and release new builds to get a better idea of how the changes affect
streaming aac without any server side changes.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-02-26 Thread ralphy


mrw wrote: 
> The original stream (last week or so) was
> https://live.streamlojik.com:17070/20210210_2004.aac

Thanks.

mrw wrote: 
> Well, no, that's not what I see. I am seeing "threshold=20480" in the
> Radio log regardless of whether the server side threshold is 0, 20, or
> 50. But changing the server side threshold certainly impacts the time to
> wait before starting playback. So there's something else going on.

I checked my radio log again and I do have 204800 with  $outputThreshold
= 20 in Slim/Player/Squeezebox.pm playing my http aac test stream.

Code:

Feb 26 15:03:43 squeezeplay: DEBUG  audio.decode - Playback.lua:424 resume 
audio bytesReceivedL=208896 outputTime=4245 *threshold=204800*



mrw wrote: 
> Does the stream in question being a proxied by LMS https stream
> influence matters ?

I wasn't sure, but yes apparently it does.  When I play the https url
above I too see threshold=20480 in the radio log.  Looks like more
research is needed.


Code:

Feb 26 15:10:20 squeezeplay: DEBUG  audio.decode - Playback.lua:424 resume 
audio bytesReceivedL=78520 outputTime=139 *threshold=20480*



mrw wrote: 
> Well, you will have thought of things by next Christmas ! But, combined
> with some modification to the stream start up timing, matters seem to be
> much improved.
> I'll keep using the modified binary and report back if anything else
> emerges.

Must be getting close already...just noticed that there are 'several
threshold overrides in Playback.lua'
(https://github.com/ralph-irving/squeezeplay/blob/master/src/squeezeplay/share/jive/audio/Playback.lua#L909).
Something else to investigate.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-02-26 Thread ralphy


mrw wrote: 
> Bad choice of words. Seen in the log, not heard as a "POP", but heard as
> an interruption in the stream coming at variable intervals. I associated
> it with @staresy's description:
> 
> 
> 
> If you were never experiencing this on your Radio (I don't have a Touch)
> then I'm ... confused. I don't say I heard it every minute on the Radio,
> perhaps after a minute, two minutes, or a few more. Repeating. Very
> noticeable.
> But perhaps there are/were two things going on: (a) just decoding not
> keeping up, and (b) these sudden discontinuous failures as well.
> 
> 
> Yes, 20 seems to be working, and quicker to start. But, I don't know
> what "threshold=204800" means in your log, I am seeing
> "threshold=20480".
> I've never studied any of this.

Sorry, Yes, I didn't think you had "POP" in the logs.  I just meant that
I've hadn't noticed it.  I'll have another listen to the url stream from
staresy more closely.

The value is how much data needs to be in the decode buffer (in KB)
before starting playback.  "threshold=204800" is what you should see in
the logs using a server side output threshold = 50.  "threshold=20480"
is what you should see using a value of 20.

If you look at Player/Squeezebox.pm you'll see that the outputThreshold
is set differently to handle different stream formats, like higher bit
rates  or higher sample rates.  The value can also be overridden in a
protocol handler.

Both ogg and opus have a default outputThreshold of 20.  I suspect that
0 was used for aac back when were very few aac streams and most were not
streaming anywhere near the 320@48Khz used by the BBC.

As a test I set the outputThreshold to 0 for ogg and tried playing
320@48Khz ogg stream and I get similiar behaviour to what we're seeing
with aac and 0.

Again thanks for testing.  I don't know what else I can do with the aac
decoder, so if changing the default aac output threshold server side
doesn't break any other streams, I'll create a pull request to have it
changed in the dev branch of LMS.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-02-26 Thread ralphy
thers, just too confusing.

Other than those 2 patches, the difference between the previous test
static jive and the stutterfix jive is the stutterfix does NOT have
fdk-aac linked static, which is the same as the jive binary included in
r18635.
I haven't seen/heard the "POP" issue with any of the 3 jive binaries. 
Very strange.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-02-26 Thread ralphy


ralphy wrote: 
> Another thing that might give some insite is increasing the
> outputThreshold for aac on the server side.   
> 
> > 
Code:

  >   > diff --git a/Slim/Player/Squeezebox.pm b/Slim/Player/Squeezebox.pm
  > index fa2eb1669..78a999625 100644
  > --- a/Slim/Player/Squeezebox.pm
  > +++ b/Slim/Player/Squeezebox.pm
  > @@ -710,7 +710,7 @@ sub stream_s {
  > $pcmsamplerate   = '?';
  > $pcmendian   = '?';
  > $pcmchannels = '?';
  > -   $outputThreshold = 0;
  > +   $outputThreshold = 50;
  > 
  > } elsif ($format eq 'dff' || $format eq 'dsf') {
  > 
  > 

> > 
> I'll look at setting up my own 320@48K aac stream to see if I can work
> out how best to handle it.

I've been able to reproduce the problem on the radio using my own
320@48K stream, as well as running squeezeplay on my linux system which
is way faster than the radio.

Setting outputThreshold to 50 for aac on the server, is too high, 20
gives a much shorter delay before playback starts for the first time,
but long enough to prevent the AUDIO OUTPUT underrun.

If you can try the server side change to confirm/debunk my findings
would be very helpful.  I highlighted the threshold value in the log.


Code:

20210226 15:27:53.022 INFO   audio.decode - decode_start_handler:277 init 
decoder aac
  20210226 15:27:53.022 DEBUG  audio.decode - decode_output_set_track_gain:520 
Track gain 36864
  20210226 15:27:53.022 DEBUG  audio.decode - decode_output_set_track_gain:524 
Track clip range 7fff 8000
  20210226 15:27:53.023 DEBUG  audio.decode - 
decode_set_track_polarity_inversion:529 Polarity inversion 0
  20210226 15:27:53.023 DEBUG  audio.decode - decode_set_output_channels:537 
Output channels left 0, right 0
  20210226 15:27:53.023 DEBUG  audio.codec - decode_aac_start:299 
decode_aac_start(2)
  20210226 15:27:53.022 INFO   audio.decode - Playback.lua:480 connect 
192.168.100.22:9102 GET /94.9/S16_LE/48000/2/A HTTP/1.0
  20210226 15:27:53.023 INFO   audio.decode - Playback.lua:483 GET 
/94.9/S16_LE/48000/2/A HTTP/1.0
  20210226 15:27:53.023 DEBUG  audio.decode - Playback.lua:194 source=stream
  20210226 15:27:53.023 DEBUG  audio.decode - stream_connectL:506 streambuf 
connect 192.168.100.22:9102
  20210226 15:27:53.023 DEBUG  audio.decode - Playback.lua:1265 stopping local 
pause timer
  20210226 15:27:53.023 DEBUG  audio.decode - Playback.lua:1195 gainL, gainR: 
1729 1729
  20210226 15:27:53.074 DEBUG  audio.decode - Playback.lua:1040 cont loop=0 
icy=0
  20210226 15:27:54.345 DEBUG  audio.decode - Playback.lua:397 resume decoder, 
8192 bytes buffered, decode threshold 2048
  20210226 15:27:54.345 DEBUG  audio.decode - decode_resume_decoder:577 
decode_resume_decoder
  20210226 15:27:54.345 DEBUG  audio.decode - decode_resume_decoder_handler:118 
resume_decoder decode state: 1 audio state 0
  20210226 15:27:54.345 DEBUG  audio.decode - debug_fullness:108 fullness: 8192 
/ 0 | 0.26% / 0.00%
  20210226 15:27:54.345 DEBUG  audio.codec - decode_aac_init_heaac:73 FDK-AAC
  20210226 15:27:54.345 DEBUG  audio.codec - decode_aac_callback_heaac:178 
MPEG-4 AOT: 2
  20210226 15:27:54.345 DEBUG  audio.codec - decode_aac_callback_heaac:179 
MPEG-2 Profile: 1
  20210226 15:27:54.345 DEBUG  audio.codec - decode_aac_callback_heaac:180 
Sample rate: 48000
  20210226 15:27:54.345 DEBUG  audio.codec - decode_aac_callback_heaac:181 
Channels: 2
  20210226 15:27:54.345 DEBUG  audio.codec - decode_aac_callback_heaac:182 
Frame size: 1024
  20210226 15:27:54.345 DEBUG  audio.decode - decode_output_samples:280 first 
buffer sample_rate=48000
  20210226 15:27:54.439 DEBUG  audio.decode - Playback.lua:451 0.0%/0.5%
  20210226 15:27:55.516 DEBUG  audio.decode - Playback.lua:451 0.1%/3.9%
  20210226 15:27:56.639 DEBUG  audio.decode - Playback.lua:451 0.1%/16.3%
  20210226 15:27:57.718 DEBUG  audio.decode - Playback.lua:451 0.0%/28.3%
  20210226 15:27:58.845 DEBUG  audio.decode - Playback.lua:451 0.0%/40.6%
  20210226 15:27:59.431 DEBUG  audio.decode - Playback.lua:424 resume audio 
bytesReceivedL=208896 outputTime=4352 *threshold=204800*
  20210226 15:27:59.431 DEBUG  audio.decode - decode_resume_audio:598 
decode_resume_audio start_jiffies=0
  20210226 15:27:59.431 DEBUG  audio.decode - decode_resume_audio_handler:129 
decode_resume_audio_handler start_jiffies=0
  20210226 15:27:59.431 DEBUG  audio.decode - debug_fullness:108 fullness: 0 / 
1671168 | 0.00% / 47.37%
  20210226 15:27:59.431 DEBUG  audio.decode - decode_resume_audio_handler:142 
resume_audio decode state: 1 audio state 40
  20210226 15:27:59.521 DEBUG  audio.decode - Playback.lua:381 status TRACK 
STARTED (elapsed: 5)
  20210226 15:28:00.644 DEBUG  audio.decode - Playback.lua:451 0.1%/46.3%
  20210226 15:28:01.725 DEBUG  audio.decode - Playback.lua:451 0.1%/46.9%
  20210226 15:28:02.805 DEBUG  audio.decode - Playback.lua:451 0.0%/

Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-02-26 Thread ralphy


expectingtofly wrote: 
> Many thanks for providing this.
> I've tested it on the BBC Sounds AAC streams  320kbps @ 48000hz.  
> Everything is much more stable on this new version once its all
> underway.
> I still get buffer underruns when the stream starts up : 
Thank you for testing.

Sorry I didn't reply with how to install the binary.  Glad you worked it
out.  Thanks mrw.  And no you didn't miss how to install it, none were
provided.

At least it's encouraging that once playing, playback works well.

Unfortunately, I can't play the 320kbps @ 48000hz streams.  The closest
stream I've found is from Radio Paradise 320@44100, which unfortuately,
both the original and the updated jive binary plays fine.

Code:

http://radioparadise.com/m3u/aac-320.m3u



Does it play okay for you?

Is your test radio wireless or wired?

>From your log above, it appears that the radio can't handle getting the
amount of decoded aac audio to the output buffer fast enough at the
start.  So it pauses, buffers more aac data and then continues without
interruption.

Could you try increasing/setting the bufferThreshold in the bbc sounds
plugin?  I'm not sure if that would even make a difference based on how
the audio is streamed.

Another thing that might give some insite is increasing the
outputThreshold for aac on the server side.   


Code:

diff --git a/Slim/Player/Squeezebox.pm b/Slim/Player/Squeezebox.pm
  index fa2eb1669..78a999625 100644
  --- a/Slim/Player/Squeezebox.pm
  +++ b/Slim/Player/Squeezebox.pm
  @@ -710,7 +710,7 @@ sub stream_s {
  $pcmsamplerate   = '?';
  $pcmendian   = '?';
  $pcmchannels = '?';
  -   $outputThreshold = 0;
  +   $outputThreshold = 50;
  
  } elsif ($format eq 'dff' || $format eq 'dsf') {
  
  


I'll look at setuping my own 320@48K aac stream to see if I can work out
how best to handle it
.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] Power Script for Windows version of Squeezelite

2021-02-26 Thread ralphy


rlsx wrote: 
> Thanks, but sigh... 
> How is it supposed to work on a Linux device? A shell script? How is it
> structured for ON-action, and OFF-action?

Yes it's a shell script.  That must have execute permissions and you
need to provide the full path to the script in the -S option.

There's an 'example script'
(https://github.com/ralph-irving/squeezelite/blob/master/tools/gpiopower.sh)
in the squeezelite sources.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113988

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-02-25 Thread ralphy
squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/54.7%   
  Feb 25 08:26:01 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/57.3%   
  Feb 25 08:26:02 squeezeplay: INFO   audio.decode - Playback.lua:448 
99.9%/60.2%
  Feb 25 08:26:03 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/62.7%   
  Feb 25 08:26:04 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/65.3%   
  Feb 25 08:26:05 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/68.0%   
  Feb 25 08:26:07 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/70.3%   
  Feb 25 08:26:08 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/73.1%   
  Feb 25 08:26:09 squeezeplay: INFO   audio.decode - Playback.lua:448 
99.9%/75.4%
  Feb 25 08:26:10 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/78.1%   
  Feb 25 08:26:11 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/80.4%   
  Feb 25 08:26:12 squeezeplay: INFO   audio.decode - Playback.lua:448 
99.9%/83.5%  
  Feb 25 08:26:13 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/86.5% 
  Feb 25 08:26:14 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/88.4% 
  Feb 25 08:26:15 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/90.7% 
  Feb 25 08:26:16 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/93.1% 
  Feb 25 08:26:17 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/96.1% 
  Feb 25 08:26:18 squeezeplay: INFO   audio.decode - Playback.lua:448 
99.9%/98.4%
  Feb 25 08:26:19 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/98.5%   
  Feb 25 08:26:20 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/98.5%   
  Feb 25 08:26:21 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/98.4%   
  Feb 25 08:26:22 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/97.1% 
  Feb 25 08:26:23 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/97.7%  
  Feb 25 08:26:24 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/97.8%  
  Feb 25 08:26:25 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/97.8%   
  Feb 25 08:26:27 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/98.7%   
  Feb 25 08:26:28 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/98.6%  
  Feb 25 08:26:29 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/98.6%
  Feb 25 08:26:30 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/97.9%   
  Feb 25 08:26:31 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/97.5%
  Feb 25 08:26:32 squeezeplay: INFO   audio.decode - Playback.lua:448 
99.9%/97.8%   
  Feb 25 08:26:33 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/97.8%   
  Feb 25 08:26:34 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/97.4%
  Feb 25 08:26:35 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/98.2%   
  Feb 25 08:26:36 squeezeplay: INFO   audio.decode - Playback.lua:448 
100.0%/98.4%



Previously the decode and output buffers would hardly ever fill above
1-2%.

I'd be interested to know if the changes make a difference for others. 
It would be good to know if Tidal aac playback is better as well, but I
don't have an account.

I've uploaded a 'jive binary replacement'
(https://sourceforge.net/projects/lmsclients/files/squeezeos/baby-jive-aac-stutterfix-8.0.1r16835.tar.gz/download)
with the changes.
The binary also includes support for the new Mono Output Channel Mode
added to LMS 8.2, which for the radio is really only useful when using
the line out/headphone jack. I just needed to confirm that the downmix
changes didn't impact performance on the radio.

The tarfile also includes the patches applied to the binary as I've not
committed them yet.



Ralphy

*1*-Touch, *5*-Cla

Re: [SlimDevices: Plugins] Power Script for Windows version of Squeezelite

2021-02-25 Thread ralphy


rlsx wrote: 
> Is the -S option enabled for MacOS? 
> Would the script be just an excutable shell script?
> 
> Many thanks for your extensive work on this, a well as on Jivelite, etc.

Well, yes but no.  I noticed recently that the power script build option
was enabled for squeezelite on MacOS by mistake and removed it.

It doesn't work on MacOS either as the hooks are not in output_pa.c



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113988

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


Re: [SlimDevices: Plugins] GlobalPlayer (UK) Plugin - ClassicFM etc.?

2021-02-22 Thread ralphy


I kept the VM I used to build the SSL updates for windows.
If you decide to move forward with the project, I will try building an
AnyEvent 7.x perl package.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=114000

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


Re: [SlimDevices: Plugins] Power Script for Windows version of Squeezelite

2021-02-21 Thread ralphy


Currently, there are no calls in output_pa.c to run the power script, so
you can't just enabe the power script build option for windows.

I tried to add support for -S on windows in the past, however, the power
script would only ever trigger three times and never again after that.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113988

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


Re: [SlimDevices: Plugins] [Announce] Community Firmware for Squeezebox Radio/Touch/Controller and LMS 8

2021-02-14 Thread ralphy


mrw wrote: 
> I experience very similar to you on the SB radio. But a few other aac
> streams seem to be ok (i.e. Classic FM aac).
> 
> I've attached a sample log from the Radio, where we see a lot of "OUTPUT
> UNDERRUN" - these correspond to the glitches. I don't know why these
> should be happening.
> 
> I note that the aac decoder is now provided in a shared library. Is it
> too fanciful to think that that might add overhead to the processing of
> aac ? I have no idea.
> Very odd.

I'd been running the r16835 radio firmware for a week playing mostly AAC
streams and didn't experience any issues like this with the shared aac
library.

It might be related to increased memory usage, as the shared aac library
is about 450K larger than the equivalent static jive binary.

I'll build an aac static linked jive binary, replacement for the radio,
as a way to help determine if that is the cause.

Going forward, it would very helpful to have a group for users willing
to test new releases before making them available in the update
channel.
I'll see how that might be setup in the future. For now, I'd like to get
a "stable" release of the firmware for everyone and not just me.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113479

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


Re: [SlimDevices: Plugins] Squeezelite on rPi 3 suddenly not working

2021-02-09 Thread ralphy


>From the logs, you are using  a very old version of squeezelite v1.8
that is no longer supported, at least not by me.

Either get the dietpi team to upgrade to the 'current 1.9.8-1344'
(https://github.com/ralph-irving/squeezelite).

Or, you can try my
[https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/squeezelite-1.9.8.1344-armhf.tar.gz/download]
latest build[/url]



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113867

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


Re: [SlimDevices: Plugins] 1.fm?

2021-02-02 Thread ralphy


mrw wrote: 
> This is beyond my knowledge level. I see no more than you. I used to
> have an object dump (from -readelf-, I think) of the symbols, but I
> threw it away. A session with -ghidra- might reveal more if you really
> wanted to know, but the thought does not really fill me with enthusiasm,
> and it is, perhaps, of academic interest only.
> 
> I think you can be very pleased with the result.
I did my fair share of looking at disassembly code with objdump -d of
the official jive binary when I was building the decoder code.

Thanks. I am happy with the results and really don't think more
investigations are required.  The message is only printed at the log
warn level and above, so it's not displayed with the default info
level.

mrw wrote: 
> I guess the decoder element is just seeing a lot more of the errors than
> it would in the 'stock' firmware. Chasing that down seems to me to be a
> real labour of love. Given that all incoming stream data is somewhat
> protected by way of being delivered by TCP, and can reasonably be
> assumed to come from a competent server, I think that you may have done
> enough.
> 
> Unless another hiccup should arrive out of the blue  :)

Agreed.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113719

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


Re: [SlimDevices: Plugins] Squeezelite old version

2021-02-02 Thread ralphy

philippe_44 wrote: 
> The way I’m using them personally in my build, which is probably not
> perfectly accurate is
> 
> - armel builds refers to armv5 cores and no floating point unit, so
> everything including and below arm11x6 (Pi 1st gen)
> 
> - armhf includes a floating point unit and an instruction set at least
> v6, I would say normally v7. These are typically Cortex-A cores

I do the same for my builds.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113823

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


Re: [SlimDevices: Plugins] Squeezelite old version

2021-02-01 Thread ralphy


Try the 'latest armel build'
(https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/squeezelite-1.9.8.1344-armel.tar.gz/download).
It runs on armhf as well.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113823

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


Re: [SlimDevices: Plugins] 1.fm?

2021-01-31 Thread ralphy


mrw wrote: 
> Questions:
> 
> Why does your stock firmware behave differently to my stock firmware ?
> Why is your stock firmware trying to open an 'mp4' file ? The test file
> is not an 'mp4' file.
> 
> What are you seeing in place of my stock firmware log here ?
> > 
Code:

  >   > 
  > Jan 30 14:57:08 squeezeplay: DEBUG  audio.decode - decode_start:703 
decode_start
  > Jan 30 14:57:08 squeezeplay: INFO   audio.decode - decode_start_handler:279 
init decoder aac
  > ...
  > Jan 30 14:57:08 squeezeplay: DEBUG  audio.codec - src/decode_aac.c:473 
decode_aac_start(2)
  > 

> > 
> 
> 
> My tests are with LMS 8.01. Have there been changes in aac/mp4
> handling since then that might be influencing what the device has been
> told about the stream ?
> 
> It's disappointing. I thought I had an "easy" test file, but I suspect
> that LMS/other factor is getting in the way. Without that out of the
> way, it will be difficult to draw any conclusions. My goal was to
> easily deliver a 'duff' aac stream. It seems that that is a failure on
> your set up, for some reason.
> 
> *Edit:* I've just re-run the test on Logitech Media Server Version:
> 8.1.1 - 1610364019, the latest available.
> I get the same result as I did before. Which seems to rule out LMS as
> the source of the problem.
Because when I copied the classicfm.aac file to my test system I
stupidly changed the extension to m4a.  Sorry about that.

I'm running v8.2.0, git-91db8512b from yesterday on my test system.

I've rerun the test and can confirm that I get 37 sync errors but the
file plays...with a few "blips" in the audio.  I also get concealing
corrupted frames messages, which the stock firmware doesn't report or
appear to have similiar.

At least I can't find anything.

Code:

strings jive | grep -i conc
  lua_concat
  _Z22CConcealment_SetParamsP14CConcealParamsi
  _Z18CConcealment_ApplyP16CConcealmentInfoP22CAacDecoderChannelInfoih
  prvBasePlusReconCoefficients
  _Z18GetConcealmentInfoi
  _Z27CConcealment_SetAttenuationP14CConcealParamsPsS1_
  _Z27CConcealment_InitCommonDataP14CConcealParams
  _Z19FreeConcealmentInfoPP16CConcealmentInfo
  auReconCoefficentsHighRate_Dec
  chexReconCh
  _Z28CConcealment_InitChannelDataP16CConcealmentInfoP14CConcealParamsi
  concatenate
  CONCAT
  __concat
  %s:%d Not enough bytes. Couldn't get error concealment.
  %s:%d can't set conceal method (%x)
  



It's great to be able to confirm that the sync error code handles
works.

I've attached the full log file from the CF radio test.


+---+
|Filename: radio.txt|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=33196|
+---+


Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113719

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


Re: [SlimDevices: Plugins] 1.fm?

2021-01-26 Thread ralphy


mrw wrote: 
> I'm impressed that you were able to something with it.
> 
> So, perhaps appropriate if the problem is a "basically OK but
> occasionally glitched" incoming remote AAC stream, but not particularly
> appropriate if it is just fundamentally duff (or MP3...).
> 
> With the basic problem fixed, you have the freedom to do whatever you
> think may be most practicable/expedient/useful/time to move on/whatever
> you feel.

Turns out the sample.m4a file in the ffmpeg ticket has the audio at the
beginning of the file so can't be played native, so that file is no good
for testing.  When I optimized the file using mp4file or ffmpeg to move
the atoms to the beginning it plays fine as the process "fixes/hides"
the sync errors.  You have to have MPEG-4 leading audio disabled in LMS
file types as well for the test.

I did some digging into the sync vs bits error logging between the stock
and community firmware.  The API has changed for sync error handling
from the original proprietary fdk aac and the current android version
2.0.1 I'm using.  Both the AAC_DEC_TRANSPORT_SYNC_ERROR and
AAC_DEC_NOT_ENOUGH_BITS API errors are to be handled by reading more of
the stream.  In squeezeplay I tried checking for the SYNC error before
BITS but the api still returns the BITS error for the 1.fm stream.  I
suspect if it wasn't for the segfault we wouldn't have even noticed. 

I did discover that I used the wrong return code for the SYNC error
checking, which I've changed.  Now I need to find a file/stream that
triggers the error.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113719

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


Re: [SlimDevices: Plugins] 1.fm?

2021-01-25 Thread ralphy


mrw wrote: 
> I came across this -ffmpeg- ticket which suggests what correct handling
> should be: https://trac.ffmpeg.org/ticket/7331
> Perhaps that is already happening. Or perhaps the ticket is wrong. I
> have no knowledge.
> 
> 
> Which is true in this case, because you happen to have an MP3 stream. In
> general, though, you might just be responding to random/corrupted data.
> But, whatever, it is doing the right thing.
> 
> 
> Personally, I don't think I would be in too much of a hurry. It's always
> good to allow matters to settle, and reflect on things. It's really good
> that you were able to locate the source of the problem so quickly.

That's for the pointer.  I'm going to revisit the aac decoder in the
coming days as when I tried the test file in that ticket, the track
position progressed through the entire track but no audio.
At least the decoder doesn't crash with the out of bounds patch applied.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113719

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


Re: [SlimDevices: Plugins] 1.fm?

2021-01-24 Thread ralphy


mrw wrote: 
> I've attached some Radio logs that I was able to capture. They may or
> may not be helpful, but you might as well have them available.
> 
> As you will see, from the Community firmware the predominate messages
> are, in the main -DEBUG  audio.codec - decode_aac_callback_heaac:141 not
> enough bits-.
> The first log is not so clear, but I did not have full access before the
> Radio rebooted itself. We may just be seeing some 'last gasps'.
> 
> Of interest, I think, is the Standard firmware log. Here we see -DEBUG 
> audio.codec - src/decode_aac.c:124 sync error 4096 2148-.
> 
> That makes me think the the standard firmware might have a stream
> synchronization step prior to submitting frames to the decoder proper,
> i.e. scanning the incoming stream for something that looks like AAC. Is
> such a step taken in the Community firmware ? I could imagine that a
> pre-scanning loop that glides over obviously duff data might improve
> resilience where a somewhat corrupted stream is present. What does
> -faad- do in terms of attempting synchronization ?
> 
> I have no experience of this area.

Thanks for the logs.  They are similiar to what I'm seeing on both the
touch and radio.

I trap on AAC_DEC_TRANSPORT_SYNC_ERROR as well but the newer fdk-aac
decoder it's returning that error for this issue.  Perhaps it's trying
harder to decode the errant stream? but that's just a guess.

The reboot is caused by the watchdog after jive segfaults and exits from
an out-of bounds memory access bug I had in the aac decoder which I
'described earlier'
(https://forums.slimdevices.com/showthread.php?113719-1-fm=1005538=1#post1005538).

In squeezelite, the faad decoder logs this and stops as you'd expect.

Code:

[14:17:11.374585] faad_decode:400 error reading stream header
  [14:17:11.375532] decode_thread:100 decode error]



With the patch I posted earlier and is included in the '8.0.1r16826
firmware' (https://sourceforge.net/projects/lmsclients/files/squeezeos/)
the bad data is handled gracefully; radio/touch pops up an error
message, stops and LMS logs;


Code:

[21-01-23 13:04:44.2620] Slim::Player::Squeezebox2::statHandler (149) 
Error: 00:04:20:XX:XX:XX: Decoder does not support file format, code 0



I have not pushed r16826 to the community firmware repository yet as I'd
like to test it for a bit longer first.

The latest firmware builds also includes the About change we discussed
elsewhere.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113719

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


Re: [SlimDevices: Plugins] 1.fm?

2021-01-22 Thread ralphy


I found the problem with the FDK AAC decoder segfaulting in the
community firmware.

The aacDecoder_DecodeFrame API function multiplies the buffersize
provided in the parameters by the data size causing it to try accessing
beyond the allocated output buffer.

https://github.com/ralph-irving/squeezeplay/blob/master/src/fdk-aac-2.0.1/libAACdec/src/aacdecoder_lib.cpp#L1960

I also needed to force the AAC decode thread to stop when a decode error
is encountered.

This is the patch I'm currently testing on my linux system.


Code:

Index: src/audio/decode/decode_aac.c
  ===
  --- src/audio/decode/decode_aac.c (revision 1327)
  +++ src/audio/decode/decode_aac.c (working copy)
  @@ -135,7 +135,7 @@
return FALSE;
}
  
  - err = aacDecoder_DecodeFrame(self->heaacdec, (INT_PCM 
*)self->output_buffer, OUTPUT_BUFFER_SIZE, 0);
  + err = aacDecoder_DecodeFrame(self->heaacdec, (INT_PCM 
*)self->output_buffer, OUTPUT_BUFFER_SIZE / sizeof(INT_PCM), 0);
  
if (err == AAC_DEC_NOT_ENOUGH_BITS) {
LOG_DEBUG(log_audio_codec, "not enough bits");
  @@ -150,14 +150,14 @@
/* Do concealment of corrupted frames */
if (IS_DECODE_ERROR(err)) {
LOG_WARN(log_audio_codec, "concealing corrupted frames %x", 
err);
  - err = aacDecoder_DecodeFrame(self->heaacdec, (INT_PCM 
*)self->output_buffer, OUTPUT_BUFFER_SIZE, AACDEC_CONCEAL);
  + err = aacDecoder_DecodeFrame(self->heaacdec, (INT_PCM 
*)self->output_buffer, OUTPUT_BUFFER_SIZE / sizeof(INT_PCM), AACDEC_CONCEAL);
}
  
/* Give up decoded on any other error */
if (err != AAC_DEC_OK) {
  - LOG_DEBUG(log_audio_codec, "error %x", err);
  + LOG_DEBUG(log_audio_codec, "decode aac frame error %x", err);
  
  - current_decoder_state |= DECODE_STATE_ERROR;
  + current_decoder_state |= DECODE_STATE_ERROR | 
DECODE_STATE_NOT_SUPPORTED ;
return FALSE;
}
  



Considering I wrote the aac decoder 18 months ago and this is the first
reported issue is pretty good and it took a "bug" in lms to expose it. 
I would never had thought to test feeding mp3 data to the aac decoder.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113719

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


Re: [SlimDevices: Plugins] SqueezeLite on Windows pausing, interruption, dropout of audio every 5 minutes

2021-01-18 Thread ralphy


ralphy wrote: 
> 'squeezelite-1.9.8-1324-test4-win64.zip'
> (https://www.dropbox.com/s/zw96827qrilim58/squeezelite-1.9.8-1324-test4-win64.zip?dl=1)
> adds a short delay before both of the continue statements in
> slimproto.c.

As an additional test, I've also provided a 'win32 build of squeezelite
from 2 years ago'
(https://www.dropbox.com/s/w0ez3kr4lkfxwfj/squeezelite-1.8.7-1052-win32.zip?dl=1)
to see if the same issue happens.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113554

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


Re: [SlimDevices: Plugins] SqueezeLite on Windows pausing, interruption, dropout of audio every 5 minutes

2021-01-18 Thread ralphy


fpo wrote: 
> No luck yet.
> 
> Let me explain my reasoning: What I saw when I attached the Visual
> Studio Debugger to squeezelite and interruped it while in 100% cpu load
> was, that its from one thread and this thread sometimes had its priority
> elevated slightly, presumably when in kernel code. Such a situation
> could possibly derail other threads and trigger unexpected behavior.
> 100% cpu load is in essence an extreme stress test for the system and it
> fails obviously. We don't realy know whether the cpu load is cause or
> effect, but it seems to me of no use to find a solution in a stressed
> system we do not control 100%. The fault may well be in the Windows
> TCP/IP stack implementation. We would not know. So my priority would be
> to get rid of the cpu load, then to look further.
> 
> I assume the source of the cpu load is a tight loop in
> > 
Code:

  >   > static void slimproto_run() {
  > ...
  > while (running && !new_server) {
  > 
  > if ((ev = wait_readwake(ehandles, 1000)) != EVENT_TIMEOUT) {
  > 
  > }
  > 
  > }

> > 
> Inside the *if* section there are two *continue*s that could, when
> permanently triggered, make the loop tight. The stream thread is
> another thread presumably. It might be just perfect only to get
> derailed inside a system call. We don't know yet.
> 
> My proposal would be to find the source of the cpu load, slow the
> thread down a bit by inserting a short sleep(), insert some temporary
> logging and see what happens. 
> 
> Does it make sense to insert a debug log followed by a sleep(1)
> immediately before the two continues? You know the code better than me
> but it should not be too often one gets a EVENT_READ and then read
> nothing.

'squeezelite-1.9.8-1324-test4-win64.zip'
(https://www.dropbox.com/s/zw96827qrilim58/squeezelite-1.9.8-1324-test4-win64.zip?dl=1)
adds a short delay before both of the continue statements in
slimproto.c.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113554

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


Re: [SlimDevices: Plugins] Exclusive mode in Squeezelite Mac

2021-01-18 Thread ralphy


asiufy wrote: 
> Ah, got it. I've neglected to research what "Portaudio" was, and now I
> see... I meant squeezelite, btw, and I've been using -a :0.
> 
> I assume you have no plans of actually using MacOS' CoreAudio directly,
> instead of using the cross-platform Portaudio library? In that case,
> perhaps I should request Portaudio to support Exclusive/Direct mode...

No I won't likely implement direct coreaudio support in squeezelite.

You can always request the feature of the portaudio developers, but it
took them 3 years to apply a user provide patch to update the coreaudio
api to stop using the deprecated calls.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113691

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


Re: [SlimDevices: Plugins] Exclusive mode in Squeezelite Mac

2021-01-17 Thread ralphy


For squeeze*lite* on MacOS if you set -a :0 then coreaudio will pass the
stream to the audio device unmolested.

Last time I checked there was no exclusive mode available through
portaudio only pro mode which aims to avoid resampling if possible (0)
or playnice (1)

However, there's no mention of playnice vs pro in the help.  Do you mean
squeeze*play*?

-a :  Specify Portaudio params to open output device, l = target
latency in ms, r = allow OSX to resample (0|1)



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113691

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


Re: [SlimDevices: Plugins] SqueezeLite on Windows pausing, interruption, dropout of audio every 5 minutes

2021-01-15 Thread ralphy


fpo wrote: 
> Still dropouts although the timing has changed slightly. I see however
> no difference at the packet level with regard to the response of the
> client towards a KeepAlive probe from the host, i.e. still no [Keep
> Alive Ack] from the client at the stream socket. Can't see a fault in
> the patch either.
> 
> Strange... Why the host sends KeepAlive packets is a mystery. It
> shouldn't do that unless explicitly configured to do so. Nevertheless
> the client should be able cope with it.

I've implemented a change to the stream socket handling from the esp32
squeezelite project to see if it helps.

The stream thread now waits/sleeps until any previous polling operation
has completed before opening a new stream socket.

Please try 'squeezelite-1.9.8-1324-test3-win64.zip'
(https://www.dropbox.com/s/put1qx5j9flhajv/squeezelite-1.9.8-1324-test3-win64.zip?dl=1).



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113554

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


Re: [SlimDevices: Plugins] SqueezeLite on Windows pausing, interruption, dropout of audio every 5 minutes

2021-01-14 Thread ralphy


fpo wrote: 
> Unfortunately no change, dropouts still. The KeepAlive behavior seems
> unchanged. You say you have enabled KeepAlive on the *slimprotocol*
> socket. Is this the one with port 9000 or 3483. It is needed on port
> 9000.
> 
> Here is the traffic on port 9000 prior to the 100% cpu time state:
> 
> 056.2501063   HOST to CLIENT  2759TCP:[Continuation to
> #2754]Flags=...A, SrcPort=9000, DstPort=62970, PayloadLen=1460,
> Seq=1349354153 - 1349355613, Ack=3133506948, Win=229  {TCP:45, IPv4:1}
> 056.2501063   HOST to CLIENT  2760TCP:[Continuation to
> #2754]Flags=...AP..., SrcPort=9000, DstPort=62970, PayloadLen=730,
> Seq=1349355613 - 1349356343, Ack=3133506948, Win=229  {TCP:45, IPv4:1}
> 056.2501196   CLIENT to HOST  2761TCP:Flags=...A, 
> SrcPort=62970,
> DstPort=9000, PayloadLen=0, Seq=3133506948, Ack=1349356343,
> Win=1289  {TCP:45, IPv4:1}
> 056.6534090   HOST to CLIENT  2762TCP:Flags=...A...F, SrcPort=9000,
> DstPort=62970, PayloadLen=0, Seq=1349356343, Ack=3133506948,
> Win=229   {TCP:45, IPv4:1}
> 056.6534705   CLIENT to HOST  2763TCP:Flags=...A, 
> SrcPort=62970,
> DstPort=9000, PayloadLen=0, Seq=3133506948, Ack=1349356344,
> Win=1289  {TCP:45, IPv4:1}
> 140.4406135   CLIENT to HOST  4733TCP:[Dup Ack 
> #2763]Flags=...A,
> SrcPort=62970, DstPort=9000, PayloadLen=0, Seq=3133506948,
> Ack=1349356344, Win=1329  {TCP:45, IPv4:1}
> 140.4409142   HOST to CLIENT  4734TCP:Flags=.R.., SrcPort=9000,
> DstPort=62970, PayloadLen=0, Seq=1349356344, Ack=0, Win=0 {TCP:45,
> IPv4:1}
> 
> Host sends data: PayloadLen 1460 then 730 (streambuffer is full at this
> time seamingly)
> Client acknowledges the data up to seq 1349356343
> Host acks the ack and sends FIN with seq 1349356343
> Client acks with seq 1349356344 (note: +1)
> There is no traffic on port 9000 between time 56.653 and 140.44. There
> is traffic on port 3483 however (not shown)
> Client dup acks with seq 1349356344 again
> Host resets with seq 1349356344
> 
> After that there is 100% cpu time.

squeezelite-1.9.8-1324-test1-win64.zip had keepalive set on the
slimprotocol 3483 port.

'squeezelite-1.9.8-1324-test2-win64.zip'
(https://www.dropbox.com/s/8ljybktgtuqp37l/squeezelite-1.9.8-1324-test2-win64.zip?dl=01)
enables keepalive on the stream socket, which is not always port 9000
depending on the stream source and I removed the keepalive change from
test1.

The test zip files include a patch file with the code changes.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113554

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


Re: [SlimDevices: Plugins] SqueezeLite on Windows pausing, interruption, dropout of audio every 5 minutes

2021-01-14 Thread ralphy


fpo wrote: 
> The doc for WSAECONNABORTED 10053:
> 
Software caused connection abort. An established connection was
> aborted by the software in your host computer, possibly due to a data
> transmission time-out or protocol error.
> 
> mentions *protocol error* as a possible cause for the abort. Could it be
> that the client TCP implementation (squeezelite) aborts because of the
> Keep Alive issue?
> 
> In any case, it would be helpful to test with a squeezelite version that
> has KeepAlive enabled on the socket.

Thanks for continuing to help track down this problem.

I've built a 'win64 r1324-test1 build with keepalive enabled on the
slimprotocol socket'
(https://www.dropbox.com/s/tfqsic51owbwty5/squeezelite-1.9.8-1324-test1-win64.zip?dl=1)
to try.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113554

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


Re: [SlimDevices: Plugins] SqueezeLite on Windows pausing, interruption, dropout of audio every 5 minutes

2021-01-13 Thread ralphy


fpo wrote: 
> I'm also experiencing dropouts. While reproducible, the exact timing of
> the dropouts depend on circumstances like stream buffer size and mp3
> bitrate.
> When loging to a terminal with -d all=sdebug the dropouts do occur. When
> logging same to a file with -f  however, the dropouts are gone.
> When they occur, one thread in squeezelite starts using nearly 100% of
> one cpu core, above 95% of that in kernel mode. Following the onset of
> 100% cpu usage the stream buffer runs empty and then the dropout occurs.
> To see this I had to run squeezelite from tailored program, redirecting
> the error stream, logging to memory and writing it all to a file after
> the tests so as not to alter squeezelite's internal timing. I tested
> with squeezelite v1.9.8-1307 (the test versions like 1318-test3 seem to
> be gone).
> 
> To me, what I found, points to a possibly spurious race condition, which
> may be hard to reproduce on a specific machine. E.g. I can avoid
> triggering the dropouts when using a big stream buffer like -b 16384. It
> may very well be, that error 0x2745 is a *consequence* of a race
> condition as opposed to a *cause*.
> I could do some more testing if you would like to give me some pointers
> where to look further.
Thank you for taking the time to look into this.

Yes, I did remove the test versions and have adding new r1323 32/64
windows binaries.

I don't use windows for much of anything and certainly not for
development, so I'm not sure what to suggest at this point.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=113554

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


  1   2   3   4   5   6   >