Logitech Media Server

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post by Eduard »

pvm wrote:
Eduard wrote: Changes:
* Add notifications to LMS players (on/off/play/pause/stop)
* Add LMS-player(s) as notifier (send notifications to your players display :D)
Should this be in the current beta? i do not see this in the notification settings
No, in the next beta; pull-request has been merged tonight.
See https://github.com/domoticz/domoticz/pull/138
pvm
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

Post by pvm »

tested the notifications, working, nice
The notifications from LMS device towards domoticz... what does that mean?
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post by Eduard »

pvm wrote:tested the notifications, working, nice
The notifications from LMS device towards domoticz... what does that mean?
It's the other way around: you can send Domoticz notifications to a LMS-player display
pvm
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

Post by pvm »

Sorry for the misunderstanding, I tested notifications towards the player, works fine
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post by Eduard »

Fixed some issues in new beta (available soon)

* Fixed issue when setting volume via LUA causing a 'Unkown' state in LUA
* Fixed issue of unresponsive device when it was renamed (different than the player-name)
* Added extra logging at plug-in start hardware
* Corrected dutch translation

And....
....Wiki is available, see http://www.domoticz.com/wiki/Logitech_Media_Server
User avatar
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

Post by cyberclwn »

Eduard wrote:Fixed some issues in new beta (available soon)

* Fixed issue when setting volume via LUA causing a 'Unkown' state in LUA
* Fixed issue of unresponsive device when it was renamed (different than the player-name)
* Added extra logging at plug-in start hardware
* Corrected dutch translation

And....
....Wiki is available, see http://www.domoticz.com/wiki/Logitech_Media_Server
Looking good Eduard. Really nice work.

And maybe i have a challenge for you.
Can you read out the alarms of the players ?
I want to know the alarm-time of 1 of my players, to put on the lights (after a few min). But only when the alarm is set (week days).
How about that for a challenge ? :)
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
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post by Eduard »

cyberclwn wrote: And maybe i have a challenge for you.
Can you read out the alarms of the players ?
I want to know the alarm-time of 1 of my players, to put on the lights (after a few min). But only when the alarm is set (week days).
How about that for a challenge ? :)
I want to do it the other way around: set the alarm-timers via Domoticz, so i can enable/disable alarms via timers of events...
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post by Eduard »

New version available, soon in new beta:

* Add support for Playing playlists via LUA

Example:

Code: Select all

commandArray['SqueezeBox']='Play Playlist WakeUpList1' 
See Wiki, http://www.domoticz.com/wiki/Logitech_Media_Server
User avatar
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

Post by cyberclwn »

Eduard wrote: I want to do it the other way around: set the alarm-timers via Domoticz, so i can enable/disable alarms via timers of events...
Right, that's a possibility too ofc. Looks interesting, have to think about that.

Eduard wrote:New version available, soon in new beta:

* Add support for Playing playlists via LUA

Example:

Code: Select all

commandArray['SqueezeBox']='Play Playlist WakeUpList1' 
See Wiki, http://www.domoticz.com/wiki/Logitech_Media_Server
That looks interesting too. Altho i don't use playlists much. Can you implement this also for favorites ?
I now use a scene linked to a shell-script i made. It looks for the id of the favorite and then plays it. If you want that for a pointer let me know.
(But i guess you know more of the interface of the LMs itself then i do :) )

Thanks again and all your work/time is really appriciated !
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
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post by Eduard »

qwerk wrote:please let me ask a stupid question,
i have added the media server in the hardware segment, it never shows any clients, I have severall.
the only differences, I use another port and I use a loginname and password ( added those in the remote address line)

please advice
I added support for user authentication on LMS server now. Will be available in next beta soon.
qwerk
Posts: 222
Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

Re: Logitech Media Server

Post by qwerk »

Eduard wrote:
qwerk wrote:please let me ask a stupid question,
i have added the media server in the hardware segment, it never shows any clients, I have severall.
the only differences, I use another port and I use a loginname and password ( added those in the remote address line)

please advice
I added support for user authentication on LMS server now. Will be available in next beta soon.
good to read, I can't wait to try it.
thanks
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post by Eduard »

cyberclwn wrote:Can you implement this also for favorites ?
I now use a scene linked to a shell-script i made. It looks for the id of the favorite and then plays it. If you want that for a pointer let me know.
(But i guess you know more of the interface of the LMs itself then i do :) )
Done! Will be available in new beta soon :D

Usage:

Code: Select all

commandArray['SqueezeBox']='Play Favorites'
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post by Eduard »

cyberclwn wrote:Thanks again and all your work/time is really appriciated !
thnx! :D
qwerk
Posts: 222
Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

Re: Logitech Media Server

Post by qwerk »

qwerk wrote:[quote="Eduard"
I added support for user authentication on LMS server now. Will be available in next beta soon.
good to read, I can't wait to try it.
thanks[/quote]

I am sorry to say, but it didn't work on my site.
2015-10-25 08:41:54.988 Logitech Media Server: Worker stopped...
2015-10-25 08:41:54.989 Logitech Media Server: Worker started...
2015-10-25 08:41:54.990 Error: Logitech Media Server: No player-switches found.
2015-10-25 08:41:55.004 Logitech Media Server: No playlists found.
2015-10-25 08:41:56.015 Error: Logitech Media Server: No connected players found

I cannot find anything in the media server log.
qwerk
Posts: 222
Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

Re: Logitech Media Server

Post by qwerk »

qwerk wrote:
qwerk wrote:
Eduard wrote: I added support for user authentication on LMS server now. Will be available in next beta soon.
good to read, I can't wait to try it.
thanks
I am sorry to say, but it didn't work on my site.
2015-10-25 08:41:54.988 Logitech Media Server: Worker stopped...
2015-10-25 08:41:54.989 Logitech Media Server: Worker started...
2015-10-25 08:41:54.990 Error: Logitech Media Server: No player-switches found.
2015-10-25 08:41:55.004 Logitech Media Server: No playlists found.
2015-10-25 08:41:56.015 Error: Logitech Media Server: No connected players found

I cannot find anything in the media server log.

please call me stupid.
the remote address i used started with http:// I shouldn't

I can see my devices.
thanks
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post by Eduard »

qwerk wrote: I am sorry to say, but it didn't work on my site.
The new version with authentication is not in the latest beta yet. I hope it will be merged soon (today?)
See https://github.com/domoticz/domoticz/pull/158
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post by Eduard »

Eduard wrote:
qwerk wrote: I am sorry to say, but it didn't work on my site.
The new version with authentication is not in the latest beta yet. I hope it will be merged soon (today?)
See https://github.com/domoticz/domoticz/pull/158
Availanle now in v2.3448 :D
User avatar
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

Post by cyberclwn »

Eduard wrote:
cyberclwn wrote:Can you implement this also for favorites ?
I now use a scene linked to a shell-script i made. It looks for the id of the favorite and then plays it. If you want that for a pointer let me know.
(But i guess you know more of the interface of the LMs itself then i do :) )
Done! Will be available in new beta soon :D

Usage:

Code: Select all

commandArray['SqueezeBox']='Play Favorites'
Hi,

Maybe i am mistaken, but i think the 'Play Favorites' also needs a parameter, like the 'Play Playlist <param>'
According to the LMS-help:

Code: Select all

Request: "6e:ef:54:e9:02:b0 favorites playlist play item_id:1.1<LF>"
Or how do we tell him to play what favorite ? :)

And .. (wishfull thinking) ... how about the "Favorites" button on the pop-up remote ? :)
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
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post by Eduard »

cyberclwn wrote:Maybe i am mistaken, but i think the 'Play Favorites' also needs a parameter, like the 'Play Playlist <param>'
That parameter is optional in LMS; it now takes no parameter to play all your favorites.
I will consider an update with the optional paramater for item_id.
cyberclwn wrote: And .. (wishfull thinking) ... how about the "Favorites" button on the pop-up remote ? :)
What about it? It just works the same way as your normal remote: press Favorites, scroll & play :D
User avatar
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

Post by cyberclwn »

Eduard wrote:
cyberclwn wrote:Maybe i am mistaken, but i think the 'Play Favorites' also needs a parameter, like the 'Play Playlist <param>'
That parameter is optional in LMS; it now takes no parameter to play all your favorites.
I will consider an update with the optional paramater for item_id.
Ah, cool. Nothing happend when i used it. But maybe i have another mistake somewhere.
Eduard wrote:
cyberclwn wrote: And .. (wishfull thinking) ... how about the "Favorites" button on the pop-up remote ? :)
What about it? It just works the same way as your normal remote: press Favorites, scroll & play :D
Same here, didn't work for me. But didn't check good. I'll recheck this soon.
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
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest