by rspagan » Sat Jul 04, 2015 3:47 am
I get this error because I have a weird setup.
Because my car's stereo uses an iPod for ALAC decoding, I use iTunes on Windows. So, I create playlists with iTunes, then export them to a playlists folder locally on my Windows machine's hard disk. I then rsync my Windows machine's music folder to a NAS device, which has fault tolerance and is used as an NFS/SMB share. I mount that NAS share to my Fedora box, which runs SubSonic.
Now I understand that the reason for the "Failed to import playlist. No songs in the playlist were found." error is because of the paths inside of the M3U file. iTunes will export the absolute path for each track. When you're on a Windows computer, this is "X:\Music\Artist\Artist - Album (year)\## - Song.m4a" or similar... which is different than what a Linux box would need to see, which would be something like "/home/music/Artist/Artist - Album (year)\## - Song.m4a" . If I edit the M3U file to point to the Linux style paths, then SubSonic will not throw the error and will import the playlist.
What I DON'T understand, and it's been bugging me for the last few versions, is that when upgrading or installing a fresh instance of SubSonic on my Linux box which loads a samba share which is a duplicate of a Windows file structure including playlists that have Windows paths, SubSonic will import those playlists with no problem and they work. I get new automatically imported playlists with incorrect paths each time I upgrade or reinstall SubSonic, but I cannot get SubSonic to just automatically import the playlist folder when it scans or restarts.
Anyone have a workaround? Ideally, I'd like the playlists to be automatically imported when doing a scan, since I update playlists pretty frequently since the majority of my music listening in the car with the iPod (it's lossless and my sound system is as good as a car listening environment can get), but I'd like to have the same playlists in SubSonic for the days I use transit or have desk work to do.