Posts: 2,838
Joined: Dec 2006
Reputation:
2
I got the playlists to work using:
iTunesXMLtoM3U.exe /l "C:\Users\user\Music\iTunes\iTunes Music Library.xml" /o "C:\" /f "file:||localhost|F:" /r "smb:||192.168.11.120|disk1" /c /s
There are two things that I am still struggling with:
1) Every playlist starts with an empty song labeled #EXTM3U
2) I need to copy the playlist to "C:\Users\user\AppData\Roaming\Kodi\userdata\playlists\music" and the equivalent folder in my other clients.
Thanks again!
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Posts: 14
Joined: Feb 2016
Reputation:
1
Bram82
Junior Member
Posts: 14
I don't use symlinks, nor do I use the folder you mentioned. I simply created a folder 'Playlists' and added that folder to the Kodi library.
#EXTM3U is the way an M3U playlist should begin with. See also the M3U protocol description.
Tags aren't used in this version. Maybe I'll change this in the future.
Posts: 2,838
Joined: Dec 2006
Reputation:
2
Thanks, this sounds good. Let me continue trying. Two more questions:
1) Does it not bother you that #EXTM3U shows up as a song in Kodi? Given this is the protocol description, is it fair to say that this is a bug in Kodi and Kodi should omit this info?
2) Just to make sure that I am trying in the right way to replicate the location you mention. When you say "Kodi library", what exactly do you mean? I assume you added one "source", which is "/NAS/Itunes/music" (or similar), from which source Kodi scans all abums to the Kodi music library. And then you added in the same folder a folder called "Playlists", which you then add all the M3U files? So this folder is at the same level as "ABBA" (i.e., all artists)?
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Posts: 2,838
Joined: Dec 2006
Reputation:
2
Any thoughts on above? Particularly the #EXTM3U issue.
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Posts: 14
Joined: Feb 2016
Reputation:
1
Bram82
Junior Member
Posts: 14
Would it help if I add a switch to "not put in the #EXTM3U"?
Posts: 1
Joined: Oct 2016
Reputation:
0
Hi Bram82, This is an awesome and very useful utility. Thanks for sharing it. Appreciate your efforts.
Posts: 56
Joined: Mar 2013
Reputation:
0
Thank-you to Bram82 for this great utility. I've been looking for something like this for years.
Posts: 3
Joined: Nov 2004
Reputation:
0
Does anyone have the syntax of this command / utility that actually creates a playlist that work on Kodi?
Posts: 14
Joined: Feb 2016
Reputation:
1
Bram82
Junior Member
Posts: 14
Nope, not at this moment, sorry. This is a .NET based project. In the future I might use a .NET Core project, which is Mac compatible, but I'm lacking the time at this moment.