
Driver for Logitech Media Server
Hi.
I've pushed my driver for Logitech Media Server on GitHub:
https://github.com/br0wny/neeo_driver_squeezebox
It's a fork from https://github.com/clegendre/neeo_driver_squeezebox with many changes:
- Restructured project for multi-driver approach
- Async/Await for Req/Res
- Telnet-Listener for notifications (New Song) --> Current Song info is updated when a new song is played
- Changed Neeo "DeviceBuilding" use discovery
It's still not fully finished yet. Some features are not supported (yet) by the SDK.
TODO/Planed Features
- DONE Automatically add favorites
- DONE Display playlist
- DONE Update to NEEO CLI
- (Sync Players)
Many thanks to Cédric Legendre and Stuart Trout for the previous work.
PS: The reason I restructured the project is the following:
I use a Netgear NAS to store my media and the LMS is also running on it. In my living room I have a UDOO X86 (A sort of Raspberry) with Ubuntu and KODI. I've combined the LMS and the KODI driver and this is running on the UDOO. So now I have a single SDK-Adapter running in my home and it's easy to add new device-drivers if needed.
UPDATE 2018-11-01: I've just pushed an update to GitHub. I added some directories. Now you can browse through your current playlist, your favorites and even your music library. The setup also got easier, because the SDK supports a musicplayer now by default.
UPDATE 2019-01-13: I've just pushed an update to GitHub. The driver is now compatible with the NEEO CLI.
UPDATE 2019-04-14: Removed combined Squeezebox/Kodi Repo
Have fun!
-
Hi Mario Braun I got the following error with your code:
NeeoDriver: +++++ Starting NEEO driver NeeoDriver: Discover one NEEO Brain... events.js:167 throw er; // Unhandled 'error' event ^ Error: addMembership EADDRINUSE at Socket.addMembership (dgram.js:626:11) at Socket.<anonymous> (/root/neeo_driver_squeezebox/node_modules/multicast-dns/index.js:57:18) at Socket.emit (events.js:187:15) at startListening (dgram.js:168:10) at _handle.lookup (dgram.js:286:7) at process._tickCallback (internal/process/next_tick.js:63:19) at Function.Module.runMain (internal/modules/cjs/loader.js:721:11) at startup (internal/bootstrap/node.js:228:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:576:3) Emitted 'error' event at: at Socket.<anonymous> (/root/neeo_driver_squeezebox/node_modules/multicast-dns/index.js:59:16) at Socket.emit (events.js:187:15) [... lines matching original stack trace ...] at bootstrapNodeJSCore (internal/bootstrap/node.js:576:3)
Can you pls help? I configured according to your instructions on github repository. Thank you in advance!
-
Hi Mario Braun , thank you for the codes. Now I have my playlists on NEEO! Neat!
As for the album art, my local music files were tagged correctly and they show on the remote. However, when I stream music the album art doesn't work.
And also the song info (title, artist and album) is not updated when the playback continues to the next song. Perhaps this is something you are aware of/and fixing?
Thank you!
Janus
-
I tried your driver, but I doesn't get it to run. I have already installed 4 other drivers without any issue. I installed the driver like described on github, step by step. Afterwards I tried to run all the driver with: npx neeo-cli start. Theres the output after that command:
pi@raspberrypi:~/my-neeo-server $ npx neeo-cli start
Info: No Brain address configured, attempting to discover one...
Warning: loading driver from legacy devices/index.js for neeo-denon-avr. Please check if an updated driver is available.
Warning: loading driver from legacy devices/index.js for neeo-driver-enigma2. Please check if an updated driver is available.
Warning: loading driver from legacy devices/index.js for neeo-simple-http. Please check if an updated driver is available.
Warning: loading driver from legacy devices/index.js for neeo_driver-kodi. Please check if an updated driver is available.
NEEO SDK Example "Denon" adapter
---------------------------------------------
NEEO SDK Example "Enigma2" adapter
---------------------------------------------
Kodi Driver by Niels de Klerk.
Info: - Brain discovered: NEEO Living Room
Info: Start server, connect to NEEO Brain: { brain: 'NEEO Living Room', host: 'NEEO-73bf64ea.local' }
[CONTROLLER] register update state
Updater registered.
events.js:183
throw er; // Unhandled 'error' event
^Error: listen EADDRINUSE 0.0.0.0:6336
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at Server.setupListenHandle [as _listen2] (net.js:1367:14)
at listenInCluster (net.js:1408:12)
at doListen (net.js:1517:7)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickCallback (internal/process/next_tick.js:180:9)I don't know if this helps, I understand nothing from this output, only that something went wrong.
Is there another way to localise the error better?
I hope you can help me, would like to use your driver ;).
If you need more Info, is no Problem, but at the moment I don't know what necessary.
By the way, are you German?
Thanks
Ben