Guten Tag,
ich versuche verzweifelt eine Möglichkeit zu finden, um den Parent von iTunes Playlists schneller zu ermitteln.
Anbei mein Skript, was aber bei einer Playlist-Anzahl > 1000 zwischen 30-60 Sekunden dauern kann.
	
	
	
		
Meine Hoffnung lag in etwa solch einem Befehl, was leider nicht funktioniert, bzw. ich finde einfach keine Möglichkeit direkt alle Parents zu allen Playlists zu ermitteln.
	
	
	
		
Parent ist kein Textobjekt, das ist mir klar, sondern ein Playlist Objekt.
Aber auch so etwas klappt nicht:
	
	
	
		
	
	
	
		
Vielleicht hat ja jemand eine tolle Idee, um den Parent von allen Playlists möglichst schnell zu ermitteln.
Vielen Dank.
Leon
	
		
			
		
		
	
				
			ich versuche verzweifelt eine Möglichkeit zu finden, um den Parent von iTunes Playlists schneller zu ermitteln.
Anbei mein Skript, was aber bei einer Playlist-Anzahl > 1000 zwischen 30-60 Sekunden dauern kann.
		AppleScript:
	
	tell application "iTunes" to run
tell application "iTunes"
    set plData to {}
    set allLists to the name of every playlist
    repeat with plName in allLists
        set plParent to ""
        try
            set plParent to the name of parent of playlist plName
        end try
        copy ({plName as text, plParent as text}) to the end of the |plData|
    end repeat
end tell
get plDataMeine Hoffnung lag in etwa solch einem Befehl, was leider nicht funktioniert, bzw. ich finde einfach keine Möglichkeit direkt alle Parents zu allen Playlists zu ermitteln.
		AppleScript:
	
	set allLists to the {name, parent} of every playlistParent ist kein Textobjekt, das ist mir klar, sondern ein Playlist Objekt.
Aber auch so etwas klappt nicht:
		AppleScript:
	
	set allLists to the {name, name of parent} of every playlist
		AppleScript:
	
	set allLists to the {name, (name of parent)} of every playlistVielleicht hat ja jemand eine tolle Idee, um den Parent von allen Playlists möglichst schnell zu ermitteln.
Vielen Dank.
Leon
 
 
		
 
 
		 Und das Thema Signieren spielt dann auch eine Rolle.
 Und das Thema Signieren spielt dann auch eine Rolle.
 
 
		 
 
		 
 
		 
 
		 
 
		