Playlist of MM-PC and MM-Android not compatible on UPnP - Nas - Server

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Playlist of MM-PC and MM-Android not compatible on UPnP - Nas - Server

Re: Playlist of MM-PC and MM-Android not compatible on UPnP - Nas - Server

by Peke » Sun May 03, 2020 7:38 pm

Hi,
Nice, clean, elegant solution.

We are here if you need more help.

Re: Playlist of MM-PC and MM-Android not compatible on UPnP - Nas - Server

by ratmalwer » Fri May 01, 2020 10:56 pm

Track-Property in MMW is (rightclick on track and selecting properites)
Path: http://192.168.1.50:9001/disk/DLNA-PNMP ... 719820.mp3

is it that what you are asking for?

What the NAS sees - I dont know. I just know, that this path works in playlist.

I have some knowledge in VBA / VBS but no idea how to embed it in MM to make a custom export. Is there a programmer-manual?

at the moment my batch works fine :-)

Look:

Code: Select all

@echo off &setlocal
setlocal enabledelayedexpansion
set "search=uuid://55076f6e-6b79-4d65-64a7-001141327d3d"
set "replace=http://192.168.1.50:9001"
set "textfile=%1"
set "newfile=Output.txt"
(for /f "delims=" %%i in (%textfile%) do (
    set "line=%%i"
    set "line=!line:%search%=%replace%!"
    echo(!line!
))>"%newfile%"
del %textfile%
rename %newfile%  %textfile%
endlocal

Re: Playlist of MM-PC and MM-Android not compatible on UPnP - Nas - Server

by Peke » Fri May 01, 2020 7:45 pm

Hi,
If you have VBS script knowledge, wouldn't be better to make export selected script or modify Export all playlist script to export it in NAS format?

Can you give an example of one file that MM access (Track Properties) and how NAS media app see path to same file (from my examples above)?

Re: Playlist of MM-PC and MM-Android not compatible on UPnP - Nas - Server

by ratmalwer » Fri May 01, 2020 11:52 am

Hi Pavle

thanks for the time you spent on this subject and the explanations.
I was assumig it to be easier to solve - as you wrote, finding the right settings for export.

As your options mean, that my PC has to be running when playing music I will go an other way. (This is what I actually wanted to avoid):

I will write a copy-batch, witch is changing the UUID by the HTTP and transfer the exported playlist like this to the NAS. After that all my devices can access, without the PC running. - al least at the moment.

Thanks again - stay healthy
Markus

Re: Playlist of MM-PC and MM-Android not compatible on UPnP - Nas - Server

by Peke » Fri May 01, 2020 8:21 am

Hi,
There is a big issue with that which is design of DLNA/UPnP that is server based and Client only gets temporary access to file stream, no actual direct access to manage them. Shortly said you have one DLNA server and all others are clients. In your Case you have two DLNA Servers (MM and Medion) that are in conflicts where only one can act as Server. To avoid that we started free MMS (MediaMonkey Server) that should evolve in solution for MM and allow actual DLNA parts to be handled by NAS or any dedicated device that will serve as one centralized server for library and files.

That said we came to second issue which is that DLNA is one way service eg. Server to client where client can't edit, manage playlists and Media on Server in any way it can only play media of server in way that server is serving it to client. Bad thing is that there is no way to tell how each DLNA server implementation will dynamically present its media to clients. Playlist served to clients are generated on request and thus filenames and paths can't be static so next time you reffer to same path you can get different track or no track at all (common that is the case).

HTTP:// is just transport layer and temp link to media stream not actual path which on Windows uses "\" as folder separator and "/"on linux and Windows uses Drive letters where Linux uses Mount points, ... which means that folder on windows can be "t:\Media\Queen\" or "\\MEDION\Media\Queen\" or ""\\192.168.1.110\Media\Queen\" and on Medion folder is read as "/share/md0/Media/queen/" or "smb://localhost/Media/Queen/" or "/mnt/Media/Queen/" and few other ways depending on Medion DLNA Server access permissions.

Based on your setup you have three options:
1. Use MM as sole DLNA server and Medion as storage where you manage all on MMW/5 (MMS in future) and MMA, Marantz just access library

2. Use Medion as Sync Device where you will actually just sync files and playlist and then let Medion Media Server be the one that will serve media over DLNA to MMA and Marantz

3. Find the right settings in M3U export so that Medion is reading them and can serve them as playlists to clients, but that means you will have two DLNA servers and each one on its own way will serve media to connecting clients. It is tedious process to find right combination of settings and you need to know that if Medion or Server app developers decide to change something you gotta start from beginning

Re: Playlist of MM-PC and MM-Android not compatible on UPnP - Nas - Server

by ratmalwer » Thu Apr 30, 2020 9:40 pm

Hi Pavle

good question!

First I tell you what I want to do, then what I have done.

What I want:
I have a Winows-PC with MM Gold, a Medion-NAS and a Marantz Renderer. Besides a Samsung A40 with MM-Android - Free.
On the PC I want to create one ore more playlists that can be accessed by PC, MM-Adnroid and by the Marantz istelf (Stored on the Medion-NAS).

What I did:
I created a playlist on my PC. (this is verry comfortable in MM).
And as I think, there is no function to make a Playlist on UPnP with MM-Android.
I exported it as m3u and copied it to my Medion-Nas. (I tried to export it to the Nas directly with exact the same effect: the HTTP-adess gets changed by uuid).

After your last message I had a try whit the Sync-functino that is valid 10 days. It says Sync incomplete. And I think the sync goes on the android-device instead the NAS.

For short: I can live without playlists. But when I create some they should be accessible across all platforms. And as I tested it works with manually created playlists with the correct Http-Adress.

Please point me to the right way - or we forget about it. Maybe I want something nobody else wants.

Re: Playlist of MM-PC and MM-Android not compatible on UPnP - Nas - Server

by Peke » Thu Apr 30, 2020 4:13 pm

Hi,
Ok, so lets clear few things to be sure:

1. Are we talking of extended M3U when you export in MMW or MMA?

2. Can you please make step by step what you have tried and how you tried to import playlists on Medion?

3. Do you sync to Medion or you Export playlist into Medion folder that is read by its media app?

Re: Playlist of MM-PC and MM-Android not compatible on UPnP - Nas - Server

by ratmalwer » Wed Apr 29, 2020 7:11 pm

Re: Playlist of MM-PC and MM-Android not compatible on UPnP - Nas - Server

by ratmalwer » Wed Apr 29, 2020 6:47 pm

For me it lacks on a function to create Extended m3u (like VLC).
As MM-Windows shows the correct path: http://192.168.1.50:9001/disk/DLNA-PNMP ... 739276.mp3, I can create at playlist even with dummy-values by hand and it works perfect.

#EXTM3U
#EXTINF:253, Mydummytitle
http://192.168.1.50:9001/disk/DLNA-PNMP ... 739276.mp3
#EXTINF:555, Mydummytitle2
http://192.168.1.50:9001/disk/DLNA-PNMP ... 715980.mp3

Re: Playlist of MM-PC and MM-Android not compatible on UPnP - Nas - Server

by Peke » Wed Apr 29, 2020 5:56 pm

Hi,
Unfortunately I had no chance to have on test some MEDION devices :(

So I can't debug, but it is just matter of settings what MM Export in Playlist so that I have MEDION see them as local playlist and import. It is just trial and miss, but I am sure it can be done.

Re: Playlist of MM-PC and MM-Android not compatible on UPnP - Nas - Server

by ratmalwer » Wed Apr 29, 2020 5:22 pm

Hi Pavle

thanks for your inquiry.

Actually I am not usin a QNAP - NAS. The Name is a leftover from a former Installation. I replaced it by a noiseless MEDION-NAS.

The NAS I use is a MEDION - NAS Firmware: 1.01(UZD.3).

Kind regards Markus

Re: Playlist of MM-PC and MM-Android not compatible on UPnP - Nas - Server

by Peke » Tue Apr 28, 2020 6:10 pm

Hi,
You are not doing anything wrong just UUID:// Links are short term links and are temporary generated.

And regarding you wrote in first post:

MM list is generated with access links so that you can put it in Windows explorer and get access to file directly.

VLC generate standard browser stream link pointing local address and PORT 9001 where VLC will serve stream.

Only MM list can be used as more stable playlist due the fact it point to source file others are streaming links.

Can you give more details on your QNAP, firmware version as I have tested on QNAP 659 Pro II running QTS 4.2.6 and also on QNAP 453 Pro running 4.4.2?

Re: Playlist of MM-PC and MM-Android not compatible on UPnP - Nas - Server

by ratmalwer » Sun Apr 26, 2020 8:28 am

Thanks for this hint.

Now I Attached my Server in this way: File - Add Files to Archive - Mediaserver - QNAP - Music

the generated playlist looks like this:
uuid://55076f6e-6b79-4d65-64a7-001141327d3d/disk/DLNA-PNMP3-OP01-FLAGS01700000/O0$1$8I1180684.mp3
uuid://55076f6e-6b79-4d65-64a7-001141327d3d/disk/DLNA-PNMP3-OP01-FLAGS01700000/O0$1$8I1739276.mp3

After copiing it to the Server:
the Title is missing, MM-Android finds the playlist, but cannot play it :-(

Can you point me to the right way?

Re: Playlist of MM-PC and MM-Android not compatible on UPnP - Nas - Server

by Lowlander » Sat Apr 25, 2020 11:02 pm

From MediaMonkey you're exporting a Playlist containing Paths to the File Server whereas from VLC you exported a Playlist containing Paths to the Media Server.

In other words you need to use Media Servers in the Media Tree to access the files in the same way you accessed them using VLC.

Playlist of MM-PC and MM-Android not compatible on UPnP - Nas - Server

by ratmalwer » Sat Apr 25, 2020 7:43 pm

There seems to be no function to build playlists on a UPnP-server with my Android-Mobile. (I found the function to build a playlist localy on my Android) - but thats not the goal.

So I built a playlist on my Windows-PC and exported it (.m3u) and copied it to my Server. But the playlist did show but its told empty.

So I built a playlist on my Windows-PC with MediaMonkey and exported it (.xspf) and copied it to my Server. But the playlist did not show.

So I built a playlist on my Windows-PC with VLC-Player and exported it (.m3u) and copied it to my Server. It works perfect with MM-Android !!!!!

Now i opend the .m3u-files in a editor and see the difference.

MM generates:
\\QNAP\music\6Sound_A_Z\A\Al Steward - Time Passages.mp3
\\QNAP\music\6Sound_A_Z\A\Aerosmith - Leaving On A Jet Plane.mp3

VLC generates:
#EXTM3U
#EXTINF:777,Cat Stevens - 18th Avenue
http://192.168.1.50:9001/disk/DLNA-PNMP ... 8I9740.mp3
#EXTINF:778,John Coltrane/Miles Davis/Duke Ellington - 1920s
http://192.168.1.50:9001/disk/DLNA-PNMP ... 386572.mp3

How can I generate a Playlist with Mediamonkey that works on UPnP-Server?

Top