The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


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


Solved: m3u with absolute paths
#1
Hi all

I am trying to build some m3u playlists but while those with relative pathnames work, I can't make the ones with absolute paths work.

Example of file structure:

share name: "NAS" (samba)
Folder structure in samba:
Code:
+ Music
   + x1
      file.mp3
   + x2
      playlist.m3u

x1 and x2 are subfolders of "Music" and both are on the same level. One has the mp3 file one has the playlist.


I am trying to reference the mp3 file in the playlist using absolute paths. I tried these versions for the contents of playlist.m3u:

1.
NAS/Music/x1/file.mp3

2.
/NAS/Music/x1/file.mp3

3.
/mnt/NAS/Music/x1/file.mp3


I can't get it to work. I see the playlist in the UI but when I try to play it nothing happens (empty queue).

Could anybody please let me know if this is possible and what format should I use? (the playlists will be generated by a script based on some criteria I will come up with and I prefer to have them in a different branch than the music so I cannot use relative paths because I have to go "up" in the folder structure at least once).




Thanks!
Adrian



S Y S T E M   P A R A M E T E R S

moOde release = 6.5.2 2020-05-03
Raspbian OS = 10.3
Linux kernel = 4.19.115-v7l+ #1305
Platform = Pi-4B 4GB v1.1
Architecture = armv7l (32-bit)
Reply


Messages In This Thread
m3u with absolute paths - by adixor - 08-01-2020, 08:24 PM
RE: m3u with absolute paths - by adixor - 08-01-2020, 08:32 PM
RE: m3u with absolute paths - by adixor - 08-01-2020, 08:39 PM
RE: m3u with absolute paths [SOLVED] - by adixor - 08-01-2020, 08:48 PM

Forum Jump: