Driver for Logitech Media Server (and KODI)
I've pushed my driver for Logitech Media Server on GitHub:
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.
- DONE Automatically add favorites
- DONE Display playlist
- (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 (https://github.com/br0wny/neeo-driver-kodi-squeezebox) 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: 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.
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!Reply
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?