Page 1 of 1

Audio m3u path or other issue?

PostPosted: Thu Jan 18, 2024 6:08 pm
by teacherguy
I’m running Serviio on a Raspberry Pi and the library folder is on an external SSD. I can access easily from my Mac using VLC and I can create playlists within VLC. When I export the playlist file to the exact folder where my audio is stored, the playlist does not appear through Serviio (Audio…Playlists directory will show as empty).

Here is an example of the m3u that VLC exports. Do I need to remove “http://… “ and replace with something else?

  Code:
EXTM3U
#EXTINF:310,Steely Dan - Black Cow
http://10.0.0.233:8895/resource/20496/MEDIA_ITEM/FLAC-0/ORIGINAL
#EXTINF:481,Steely Dan - Aja
http://10.0.0.233:8895/resource/20499/MEDIA_ITEM/FLAC-0/ORIGINAL
#EXTINF:457,Steely Dan - Deacon Blues
http://10.0.0.233:8895/resource/20500/MEDIA_ITEM/FLAC-0/ORIGINAL
#EXTINF:240,Steely Dan - Peg
http://10.0.0.233:8895/resource/20497/MEDIA_ITEM/FLAC-0/ORIGINAL
#EXTINF:336,Steely Dan - Home at Last
http://10.0.0.233:8895/resource/20501/MEDIA_ITEM/FLAC-0/ORIGINAL
#EXTINF:307,Steely Dan - I Got the News
http://10.0.0.233:8895/resource/20498/MEDIA_ITEM/FLAC-0/ORIGINAL
#EXTINF:271,Steely Dan - Josie
http://10.0.0.233:8895/resource/20495/MEDIA_ITEM/FLAC-0/ORIGINAL

Re: Audio m3u path or other issue?

PostPosted: Fri Jan 19, 2024 5:37 pm
by atc98092
Yeah, I do believe it's your location format. Serviio is not looking for the media at the IP address, it's simply looking within it's library structure. Here's an example of a M3U playlist that works for me. I won't include the entire list, just a few of the entries.

  Code:
#EXTINF:6507, -  - fish called WANDA
..\A Fish Called Wanda (1988).mkv
#EXTINF:5263, -  - AIRPLANE
..\Airplane! (1980).mkv
#EXTINF:6524, -  -
F:\Video3\Animal House (1978).mkv
#EXTINF:5526, -  - Beetlejuice (1988)
F:\Video3\Beetlejuice (1988).mkv
#EXTINF:6252, -  - BIG
..\Big (1988).mkv
#EXTINF:5881, -  - CADDYSHACK CE
G:\Media\Movies\Caddyshack (1980).mkv
#EXTINF:5810, -  - CLUE
..\Clue (1985).mkv
#EXTINF:5809, -  - CROSSING DELANCEY
F:\Video3\Crossing Delancey (1988).mkv
#EXTINF:8390, -  - Death on the Nile
..\Death on the Nile (1978).mkv
#EXTINF:7927, -  -
F:\Video3\Die Hard (1988).m2ts
#EXTINF:7711, -  - DIEHARD with a v
..\Die Hard With a Vengeance (1995).mkv


My playlists were created using Playlist Creator 3.6.2, which I believe is a Windows only product. Since your system isn't based on Windows, the paths would look different than mine. On mine, the paths that begin with .. the media files are located on the same hard drive as the playlist files. The full path names are on different hard drives.

Re: Audio m3u path or other issue?

PostPosted: Fri Jan 19, 2024 10:31 pm
by teacherguy
Thanks. Each iPad app I have tried will of course make playlists, but I would prefer to have playlists housed on my Raspberry Pi with Serviio, that way they are app-agnostic. I'll keep trying.

Re: Audio m3u path or other issue?

PostPosted: Fri Jan 19, 2024 11:54 pm
by atc98092
I just did a search for Linux apps that can create a playlist, and VLC came up. I've never tried using that before for that purpose, so no idea how easy/hard it might be to use. And that's of course assuming you have a GUI interface on your Pi box.

I thought more about your playlist format, and it occurred to me that by using an HTTP file location Serviio would think that it's a streaming site and not something local. That would need to be entered into your Library as an Online source, but the M3U file would need to be located at that URL as well. I've heard people could enter playlists in that manner but I've never attempted that.

I do think your best plan is to edit the M3U file with the local file path that matches the file path that you have created in your Shared Folders under Library. I did find one other recommended Linux program that can create playlist files, Clementine.
https://linuxconfig.org/how-to-create-a ... s-on-linux

Re: Audio m3u path or other issue?

PostPosted: Sat Jan 20, 2024 12:48 pm
by teacherguy
First of all, thank you, I have found success.

I downloaded Clementine, made/saved a playlist and placed in in the shared folder that Serviio uses for my audio library. The playlist then appeared using one of my iPad apps and worked as expected.

The interesting thing is the path. Even though I am using an external SSD, the full path is not needed. Indeed you can go directly to the folder that houses the track:

  Code:
 #EXTM3U
#EXTINF:406,Branford Marsalis - In the Crease
Contemporary Jazz/In the Crease.flac
#EXTINF:619,Branford Marsalis - Requiem
Contemporary Jazz/Requiem.flac
#EXTINF:962,Branford Marsalis - Elysium
Contemporary Jazz/Elysium.flac
#EXTINF:527,Branford Marsalis - Cheek to Cheek
Contemporary Jazz/Cheek to Cheek.flac
#EXTINF:501,Branford Marsalis - Tain Mutiny
Contemporary Jazz/Tain Mutiny.flac
#EXTINF:361,Branford Marsalis - Ayanna
Contemporary Jazz/Ayanna.flac
#EXTINF:350,Branford Marsalis - Sleepy Hollow
Contemporary Jazz/Sleepy Hollow.flac
#EXTINF:1268,Branford Marsalis - Countronious Rex
Contemporary Jazz/Countronious Rex.flac


So now I have a clear understanding on how to create the playlists. Thanks again.