Playlists not importing after being exported from iTunes

Need help? Post your questions here.

Moderator: moderators

Playlists not importing after being exported from iTunes

Postby philal » Sun Sep 17, 2017 1:45 pm

Hi,

I have had enough of iTunes, so am converting to something new. Subsonic came up on my radar and it sounded perfect, so i'm testing it at the moment.

One thing I have a lot of in iTunes is playlists. I figured out that to get a playlist to import into Subsonic after being exported from iTunes, you need to remove the song names and just have the file path of the song. I also needed to change the \ to / as I installed subsonic on Linux and that uses / as apposed to Windows' \.

Since I have a lot of playlists, I thought I would script the above and then import them into Subsonic, this didn't work however.

I did some troubleshooting and found out that if I export from iTunes, open the .m3u file in Notepad++ and then run the below in order that it will successfully import:

1. Replace ([^\n]*\n)[^\n]*\n with $1 (using regex)
2. Replace t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music with /subsonic_stuff/hdd/music (using normal)
3. Replace \ with / (using normal)
4. Overwrite the exported iTunes playlist

This works for any file that i export from iTunes and edit in the above method.

My powershell script exported playlists however do not work, but achieves the exact same thing (after visually comparing in Notepad++, they are identical).

Why is this not working? The only thing I can think is that the .m3u exported from iTunes includes metadata that can only be seen in a hex editor, and my powershell script does not add that. I will include my script, an exported playlist from iTunes and an exported playlist from Subsonic below.

Powershell script:
Code: Select all
$file = get-content -path "c:\playlist_from_itunes.m3u"

$oldstring = "t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music"

$newstring = "/subsonic_stuff/hdd/music"

$newline = ""

$final = ""

