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

2022-01-16 Thread martingr
martingr wrote: > Hi Roland, you're right - I've removed the extra parameters (included in > the gTTS.sh script): > > > Code: > > #!/bin/bash > # MG 2021-12-12 > # based on

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

2021-12-25 Thread martingr
Roland0 wrote: > You seem to have tested this command: > > Code: > > /home/tc/gTTS.sh -o /tmp/annTTS.wav -t "Test" > > > > and not the one actually used according to the log you posted: > > Code: > > /home/tc/gTTS.sh -o

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

2021-12-19 Thread Roland0
martingr wrote: > > > > Code: > > > tc@pi-LMS:~$ sh /home/tc/gTTS.sh -o /tmp/annTTS.wav -t "Test" > > > > > > Code: > > > [21-12-19 18:45:08.3569] Plugins::LMSannounce::Plugin::announceTTS (325) announceTTS:

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

2021-12-19 Thread martingr
martingr wrote: > Hi Roland, I did only two things, also did recognize the different error > message (I thought it is because of switching on debugging maybe) > 1) I saw a lot of Spotty plugin error messages in the log, but anyway > I'm not using it - so I've uninstalled > 2) Switched on

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

2021-12-15 Thread martingr
Roland0 wrote: > I assume you've changed something, since this is now a different error: > > > (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.) Hi Roland, I did only two things, also did recognize the

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=gtts-de=Hallo=00:04:20:22:fa:31 > > > > received the following error: > > Code: > > {"error":true,"msg":"error 32512

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

2021-12-13 Thread martingr
Roland0 wrote: > Have you restarted LMS with debug logging ? You should see: > > Code: > > [21-12-11 04:16:38.0798] Plugins::LMSannounce::Plugin::initPlugin (116) LMSannounce init start > [21-12-11 04:16:38.0808] Plugins::LMSannounce::Plugin::initPlugin (137)

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

2021-12-13 Thread Roland0
martingr wrote: > I've set logging to "Debug" and found the following log entries after > calling TTS: > > Have you restarted LMS with debug logging ? You should see: Code: [21-12-11 04:16:38.0798] Plugins::LMSannounce::Plugin::initPlugin (116) LMSannounce init

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

2021-12-13 Thread martingr
Roland0 wrote: > switch logging to debug for the plugin (LMS Web > interface/Settings/Advanced/Logging/plugin.lmsannounce). Search the > server log for lines like > - "LMSannounce: using /usr/local/etc/ > - "LMSannounce: parsed la-ttsprofiles.json' > - "announceTTS called: ttspreset= > -

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

2021-12-13 Thread Roland0
martingr wrote: > > I've created a custom tts profile: > unfortunately receiving the following error whe calling TTS: > > Code: > > http://192.168.1.130:9000/plugins/LMSannounce/js.html?cmd=announceTTS=gtts-de=Hallo=00:04:20:22:fa:31 > > > >

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

2021-12-08 Thread martingr
Roland0 wrote: > That's going to fail for a lot of cases (e.g. streaming) > > > Simplest way would be using ssh. > Here's a script to use in a TTS profile: > > Code: > > > #!/bin/bash > > while getopts "o:t:" opt; do > case $opt in > o) >

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

2021-12-08 Thread Roland0
martingr wrote: > > ad Dynamic PLaylist: > OK, as an idea: one workoround might be to add the announcement mp3 to > the playlist (play as next title) and go to the next title (which is the > announcement itself). The playlist will continue then after the > announcement with the next Diynamic

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

2021-12-08 Thread martingr
Roland0 wrote: > The plugin uses LMS' built-in methods to save/restore the playlist, so > there isn't an obvious solution except writing some custom logic to > detect that DynamicPlaylists is active, somehow save it's state, > restore state and re-activate it afterwards, which seems excessive.

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

2021-12-06 Thread Roland0
martingr wrote: > > 1) I‘m using DynamicPlaylists 3.2.7- after the announcements the > playlist is continuing as expected, but like/as static playlist > (DynamicPlaylists stops)- is there a way to continue with the dynamic > playlist? > The plugin uses LMS' built-in methods to save/restore the

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

