![]() |
DLNA to moode - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: DLNA to moode (/showthread.php?tid=6156) |
RE: DLNA to moode - TheOldPresbyope - 02-28-2024 A follow-up after calming down. After poking around a bit I figured out how to build the Platinum SDK in 64-bit RaspbiOS. I can run the included sample applications and they seem to be working. For example, I have the FileMediaServerTest application running on my Pi400 and serving music tracks. I have mconnectLite on my iPad (a combined UPnP Control Point/MediaRenderer application) which is playing the tracks. But, again, C++ , sigh. Regards, Kent RE: DLNA to moode - Tim Curtis - 02-28-2024 So is just like upmpdcli? RE: DLNA to moode - TheOldPresbyope - 02-28-2024 (02-28-2024, 09:57 PM)Tim Curtis Wrote: So is just like upmpdcli? Sure, in the sense that both are implemented in C++. However, upmpdcli comes with extensive documentation, a decent website, an active userbase, and the ever helpful Jean Francois! His page on implementing plugins is pure gold compared to the Doxygen listing of Platinum classes. Regards, Kent RE: DLNA to moode - Tim Curtis - 02-29-2024 What I suppose I meant was does it provide the same functionality, but better in some way? RE: DLNA to moode - TheOldPresbyope - 02-29-2024 (02-29-2024, 12:11 AM)Tim Curtis Wrote: What I suppose I meant was does it provide the same functionality, but better in some way? Sorry, I was being churlish. All I did was fire up one of the 5 sample applications to see if my build in RaspbiOS worked. Have a look at the descriptions of these applications on https://github.com/plutinosoft/Platinum/tree/master. I don't know whether any of them could be the inspiration for a better djmount replacement (see ETA below) but at least they demonstrate the use of the Platinum C++ classes. Regards, Kent ETA - Of the 5 sample applications, only the MicroMediaController and the MediaCrawler sound promising. RE: DLNA to moode - Tim Curtis - 02-29-2024 Oh ok djmount replacement. I lost track of that. RE: DLNA to moode - bsergiu - 02-29-2024 Wouldn't the MPD upnp Plug-in activation already expose the UPNP server content as an additional root folder in mpd, and thus available in the library ? database { plugin "upnp" } As described here : https://www.lesbonscomptes.com/pages/mpd-upnp.html The mpd binary on the Moode does not have the upnp plug-in activated, but on another Ubuntu laptop I have in the network I have that, and here is what I get: mpc ls 192.168.178.55 - Sonos Move192.168.178.55 - Sonos Move Media ServerGarten - Sonos Move Media Renderer Michi-X3 UPNP-mediaserver The first one is a Sonos Move, the other one is a upmpdcli running on the Moode Raspi. Drawback: I need to disable the mpd db, but I guess people would use either or ... That should make the library browser UI happy, or? Am I wrong ? RE: DLNA to moode - Tim Curtis - 02-29-2024 (02-29-2024, 08:16 PM)bsergiu Wrote: Wouldn't the MPD upnp Plug-in activation already expose the UPNP server content as an additional root folder in mpd, and thus available in the library ? I remember testing this a long while back and IIRC it's basically same as djmount. The main problem is that moOde's Library expects standard artist/album/track directory structure but UPnP media servers have various directory structures for artists and albums, multiple references to artists and albums plus the directory structures are not consistent across different vendor's media servers. What does MPD database look like after mpc update? RE: DLNA to moode - bsergiu - 03-01-2024 Hi @Tim Curtis , An "mpc update" does not work in this case, it says "not implemented". Also, the database must be disabled in mpd.conf when the upnp plug-in is enabled. However, I can navigate though with lsinfo (my upnp server is actually proxying Qobuz, so I browse Qobuz in fact, and it works) - and this is I guess what Moode UI does as well in the folder view. I can see and add tracks to the queue; when I ask mpd to play, I get the error "Failed to decode trackId=46264840; Unrecognized URI". Not sure why, because other MPD can play from the same mediaserver with the same commands issued with mConnect (instead of mpc) , but this may be an issue with my set-up. It is also a good sign, that it gets the URL right ![]() I'll try to re-compile mpd with the upnp enabled on the Moode machine and report back here. RE: DLNA to moode - TheOldPresbyope - 03-01-2024 Well, since the link to Jean-Francois' discussion of his effort has already been posted, https://www.lesbonscomptes.com/pages/mpd-upnp.html, why don't we read it? Once you get past all the niff-naff about building his MPD plugin (now part of the MPD distro), you get to the good stuff like Quote:Once mpd is running, your client should see a list of the network Media Servers as the top level directory. and Quote:Known issues As Tim says, basically like djmount and for the same reasons. Regards, Kent |