Mystery playlists in iTunesLibrary SDK.

(I know this isn't a MusicKit problem but there is no place for the iTunesLibrary SDK when saving the post.)


In apps that use the iTunesLibrary SDK, I see playlists that I've deleted a long time ago. However, I don't see them in the Music app, or any of my other connected devices... (iOS, iPadOS, tvOS, watchOS.)


I made a quick swift playground and confirmed that the SDK is showing them as part of the ITLibrary. I don't know where these are coming from. I've even created a brand new Library through the music app, and they are still showing up.


Where is the iTunesLibrary SDK pulling these from? (Bonus points, Is that even a valid application version?)


Here's a screenshot: https://www.icloud.com/photos/#0DNYtPbE8NOFVCd9snprpGbtg


And my playground:


import Cocoa

import iTunesLibrary


var lib = try ITLibrary.init(apiVersion: "1.0")

print (lib.applicationVersion);

var playlists = lib.allPlaylists.sorted(by: {$0.name.lowercased() < $1.name.lowercased()})

for playlist in playlists {

if playlist.kind != ITLibPlaylistKind.folder

{

print(playlist.name)

}

}

Did you ever get anywhere? This is actually an outstanding issue in a couple DJ apps that sync with itunes — both Rekordbox and dJay Pro will show old, deleted playlists.

Hello @kokernutz

Thank you for your feedback about iTunesLibrary.

In order for us to understand the root cause of this issue, we would need you to file a ticket for this in Feedback Assistant. Please make sure to include a copy of the user’s music library and the name of such a deleted playlist.

Thanks again for your feedback.

Best regards, 

Mystery playlists in iTunesLibrary SDK.
 
 
Q