2021-12-05 Thread martingr
Hi Roland, Today I‘ve installed the plugin for the first time on my piCoreplayer LMS - 8.2.0, works as expected for mp3 announcements- great! Two questions: 1) I‘m using DynamicPlaylists 3.2.7- after the announcements the playlist is continuing as expected, but like/as static playlist

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

2021-10-16 Thread Roland0
Paul Webster wrote: > > Instead of issuing the resume why not insert the "request recognized" > sound as the first item in the playlist and shuffle everything else down > by one ... and then issue the resume? I still don't understand what the playlist has to do with anything. See post #86 for

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

2021-10-16 Thread Paul Webster
Maybe I was thinking incorrectly ... so re-reading ... > "It works great, for the most part. However, there is one issue. If I do > something like "resume living room music", rhasspy will detect that and > try to continue playback on the relevant player. However, it will also > send a "request

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

2021-10-16 Thread Roland0
Paul Webster wrote: > Could you queue a playlist containing just the 2 announcements and then > put the original playlist back when the 2nd finishes? There is a "announcePlaylist" API call, but I don't understand how this relates to this issue. Queue the playlist where? Which "2 announcements"

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

2021-10-16 Thread Paul Webster
Could you queue a playlist containing just the 2 announcements and then put the original playlist back when the 2nd finishes? Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc),

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

2021-10-15 Thread Roland0
mots wrote: > Yes, this is the condition I was thinking of, too. I will take the > steps you suggested to verify that is the case, though. If that is the > case, how would we solve it? This is where I thought a queue might come > in handy - listen to requests that came in while the

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

2021-10-13 Thread mots
Roland0 wrote: > > I suspect the race condition is > - rhasspy sends "announce" command > - plugin saves player state (paused) and returns > - rhasspy sends "play" command > - plugin finished announcement and restores player state (paused) Yes, this is the condition I

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

2021-10-13 Thread Roland0
mots wrote: > > If I do something like "resume living room music", rhasspy will detect > that and try to continue playback on the relevant player. However, it > will also send a "request recognized" sound to the squeezebox using > aforementioned rhasspy plugin that uses this LMS plugin. > This

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

2021-10-12 Thread mots
Hi there! I'm using this plugin as part of my home automation setup. I wrote a 'rhasspy' (https://rhasspy.readthedocs.io) sound output plugin that uses this plugin to make my local voice assistant respond to me on my squeezebox devices (I might release this publicly once I clean it up a bit),

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

2021-09-02 Thread KVerb
Roland0 wrote: > LMS is single-threaded, so any kind of blocking in a plugin should be > avoided. I think I already found that out the hard way :D My current solution will work fine for my usecase, people can push my doorbell as many times as they like while my HA controller is playing a TTS

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

2021-09-02 Thread Roland0
KVerb wrote: > I tried that but I was still able to leave the SBs hanging at high > volume and/or without restarting their playlist after multiple > refreshes. It seems handleJSONP() still gets called on every http GET > and interrupts playlistStoppedCallback() before it can reset the SBs to >

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

2021-08-31 Thread KVerb
Roland0 wrote: > You'd have to introduce a global variable to be used for locking (e.g. > $Plugins::LMSannounce::Plugin::globalProcessingLock). Check and set in > handleJSONP(), unset in playlistStoppedCallback() and anywhere the > plugin may stop processing due to error conditions (probably

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

2021-08-28 Thread mamema
ah stupid me. Thanks mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662 View this thread: http://forums.slimdevices.com/showthread.php?t=109096 ___ plugins

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

2021-08-28 Thread mamema
[21-08-28 10:04:57.4406] Plugins::LMSannounce::Plugin::handleJSONP (217) player specified (00%3A06%3A78%3A22%3A1b%3A46) not found, falling back to 7c:9e:bd:28:de:10 something wronh with my http annotations? no mac is discovered as existent.

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

2021-08-28 Thread Roland0
mamema wrote: > [21-08-28 10:04:57.4406] Plugins::LMSannounce::Plugin::handleJSONP (217) > player specified (00%3A06%3A78%3A22%3A1b%3A46) not found, falling back > to 7c:9e:bd:28:de:10 > > something wrong with my http annotations? no mac is discovered as > existent. > > so i've tried

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

