Posts: 25
Joined: Feb 2014
Reputation:
0
This sounds like something I've been looking for for a long time! I would be so grateful if you could share this!
Posts: 19
Joined: Dec 2015
Reputation:
1
can you maybe upload it to somewhere or sent via email?
Posts: 1,330
Joined: Jul 2014
Reputation:
47
I personally don't use itunes, but I've seen quite a few posts asking how to get their playlists into kodi 'easily.' Great utility from the sounds of it! You should do a full edit on your first post and rename it with RELEASE prefix!
Posts: 2,838
Joined: Dec 2006
Reputation:
2
This is fantastic. I am one of the guys who have been looking for a simple way tio get my itunes playlists into Kodi.
I will give it a try shortly.
Will this work when using mysql for my music library? Assume I still need to copy the M3U files to the various Kodi clients?
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
Yup, it will work. I'm using the same setup. Just make sure that you point the Kodi Music Library to the Playlists folder where you let this util output it's playlist files.
Posts: 2,838
Joined: Dec 2006
Reputation:
2
Great, thanks! So, Kodi actually scans M3U files into the mySQL music library in the same way it does MP3s? So, all Kodi clients have access to the playlists?
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
Thanks Bram. I tried the tool and it is really great. It created the playlists and being very easy to configure. Two questions:
1) It also creates a playlist with the full library. Why?
2) How do you import the playlist into the library? I just put them into the music folder (where all my MP3s are), but this did not do the trick
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
Hi Steve,
1) Because internally iTunes also uses a master list that's got every single track in it. It processes this one just like the others, but it is inherently the largest.
2) For me personally, I created a folder "Playlist" in which I dump the output. This folder is then added to Kodi as a Playlists folder and voila.
Have fun!
Bram
Posts: 2,838
Joined: Dec 2006
Reputation:
2
Got it, thanks! So, you are actually not using mysql? This may be the difference and why it does not work for me. I think I can solve for this though by manually copying to all clients or something like this.
What I don't know how to solve yet is that the playlist export gives me a path like "F"\mymusic\...". Itunes is installed on my server (and so are my music file), so that's why it works for itunes. However, Kodi is based on OE installations and the playlist is not working as it would need to be "smb://my-server-IP/F/mymusic/...".
Any idea for a work-around? I remember there is some path option for Kodi, which may address this? Thanks in advance!
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
Hi Steve,
MySQL is never touched by the util. In my setup (I use Kodi on two machines, backed by MySQL), the playlists reside on a network share. This share is then added to the music library on both Kodis. Playlists are (AFAIK) not stored in MySQL by Kodi, so you will always need to do it this way.
Try using the replacement attributes. I use it like this:
iTunesXMLtoM3U.exe /l "\\NAS1\iTunes\iTunes Library.xml" /o "\\NAS1\iTunes\Playlists\" /f "file:||localhost||NAS1|iTunes" /r ".." /c /s
--> this rewrites the path file://localhost/NAS1/iTunes to ".." and stores the created playlists in \\NAS1\iTunes\Playlists\
Mind that in the /f attribute, you need to use pipes instead of forward slashes.
Posts: 2,838
Joined: Dec 2006
Reputation:
2
Thanks for your quick reply. Let me give it a try with the attributes you have been using. This is a great pointer in the right direction.
Are you using any symlinks for the Kodi user folder? When copying the playlist files to the same folder where my music resides, they don't show up. I have to add them in the following folder to make them show up: "C:\Users\user\AppData\Roaming\Kodi\userdata\playlists\music". This is the Windows example, but same story when trying on OE.
And two more unrelated questions - the first song of the playlist is called "#EXTM3U", which may be a bug? Also, the songs are shown by file name and not based on the MP3 tags. Assume that's a Kodi issue though?
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