D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-321 => Topic started by: BlankMan on October 23, 2009, 11:09:33 AM

Title: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: BlankMan on October 23, 2009, 11:09:33 AM
What is the correct directory to use in m3u Playlists so that the DNS-321 will be able to play them?

This is where the computer has the export mounted:

FSXX:/mnt/HD_a2/MultiMedia on /aaa/bbb/cccccc/.MultiMedia

FSXX being the DNS-321's name.

This is what the DNS-321 shows in the Network Access Settings page:

Volume_1/MultiMedia
Real path: /mnt/HD_a2/MultiMedia

So this is what the Playlist's have in them so the computer can play the files:

#EXTM3U
#EXTINF:204,Songs About Me
/aaa/bbb/cccccc/.MultiMedia/CD_Audio/Trace Adkins/Songs About Me/mp3/01 - Songs About Me.mp3
#EXTINF:247,Arlington
/aaa/bbb/cccccc/.MultiMedia/CD_Audio/Trace Adkins/Songs About Me/mp3/02 - Arlington.mp3
#EXTINF:223,Find Me A Preacher
/aaa/bbb/cccccc/.MultiMedia/CD_Audio/Trace Adkins/Songs About Me/mp3/03 - Find Me A Preacher.mp3

So for the DNS-321 to be able to play the files should it be this?

#EXTM3U
#EXTINF:204,Songs About Me
Volume_1/MultiMedia/CD_Audio/Trace Adkins/Songs About Me/mp3/01 - Songs About Me.mp3
#EXTINF:247,Arlington
Volume_1/MultiMedia/CD_Audio/Trace Adkins/Songs About Me/mp3/02 - Arlington.mp3
#EXTINF:223,Find Me A Preacher
Volume_1/MultiMedia/CD_Audio/Trace Adkins/Songs About Me/mp3/03 - Find Me A Preacher.mp3

Or this?

#EXTM3U
#EXTINF:204,Songs About Me
/Volume_1/MultiMedia/CD_Audio/Trace Adkins/Songs About Me/mp3/01 - Songs About Me.mp3
#EXTINF:247,Arlington
/Volume_1/MultiMedia/CD_Audio/Trace Adkins/Songs About Me/mp3/02 - Arlington.mp3
#EXTINF:223,Find Me A Preacher
/Volume_1/MultiMedia/CD_Audio/Trace Adkins/Songs About Me/mp3/03 - Find Me A Preacher.mp3

Or this?

#EXTM3U
#EXTINF:204,Songs About Me
/mnt/HD_a2/MultiMedia/CD_Audio/Trace Adkins/Songs About Me/mp3/01 - Songs About Me.mp3
#EXTINF:247,Arlington
/mnt/HD_a2/MultiMedia/CD_Audio/Trace Adkins/Songs About Me/mp3/02 - Arlington.mp3
#EXTINF:223,Find Me A Preacher
/mnt/HD_a2/MultiMedia/CD_Audio/Trace Adkins/Songs About Me/mp3/03 - Find Me A Preacher.mp3
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: BlankMan on October 24, 2009, 09:47:50 AM
Ok, this is getting a little ridiculous, I've tried another 8 formats for the contents of Playlist files, none of them work. D-Link, what the h*ll is the format of Playlist files so the DNS-321's UPnP server can play them?

/mnt/HD_a2/MultiMedia/ is the NFS export and its mounted as /aaa/bbb/cccccc/.MultiMedia

# mount
NFSsrv:/mnt/HD_a2/MultiMedia on /aaa/bbb/cccccc/.MultiMedia type nfs (rw,addr=192.168.xx.xxx)

This is where the song is as seen on the computer.
/aaa/bbb/cccccc/.MultiMedia/CD_Audio/Sugarland/Love on the Inside (Deluxe Fan Edition)/mp3/16 - Life in a Northern Town (Live) [Bonus Track].mp3

The song plays fine from that location, alone on the computer and in Playlists for MediaTomb and another streaming JukeBox player I use.

Below are the Playlists I've tried, the first line is the m3u playlist filename then the contents are listed.

000 Country Hits 4.m3u
#EXTM3U
#EXTINF:255,Life in a Northern Town (Live) [Bonus Track]
Volume_1/MultiMedia/CD_Audio/Sugarland/Love on the Inside (Deluxe Fan Edition)/mp3/16 - Life in a Northern Town (Live) [Bonus Track].mp3

001 Country Hits 4.m3u
#EXTM3U
#EXTINF:255,Life in a Northern Town (Live) [Bonus Track]
/Volume_1/MultiMedia/CD_Audio/Sugarland/Love on the Inside (Deluxe Fan Edition)/mp3/16 - Life in a Northern Town (Live) [Bonus Track].mp3

002 Country Hits 4.m3u
#EXTM3U
#EXTINF:255,Life in a Northern Town (Live) [Bonus Track]
/mnt/HD_a2/MultiMedia/CD_Audio/Sugarland/Love on the Inside (Deluxe Fan Edition)/mp3/16 - Life in a Northern Town (Live) [Bonus Track].mp3

003 Country Hits 4.m3u
#EXTM3U
#EXTINF:255,Life in a Northern Town (Live) [Bonus Track]
16 - Life in a Northern Town (Live) [Bonus Track].mp3

004 Country Hits 4.m3u
#EXTM3U
#EXTINF:255,Life in a Northern Town (Live) [Bonus Track]
Life in a Northern Town (Live) [Bonus Track].mp3

005 Country Hits 4.m3u
Life in a Northern Town (Live) [Bonus Track].mp3

006 Country Hits 4.m3u
Life in a Northern Town (Live) [Bonus Track]

007 Country Hits 4.m3u
#EXTM3U
#EXTINF:255,Life in a Northern Town (Live) [Bonus Track]
/MultiMedia/CD_Audio/Sugarland/Love on the Inside (Deluxe Fan Edition)/mp3/16 - Life in a Northern Town (Live) [Bonus Track].mp3

008 Country Hits 4.m3u
#EXTM3U
#EXTINF:255,Life in a Northern Town (Live) [Bonus Track]
MultiMedia/CD_Audio/Sugarland/Love on the Inside (Deluxe Fan Edition)/mp3/16 - Life in a Northern Town (Live) [Bonus Track].mp3
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: BlankMan on November 09, 2009, 08:37:38 AM
D-Link - Can we get some help here?
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: ECF on November 09, 2009, 02:13:26 PM
Are you creating the playlist and saving it directly to the NAS? Does it playback properly off the NAS in the original location? What method of playback are you using through the UPnP AV media server or SMB share mapped to the PC?
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: BlankMan on November 13, 2009, 12:45:29 PM
- Are you creating the playlist and saving it directly to the NAS?

Yes, in a directory for playlists, and I've tired many many different locations all with the same results, failure.

- Does it playback properly off the NAS in the original location?

When referenced as a mounted share on a PC yes, but not via the NAS's UPnP server to the DSM-520.

- What method of playback are you using through the UPnP AV media server or SMB share mapped to the PC?

Through the UPnP media server trying to play the playlist on the DSM-520. I shows the playlists it finds, which is one for each CD referencing only what is on that CD and in the same directory as the mp3's, and other playlists that contain songs from various CD's and those playlists are in a common directory.
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: ECF on November 13, 2009, 01:43:07 PM
What firmware are you running on the DNS-321 and DSM-520? It seems to work fine for me. Just goto an album on the DNS-321 and play all the songs then save the playlist in the same folder. Im using WMP11. Then start the DSM-520 and goto the DNS-321 media server and select music and playlists. It should list the playlist your just created in the folder on that NAS. Does it play the list?

Here is how the format of my m3u file looks in notepad

#EXTM3U
#EXTINF:0,Dog Fashion Disco - 01 - The Uninvited Guest.mp3
\\DNS-321\Volume_1\My Music\Dog Fashion Disco\2006 - Adultery\Dog Fashion Disco - 01 - The Uninvited Guest.mp3

#EXTINF:0,Dog Fashion Disco - 02 - Miss Rose Covington.mp3
\\DNS-321\Volume_1\My Music\Dog Fashion Disco\2006 - Adultery\Dog Fashion Disco - 02 - Miss Rose Covington.mp3

#EXTINF:0,Dog Fashion Disco - 03 - Silent Film.mp3
\\DNS-321\Volume_1\My Music\Dog Fashion Disco\2006 - Adultery\Dog Fashion Disco - 03 - Silent Film.mp3

Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: BlankMan on December 25, 2009, 01:46:17 PM
What firmware are you running on the DNS-321 and DSM-520? It seems to work fine for me. Just goto an album on the DNS-321 and play all the songs then save the playlist in the same folder. Im using WMP11. Then start the DSM-520 and goto the DNS-321 media server and select music and playlists. It should list the playlist your just created in the folder on that NAS. Does it play the list?

Here is how the format of my m3u file looks in notepad

#EXTM3U
#EXTINF:0,Dog Fashion Disco - 01 - The Uninvited Guest.mp3
\\DNS-321\Volume_1\My Music\Dog Fashion Disco\2006 - Adultery\Dog Fashion Disco - 01 - The Uninvited Guest.mp3

#EXTINF:0,Dog Fashion Disco - 02 - Miss Rose Covington.mp3
\\DNS-321\Volume_1\My Music\Dog Fashion Disco\2006 - Adultery\Dog Fashion Disco - 02 - Miss Rose Covington.mp3

#EXTINF:0,Dog Fashion Disco - 03 - Silent Film.mp3
\\DNS-321\Volume_1\My Music\Dog Fashion Disco\2006 - Adultery\Dog Fashion Disco - 03 - Silent Film.mp3



Well here's how mine looks now and it doesn't work

#EXTM3U
#EXTINF:165,American Ride
\\NAS01\Volume_1\MultiMedia\CD_Audio\Toby Keith\American Ride\mp3\01 - American Ride.mp3
#EXTINF:251,Gone
\\NAS01\Volume_1\MultiMedia\CD_Audio\Montgomery Gentry\You Do Your Thing\mp3\06 - Gone.mp3
#EXTINF:184,Sideways
\\NAS01\Volume_1\MultiMedia\CD_Audio\Dierks Bentley\Feel That Fire\mp3\02 - Sideways.mp3


Share      Path        User/Group     Comment     Oplocks     Map archive     R/W         

MultiMedia   Volume_1/MultiMedia   xxxx      MultiMedia   No      No         checked
 
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: mobilejukebox on January 02, 2010, 12:05:27 AM
I'm having the same issue with my DNS-323.  I can't seem to get an .m3u file to work with the 520 IF the .m3u is on my 323.  I get an error stating "No Content Available".

Details:

The DSM-520 has firmware 1.06.01.  The DNS-323 has firmware 1.08 b08 (beta 08).

Let's say my 323 is named "media", the folder I have shared is called "vol_1" and the folder I have my music in is called "music".  I create the .m3u file with Media Player 12 and save it to the NAS in a folder called "playlists".  I made sure that the structure of the .m3u file is like this ...

#EXTM3U
#EXTINF:0,01 song1.mp3
\\media\Vol_1\Music\artist\album1\song1.mp3

#EXTINF:0,02 song2.mp3
\\media\Vol_1\Music\artist\album1\song2.mp3

... and so on but the 520 doesn't play anything.


I've also tried:

#EXTINF:0,01 song1.mp3
Vol_1\Music\artist\album1\song1.mp3

and

#EXTINF:0,01 song1.mp3
Music\artist\album1\song1.mp3

and

#EXTINF:0,01 song1.mp3
..\artist\album1\song1.mp3

but still get the same error.  Does the 321 or 323 support playlists directly from the NAS?

To be absolutely clear, I want to know if the DNS-321/3 supports a DSM-520 using a playlist when the playlist file is on the 321/3 and no computer is in the picture.  Obviously the music files listed in the playlist are also on the 321/3.
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: ECF on January 04, 2010, 02:45:43 PM
I
but still get the same error.  Does the 321 or 323 support playlists directly from the NAS?

To be absolutely clear, I want to know if the DNS-321/3 supports a DSM-520 using a playlist when the playlist file is on the 321/3 and no computer is in the picture.  Obviously the music files listed in the playlist are also on the 321/3.

