Moode Forum
[PROBLEM] Plex as UPnP source - 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: [PROBLEM] Plex as UPnP source (/showthread.php?tid=1710)



Plex as UPnP source - ekemate - 09-12-2019

I have a Plex Media Server installation with enabled DLNA.
Moode (6.2) can add it as a source, but mpd doesn't find any music in it.

There are lot of `.m3u` files under the `/var/lib/mpd/music/Plex` folder, for example:

Code:
pi@moode:~ $ ls -la /var/lib/mpd/music/Plex/HAIM/Days\ Are\ Gone/
total 11
dr-xr-xr-x 3 root root 512 Jan  1  2000  .
dr-xr-xr-x 4 root root 512 Jan  1  2000  ..
-r--r--r-- 1 root root  95 Jan  1  2000 'Better Off.m3u'
-r--r--r-- 1 root root  98 Jan  1  2000 'Days Are Gone.m3u'
-r--r--r-- 1 root root 117 Jan  1  2000 'Don'\''t Save Me (Cyril Hahn remix).m3u'
-r--r--r-- 1 root root  98 Jan  1  2000 "Don't Save Me.m3u"
-r--r--r-- 1 root root 112 Jan  1  2000 'Falling (Duke Dumont remix).m3u'
-r--r--r-- 1 root root 127 Jan  1  2000 'Falling (live at the iTunes Festival 2012).m3u'
-r--r--r-- 1 root root  92 Jan  1  2000  Falling.m3u
-r--r--r-- 1 root root 112 Jan  1  2000 'Falling (Psychemagik remix).m3u'
-r--r--r-- 1 root root 112 Jan  1  2000 'Forever (Dan Lissvik remix).m3u'
-r--r--r-- 1 root root  92 Jan  1  2000  Forever.m3u
-r--r--r-- 1 root root  92 Jan  1  2000 'Go Slow.m3u'
-r--r--r-- 1 root root  94 Jan  1  2000 'Honey & I.m3u'
-r--r--r-- 1 root root 112 Jan  1  2000 'If I Could Change Your Mind.m3u'
-r--r--r-- 1 root root  94 Jan  1  2000 'Let Me Go.m3u'
dr-xr-xr-x 2 root root 512 Jan  1  2000  .metadata
-r--r--r-- 1 root root  94 Jan  1  2000 'My Song 5.m3u'
-r--r--r-- 1 root root 112 Jan  1  2000 'Running If You Call My Name.m3u'
-r--r--r-- 1 root root  97 Jan  1  2000 'Send Me Down.m3u'
-r--r--r-- 1 root root  93 Jan  1  2000 'The Wire.m3u'
-r--r--r-- 1 root root 109 Jan  1  2000 'The Wire (Tourist remix).m3u'

I have mounted the `All Artists` folder 
Code:
/mnt/UPNP/Plex\ Media\ Server\:\ Wanda/Music/Zene/All\ Artists/

On the GUI:

[attachment=772]
[attachment=773]

mpd.log is empty despit of this line (I have pushed the "RE-GEN" button on the UI):

Code:
Sep 12 16:43 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac



RE: Plex as UPnP source - Tim Curtis - 09-12-2019

Try a folder that contains Albums


RE: Plex as UPnP source - ekemate - 09-13-2019

Thank you!

I have tried 
Code:
/mnt/UPNP/Plex\ Media\ Server\:\ Wanda/Music/Zene/By\ Album/

