Page 8 of 21
Re: Logitech Media Server
Posted: Monday 12 October 2015 21:42
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

)
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
Re: Logitech Media Server
Posted: Tuesday 13 October 2015 23:56
by pvm
tested the notifications, working, nice
The notifications from LMS device towards domoticz... what does that mean?
Re: Logitech Media Server
Posted: Wednesday 14 October 2015 9:41
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
Re: Logitech Media Server
Posted: Wednesday 14 October 2015 14:27
by pvm
Sorry for the misunderstanding, I tested notifications towards the player, works fine
Re: Logitech Media Server
Posted: Saturday 17 October 2015 14:21
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
Re: Logitech Media Server
Posted: Saturday 17 October 2015 22:04
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 ?

Re: Logitech Media Server
Posted: Thursday 22 October 2015 10:15
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...
Re: Logitech Media Server
Posted: Thursday 22 October 2015 10:17
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
Re: Logitech Media Server
Posted: Thursday 22 October 2015 10:54
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.
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 !
Re: Logitech Media Server
Posted: Thursday 22 October 2015 20:48
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.
Re: Logitech Media Server
Posted: Thursday 22 October 2015 21:16
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
Re: Logitech Media Server
Posted: Friday 23 October 2015 9:36
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
Usage:
Code: Select all
commandArray['SqueezeBox']='Play Favorites'
Re: Logitech Media Server
Posted: Friday 23 October 2015 10:46
by Eduard
cyberclwn wrote:Thanks again and all your work/time is really appriciated !
thnx!

Re: Logitech Media Server
Posted: Sunday 25 October 2015 8:54
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.
Re: Logitech Media Server
Posted: Sunday 25 October 2015 9:03
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
Re: Logitech Media Server
Posted: Sunday 25 October 2015 9:25
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
Re: Logitech Media Server
Posted: Sunday 25 October 2015 12:55
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

Re: Logitech Media Server
Posted: Monday 26 October 2015 0:21
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
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 ?

Re: Logitech Media Server
Posted: Monday 26 October 2015 8:50
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

Re: Logitech Media Server
Posted: Monday 26 October 2015 10:34
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

Same here, didn't work for me. But didn't check good. I'll recheck this soon.