Yes it does. The UPnP AV media server supports m3u playlist file type. Try creating a test folder ont he DNS-321 and set the UPnP AV media server to only this folder to share.
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: mobilejukebox on January 04, 2010, 11:22:12 PM
No luck.  Here's the deal with the playlists and it isn't a playlist issue it's a firmware issue (in my opinion).

Lets say you have a folder on the DNS-321 / 323 called music with songs 1.mp3, 2.mp3 and 3.mp3.
You also have a folder under music called music_2 with songs 4.mp3, 5.mp3 and 6.mp3.

Now lets say you have a playlist called play1.m3u and it sits in the music folder.  This playlist has just songs 1, 2 and 3 in it.  The DNS-321 will play this without issue and without a PC.

Now lets say you have a playlist called play2.m3u and it sits in the music_2 folder.  This playlist has just songs 4, 5 and 6 in it.  This too will play the songs without issue BECAUSE THE SONGS IN THE .M3U ARE IN THE SAME DIRECTORY AS THE .M3U FILE.

Now lets say you have a playlist called play3.m3u and it sits in the music folder (NOT the music_2 subfolder).  This playlist has just songs 4, 5, and 6 in it.  THE SONGS WILL ~ NOT ~ PLAY.  The DSM-520 will give you the error "No Content Available".

For some reason the firmware doesn't seem to move nicely up and down through parent / child directories when parsing a playlist.

~~~~

On a side note (but related) I have NO MUSIC in the parent folder that I keep my music in.  All my music is organized into sub folders.  That being said, on the DSM-520, after I select the DNS-323 and then music (as the type of media I want), if I were to choose "Folders" then the root shared folder, then highlight the parent folder I have my music in and press "Play" on my remote I get an error "Unable to load file".

Again I think this is a firmware issue in the way that it parses directory structures.
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: mobilejukebox on January 10, 2010, 09:49:06 PM
I know you have a ton of issues to work through but is there any chance this issue will gain some traction or is it dead already?
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: ECF on January 14, 2010, 11:39:05 AM
I'm looking into it I see problem your having.
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: mobilejukebox on January 14, 2010, 04:41:05 PM
Ok.  Thank you.
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: ECF on January 19, 2010, 02:06:09 PM
When using the UPnP AV media server for streaming playlists the playlist file must reside in the same audio file folder. This is due to the way the location is read in this protocol and finding the location of the media files, it's not bug but the way a UPnP AV media server works its not the same as an SMB share location. 
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: nrf on January 20, 2010, 09:06:36 AM
so the playlist would have just the file name with no directory name parts?
logical!
but it does place some constraints on the directory structure for example if you want a playlist to span albums. too bad there isn't a way to use something like ./dirname/filename
nrf
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: ECF on January 20, 2010, 11:17:59 AM
so the playlist would have just the file name with no directory name parts?
logical!
but it does place some constraints on the directory structure for example if you want a playlist to span albums. too bad there isn't a way to use something like ./dirname/filename
nrf

Yup. Unfortunately.
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: mobilejukebox on January 20, 2010, 05:56:21 PM
When using the UPnP AV media server for streaming playlists the playlist file must reside in the same audio file folder. This is due to the way the location is read in this protocol and finding the location of the media files, it's not bug but the way a UPnP AV media server works its not the same as an SMB share location.  

ECF - You are absolutely WRONG!  It is a bug.  It is NOT how "a" (one hell of  a  generalization there) UPnP media server works.  It's how the DNS-321 and 323 UPnP media servers seem to work.  I just created a test .m3u file and saved it to my computer (running Windows 7 and MP12).  I did NOT copy any music files to my computer.  I dragged and dropped a folder from my DNS-323 into the playlist section of WMP and saved the playlist as an .m3u file.  IT PLAYS WITHOUT ISSUE on the DSM-520 when played from my computer!!!!  That same .m3u file DOES NOT PLAY when I attempt to play it from the DNS-323.  So that you don't bother with this question, the format of the .m3u follows what I have stated previously.

Please do testing on my findings and not just (what seems to be) random research.  Thank you for your time in addressing this and I apologize for my tone; but I don't get the feeling there's a lot of effort or understanding on this issue.
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: ECF on January 21, 2010, 04:42:45 PM
I will have to look into that because it does not do this in Vista or XP using WMP11.
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: mobilejukebox on January 21, 2010, 08:54:04 PM
ECF - Could you be more clear and detailed about what you mean by "it does not do this in Vista or XP using WMP11"?
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: ECF on January 25, 2010, 04:22:14 PM
ECF - Could you be more clear and detailed about what you mean by "it does not do this in Vista or XP using WMP11"?

What you said I was absolutely WRONG about. Have you tried it with WMP11 and not 12? Ill check more into this but with my finding I was not able to do what you explained in WMP11.
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: mobilejukebox on January 25, 2010, 11:02:50 PM
I will try WMP11.  But I want to be clear what you tested.

Please answer each question individually.

1) Were you able to create an .m3u play list with WMP11? (Silly question I know and I'm sure it's yes).
2) Are the music files that were added to the playlist residing on the DNS-321 in a different directory than the play list?
3) Did you save that play list into a folder on the DNS-321 that HAS NO MUSIC?
4) Were you able to successfully play the playlist on the DNS-321 using the DSM-520 with the above criteria being met?
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: ECF on January 26, 2010, 09:57:41 AM
I will try WMP11.  But I want to be clear what you tested.

Please answer each question individually.

1) Were you able to create an .m3u play list with WMP11? (Silly question I know and I'm sure it's yes).
2) Are the music files that were added to the playlist residing on the DNS-321 in a different directory than the play list?
3) Did you save that play list into a folder on the DNS-321 that HAS NO MUSIC?
4) Were you able to successfully play the playlist on the DNS-321 using the DSM-520 with the above criteria being met?

1) Yes

2) Yes they reside on my DNS-321

3) I saved the playlist to the PC. It played on the PC and accessed the media list in WMP11 but not to the DSM-520 via UPnP media server. (I will try it saving to the DNS-321 as well and see if its different results) It sounded as if this is what you did but ill try both.

4) No. 
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: mobilejukebox on January 26, 2010, 09:27:33 PM
Ok.  Test #4 is the issue I'm experiencing.
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: ECF on February 05, 2010, 08:31:30 AM
What where the results?
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: mobilejukebox on February 05, 2010, 09:57:09 PM
If you're asking about me testing WMP11 with my DNS-323's, honestly I didn't.  Your findings with test #4 made my tests not necessary.  The same issue is happening for you with WMP11 and me with WMP12.  Besides, the issue isn't WMP anyway.  I hope you've been able to escalate this to the developers and haven't been waiting for me to report my test results.

I apologize for not testing, since I told you I would test WMP11, but all my machines have been WMP12 for a while and I didn't realize it when I told you I'd test WMP11.
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: mobilejukebox on February 21, 2010, 07:04:47 PM
ECF - Has this issue been reported to the developers or at least escalated to the correct team?
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: mobilejukebox on March 26, 2010, 07:34:55 PM
Any updates on this issue?
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: ECF on April 08, 2010, 10:06:44 AM
Yes, it was reported to the engineers back then when I provide an answer and I was informed that this is how it works when streaming via UPnP. UpnP does not read the file structures that same as an SMB share when accessing it in WMP11 or 12 on your PC so the playlist file must reside in the same folder as the media.
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: frustrateddns321user on February 23, 2012, 06:50:49 PM
Any update on this issue?
Title: Re: What directory to use in m3u Playlists for the DNS-321 UPnP server to play them?
Post by: JoeF on February 28, 2012, 08:22:52 PM
Any update on this issue?
I don't think there are any updates to the UPnP server coming for the DNS-321. Unfortunate, but the DNS-321 is pretty much orphaned by DLink.

If you have problems with the UPnP server, it may be better to root the box and run the UPnP server that is available in the fun_plug tools.
The DNS-321 UPnP server is not quite DLNA-compliant, and has lots of access problems from DLNA clients. It didn't find any files when accessing it through my BlueRay player even though I could navigate the directory structure, for example.
When I started running the Mediatomb UPnP server that comes with fun_plug, everything works fine.
Of course, you may need some technical knowledge to actually root the NAS. Search for "fun_plug".