Re: [SlimDevices: Plugins] Announce: Denon AVP Control Plugin

2021-12-14 Thread SamY


MarSOnEarth wrote: 
> >   >   > 
  - AVR(s):  Denon 1300X
  - LMS Platform:  RPi 4B+
  - OS:  HiFiBerry Pre+ w/HiFiBerry OS
  - Type: squeezelite
  - Firmware: v1.9.1-1139
  - Client(s) in use:  MaterialSkin app on Android
  - Number of players using the plugin: 1
  > > > 

Wait a minute. I'm confused. I thought you were running LMS on Windows.
What am I missing?



Sam

SamY's Profile: http://forums.slimdevices.com/member.php?userid=63495
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

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


Re: [SlimDevices: Plugins] Announce: Denon AVP Control Plugin

2021-12-14 Thread SamY


MarSOnEarth wrote: 
> Hi Sam,
> 
> Attached is the server log and the command sequence that created it.
> Sorry it took a while. It's a busy time around here. And yes, in view of
> the results, please revert to the last good version (4.3.1). Thanks, and
> good luck.

I guess you missed my last couple of posts, Mars. I was able to
re-create the problem on my Windows netbook and uploaded a fix, along
with instructions on how to apply it over an existing v4.3.2 install.
Let me know if you have any questions. The next release of the plugin
will contain the fix in source. Thanks for your help.



Sam

SamY's Profile: http://forums.slimdevices.com/member.php?userid=63495
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

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


Re: [SlimDevices: Plugins] Announce: Denon AVP Control Plugin

2021-12-14 Thread MarSOnEarth


MarSOnEarth wrote: 
> Hi Sam,
> And yes, in view of the results, please revert to the last good version
> (4.3.1). Thanks, and good luck.
I didn't read all that got posted in the meantime before posting the
test results, and now I see you're on top of it. It was a nice idea ;-)



MarSOnEarth's Profile: http://forums.slimdevices.com/member.php?userid=69826
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

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


Re: [SlimDevices: Plugins] Announce: Denon AVP Control Plugin

2021-12-14 Thread MarSOnEarth


- AVR(s):  Denon 1300X
- LMS Platform:  RPi 4B+
- OS:  HiFiBerry Pre+ w/HiFiBerry OS
- Type: squeezelite
- Firmware: v1.9.1-1139
- Client(s) in use:  MaterialSkin app on Android
- Number of players using the plugin: 1



MarSOnEarth's Profile: http://forums.slimdevices.com/member.php?userid=69826
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

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


Re: [SlimDevices: Plugins] Announce: Denon AVP Control Plugin

2021-12-14 Thread MarSOnEarth


SamY wrote: 
> Okay. I see where the problem is happening and it seems to be specific
> to Windows, which is why it didn't occur during my testing. The plugin
> is basically going into a loop at a certain point. The place where it
> occurs is in a non-critical housekeeping routine that was introduced in
> this release and that can be eliminated completely if needed. If you're
> willing, however, I'd like you to test with a syntax change that MIGHT
> take care of the problem. If it still occurs, then I will disable the
> subroutine for the time being until I can do further testing on a
> Windows platform. In either case, a new release will need to be created.
> If you could run a test with the attached replacement module, I would be
> grateful. You can just copy it over the existing module in the plugin
> directory since you will not need the old one again. If the problem
> still happens, let me know and I will send another copy with the problem
> subroutine disabled. Thanks for your help.  EDIT: You will need to
> restart LMS after replacing the module.
> 
> UPDATE: I have been able to recreate the problem running LMS on Windows
> 10. It seems to be a bug in Windows that I cannot easily circumvent.
> Therefore, I have disabled the offending subroutine and will upload a
> new version of the associated module for use with Windows until the next
> release of the plugin.  No action is necessary at this time for those
> running LMS on non-Windows machines.  See my latest post for
> instructions on installing the new Windows module.

Hi Sam,

