Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


DLNA to moode
#44
(03-01-2024, 11:01 AM)TheOldPresbyope Wrote: 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.

Under the top level, you will see the hierarchy chosen by the type of Media Server, which usually has little to do with the file tree (so this is quite different from the usual MPD).

Note that you should always follow the 'Browse by Folder' options from the MPD client (these can have various names depending on the MPD client). Options to browse by artist or album, as provided by MPD will not work. You will find equivalent lists inside the tree shown by the UPnP server.

UPnP servers do not expose functionality which could be used to implement the direct tag-based browsing offered by an MPD server.
...

and

Quote:Known issues

Loading playlists should work, but saving them probably won’t.

Recursive directory add does not work fully: the depth is limited to 1, so this is ok to add an album directory, but it won’t go further.

Things based on VisitUniqueTags, like requesting all genres, or all artists, does not work, so the metadata browsers in most clients do not work. UPnP just does not work like this. Browse the database tree instead: it will usually have a directory with all the artists, one with the albums, the genres.

There is a fundamental difference about track identifiers between MPD and UPnP. As far as I understand, for MPD, the pathname is the fundamental identifier. This is not the case at all for UPnP, where a given track will be seen under several pathnames in the virtual tree, and objects are identified by an arbitrary unique Id.

The MPD plugin synthetizes paths based on track or container title attributes, but this means that a directory can contain apparently identical paths (if several entries have the same title).

There could be ways around this (the title could be made unique in some way), but I did not pursue them. Simply adding other fields may not be enough, so this would have to be based on the object id, or some other arbitrary value.

The consequences are mostly for searching. The normal pathnames are mostly useless as search results (typically a search for "Satisfaction" may have the UPnP server respond with entries under "All Music", all with the same title).

In this situation the MPD plugin choses to respond with arbitrary and recognizable paths based on the object ID, but clients which directly display them end up showing garbage. Happily enough most clients retrieve the object attributes for display, which works fine. Notably, phpmp does not.
...

As Tim says, basically like djmount and for the same reasons.

Regards,
Kent

Just to make sure I am not misunderstood: I do NOT suggest to replace the upmpdcli (as the choice and comparison is the main theme of the link that we both reffer to). In fact, I like it and use it every day and I even contributed in fixing it after Qobuz changes. Without this, I would not be able to decently listen to Qobuz. It is the first thing I connected the plug-in to in my tests.

However, I would like to be able to browse it from Moode directly ... sometimes Smile, even if just a folder-like experience.

Furthermore, to the mentioned points:
- Recursive directory add does not work fully: the depth is limited to 1, - seems no longer true. I can navigate through several levels back and forth
- All search and path issues: not really relevant in the folder view. Same experience as browsing the file system.
As I mentioned in the previous post, all these limitations also exist e.g. when using mConnect with upmpdcli , even if I pay for mConnect :Smile

But once again, this is not meant to push something in Moode, but rather to help with an issue that other and myself have as well, as we all here believe in giving back to the community ;Wink My issue is solved now, and I am thankful than Moode exists Smile
Reply


Messages In This Thread
DLNA to moode - by pepus - 01-17-2024, 08:18 AM
RE: DLNA to moode - by Tim Curtis - 01-17-2024, 11:11 AM
RE: DLNA to moode - by pepus - 01-24-2024, 08:23 PM
RE: DLNA to moode - by pepus - 01-17-2024, 01:40 PM
RE: DLNA to moode - by TheOldPresbyope - 01-17-2024, 01:48 PM
RE: DLNA to moode - by nosferatu_cat - 01-17-2024, 08:10 PM
RE: DLNA to moode - by the_bertrum - 01-17-2024, 02:29 PM
RE: DLNA to moode - by pepus - 01-17-2024, 07:42 PM
RE: DLNA to moode - by Tim Curtis - 01-24-2024, 11:14 PM
RE: DLNA to moode - by pepus - 01-26-2024, 08:39 PM
RE: DLNA to moode - by TheOldPresbyope - 01-26-2024, 08:49 PM
RE: DLNA to moode - by the_bertrum - 01-27-2024, 11:16 AM
RE: DLNA to moode - by psychofaktory - 02-02-2024, 03:44 PM
RE: DLNA to moode - by TheOldPresbyope - 02-02-2024, 04:10 PM
RE: DLNA to moode - by Tim Curtis - 02-02-2024, 05:59 PM
RE: DLNA to moode - by TheOldPresbyope - 02-02-2024, 06:02 PM
RE: DLNA to moode - by Nutul - 02-02-2024, 06:48 PM
RE: DLNA to moode - by the_bertrum - 02-03-2024, 11:14 AM
RE: DLNA to moode - by psychofaktory - 02-03-2024, 11:33 AM
RE: DLNA to moode - by Nutul - 02-03-2024, 11:41 AM
RE: DLNA to moode - by psychofaktory - 02-03-2024, 11:49 AM
RE: DLNA to moode - by Tim Curtis - 02-03-2024, 01:01 PM
RE: DLNA to moode - by the_bertrum - 02-03-2024, 01:56 PM
RE: DLNA to moode - by Tim Curtis - 02-03-2024, 02:35 PM
RE: DLNA to moode - by TheOldPresbyope - 02-03-2024, 02:48 PM
RE: DLNA to moode - by Tim Curtis - 02-03-2024, 03:21 PM
RE: DLNA to moode - by TheOldPresbyope - 02-03-2024, 04:04 PM
RE: DLNA to moode - by psychofaktory - 02-28-2024, 02:11 PM
RE: DLNA to moode - by TheOldPresbyope - 02-28-2024, 02:35 PM
RE: DLNA to moode - by TheOldPresbyope - 02-28-2024, 05:00 PM
RE: DLNA to moode - by TheOldPresbyope - 02-28-2024, 09:38 PM
RE: DLNA to moode - by Tim Curtis - 02-28-2024, 09:57 PM
RE: DLNA to moode - by TheOldPresbyope - 02-28-2024, 11:51 PM
RE: DLNA to moode - by Tim Curtis - 02-29-2024, 12:11 AM
RE: DLNA to moode - by TheOldPresbyope - 02-29-2024, 12:39 AM
RE: DLNA to moode - by Tim Curtis - 02-29-2024, 12:47 AM
RE: DLNA to moode - by bsergiu - 02-29-2024, 08:16 PM
RE: DLNA to moode - by Tim Curtis - 02-29-2024, 10:43 PM
RE: DLNA to moode - by bsergiu - 03-01-2024, 03:24 AM
RE: DLNA to moode - by TheOldPresbyope - 03-01-2024, 11:01 AM
RE: DLNA to moode - by bsergiu - 03-01-2024, 04:58 PM
RE: DLNA to moode - by Tim Curtis - 03-01-2024, 11:19 AM
RE: DLNA to moode - by bsergiu - 03-01-2024, 04:31 PM
RE: DLNA to moode - by TheOldPresbyope - 03-01-2024, 04:44 PM
RE: DLNA to moode - by Tim Curtis - 03-01-2024, 07:15 PM
RE: DLNA to moode - by bsergiu - 03-02-2024, 01:01 PM
RE: DLNA to moode - by Tim Curtis - 03-02-2024, 02:22 PM
RE: DLNA to moode - by psychofaktory - 03-02-2024, 07:57 PM
RE: DLNA to moode - by bsergiu - 03-03-2024, 06:13 AM

Forum Jump: