Logitech Media Server
Moderators: leecollings, remb0
-
- Posts: 108
- Joined: Sunday 23 February 2014 21:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.5613
- Location: Netherlands
- Contact:
Re: Logitech Media Server
Will test the Boom!
-
- Posts: 550
- Joined: Tuesday 17 June 2014 22:14
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10538
- Location: NL
- Contact:
Re: Logitech Media Server
I got a new modem and reconfigured my home network. The squeezebox got a new network address resulting in a second device (in the switches screen). I tried removing it, that works fine.
In the hardware screen however, I still see 2 devices, how can I clean that up? Is it possible to not create a new device when the mac address stays the same?
In the hardware screen however, I still see 2 devices, how can I clean that up? Is it possible to not create a new device when the mac address stays the same?
- Attachments
-
- 2sb.JPG (35.53 KiB) Viewed 2965 times
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
Re: Logitech Media Server
Will look into that. Thanx for reporting!pvm wrote:I got a new modem and reconfigured my home network. The squeezebox got a new network address resulting in a second device (in the switches screen). I tried removing it, that works fine.
In the hardware screen however, I still see 2 devices, how can I clean that up? Is it possible to not create a new device when the mac address stays the same?
For now you can delete the LMS hardware and add it again to loose your 'old' player...
-
- Posts: 722
- Joined: Friday 02 October 2015 12:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Finland
- Contact:
Re: Logitech Media Server
Hi, is there some particular reason for not adding Duet (receiver) and controller - and possibly also iPengiPod?Eduard wrote: I just created a pull-request with support for Boom & SqueezePlay. Should be available in next beta...
At least the first two should be quite identical to other SB players and I don't see why the basic controls wouldn't work. Will of course report here if there would be some issues..
Re: Logitech Media Server
They were already supported in a previous betaNautilus wrote:Hi, is there some particular reason for not adding Duet (receiver) and controller
Re: Logitech Media Server
Fixed! Should be available in new beta...pvm wrote:I got a new modem and reconfigured my home network. The squeezebox got a new network address resulting in a second device (in the switches screen). I tried removing it, that works fine.
In the hardware screen however, I still see 2 devices, how can I clean that up? Is it possible to not create a new device when the mac address stays the same?
PS.: Still have to delete hardware and add again to get rid of the duplicate player for now. In new version it won't add a new player if the IP or Name changes...
-
- Posts: 108
- Joined: Sunday 23 February 2014 21:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.5613
- Location: Netherlands
- Contact:
Re: Logitech Media Server
The Boom has arrived. Simple test (turn on, off, play) successful.
-
- Posts: 19
- Joined: Wednesday 11 February 2015 11:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Logitech Media Server
Squeeze play also came up right away after the update.
Control seems to be working fine
Cheers!
Control seems to be working fine
Cheers!
-
- Posts: 550
- Joined: Tuesday 17 June 2014 22:14
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10538
- Location: NL
- Contact:
Re: Logitech Media Server
Thnx, removed the hardware, readded and back to one device againEduard wrote:Fixed! Should be available in new beta...pvm wrote:I got a new modem and reconfigured my home network. The squeezebox got a new network address resulting in a second device (in the switches screen). I tried removing it, that works fine.
In the hardware screen however, I still see 2 devices, how can I clean that up? Is it possible to not create a new device when the mac address stays the same?
PS.: Still have to delete hardware and add again to get rid of the duplicate player for now. In new version it won't add a new player if the IP or Name changes...
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
-
- Posts: 722
- Joined: Friday 02 October 2015 12:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Finland
- Contact:
Re: Logitech Media Server
Awesome, works great so far!Eduard wrote:They were already supported in a previous betaNautilus wrote:Hi, is there some particular reason for not adding Duet (receiver) and controller
-
- Posts: 108
- Joined: Sunday 23 February 2014 21:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.5613
- Location: Netherlands
- Contact:
Re: Logitech Media Server
About notifications: I notice the notifications "on" and "off" are the only ones which work for me, and also only if I turn on/off in Domoticz, not by the device itself. Would be great if it would also work on the devices self, including the "play" option.
Re: Logitech Media Server
New test version available! (For testers who are able to compile from source)
Changes:
* Add notifications to LMS players (on/off/play/pause/stop)
* Add LMS-player(s) as notifier (send notifications to your players display )
How to update:
For starters: search this thread how to start compile from source.
Now working on LUA script & Blockly's
Thanx for your testing & suggestions
Enjoy!!
Changes:
* Add notifications to LMS players (on/off/play/pause/stop)
* Add LMS-player(s) as notifier (send notifications to your players display )
How to update:
Code: Select all
cd ~/dev-domoticz
git pull
make
Now working on LUA script & Blockly's
Thanx for your testing & suggestions
Enjoy!!
Last edited by Eduard on Thursday 08 October 2015 11:30, edited 1 time in total.
Re: Logitech Media Server
See previous postmschut wrote:About notifications: I notice the notifications "on" and "off" are the only ones which work for me, and also only if I turn on/off in Domoticz, not by the device itself. Would be great if it would also work on the devices self, including the "play" option.
-
- Posts: 108
- Joined: Sunday 23 February 2014 21:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.5613
- Location: Netherlands
- Contact:
Re: Logitech Media Server
Oops. I just updated and posted on my phone....
-
- Posts: 108
- Joined: Sunday 23 February 2014 21:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.5613
- Location: Netherlands
- Contact:
Re: Logitech Media Server
Ow, I was 2 minutes earlier
Also available in the Pi beta version (now V2.3267)?
Also available in the Pi beta version (now V2.3267)?
Re: Logitech Media Server
No, not yet. After good test result i will make a pull-request within a few days...mschut wrote:Also available in the Pi beta version (now V2.3267)?
- cyberclwn
- Posts: 103
- Joined: Thursday 20 August 2015 22:53
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: Logitech Media Server
Hey,
Was about to point an issue similar to what you mentioned:
But have git-pulled your new version, compiled it and have it running for some time now, seems fixed indeed.
Not tested the notification to the LMS yet.
The notification when a device is turned on from the device itself takes a few seconds, but is noticed good by the plugin.
Yes, i'm happy again/still
btw, it is on purpose the status of the device changes from "Aan" (On) to "Audio" after a 20-30 seconds ?
Was about to point an issue similar to what you mentioned:
In my case you didn't even have to change status of a switch, just had to wait some time. Then other switches started to show the music being played as their status.Eduard wrote:Found it! Fixed in new beta...Eduard wrote:The domotcz/master version has one bug which i'm not able to fix right now:
After switching on a player and play a song, the device shows artist & title as expected. But if i switch a normal switch, the status of this switch also shows the same artist & title
Also enabled support for Controller & Receiver. Please let me know if it works for those devices...
But have git-pulled your new version, compiled it and have it running for some time now, seems fixed indeed.
Not tested the notification to the LMS yet.
The notification when a device is turned on from the device itself takes a few seconds, but is noticed good by the plugin.
Yes, i'm happy again/still
btw, it is on purpose the status of the device changes from "Aan" (On) to "Audio" after a 20-30 seconds ?
3xPi 2B (Domoticz "live", Domoticz "sandbox", PhotoFrame)
RFXCom433(E), KaKu, Oregon Scientific, Keyes 2-relay, Logitech Media Server, MiLight, Smartwares heating controller(2x), IR Send/Receive, Keyes PIR, XH-M131 DuskSensor, DHT22/11
RFXCom433(E), KaKu, Oregon Scientific, Keyes 2-relay, Logitech Media Server, MiLight, Smartwares heating controller(2x), IR Send/Receive, Keyes PIR, XH-M131 DuskSensor, DHT22/11
-
- Posts: 19
- Joined: Wednesday 11 February 2015 11:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Logitech Media Server
I am trying to figure out the url to start playing a radiostation from the lms-list on a certain player.
Getting the player to play is no problem from a url, but switching to a certain station I can't get to work.
The idea is to have a virtual switch to start playing a channel on one of my squeezeboxes..
Getting the player to play is no problem from a url, but switching to a certain station I can't get to work.
The idea is to have a virtual switch to start playing a channel on one of my squeezeboxes..
- cyberclwn
- Posts: 103
- Joined: Thursday 20 August 2015 22:53
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: Logitech Media Server
Hey,
Is the channel you are trying to play on the favorites list ?
Put this script in your scripts-folder on the domoticz server.
Then make a scene with this in the "on-action":
And it should work.
big side-note: This script is not really (really not?) solid. i use it only for 3 favorites, so it can not work for you because of the favorites names. It won't ruin anything, but i don't guarantee it will work also.
Is the channel you are trying to play on the favorites list ?
If so, you can try this script (called lms_play_fav.sh) i have made:Immo wrote:I am trying to figure out the url to start playing a radiostation from the lms-list on a certain player.
Getting the player to play is no problem from a url, but switching to a certain station I can't get to work.
The idea is to have a virtual switch to start playing a channel on one of my squeezeboxes..
Code: Select all
#!/bin/bash
SB_SERVER=<LMS_SERVER_IP>
SB_PORT=<LMS_SERVER_CLI_PORT>
LMS_FAV_ID=`echo "$1 favorites items 0 1000" | nc -q 2 $SB_SERVER $SB_PORT | sed 's/%3A/:/g' | sed 's/ id:/\'$'\n/g' | grep -i "$2 " | cut -d '.' -f2 | cut -d ' ' -f1 | head -n 1`
PLAY=`echo "$1 favorites playlist play item_id:$LMS_FAV_ID" | nc -q 2 $SB_SERVER $SB_PORT`
Then make a scene with this in the "on-action":
Code: Select all
script:///home/pi/domoticz/scripts/lms_play_fav.sh <LMS_PLAYER_NAME> <NAME_OF_FAVORITE>
big side-note: This script is not really (really not?) solid. i use it only for 3 favorites, so it can not work for you because of the favorites names. It won't ruin anything, but i don't guarantee it will work also.
3xPi 2B (Domoticz "live", Domoticz "sandbox", PhotoFrame)
RFXCom433(E), KaKu, Oregon Scientific, Keyes 2-relay, Logitech Media Server, MiLight, Smartwares heating controller(2x), IR Send/Receive, Keyes PIR, XH-M131 DuskSensor, DHT22/11
RFXCom433(E), KaKu, Oregon Scientific, Keyes 2-relay, Logitech Media Server, MiLight, Smartwares heating controller(2x), IR Send/Receive, Keyes PIR, XH-M131 DuskSensor, DHT22/11
Re: Logitech Media Server
It's because the plug-in uses an interval to 'pull' the status of the players. By default this interval is 30 seconds. You can change this in rhe hardware-srtting of the LMS.cyberclwn wrote:btw, it is on purpose the status of the device changes from "Aan" (On) to "Audio" after a 20-30 seconds ?
Who is online
Users browsing this forum: No registered users and 1 guest