Attached is the server log and the command sequence that created it.
Sorry it took a while. It's a busy time around here. And yes, in view of
the results, please revert to the last good version (4.3.1). Thanks, and
good luck.


+---+
|Filename: 211214 - server log (Denon).zip  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=36469|
+---+


MarSOnEarth's Profile: http://forums.slimdevices.com/member.php?userid=69826
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

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


Re: [SlimDevices: Plugins] Announce: Denon AVP Control Plugin

2021-12-14 Thread SamY


SamY wrote: 
> As per the update to my previous post regarding this issue, I have
> isolated the problem to a bit of non-standard behavior affecting *LMS
> running on Windows only*.

An update on this. I knew the situation felt familiar and, sure enough,
it's the same problem I ran into when porting my distributed TCP
client/server apps from Unix to Windows some 25 years ago. Initial
coding and testing was done on Unix platforms and everything ran
smoothly. However, the same C code, compiled under Visual C++ on
Windows, would result in all sorts of strange problems on the server
side. I finally tracked it down to the fact that there was no
straightforward way to implement non-blocking socket communication in
Windows. It's a simple matter of setting a flag in the socket object on
Unix. However, even though the flag exists in Windows and can be set, it
has no effect.  Apparently, even 25 years later, the only real way to do
this in Windows is to poll the socket for input before issuing a read().
Otherwise, the entire server will be blocked until input is available.
What I can't believe is that Microsoft still hasn't fixed this, given
all the time they've had to do it. The bottom line is that, since the
plugin subroutine that makes use of the "offending" code is
non-essential and was just added for the sake of efficiency, I am
removing it in the next release for both Windows and Unix. In the
meantime, Windows users should replace the installed copy of
DenonAvpComms.pm in the plugin directory with the one attached to my
previous post. No action is required for those running LMS on a
non-Windows platform.



Sam

SamY's Profile: http://forums.slimdevices.com/member.php?userid=63495
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

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


Re: [SlimDevices: Plugins] iPeng support thread

2021-12-14 Thread mrgit


pippin wrote: 
> As @ftlight said: which phone do you use?
> Do you have any accessibility settings enabled?
> 
> Can you try to just double-tap the bottom area above the iOS bar or the
> player name? Do you have the same problem once you bring down the page a
> second time?

It's an iphone xr

In fact, after another reboot (the first since the IOS 15 upgrade I
think) it now looks much more like @ftlight's screenshot, and it works
fine again.

I was, however, totally stuck on that screen and couldn't get away from
it (within iPeng) no matter where I clicked / swiped etc.,)

I'm glad it was temporary; perhaps it was just a glitch as part of the
upgrade or something. 

Sorry for the noise, but thanks for the replies. It's a great app btw :)



mrgit's Profile: http://forums.slimdevices.com/member.php?userid=72365
View this thread: http://forums.slimdevices.com/showthread.php?t=51929

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


Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)

2021-12-14 Thread AndyTwizzle


Not sure if this is the appropriate thread to request changes to Dynamic
Playlists. If not, apologies - and can someone advise me on where/how to
make a change request please?

In Logitech Media Server's web interface (and also the Squeeze Ctrl
Android app), the list of my Static Playlists and Favourites appears in
a jumbled, seemingly random order - making it hard to quickly locate the
one I'm after.  I think the other playlist options
(Artists/Songs/Albums, etc.) also don't appear in alphabetical order. 
I've included a couple of screenshots to illustrate.

Can I request that in the next plugin update, this is changed to
alphabetical please?

Thanks

Andy

36461 36462


+---+
|Filename: Dynamic Playlists - Favourites 2021-12-14 170120.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=36462|
+---+


- Synology D218+ running LMS 8.1.1 in Docker container
- 1 x Squeezebox Touch, 2 x Squeezebox Radios, 1 x Squeezebox
  Receiver, Squeeze Player & Squeeze Ctrl apps on Galaxy Tab S5e &
  Galaxy A40
- Raspberry Pi 4B 8GB (with 7" Touchscreen in case & Flirc USB IR
  dongle) & Pi 4B 8GB in Flirc case, both running piCorePlayer 8.0.0 &
  LMS 8.1.1, connecting over Wi-fi to DS218+, or LMS library copy on 2TB
  USB hard drive plugged into Pi when no Wi-fi available
- LMS library of ALAC, ACC/M4A and MP3 files

AndyTwizzle's Profile: http://forums.slimdevices.com/member.php?userid=53445
View this thread: http://forums.slimdevices.com/showthread.php?t=115073

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


Re: [SlimDevices: Plugins] Announce: CDplayer plugin

2021-12-14 Thread boorg


Hi,

I didn't find any information of how to run CDplayer plugin on official
docker for LMS. Therefore I figured this out myself. Here is what worked
for me if anyone is interested (e.g. future me ;) ). This is for docker
run on Linux host. For other OSes some parts may be different.

First check out the permissions of CDROM device:


Code:

> /usr/bin/ls -l /dev/cdrom
  lrwxrwxrwx 1 root root 3 12-14 10:31 /dev/cdrom -> sr0
  > /usr/bin/ls -l /dev/sr0
  brw-rw 1 root optical 11, 0 12-14 10:31 /dev/sr0



So anyone in 
Code:

optical

 group can read CD. To setup docker we need numerical ID of the group
rather than name, so

Code:

> getent group optical
  optical:x:990:
  



We see It is 990.

Let's assume we want to run LMS as -lms- user, which is already present
on host.
Add -lms- user to -optical- group:

Code:

> usermod -aG optical lms



Now put the following script in -config- folder of LMS, named
-custom-init.sh-:


Code:


  cd_group_id=990
  cd_group_name=optical
  lms_user=squeezeboxserver
  
  # Prepare for CDplayer
  
  if ! command -v cdda2wav >/dev/null 2>&1; then
  echo 'Installing icedax (for cdda2wav)'
  apt-get update -qq
  apt-get install --no-install-recommends -qy icedax
  fi
  
  if ! getent group $cd_group_id >/dev/null 2>&1; then
  echo "Adding $cd_group_name($cd_group_id) group"
  groupadd -g $cd_group_id $cd_group_name
  fi
  
  if ! getent group $cd_group_id | grep -q "\b$lms_user\b"; then
  echo "Adding $lms_user user to $cd_group_name group"
  usermod -aG $cd_group_id $lms_user
  fi
  



Change 
Code:

cd_group_id

 to your group ID. 
Code:

cd_group_name

 must not clash with groups already existing in container but otherwise
is irrelevant. 
Code:

lms_user

 is the name of user that runs LMS inside container, so must be as it
is.

The script is run *inside container* after container start by sh. It
will install -cdda2wav- and setup permissions so the user that runs LMS
can access host's CDROM device.

The last step is to update docker-compose.yml to add device mapping and
set the user inside the container to have the same ID as our host's
-lms- user:


Code:

> id lms
  uid=972(lms) gid=972(lms) groups=972(lms),990(optical)
  



UID is 972.

So add mapping and set user in relevant parts of docker-compose.yml:


Code:


  services:
  lms:
  device:
  - /dev/cdrom:/dev/cdrom:r
  environment:
  - PUID=972
  




boorg's Profile: http://forums.slimdevices.com/member.php?userid=72375
View this thread: http://forums.slimdevices.com/showthread.php?t=47288

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


Re: [SlimDevices: Plugins] ANNOUNCE: iHeartRadio to play US live iHeart radio stations

2021-12-14 Thread Paul Webster


I have just modified my stream matching regex so that the hls streams do
not trigger my plugin - so this should mean that you can play the MP3
stream and see what RNP does with it and then you can switch to HLS to
see what PlayHLS does with the different data.

As before, to try it out ... download the attached ZIP file ... unzip it
to get the .json file ... copy that .json file to the plugin stationdata
directory.


+---+
|Filename: stationdata-z100whtzfm.zip   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=36460|
+---+


Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=108466

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


