![Wink Wink](images/icons/wink.png)
Hi @Tim Curtis @TheOldPresbyope ,
Thanks for the feedback and hints. I've done this now, and let me share it here:
- I have downloaded and compiled and installed the same mpd version as delivered with Moode, but with the upnp plug-in support
- I have changed the mpd.conf file to disable the db_file and activate the upnp Plug-in. I do have a synology nas where I have enabled the UPNP server
- I disabled upmpdcli temporarily, because there was a port clash with the upnp plug-in
Now I can see my NAS in the Library / Folder list. I see the structure, I can navigate through the virtual structure exposed by the UPNP server and I can see and play individual songs, as well as "play all" for "folders" like Albums as well as playlists. The songs are retrieved with metadata, and they play gapless. Please see the attached pics.
What is not so nice is: no cover art, somehow player controls do not work (previous / next / cue), however the playlist advances in playing when the song is finished. I need to check how to fix that, should not be rocket science.
All in all: this is a folder-like experience, which is similar with mConnect working with umpmdcli for Qobuz streaming. I totally understand that this is by far not the most delightful user experience to manage, search and play music from the DLNA server, however it is helpful to browse and play songs from DLNA server as well as Qobuz (via umpmdcli) without a mobile phone. Not better not worse than the upnp controller function of mConnect.
I am pretty sure that people who have a DLNA server with all their music on it will have an app for that already with full features if they want. If not, they'd mount it rather as a network drive and let MPD index it directly. So I would not be afraid to disappoint them. I think such a solution is a low hanging fruit for the users who sometimes want (themselves, their families or guests) to be able to quickly play something app-less , maybe even controlled from an embedded touchscreen. Hence, here is my suggestion / ask: would it be possible to
- include a mpd binary compiled with the upnp plugin already in the distribution
- adapt configurations so mpd upnp plug-in and upmpdcli work on different ports
- add a control to enable UPNP sources in the Library / Music Library
- check why the controls do not work
What do you think ? I can continue to investigate and help fixing these, if you think my help is needed. I think this is a relatively small effort that enables users to listen to remote music (upnp and streaming through upmpdcli) in an app-less manner. However, I fully respect if you say that you'd rather include a full-fledged upnp controller or nothing at all.
Thank you!
Sertgiu
@pepus if you feel that is serving your use-case, you can repeat the steps on your own and play app-lessly from your dlna server.
Thanks for the feedback and hints. I've done this now, and let me share it here:
- I have downloaded and compiled and installed the same mpd version as delivered with Moode, but with the upnp plug-in support
- I have changed the mpd.conf file to disable the db_file and activate the upnp Plug-in. I do have a synology nas where I have enabled the UPNP server
- I disabled upmpdcli temporarily, because there was a port clash with the upnp plug-in
Now I can see my NAS in the Library / Folder list. I see the structure, I can navigate through the virtual structure exposed by the UPNP server and I can see and play individual songs, as well as "play all" for "folders" like Albums as well as playlists. The songs are retrieved with metadata, and they play gapless. Please see the attached pics.
What is not so nice is: no cover art, somehow player controls do not work (previous / next / cue), however the playlist advances in playing when the song is finished. I need to check how to fix that, should not be rocket science.
All in all: this is a folder-like experience, which is similar with mConnect working with umpmdcli for Qobuz streaming. I totally understand that this is by far not the most delightful user experience to manage, search and play music from the DLNA server, however it is helpful to browse and play songs from DLNA server as well as Qobuz (via umpmdcli) without a mobile phone. Not better not worse than the upnp controller function of mConnect.
I am pretty sure that people who have a DLNA server with all their music on it will have an app for that already with full features if they want. If not, they'd mount it rather as a network drive and let MPD index it directly. So I would not be afraid to disappoint them. I think such a solution is a low hanging fruit for the users who sometimes want (themselves, their families or guests) to be able to quickly play something app-less , maybe even controlled from an embedded touchscreen. Hence, here is my suggestion / ask: would it be possible to
- include a mpd binary compiled with the upnp plugin already in the distribution
- adapt configurations so mpd upnp plug-in and upmpdcli work on different ports
- add a control to enable UPNP sources in the Library / Music Library
- check why the controls do not work
What do you think ? I can continue to investigate and help fixing these, if you think my help is needed. I think this is a relatively small effort that enables users to listen to remote music (upnp and streaming through upmpdcli) in an app-less manner. However, I fully respect if you say that you'd rather include a full-fledged upnp controller or nothing at all.
Thank you!
Sertgiu
@pepus if you feel that is serving your use-case, you can repeat the steps on your own and play app-lessly from your dlna server.