2021-08-28 Thread karlek
You must not encode the colons when using curl. The percent sign would then be encoded either, as Roland0 wrote above. karlek's Profile: http://forums.slimdevices.com/member.php?userid=64321 View this thread:

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

2021-08-28 Thread Roland0
mamema wrote: > Not working (yet) > > i've created a playlist named SWR3, have this mac address: > 14:18:77:66:28:84 of the player which would be > 14%3A18%3A77%3A66%3A28%3A84 and the curl string: > curl -G 'http://ip:9000/plugins/LMSannounce/js.html' --data-urlencode > "cmd=announcePlaylist"

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

2021-08-28 Thread mamema
karlek wrote: > Assuming the playlist is "SWR3": > From within a (Linux) terminal > > Code: > > curl -G 'http://ip.of.your.lms:9000/plugins/LMSannounce/js.html' --data-urlencode "cmd=announcePlaylist" --data-urlencode "playerid=ma:ca:dd:re:ss:xx" --data-urlencode

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

2021-08-28 Thread Roland0
trollmar wrote: > > I installed the plugin and compiled mimic. > The wav test file works. > > but when i do > > Code: > > curl -G 'hxxp://myip:9000/plugins/LMSannounce/js.html' --data-urlencode "cmd=announceTTS" --data-urlencode "ttsprofile=mimic-ap"

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

2021-08-28 Thread Roland0
mamema wrote: > can tell me how this would be looking with my proposed config link? > How i will switch back would then be another issue which i perhaps could > fix without LMS announce You could try using LMS Event Trigger (haven't tested this myself) - create a playlist containing the radio

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

2021-08-27 Thread karlek
Assuming the playlist is "SWR3": >From within a (Linux) terminal Code: curl -G 'http://ip.of.your.lms:9000/plugins/LMSannounce/js.html' --data-urlencode "cmd=announcePlaylist" --data-urlencode "playerid=ma:ca:dd:re:ss:xx" --data-urlencode "playlist=SWR3"

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

2021-08-27 Thread trollmar
Hi i guess i need a little help. LMS 8.3 in Ubuntu Server 20.04 I installed the plugin and compiled mimic. The wav test file works. but when i do Code: curl -G 'hxxp://myip:9000/plugins/LMSannounce/js.html' --data-urlencode "cmd=announceTTS" --data-urlencode

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

2021-08-27 Thread mamema
can tell me how this would be looking with my proposed config link? How i will switch back would then be another issue which i perhaps could fix without LMS announce mamema's Profile:

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

2021-08-27 Thread karlek
The Radio stream would work, if you put it in a playlist. But LMSannounce would only restore the previous playlist after the announced one has finished. And a radio stream doesn’t end… karlek's Profile:

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

2021-08-27 Thread mamema
karlek wrote: > Sorry, I misunderstood your intention. > > I don’t think, LMSannounce is appropriate to announce a radio stream and > return afterwards to the former playlist. Yet. oh, sad, is it the return after 5 min whats not working or is it the radio stream at all?

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

2021-08-26 Thread karlek
Sorry, I misunderstood your intention. I don’t think, LMSannounce is appropriate to announce a radio stream and return afterwards to the former playlist. Yet. karlek's Profile:

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

2021-08-26 Thread mamema
karlek wrote: > Yes. :) > In the first post there is a link to further information and features. Huh? I was asking this question because i didn't find a clear howto regarding radio stations in that link. Can you give me a head start please?

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

2021-08-26 Thread karlek
Yes. :) In the first post there is a link to further information and features. karlek's Profile: http://forums.slimdevices.com/member.php?userid=64321 View this thread:

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

2021-08-26 Thread mamema
is it with this plugin possible to start a news radio station and after the announcmnent switch back to the then running playlist? mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662 View this thread:

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

2021-08-25 Thread Roland0
KVerb wrote: > Thanks for the reply. For my use-case I'd prefer to ignore the request > over leaving the SBs to play music at volume 70 for instance. Could you > point me in the right direction on how to achieve that? I have a good > understanding of programming in general but no experience

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