Re: [SlimDevices: Plugins] [Announce] LMS Announce - play announcements / notifications

2021-12-14 Thread Roland0


martingr wrote: 
> 
> > 
Code:

  >   > 
http://192.168.1.130:9000/plugins/LMSannounce/js.html?cmd=announceTTS&ttsprofile=gtts-de&text=Hallo&playerid=00:04:20:22:fa:31

> > 
> 
> received the following error:
> > 
Code:

  >   > {"error":true,"msg":"error 32512 while executing TTS"}

> > 
> 
I assume you've changed something, since this is now a different error:

LMSannounce FAQ wrote: 
> 
> WHEN USING TTS, THERE IS ONLY SILENCE / THE CALL RETURNS \"ERROR N WHILE
> EXECUTING TTS\". WHAT NOW?
> First, check from the shell if your TTS engine actually works (using
> the account LMS runs as, e.g. squeezeboxserver). After that, switch
> logging to debug for the plugin (LMS Web
> interface/Settings/Advanced/Logging/plugin.lmsannounce). Search the
> server log for lines like announceTTS: command: /usr/bin/mimic -o
> /tmp/annTTS.wav -voice awb -t "message" and check if the command is
> correct and works from a regular shell (delete /tmp/annTTS.wav when
> done).
> 
(in your case, the TTS engine is "/home/tc/gTTS.sh", so run that -as the
LMS user- from the shell. Check for permission issues first.)



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Text
Interface | Playlist Editor / Generator | Music Classification | Similar
Music | Announce | EventTrigger | Ambient Noise Mixer | DB Optimizer |
Image Enhancer | Chiptunes | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=109096

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


Re: [SlimDevices: Plugins] Struggling to get spotty working following a house move :)

2021-12-14 Thread sparkle999

mherger wrote: 
> Spotty certainly is outdated, as is LMS (if your footer is up to date).
> But if it can't reach the internet, then this doesn't really matter :-).

Ha yes true enough!  It was helpful to have the nudge (or shove) in the
right direction. Rather embarrassingly, it turns out I had plugged the
Ethernet cable from the switch into the LAN only port on the NAS. There
is another port for WAN/LAN. So, everything else worked just fine until
“outside” was needed.  Switching over has cured the problem and I can
ping outside from the NAS box successfully.

This enabled me to fire up LMS and sure enough an update to spotty was
available. Now on v4.6.2.
LMS is indeed on 7.9.1, and it looks like it may be the end of the road
for any further upgrades, unless someone is out there who has picked up
the mantle for overhauling the install package for Thecus boxes. 

Happily, it all seems to be working ok (I was able to authorise the
instance and get Spotify to stream through my SB Touch), which is great
news.



N5550/SB Server 7.9.1 - 1503129892 > SBT > Anthem MRX720 > PMC OB1i

sparkle999's Profile: http://forums.slimdevices.com/member.php?userid=9283
View this thread: http://forums.slimdevices.com/showthread.php?t=115570

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


Re: [SlimDevices: Plugins] Announce : BBC Sounds Plugin

2021-12-14 Thread expectingtofly


andrewhunterjohnston wrote: 
> I am trying to use BBC Sounds but don't see it anywhere in the 3rd party
> plug ins!
> Where can I find it?

It should be in the 3rd party plugin lists.  It requires LMS 7.9 as a
minimum.  What is your version of LMS?



Stuart McLean   

EXPECTINGTOFLY PLUGINS :

- *BBC Sounds* : 
  https://github.com/expectingtofly/LMS_BBC_Sounds_Plugin 
- *Virgin Radio (UK)* : 
  https://github.com/expectingtofly/LMS_Virgin_Radio_Plugin 
- *Times Radio* : 
  https://github.com/expectingtofly/LMS_TIMES_RADIO_PLUGIN 
- *Global Player (UK)* : 
  https://github.com/expectingtofly/LMS_GlobalPlayer_Plugin 
  
