Roland0 - have you looked at supporting player selection since you wrote this back in 2018?
I was just directed to this plugin and was looking to see if there had been any updates.
If not, I may look to see if there's anything that can be reused from gwendesign's announcement script from here https://www.gwendesign.com/slimserve...m#announcement
Thanks.
Results 11 to 20 of 42
-
2019-07-23, 01:19 #11
- Join Date
- Dec 2010
- Posts
- 134
-
2019-07-23, 08:20 #12
- Join Date
- May 2017
- Posts
- 689
Would be interesting to get this working. Hi, kids. Dinnertime
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 unit's
Server: LMS on Pi3 7.9.1. on PcP 3.21
Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity
-
2019-07-24, 12:05 #13
- Join Date
- Aug 2012
- Location
- Austria
- Posts
- 1,150
Various SW: Web Interface | TUI | Playlist Editor / Generator | Music Classification | Similar Music | Announce | EventTrigger | Chiptunes | LMSlib2go | ...
Various HowTos: build a self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...
-
2019-07-25, 19:15 #14
- Join Date
- Dec 2010
- Posts
- 134
repo/website may be down at moment https://www.nexus0.net/pub/sw/lmsannounce/repo.xml
-
2019-07-25, 19:46 #15
- Join Date
- Aug 2012
- Location
- Austria
- Posts
- 1,150
Various SW: Web Interface | TUI | Playlist Editor / Generator | Music Classification | Similar Music | Announce | EventTrigger | Chiptunes | LMSlib2go | ...
Various HowTos: build a self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...
-
2019-07-26, 16:45 #16
- Join Date
- Dec 2010
- Posts
- 134
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 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://<IP ADDRESS>:9002/plugins/LMSannounce/js.html?cmd=announceFile&file=%2Fvolume1%2FMusic%2 Fdoorbell.mp3&playerid=00%3A04%3A20%3A1e%3A49%3Ae6
Am I calling it correctly?
Any issues with upper/lower case?
Any logfiles I can check?
Thanks.
-
2019-07-26, 18:41 #17
- Join Date
- Aug 2012
- Location
- Austria
- Posts
- 1,150
Looks ok at first glance.
Any logfiles I can check?
Code:handleJSONP cmd= pid= handleJSONP targetClient= player specified () not found, falling back to
Various SW: Web Interface | TUI | Playlist Editor / Generator | Music Classification | Similar Music | Announce | EventTrigger | Chiptunes | LMSlib2go | ...
Various HowTos: build a self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...
-
2019-07-27, 03:04 #18
- Join Date
- Dec 2010
- Posts
- 134
Here's what I see with debug on.
http://<ipaddres>:9002/plugins/LMSannounce/js.html?cmd=announceFile&file=%2Fvolume1%2FMusic%2 Fdoorbell.mp3&playerid=00%3A04%3A20%3A1e%3A51%3A88
Code:[19-07-27 19:58:39.4161] Plugins::LMSannounce::Plugin::handleJSONP (193) handleJSONP cmd=announceFile pid=00:04:20:1e:51:88 [19-07-27 19:58:39.4358] Plugins::LMSannounce::Plugin::handleJSONP (202) handleJSONP targetClient=00:04:20:1e:51:88 [19-07-27 19:58:39.4362] Plugins::LMSannounce::Plugin::announceFile (307) announceFile called: file=/volume1/Music/doorbell.mp3 [19-07-27 19:58:39.6172] Plugins::LMSannounce::Plugin::__ANON__ (315) announceFile: plid=12574 [19-07-27 19:58:39.9425] Plugins::LMSannounce::Plugin::__ANON__ (321) announceFile: time=56.6126691188812 repeat:0 [19-07-27 19:58:40.1485] Slim::Formats::Playlists::Base::playlistEntryIsValid (126) Warning: file:///volume1/Music/My%20Playlists%20(Squeezebox)/%EF%BB%BF%23EXTM3U found in playlist: file:///volume1/Music/My%20Playlists%20(Squeezebox)/announceTTS.m3u doesn't exist on disk - skipping! [19-07-27 19:58:40.1491] Slim::Formats::Playlists::Base::playlistEntryIsValid (126) Warning: file:///volume1/Music/%EF%BB%BF%23EXTM3U found in playlist: file:///volume1/Music/My%20Playlists%20(Squeezebox)/announceTTS.m3u doesn't exist on disk - skipping! [19-07-27 19:58:40.7944] Plugins::LMSannounce::Plugin::playlistLoadedCallback (266) playlistLoadedCallback called for cmd playlist load_done [19-07-27 19:58:49.3187] Plugins::LMSannounce::Plugin::playlistStoppedCallback (240) playlistStoppedCallback called for cmd playlist stop [19-07-27 19:58:49.3195] Plugins::LMSannounce::Plugin::playlistStoppedCallback (245) playlistStoppedCallback: playerid=00:04:20:1e:51:88 tmppls=tempplaylist_00042012371c time=56.6126691188812 [19-07-27 19:58:49.6051] Plugins::LMSannounce::Plugin::__ANON__ (250) playlistStoppedCallback: resume done
-
2019-07-27, 03:10 #19
- Join Date
- May 2017
- Posts
- 689
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 + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's
Server: LMS on Pi3 7.9.1. on PcP 3.21
Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity
-
2019-07-27, 04:13 #20
- Join Date
- Dec 2010
- Posts
- 134