2021-08-23 Thread KVerb
Roland0 wrote: > > Yes, but for a clean solution (i.e. not simply ignoring requests while > there's still one being processed), this would require an huge effort > (which I'm not going to spend). Thanks for the reply. For my use-case I'd prefer to ignore the request over leaving the SBs to

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

2021-08-23 Thread Roland0
KVerb wrote: > > if I launch multiple GETs at the same time, my SBs are not properly > reset to their previous state. I think the playlistStoppedCallback is > interrupted by the next announceFile or announceTTS that is queued, is > that possible? > It is > > Is that fixable? ;-) > Yes,

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

2021-08-20 Thread KVerb
Hi, After some debugging I finally got everything working stably with larynx running inside of a docker container. Larynx TTS is not particularly fast on my RPi but a response time of <10s is an acceptable trade-off for my use-case, especially given the terrible performance of espeak in Dutch.

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

2021-07-13 Thread carsten_h
Rothaar wrote: > Does anyone know if there is a German voice anywhere for mimic? > Which engines do you use? I am using Reverso TTS inside my Home Assistant installation and the voice "Klaus-German" and this sound really good. pi4 4gb picoreplayer with lms and squeezelite for usb inside an

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

2021-07-10 Thread Roland0
Rothaar wrote: > > Does anyone know if there is a German voice anywhere for mimic? > you can find a HTS voice here: https://github.com/m-toman/SALB/blob/master/data/leo.htsvoice Supposedly, mimic can use this format. My install, however, can't use this one - maybe one has to compile mimic

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

2021-07-09 Thread Rothaar
I also tried out larynx. Great quality of the generated audio file, lots of languages and voices - but very slow (too slow for my Raspberry...). Rothaar's Profile: http://forums.slimdevices.com/member.php?userid=71905

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

2021-07-09 Thread Rothaar
I played around with the plugin. Very nice! :cool: I would be interested regarding your experience with different tts engines. I started with espeak - very fast, but also very robotic sound. German voice support seems ok. I then tested the German mbrola files for espeak, which give better

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

2021-06-22 Thread Cadster
I've updated to the latest nightly and now the saved playlist (before the announcement) does not resume. Does anybody, using the latest lms 8.2 nightly, have the same problem? Cadster's Profile:

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

2021-06-22 Thread Cadster
kassai wrote: > Would you be able to share how you use this plugin with Home Assistant? > I've installed it in LMS, but haven't figured out how to trigger it from > Home Assistant. Big thanks in advance! Here is a 'link'

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

2021-06-06 Thread kassai
Cadster wrote: > Thanks for creating a great plugin! > Works perfectly with Home Assistant. > > Thanks! Would you be able to share how you use this plugin with Home Assistant? I've installed it in LMS, but haven't figured out how to trigger it from Home Assistant. Big thanks in advance!

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

2021-05-08 Thread Gozumuli
Roland0 wrote: > - verify that the command > /home/pi/.local/bin/gtts-cli -o /tmp/annTTS.mp3 -l de "Ansage: > Test-Ansage" > can be successfully execute by the user LMS runs as (usually > squeezeboxserver) > - verify that the player ID (ab:cd:ef:12:34:02) is correct I investigated a bit

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

2021-05-07 Thread Roland0
Gozumuli wrote: > > The Logfile of LMS shows this: > > Code: > > > [21-05-06 17:32:21.5962] Plugins::LMSannounce::Plugin::handleJSONP (210) handleJSONP targetClient=ab:cd:ef:12:34:02 > [21-05-06 17:32:21.6018] Plugins::LMSannounce::Plugin::announceTTS (330)

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

2021-05-06 Thread Gozumuli
Announcement only working after manual restart of squeezeboxserver service on rpi4 Hi, I am using this plugin on my rpi4 with raspbian. Installed from Debian package. Logitech Media Server Version: 8.1.1 - 1610364019 @ Thu Jan 14 06:24:07 CET 2021 Betriebssystem: Debian - DE - utf8

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

2021-05-06 Thread Gozumuli
Hi, I am using this plugin on my rpi4 with raspbian. Installed from Debian package. Logitech Media Server Version: 8.1.1 - 1610364019 @ Thu Jan 14 06:24:07 CET 2021 Betriebssystem: Debian - DE - utf8 Plattformarchitektur: armv7l-linux Perl-Version: 5.28.1 -

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

2021-04-17 Thread Roland0
SingingDwarf wrote: > > On another notes, is there any documentation around getting the plugin > to work with a cloud TTS service, such as Google TTS or Azure TTS? I > understand that a custom la-ttsprofiles.json is required, but not sure > how to go about starting 1. find out how to

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

2021-04-16 Thread SingingDwarf
Roland0 wrote: > First, check from the shell if your TTS engine actually works. Then, > check if the command > > Code: > > /usr/bin/espeak -w /tmp/annTTS.wav -ven+m1 "new message" > > > works (delete /tmp/annTTS.wav when done) I unders Thank

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

2021-04-16 Thread Roland0
MichaelPr wrote: > Also a configuration/setting option would be nice if e.g. your speech > engine is not linked to /usr/bin/ or you just want use other options already available using 'Custom TTS profiles' (https://www.nexus0.net/pub/sw/lmsannounce/#custom-tts-profiles) 'Various SW'

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

2021-04-16 Thread MichaelPr
Roland0 wrote: > No interface, as there are loads of existing options > e.g. > Android: 'HTTP Shortcuts' (https://http-shortcuts.rmy.ch/) > bash/curl: > > Code: > > $ function LMS_announce { curl -G -s -o /dev/null

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

2021-04-16 Thread Roland0
MichaelPr wrote: > > No interface for just typing a text and send? No interface, as there are loads of existing options e.g. Android: 'HTTP Shortcuts' (https://http-shortcuts.rmy.ch/) bash/curl: Code: $ function LMS_announce { curl -G -s -o /dev/null

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

2021-04-15 Thread MichaelPr
Hi Roland, great plugin and works "out of the box" after I compiled and installed mimic1 for my RPi. But just one question - Did I miss something or is the only way to send out a TTS-Message via URL and browser e.g.:

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

2021-04-15 Thread Roland0
SingingDwarf wrote: > > The server.log shows: > > > Code: > > > [21-04-14 22:55:39.1375] Plugins::LMSannounce::Plugin::announceTTS (325) announceTTS: preset={'options' => '-ven+m1','cmd' => '/usr/bin/espeak','text' => '','output' => '-w '} > [21-04-14

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

2021-04-14 Thread SingingDwarf
I have just installed the plugin and get the following error when testing with Squeezeplay: Code: {"msg":"error 32512 while executing TTS","error":true} when trying to execute the command Code:

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

2021-02-14 Thread karlek
Roland0 wrote: > Tested with squeezelite only, maybe a HW player behaves differently. > If you want to help debug this: > on the server, edit the file LMSannounce/Plugin.pm and change lines > 214-216 from: > > Code: > > #my $clientpower =

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

2021-02-11 Thread andyss
Roland0 wrote: > new version adds a volume parameter It went from almost perfect in my setup to perfect. Thanks for this Roland0! andyss's Profile: http://forums.slimdevices.com/member.php?userid=71209 View this

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

2021-02-11 Thread Roland0
andyss wrote: > Just wondering if it's possible to specify a volume level when sending > an announcement to a player? new version adds a volume parameter 'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | TUI | Playlist Editor / Generator | Music Classification | Similar Music |

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

2021-02-08 Thread andyss
Thanks again for the plugin, works (almost) perfectly i my setup. Just wondering if it's possible to specify a volume level when sending an announcement to a player? andyss's Profile:

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

2021-02-03 Thread Roland0
karlek wrote: > > I don't understand how forcewake=false should behave. Either if set to > true or false, it still woke up my SB (and powered it off again, > afterwards). > Tested with squeezelite only, maybe a HW player behaves differently. If you want to help debug this: on the server, edit

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

2021-02-01 Thread karlek
Roland0 wrote: > Updated. Also added a "forcewake" parameter (default true). Fixed.Thank You very much! :-) I don't understand how forcewake=false should behave. Either if set to true or false, it still woke up my SB (and powered it off again, afterwards). And sorry for the late reply. I

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

2021-01-13 Thread Roland0
karlek wrote: > > One minor issue remains, yet: the SB doesn't get switched off after the > announcement, when it was powered off before. > So: the stopped state will be reestablished afterwards, but not the > power state. > Updated. Also added a "forcewake" parameter (default true).

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

2021-01-11 Thread andyss
Roland0 wrote: > Why not use the method documented ' on the homepage' > (https://www.nexus0.net/pub/sw/lmsannounce/#pre-roll-post-roll-sound)? I would, but I'm trying to consolidate all my rules in Node-Red. I actually accomplished it by writing an m3u file after the TTS is generated and send

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

2021-01-10 Thread Roland0
andyss wrote: > Does anyone know how to generate a playlist on the fly to use the > pre-roll function? > Why not use the method documented ' on the homepage' (https://www.nexus0.net/pub/sw/lmsannounce/#pre-roll-post-roll-sound)? 'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface

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

2021-01-10 Thread andyss
The update works perfectly, thanks for that! Does anyone know how to generate a playlist on the fly to use the pre-roll function? Background: I'm using Node-Red to generate TTS alerts and currently tried to send a pre-roll sound and synthesized alert. Doing it in node red sends two audio

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

2021-01-10 Thread andyss
The update works perfectly, thanks for that! Does anyone know how to generate a playlist to use the pre-roll function? Thanks. andyss's Profile: http://forums.slimdevices.com/member.php?userid=71209 View this thread:

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

2021-01-10 Thread karlek
Dear @Roland0, thank you very much! Now, the SB won't start the actual playlist, when it wasn't running before. Great! :) One minor issue remains, yet: the SB doesn't get switched off after the announcement, when it was powered off before. So: the stopped state will be reestablished

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

2021-01-09 Thread Roland0
andyss wrote: > Any progress on this? Just released an update - give it a try. 'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | TUI | Playlist Editor / Generator | Music Classification | Similar Music | Announce | EventTrigger | Chiptunes | LMSlib2go | ... 'Various HowTos'

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

2021-01-07 Thread andyss
Any progress on this? I would love to see this implemented. Thanks! Roland0 wrote: > I just checked and the playlist resume command used by the plugin has an > option to avoid the automatic start. andyss's Profile:

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

2020-09-03 Thread karlek
Roland0 wrote: > I just checked and the playlist resume command used by the plugin has an > option to avoid the automatic start. > However, since my desktop pc's monitor gave up the ghost recently and > setting up on my laptop is too much of a hassle, this will have to wait > until I have a

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

2020-08-23 Thread Roland0
karlek wrote: > If the playlist was paused or the SB was off, it will always continue to > play the previous playlist, regardless which setting is chosen for that > player. I tried even „Stop at power off / Remain stopped after power on“ > with the same result. > I just checked and the

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

2020-08-23 Thread karlek
Roland0 wrote: > Just to clarify: Do you mean that if the playlist was paused before, it > starts to play after the announcement ? > This probably happens if the SB is set to automatically start playing if > a playlist is loaded. If the playlist was paused or the SB was off, it will always

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

2020-08-23 Thread Roland0
karlek wrote: > > Regardless of the previous state, the SB will continue to play her > actual playlist. > Just to clarify: Do you mean that if the playlist was paused before, it starts to play after the announcement ? This probably happens if the SB is set to automatically start playing if a

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

2020-08-22 Thread karlek
Now the repo is shown and I could (re)activate LMSannounce without ans problems. Thank you very much! As far I could test (file and TTS), everything works fine. ;) What I observed (also with LMS 7.9.3): - If the desired player ain't reachable for LMS, another player is chosen randomly. -

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

2020-08-22 Thread Roland0
karlek wrote: > I can't add the repo to my LMS 8.0. > I've seen > Code: > > maxTarget="7.*" > > when I oben 'the repo.xml' > (https://www.nexus0.net/pub/sw/lmsannounce/repo.xml) in a browser. > Could this be the reason why? > Most likely. I've

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

2020-08-21 Thread karlek
I can't add the repo to my LMS 8.0. I've seen Code: maxTarget="7.*" when I oben 'the repo.xml' (https://www.nexus0.net/pub/sw/lmsannounce/repo.xml) in a browser. Could this be the reason why? In install.xml on my LMS 7.9.3 there is Code:

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

2019-07-28 Thread kidhazy
Roland0 wrote: > This error message is a bit misleading due to the formatting, it's > actually part of the previous line: > ... > Anyway, I've published an update which fixes an issue with the player > selection, hopefully that was the last one. Cheers - works a treat. Thanks for your

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

2019-07-27 Thread Roland0
kidhazy wrote: > Could be - but I can't trace the plugin script as to why it's trying to > hit a TTS playlist when I've called it with a filename ie. > cmd=announceFile > > The file I specify "announceFile called: > file=/volume1/Music/doorbell.mp3" exists and plays. This error message is a

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

2019-07-27 Thread kidhazy
edwin2006 wrote: > Could this be the problem? > file:///volume1/Music/My%20Playlists%20(Squeezebox)/announceTTS.m3u > doesn't exist on disk - skipping! Could be - but I can't trace the plugin script as to why it's trying to hit a TTS playlist when I've called it with a filename ie.

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

2019-07-27 Thread edwin2006
Could this be the problem? file:///volume1/Music/My%20Playlists%20(Squeezebox)/announceTTS.m3u doesn't exist on disk - skipping! *SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC +

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

2019-07-27 Thread kidhazy
Here's what I see with debug on. http://:9002/plugins/LMSannounce/js.html?cmd=announceFile=%2Fvolume1%2FMusic%2Fdoorbell.mp3=00%3A04%3A20%3A1e%3A51%3A88 Code: [19-07-27 19:58:39.4161] Plugins::LMSannounce::Plugin::handleJSONP (193) handleJSONP cmd=announceFile

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

2019-07-26 Thread Roland0
kidhazy wrote: > > FYI, what I do is grab the MAC address of the player from the Squeezebox > Settings Info panel, and then replace all the ":" with %3A > > So, player 00:04:20:1e:49:e6 becomes: > http://

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

2019-07-26 Thread kidhazy
Roland0 wrote: > Just released a new version, which includes player selection. Not really > well tested, since I run a single player setup atm. Couldn't get it to direct to a particular player. Though it did go to a different player than the other day. FYI, what I do is grab the MAC address

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

2019-07-25 Thread Roland0
kidhazy wrote: > repo/website may be down at moment > https://www.nexus0.net/pub/sw/lmsannounce/repo.xml should be up again - the hosting provider had a couple of hours downtime for some infra sw updates. SW: 'Web UI for LMS'

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

2019-07-25 Thread kidhazy
repo/website may be down at moment https://www.nexus0.net/pub/sw/lmsannounce/repo.xml kidhazy's Profile: http://forums.slimdevices.com/member.php?userid=42259 View this thread:

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

2019-07-24 Thread Roland0
kidhazy wrote: > have you looked at supporting player selection since you wrote this back > in 2018? > Just released a new version, which includes player selection. Not really well tested, since I run a single player setup atm. SW: 'Web UI for LMS'

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

2019-07-23 Thread edwin2006
Would be interesting to get this working. Hi, kids. Dinnertime [emoji3] *SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare

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

2019-07-23 Thread kidhazy
Roland0 wrote: > Specifying a player isn't currently implemented, unfortunately. I > thought about supporting this (that's why the player id can be passed as > a parameter), but never got around to actually adding the functionality > to the plugin. Roland0 - have you looked at supporting

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

2018-12-29 Thread Roland0
mrw wrote: > It's a BOM (https://en.wikipedia.org/wiki/Byte_order_mark), which for > some reason LMS always puts at the start of a playlist file. (See > https://github.com/Logitech/slimserver/blob/public/7.9/Slim/Formats/Playlists/Base.pm#L75). > > And it seems that -playlistEntryIsValid- will

  1   2   >