foreach($line in $file){

    if($line -notlike "*EXTINF*")
    {
        $newline += $line + "`n"
    }
   
    $replace = $newline.Replace($oldstring, $newstring)
   
    $final = $replace.replace("\", "/")
   
    $final | out-file -FilePath "c:\playlist_from_powershell.m3u"
   
}


iTunes playlist export:
Code: Select all
#EXTM3U
#EXTINF:293,Sheol - Sorrow
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Sorrow\The Twelve\04 Sheol.mp3
#EXTINF:320,Reverie - Sorrow
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Sorrow\The Twelve\03 Reverie.mp3
#EXTINF:243,Ten Tigers - Bonobo
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Bonobo\The North Borders\11 Ten Tigers.mp3
#EXTINF:317,Don't Wait - Bonobo
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Bonobo\The North Borders\08 Don t Wait.mp3
#EXTINF:212,Antenna - Bonobo
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Bonobo\The North Borders\10 Antenna.mp3
#EXTINF:237,Kerala - Bonobo
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Bonobo\Migration\08 Kerala.mp3
#EXTINF:352,Cirrus - Bonobo
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Bonobo\The North Borders\03 Cirrus.mp3
#EXTINF:249,It's Only You - Ambassadeurs
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Ambassadeurs\Alone In The Light EP\02 It's Only You.mp3
#EXTINF:349,Lost For Words - Synkro
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Memories (2008-2011)\03 Lost For Words.mp3
#EXTINF:326,Progression - Synkro
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Memories (2008-2011)\17 Progression.mp3
#EXTINF:360,Breathe in Air (feat. Soundmouse) - Phaeleh
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Phaeleh\Fallen Light\07 Breathe in Air (feat. Soundmouse).mp3
#EXTINF:140,Thinking About You - Submerse
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Submerse\Stay Home\04 Thinking About You.mp3
#EXTINF:289,Falling - Synkro
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Transient EP\04 Falling.mp3
#EXTINF:196,Body Close - Synkro x Lyves
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro x Lyves\Changes\07 Body Close.mp3
#EXTINF:392,Flow (With Fault Lines) - DFRNT
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\DFRNT\Flow EP\1-01 Flow (With Fault Lines).mp3
#EXTINF:213,Stay With Me - Submerse
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Submerse\Bento Box EP\03 Stay With Me.mp3
#EXTINF:282,Heres Your - Synkro
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Memories (2008-2011)\06 Heres Your.mp3
#EXTINF:257,Vale - Aether
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Aether\Viraha\02 Vale.mp3
#EXTINF:368,Relicts - Sieren
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Sieren\Static Polymorphism EP\1-03 Relicts.mp3
#EXTINF:245,Your Name - Andrew Euphoria
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Andrew Euphoria\Your Name EP\02 Your Name.mp3
#EXTINF:279,I Need You - Andrew Euphoria
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Andrew Euphoria\Your Name EP\01 I Need You.mp3
#EXTINF:303,Noctis - Myst x Raiku
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Myst x Raiku\Unknown Album\01 Noctis.mp3
#EXTINF:208,Keyframe - Myst x Weroh K
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Myst x Weroh K\Keyframe\01 Keyframe.mp3
#EXTINF:200,Stay (ft. Azuria Sky) - YeahRight!
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\YeahRight!\Stay\01 Stay (ft. Azuria Sky).mp3
#EXTINF:244,Remember - Great Skies
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Great Skies\Lagoons EP\Remember.mp3
#EXTINF:218,Nym - Phlux
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Phlux\Nym\01 Nym.mp3
#EXTINF:240,BBYGRL - nospaces
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\nospaces\BBYGRL\01 BBYGRL.mp3
#EXTINF:210,Haze - Luvian
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Luvian\Haze_\01 Haze.mp3
#EXTINF:219,If You Had - Aether
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Aether\To Meet Is The Beginning Of Parting\02 If You Had.mp3
#EXTINF:223,Fight for Us (feat. Rochelle Jordan) - Sepalcure
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Sepalcure\Folding Time\01 Fight for Us (feat. Rochelle Jord.mp3
#EXTINF:222,Clairvoyance - Aether
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Aether\Von EP\01 Clairvoyance.mp3
#EXTINF:363,Keep On - DVLPR
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Compilations\Nasty Rips & Shifting Peaks Vol. 2\10 Keep On.mp3
#EXTINF:216,Motion - Medasin
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Medasin\Motion\01 Motion.mp3
#EXTINF:178,Been Awhile - Kastle
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Kastle\Kastle\02 Been Awhile.mp3
#EXTINF:349,Shake - Audialist
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Occult & Audialist\Samsara EP\02 Shake.mp3
#EXTINF:218,Samsara - Occult & Audialist
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Occult & Audialist\Samsara EP\01 Samsara.mp3
#EXTINF:278,Kimono - Submotion Orchestra
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Submotion Orchestra\Colour Theory\03 Kimono.mp3
#EXTINF:238,Subwoofer Lullaby (Audialist Bootleg Remix) - C418
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\C418\Minecraft - Volume Alpha\03 Subwoofer Lullaby (Audialist Boot.mp3
#EXTINF:208,Underwater (Languedoc Flip) - TEOS
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\TEOS\Awake EP\07 Underwater (Languedoc Flip).mp3
#EXTINF:213,Red - XXYYXX
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\XXYYXX\Red\01 Red.mp3
#EXTINF:288,Lost - Vacant
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Vacant\Lost\01 Lost.mp3
#EXTINF:294,Stay - Submerse
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Submerse\Streams EP\04 Stay.mp3
#EXTINF:293,Now More Than Ever - Greed
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Greed\Moonlight EP\03 Now More Than Ever.mp3
#EXTINF:204,Closer - XXYYXX
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\XXYYXX\XXYYXX\08 Closer.mp3
#EXTINF:317,Night Time (Synkro Remix) - The xx
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\The xx\Night Time\Night Time (Synkro Remix).mp3
#EXTINF:195,The Morning (Dolor Remix) - The Weeknd
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\The Weeknd\House Of Balloons\10 The Morning (Dolor Remix).mp3
#EXTINF:232,Lorn - Unworldly
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Unworldly\Lorn\Lorn.mp3
#EXTINF:383,In My Arms - Synkro & Manos
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Lost Here EP\02 In My Arms.mp3
#EXTINF:322,Lost Here - Synkro & Manos
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Lost Here EP\01 Lost Here.mp3
#EXTINF:295,Knowing You (Original Mix) - Synkro & Indigo
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro & Indigo\Brownswood Electr_c 2\06 Knowing You (Original Mix).mp3
#EXTINF:307,Closed Doors - Synkro
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Stop & Think EP\03 Closed Doors.mp3
#EXTINF:317,Relapse - Synkro
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Stop & Think EP\02 Relapse.mp3
#EXTINF:353,Stop & Think - Synkro
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Stop & Think EP\01 Stop & Think.mp3
#EXTINF:184,Its - Synkro
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Mindset008\03 Its.mp3
#EXTINF:276,Look At Yourself - Synkro
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Mindset008\01 Look At Yourself.mp3
#EXTINF:374,Fading Lights - Synkro
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Lost Here EP\04 Fading Lights.mp3
#EXTINF:339,Nights of Pleasure - Synkro
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Lost Here EP\03 Nights of Pleasure.mp3
#EXTINF:369,Everybody Knows - Synkro
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Everybody Knows\01 Everybody Knows.mp3
#EXTINF:245,Why Don't You - Synkro
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Broken Promise EP\02 Why Don't You.mp3
#EXTINF:300,Broken Promise - Synkro
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Broken Promise EP\01 Broken Promise.mp3
#EXTINF:345,Illuminations - Synkro
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Acceptance EP\06 Illuminations.mp3
#EXTINF:236,Spirals - Synkro
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Acceptance EP\05 Spirals.mp3
#EXTINF:243,Disappear - Synkro
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Synkro\Acceptance EP\03 Disappear.mp3
#EXTINF:335,Hymn For Him (Phaeleh Remix) - Submotion Orchestra
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Submotion Orchestra\Finest Hour - The Remixes\08 Hymn For Him (Phaeleh Remix).mp3
#EXTINF:324,Always (Synkro Remix) - Submotion Orchestra
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Submotion Orchestra\Finest Hour - The Remixes\02 Always (Synkro Remix).mp3
#EXTINF:280,All Yours - Submotion Orchestra
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Submotion Orchestra\All Yours\01 All Yours.mp3
#EXTINF:316,Never Again - Submerse
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Submerse\Distance EP\03 Never Again.mp3
#EXTINF:320,Belong - Submerse
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Submerse\Acute EP\02 Belong.mp3
#EXTINF:308,Smokers - Skream
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Skream\100K Freeizm\02 Smokers.mp3
#EXTINF:245,So Bad (Synkro Vocal Mix) - Robots Don't Sleep
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Robots Don't Sleep\Little White Lies_So Bad\06 So Bad (Synkro Vocal Mix).mp3
#EXTINF:339,Unharmed - Phaeleh & Clubroot
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Phaeleh & Clubroot\Unharmed\Unharmed.mp3
#EXTINF:417,Distraction - Phaeleh
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Phaeleh\Tides\11 Distraction.mp3
#EXTINF:420,Delusions - Phaeleh
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Phaeleh\Fallen Light\06 Delusions.mp3
#EXTINF:319,Lament - Phaeleh
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Phaeleh\Fallen Light\03 Lament.mp3
#EXTINF:265,Funes - M. Constant
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\M. Constant\Gem Drops Four\10 Funes.mp3
#EXTINF:326,Without You (Feat. Kerry Leatham) - Lapalux
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Lapalux\Nostalchic\07 Without You (Feat. Kerry Leatham).mp3
#EXTINF:272,Bordertown (Synkro Edit) - Horx & Shadow Child
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Horx & Shadow Child\Bordertown\02 Bordertown (Synkro Edit).mp3
#EXTINF:221,Late Decide (Original Mix) - Great Skies & Systemik
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Great Skies & Systemik\Late Decide\01 Late Decide (Original Mix).m4a
#EXTINF:190,Mine - Great Skies
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Great Skies\Great Skies\Mine.mp3
#EXTINF:253,Even Though (Blackbird Blackbird Remix) - Giraffage & XXYYXX
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Giraffage & XXYYXX\Even Though\01 Even Though (Blackbird Blackbird.mp3
#EXTINF:224,Bowl - Gacha
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Gacha\Remember\02 Bowl.mp3
#EXTINF:268,Remember - Gacha
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Gacha\Remember\01 Remember.mp3
#EXTINF:209,I Need To Know - F3edo
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\F3edo\F3edo\I Need To Know.mp3
#EXTINF:294,Come To Nothing - DubRocca
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\DubRocca\Broke N Glass\01 Come To Nothing.mp3
#EXTINF:298,Honey - DjRum
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Djrum\Seven Lies\07 Honey.mp3
#EXTINF:246,Obsessed - Crypt
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Crypt\Crypt\01 Obsessed.mp3
#EXTINF:374,Comedown - Clubroot
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Clubroot\This Is Dubstep Vol. 3\Comedown.mp3
#EXTINF:180,Eastern Promise - Clubroot
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Clubroot\Eastern Promise\Eastern Promise.mp3
#EXTINF:360,Stray - Circula
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Circula\Stray\01 Stray.mp3
#EXTINF:205,Untitled - Burial + Four Tet
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Burial + Four Tet\Unknown Album\Untitled.mp3
#EXTINF:355,Nova - Burial + Four Tet
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Burial + Four Tet\Nova\Nova.mp3
#EXTINF:238,Archangel - Burial
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Burial\Untrue_\02 Archangel.mp3
#EXTINF:199,Not Of This Reality (Synkro Remix) - Borealis
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Borealis\All Stars_ Volume 2\01 Not Of This Reality (Synkro Remix.mp3
#EXTINF:355,Where Is Home? (Burial Remix) - Bloc Party
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Bloc Party\Flux\2-03 Where Is Home_ (Burial Remix).mp3
#EXTINF:352,Romance (Synkro Remix) - Bering Strait
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Bering Strait\Archive 1 EP\04 Romance (Synkro Remix).mp3
#EXTINF:370,251 - Aaron Static
t:\Users\Phil\Music\Phil's iTunes\iTunes Media\Music\Aaron Static\Reflections\251.mp3


Subsonic playlist export:
Code: Select all
#EXTM3U
/subsonic_stuff/hdd/music/Sorrow/The Twelve/04 Sheol.mp3
/subsonic_stuff/hdd/music/Sorrow/The Twelve/03 Reverie.mp3
/subsonic_stuff/hdd/music/Bonobo/The North Borders/11 Ten Tigers.mp3
/subsonic_stuff/hdd/music/Bonobo/The North Borders/08 Don t Wait.mp3
/subsonic_stuff/hdd/music/Bonobo/The North Borders/10 Antenna.mp3
/subsonic_stuff/hdd/music/Bonobo/Migration/08 Kerala.mp3
/subsonic_stuff/hdd/music/Bonobo/The North Borders/03 Cirrus.mp3
/subsonic_stuff/hdd/music/Ambassadeurs/Alone In The Light EP/02 It's Only You.mp3
/subsonic_stuff/hdd/music/Synkro/Memories (2008-2011)/03 Lost For Words.mp3
/subsonic_stuff/hdd/music/Synkro/Memories (2008-2011)/17 Progression.mp3
/subsonic_stuff/hdd/music/Phaeleh/Fallen Light/07 Breathe in Air (feat. Soundmouse).mp3
/subsonic_stuff/hdd/music/Submerse/Stay Home/04 Thinking About You.mp3
/subsonic_stuff/hdd/music/Synkro/Transient EP/04 Falling.mp3
/subsonic_stuff/hdd/music/Synkro x Lyves/Changes/07 Body Close.mp3
/subsonic_stuff/hdd/music/DFRNT/Flow EP/1-01 Flow (With Fault Lines).mp3
/subsonic_stuff/hdd/music/Submerse/Bento Box EP/03 Stay With Me.mp3
/subsonic_stuff/hdd/music/Synkro/Memories (2008-2011)/06 Heres Your.mp3
/subsonic_stuff/hdd/music/Aether/Viraha/02 Vale.mp3
/subsonic_stuff/hdd/music/Sieren/Static Polymorphism EP/1-03 Relicts.mp3
/subsonic_stuff/hdd/music/Andrew Euphoria/Your Name EP/02 Your Name.mp3
/subsonic_stuff/hdd/music/Andrew Euphoria/Your Name EP/01 I Need You.mp3
/subsonic_stuff/hdd/music/Myst x Raiku/Unknown Album/01 Noctis.mp3
/subsonic_stuff/hdd/music/Myst x Weroh K/Keyframe/01 Keyframe.mp3
/subsonic_stuff/hdd/music/YeahRight!/Stay/01 Stay (ft. Azuria Sky).mp3
/subsonic_stuff/hdd/music/Great Skies/Lagoons EP/Remember.mp3
/subsonic_stuff/hdd/music/Phlux/Nym/01 Nym.mp3
/subsonic_stuff/hdd/music/nospaces/BBYGRL/01 BBYGRL.mp3
/subsonic_stuff/hdd/music/Luvian/Haze_/01 Haze.mp3
/subsonic_stuff/hdd/music/Aether/To Meet Is The Beginning Of Parting/02 If You Had.mp3
/subsonic_stuff/hdd/music/Sepalcure/Folding Time/01 Fight for Us (feat. Rochelle Jord.mp3
/subsonic_stuff/hdd/music/Aether/Von EP/01 Clairvoyance.mp3
/subsonic_stuff/hdd/music/Compilations/Nasty Rips & Shifting Peaks Vol. 2/10 Keep On.mp3
/subsonic_stuff/hdd/music/Medasin/Motion/01 Motion.mp3
/subsonic_stuff/hdd/music/Kastle/Kastle/02 Been Awhile.mp3
/subsonic_stuff/hdd/music/Occult & Audialist/Samsara EP/02 Shake.mp3
/subsonic_stuff/hdd/music/Occult & Audialist/Samsara EP/01 Samsara.mp3
/subsonic_stuff/hdd/music/Submotion Orchestra/Colour Theory/03 Kimono.mp3
/subsonic_stuff/hdd/music/C418/Minecraft - Volume Alpha/03 Subwoofer Lullaby (Audialist Boot.mp3
/subsonic_stuff/hdd/music/TEOS/Awake EP/07 Underwater (Languedoc Flip).mp3
/subsonic_stuff/hdd/music/XXYYXX/Red/01 Red.mp3
/subsonic_stuff/hdd/music/Vacant/Lost/01 Lost.mp3
/subsonic_stuff/hdd/music/Submerse/Streams EP/04 Stay.mp3
/subsonic_stuff/hdd/music/Greed/Moonlight EP/03 Now More Than Ever.mp3
/subsonic_stuff/hdd/music/XXYYXX/XXYYXX/08 Closer.mp3
/subsonic_stuff/hdd/music/The xx/Night Time/Night Time (Synkro Remix).mp3
/subsonic_stuff/hdd/music/The Weeknd/House Of Balloons/10 The Morning (Dolor Remix).mp3
/subsonic_stuff/hdd/music/Unworldly/Lorn/Lorn.mp3
/subsonic_stuff/hdd/music/Synkro/Lost Here EP/02 In My Arms.mp3
/subsonic_stuff/hdd/music/Synkro/Lost Here EP/01 Lost Here.mp3
/subsonic_stuff/hdd/music/Synkro & Indigo/Brownswood Electr_c 2/06 Knowing You (Original Mix).mp3
/subsonic_stuff/hdd/music/Synkro/Stop & Think EP/03 Closed Doors.mp3
/subsonic_stuff/hdd/music/Synkro/Stop & Think EP/02 Relapse.mp3
/subsonic_stuff/hdd/music/Synkro/Stop & Think EP/01 Stop & Think.mp3
/subsonic_stuff/hdd/music/Synkro/Mindset008/03 Its.mp3
/subsonic_stuff/hdd/music/Synkro/Mindset008/01 Look At Yourself.mp3
/subsonic_stuff/hdd/music/Synkro/Lost Here EP/04 Fading Lights.mp3
/subsonic_stuff/hdd/music/Synkro/Lost Here EP/03 Nights of Pleasure.mp3
/subsonic_stuff/hdd/music/Synkro/Everybody Knows/01 Everybody Knows.mp3
/subsonic_stuff/hdd/music/Synkro/Broken Promise EP/02 Why Don't You.mp3
/subsonic_stuff/hdd/music/Synkro/Broken Promise EP/01 Broken Promise.mp3
/subsonic_stuff/hdd/music/Synkro/Acceptance EP/06 Illuminations.mp3
/subsonic_stuff/hdd/music/Synkro/Acceptance EP/05 Spirals.mp3
/subsonic_stuff/hdd/music/Synkro/Acceptance EP/03 Disappear.mp3
/subsonic_stuff/hdd/music/Submotion Orchestra/Finest Hour - The Remixes/08 Hymn For Him (Phaeleh Remix).mp3
/subsonic_stuff/hdd/music/Submotion Orchestra/Finest Hour - The Remixes/02 Always (Synkro Remix).mp3
/subsonic_stuff/hdd/music/Submotion Orchestra/All Yours/01 All Yours.mp3
/subsonic_stuff/hdd/music/Submerse/Distance EP/03 Never Again.mp3
/subsonic_stuff/hdd/music/Submerse/Acute EP/02 Belong.mp3
/subsonic_stuff/hdd/music/Skream/100K Freeizm/02 Smokers.mp3
/subsonic_stuff/hdd/music/Robots Don't Sleep/Little White Lies_So Bad/06 So Bad (Synkro Vocal Mix).mp3
/subsonic_stuff/hdd/music/Phaeleh & Clubroot/Unharmed/Unharmed.mp3
/subsonic_stuff/hdd/music/Phaeleh/Tides/11 Distraction.mp3
/subsonic_stuff/hdd/music/Phaeleh/Fallen Light/06 Delusions.mp3
/subsonic_stuff/hdd/music/Phaeleh/Fallen Light/03 Lament.mp3
/subsonic_stuff/hdd/music/M. Constant/Gem Drops Four/10 Funes.mp3
/subsonic_stuff/hdd/music/Lapalux/Nostalchic/07 Without You (Feat. Kerry Leatham).mp3
/subsonic_stuff/hdd/music/Horx & Shadow Child/Bordertown/02 Bordertown (Synkro Edit).mp3
/subsonic_stuff/hdd/music/Great Skies & Systemik/Late Decide/01 Late Decide (Original Mix).m4a
/subsonic_stuff/hdd/music/Great Skies/Great Skies/Mine.mp3
/subsonic_stuff/hdd/music/Giraffage & XXYYXX/Even Though/01 Even Though (Blackbird Blackbird.mp3
/subsonic_stuff/hdd/music/Gacha/Remember/02 Bowl.mp3
/subsonic_stuff/hdd/music/Gacha/Remember/01 Remember.mp3
/subsonic_stuff/hdd/music/F3edo/F3edo/I Need To Know.mp3
/subsonic_stuff/hdd/music/DubRocca/Broke N Glass/01 Come To Nothing.mp3
/subsonic_stuff/hdd/music/Djrum/Seven Lies/07 Honey.mp3
/subsonic_stuff/hdd/music/Crypt/Crypt/01 Obsessed.mp3
/subsonic_stuff/hdd/music/Clubroot/This Is Dubstep Vol. 3/Comedown.mp3
/subsonic_stuff/hdd/music/Clubroot/Eastern Promise/Eastern Promise.mp3
/subsonic_stuff/hdd/music/Circula/Stray/01 Stray.mp3
/subsonic_stuff/hdd/music/Burial + Four Tet/Unknown Album/Untitled.mp3
/subsonic_stuff/hdd/music/Burial + Four Tet/Nova/Nova.mp3
/subsonic_stuff/hdd/music/Burial/Untrue_/02 Archangel.mp3
/subsonic_stuff/hdd/music/Borealis/All Stars_ Volume 2/01 Not Of This Reality (Synkro Remix.mp3
/subsonic_stuff/hdd/music/Bloc Party/Flux/2-03 Where Is Home_ (Burial Remix).mp3
/subsonic_stuff/hdd/music/Bering Strait/Archive 1 EP/04 Romance (Synkro Remix).mp3
/subsonic_stuff/hdd/music/Aaron Static/Reflections/251.mp3


Any help is appreciated.

Thanks,
Phil
philal
 
Posts: 5
Joined: Sun Sep 17, 2017 1:09 pm

Re: Playlists not importing after being exported from iTunes

Postby philal » Sun Sep 17, 2017 2:08 pm

Ok, after checking in a hex editor, I think it might be to do with the encoding of the file.

Does anyone know what combination of file format and encoding I can use? According to http://www.xspf.org/quickstart/, it uses UTF-8, but when i export in Powershell with UTF-8 it does not import into Subsonic :(
philal
 
Posts: 5
Joined: Sun Sep 17, 2017 1:09 pm

Re: Playlists not importing after being exported from iTunes

Postby philal » Sun Sep 17, 2017 2:55 pm

Turns out I was overthinking this a lot more than I needed to.

The below will work for anyone that has issues in the future:

Code: Select all
$file = Get-Content -path "t:\playlist\location\playlist.m3u"

$newfile = $file.Replace("t:\itunes\music\path","/subsonic/music/path")

$final = $newfile.replace("\","/")

out-file -InputObject $final -encoding utf8 -FilePath "t:\playlist\location\newplaylist.m3u"
philal
 
Posts: 5
Joined: Sun Sep 17, 2017 1:09 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 17 guests