Skip,
I was happy to find that you’ve created a plugin to convert m3u playlists to the Volumio format.
However, I have not been successful in getting the plugin to work.
I am running a RaspberryPi 3 based system running Volumio 3.435.
The playlists are extended m3u playlists that come from my Android phone or tablet. The first couple of lines of the test playlist I’ve tried look like this:
#EXTM3U
…/…/…/2CB2-D47E/Music/If You Can Believe Your Eyes And Ears/07 California Dreamin.mp3
…/…/…/2CB2-D47E/Music/Good Vibrations 40th Anniversary/01 Good Vibrations.mp3
My Volumio music resides on a NAS storage unit that is mounted on “McLeodOMV” (I’m running Open Media Vault).
I installed the plugin using your manual install instructions and that worked fine. I put the playlist in /data/INTERNAL on my Volumio and entered “INTERNAL/Golden Oldies.m3u” in the Settings page of the plugin. When I click on the Import button, it says it has successfully imported the playlist.
But when I look at the /tmp/m3u_importer.log file I see this:
doImport: which=“new”, fileOrDir="/mnt/INTERNAL/Golden Oldies.m3u"
importPlaylists
fileNdx 0
file 1 of 1 modalResult “”
calling import_m3u
import_m3u: file “/mnt/INTERNAL/Golden Oldies.m3u”
modalResult: “”
processing /mnt/INTERNAL/Golden Oldies.m3u
file has line feeds
m3uLine:1 m3uLines.length:81
importExtendedM3u line 1:
…/…/…/2CB2-D47E/Music/If You Can Believe Your Eyes And Ears/07 California D
reamin.mp3
parsing error: …/…/…/2CB2-D47E/Music/If You Can Believe Your Eyes And Ears/
07 California Dreamin.mp3
importExtendedM3u line 2:
…/…/…/2CB2-D47E/Music/Good Vibrations 40th Anniversary/01 Good Vibrations.m
p3
parsing error: …/…/…/2CB2-D47E/Music/Good Vibrations 40th Anniversary/01 Go
od Vibrations.mp3
The plugin is clearly seeing the playlist, but I’m not sure what is causing the parsing error. When I look in the /data/playlist directory, I see that it has created a playlist, but it has a zero length.
Thinking that the beginning of each line in the original playlist was causing problems, I have tried a number of ways to alter the beginning of the list such as removing all of the text up to the “Music” text, replacing the beginning of each line with “NAS/McLeodOMV…”, or “mnt/NAS/McLeodOMV…” but I continue to get the “parsing error” message for each line in the playlist. I’m running out of ideas on how to modify the original playlist file so that it will import properly.
Looking at one of my playlists created on the Volumio unit I see the first entry as follows:
[{“service”:“mpd”,“uri”:“mnt/NAS/McLeodOMV/Original Musiquarium 1 [Disc 2]/2-07
I Wish.mp3”,“title”:“I Wish”,“artist”:“Stevie Wonder”,“album”:“Original Musiquar
ium 1 [Disc 2]”,“albumart”:"/albumart?cacheid=352&web=/Original%20Musiquarium%20
1%20%5BDisc%202%5D/extralarge&path=%2Fmnt%2FNAS%2FMcLeodOMV%2FOriginal%20Musiqua
rium%201%20%5BDisc%202%5D&icon=fa-tags&metadata=false"},
Can you help me figure out what I’m doing wrong?
Thanks,
Rick