oyvindo wrote: 
> Check out this guys: https://www.streamkeys.com/
> They seem to have solved this ....

Not really.  I did implement hotkeys for the player running on the same
computer.  I think what you are asking is that I implement hotkeys
basically for a player on another computer, or another device.  When a
command is sent to the server, such as "Next", you have to send a player
ID (the player MAC address).  SqueezeliteX obviously knows this for the
local player, which is squeezelite-win.exe and the MAC address in
settings.  I think what you are asking is that the SqueezeliteX software
figure out what player is currently selected in the browser window and
send that as the player ID when sending a play/pause/next/prev command
to the server.  This, by the way, is a really cool idea you have.  

Fortunately, there is an easy solution.  The player ID (the player MAC
address) that the browser window has selected is stored in a browser
cookie. The cookie format is an SQLite database.  All I need to do is
open that SQLite database and read the player ID and use that in the
commands sent to the server as a result of a media key press.

I've been out of town the last 4 days, so I was only now able to
investigate where to find this data.  So, I will be able to do this.  I
just need to now add SQLite to the mix.

R Greg Dawson


------------------------------------------------------------------------
rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=107540

_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy

Reply via email to