But the result is the same.
Code:
pi@moode:~ $ ls -la /var/lib/mpd/music/Plex/HAIM\ -\ Days\ Are\ Gone\ \(2013\)/
total 11
dr-xr-xr-x   3 root root 512 Jan  1  2000  .
dr-xr-xr-x 184 root root 512 Jan  1  2000  ..
-r--r--r--   1 root root  95 Jan  1  2000 'Better Off.m3u'
-r--r--r--   1 root root  98 Jan  1  2000 'Days Are Gone.m3u'
-r--r--r--   1 root root 117 Jan  1  2000 'Don'\''t Save Me (Cyril Hahn remix).m3u'
-r--r--r--   1 root root  98 Jan  1  2000 "Don't Save Me.m3u"
-r--r--r--   1 root root 112 Jan  1  2000 'Falling (Duke Dumont remix).m3u'
-r--r--r--   1 root root 127 Jan  1  2000 'Falling (live at the iTunes Festival 2012).m3u'
-r--r--r--   1 root root  92 Jan  1  2000  Falling.m3u
-r--r--r--   1 root root 112 Jan  1  2000 'Falling (Psychemagik remix).m3u'
-r--r--r--   1 root root 112 Jan  1  2000 'Forever (Dan Lissvik remix).m3u'
-r--r--r--   1 root root  92 Jan  1  2000  Forever.m3u
-r--r--r--   1 root root  92 Jan  1  2000 'Go Slow.m3u'
-r--r--r--   1 root root  94 Jan  1  2000 'Honey & I.m3u'
-r--r--r--   1 root root 112 Jan  1  2000 'If I Could Change Your Mind.m3u'
-r--r--r--   1 root root  94 Jan  1  2000 'Let Me Go.m3u'
dr-xr-xr-x   2 root root 512 Jan  1  2000  .metadata
-r--r--r--   1 root root  94 Jan  1  2000 'My Song 5.m3u'
-r--r--r--   1 root root 112 Jan  1  2000 'Running If You Call My Name.m3u'
-r--r--r--   1 root root  97 Jan  1  2000 'Send Me Down.m3u'
-r--r--r--   1 root root  93 Jan  1  2000 'The Wire.m3u'
-r--r--r--   1 root root 109 Jan  1  2000 'The Wire (Tourist remix).m3u'

Music library is still empty.


RE: Plex as UPnP source - Tim Curtis - 09-13-2019

You will have to find a folder that contains the actual albums/tracks. If Plex does not expose such a folder then you are out of luck.

First try drilling into /mntUPNP by using the ls command.


RE: Plex as UPnP source - ekemate - 09-13-2019

(09-13-2019, 12:31 PM)Tim Curtis Wrote: You will have to find a folder that contains the actual albums/tracks. If Plex does not expose such a folder then you are out of luck.

First try drilling into /mntUPNP by using the ls command.

It looks like PLEX only share .m3u files. If i click on them on the UI they look like this:

[attachment=774]


RE: Plex as UPnP source - TheOldPresbyope - 09-13-2019

@ekemate

Have you tried some other UPnP Renderer to test your Plex media server installation? Specifically *not* a Plex player such as the Plex Web App or one of its mobile apps? 

For UPnP/DLNA testing purposes, I use apps like BubbleDS, BubbleUPnP, Linn Kazoo or Linn Kinsky, etc., on an Android or iOS device. If one of these non-Plex players can find and play your music tracks and playlists then moOde should too. If they can't then your issue is with Plex.

As an aside: I looking into Plex Media Server some years ago, but couldn't figure out its licensing and fees and opted for an open-source NAS solution, in my case Open Media Vault. The result is I can't try to duplicate your situation. Sorry.

Regards,
Kent


RE: Plex as UPnP source - TheOldPresbyope - 09-13-2019

(09-13-2019, 03:19 PM)TheOldPresbyope Wrote: @ekemate

...

As an aside: I looking into Plex Media Server some years ago, but couldn't figure out its licensing and fees and opted for an open-source NAS solution, in my case Open Media Vault. The result is I can't try to duplicate your situation. Sorry.

Ok, so since I'm running Open Media Vault (a vanilla NAS) with miniDLNA enabled to make it a DLNA server the same way the moOde players can, it wouldn't be a fair test.
I just brought up the open-source Gerbera Media Server---a community effort to keep the defunct MediaTomb project alive---on my Linux server and added some album directories. Each album directory contains track (.flac), coverart (.jpg), and playlist (.m3u) files.
From my mobile apps and from moOde I can drill down to either album directories or playlist directories. From either branch I can play a track or an album, right now the sublime Brahms Ein Deutsches Requiem. [full disclosure: I'm having trouble with the coverart but probably I should RTFM.]
From my perspective, this puts your issue squarely on the shoulders of the Plex Media Server.
Regards,
Kent


RE: Plex as UPnP source - Steven Crook - 10-31-2021

It's been a couple of years, but I tried using the Plex Upnp media server some years back and found it to be a partial implementation and buggy to boot. To the point of returning the wrong metadata, so, dates in fields meant to contain albumartist (IIRC it's been a while).

I contacted them, raising an error report. At first they tried to blame the server or controlpoint, then I supplied debugger dumps to prove it was the data *they* were sending. At which point they clammed up, merely saying it would be referred to development. Then, they closed the report because it had been 'inactive' for 6 months. 

I was deeply unimpressed.