For BBC Sounds help see the 'BBC Sounds Wiki'
(https://github.com/expectingtofly/LMS_BBC_Sounds_Plugin/wiki).

expectingtofly's Profile: http://forums.slimdevices.com/member.php?userid=63263
View this thread: http://forums.slimdevices.com/showthread.php?t=113045

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2021-12-14 Thread IanHaynes


cpd73 wrote: 
> Not in queue, but when browsing an album's track listing.

Thanks, I thought I wasn't imagining it.



IAN

Library: Netgear NAS Duo - Server: RPi3 / PiCorePlayer with LMS 8.0 -
Main System: RPi2 / iQAudio DAC+ / PiCorePlayer
Second System: RPiZero / iQAudio DAC Zero / PiCorePlayer - PC:
Squeezelite-X

IanHaynes's Profile: http://forums.slimdevices.com/member.php?userid=68595
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce : BBC Sounds Plugin

2021-12-14 Thread andrewhunterjohnston


I am trying to use BBC Sounds but don't see it anywhere in the 3rd party
plug ins!
Where can I find it?



andrewhunterjohnston's Profile: 
http://forums.slimdevices.com/member.php?userid=34807
View this thread: http://forums.slimdevices.com/showthread.php?t=113045

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


Re: [SlimDevices: Plugins] Max2Play Webinterface for Mediaclients (Audioplayer, Squeezeserver, Airplay, XBMC)

2021-12-14 Thread frankd


Fahzz wrote: 
> Hi- I'm back.
> 
> Bought an Allo Boss 2 Player. Running LMS 8.2 on Windows 11. works fine.
> 
> However I'm having a problem with Samba. I can see the usb share file on
> my mapped Z Drive, but not the media folders. I want to be able to add
> albums to the media files that LMS uses but I cannot.
> Here's what I typed in for Samba share. I saved it and saved the
> password:
> 
> Name Path Comment Writeable   Create Mode 
> usbshare  /media/usb Max2Play  yes0775
> 
> File explorer gives me Max2Play as Z Drive then usb share them new
> folder (empty).
> LMS is pointed at /mnt/extdrive/Squeeze Box Library.
> 
> How do I get to that folder on the Samba share? Thanks.

I think using spaces for drives is not a good idea if you want to share
via Samba and other methods.
Create a folder on your external drive "squeezebox"
then point LMS to this folder, I am not sure if this is the right one
(/mnt/extdrive/squeezebox), you need to find out yourself what the right
absolute path is. 
Then point the Samba server to the exactly same path, restart and you
should be done...
See below for an example, if it is not accessible via internet, you can
use 0777 to ensure that there are write rights from every participating
clients...


Name   Path Comment Writeable   Create Mode 
usbshare  /mnt/extdrive/squeezebox Max2Play  yes
0777



frankd's Profile: http://forums.slimdevices.com/member.php?userid=52885
View this thread: http://forums.slimdevices.com/showthread.php?t=101856

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


Re: [SlimDevices: Plugins] Success: MusicIP and Spicefly Sugarcube running on Raspberry Pi

2021-12-14 Thread slartibartfast


If anyone updates a Bullseye installation, note that the lib6c armhf
version is changed so you need to reinstall the i386 version.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=106958

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


[SlimDevices: Plugins] DSD128 and above files not playing

2021-12-14 Thread RobinpCP


This is my system setup.

System:  RPi 3B+ running Libreelec (Kodi v.18.9) and squeezelite.  
LMS: on Synology DS220+
DAC: Hifiberry DAC2 Pro capable of 192kHz/24bit

Current setup can play only DSD64 files, but not DSD128 files.  Error
messages show "[17:21:21.799898] alsa_open:530 unable to set hw params:
Invalid argument"

However, DSD128 files can be played using Kodi's music player.  Also, if
I use "squeezelite -D" then very faint sound can be heard without error
messages.

Any idea?  Please help.



RobinpCP's Profile: http://forums.slimdevices.com/member.php?userid=72166
View this thread: http://forums.slimdevices.com/showthread.php?t=115572

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