Hallo,
ich suche eine Möglichkeit in der iTunes playlist zu suchen:
a) funktioniert
set this_playlist to the name of current playlist
set sep to (every file track of playlist this_playlist whose name contains "xyz")
b) funktioniert nicht
set this_playlist to the name of current playlist
set my_current_playlist to (every file track of playlist this_playlist)
set sep to (every item of my_current_playlist whose name contains "xyz")
ich hätte gerne den Fall b, um die Liste nicht bei jedem Suchvorgang neu einzulesen...
Was mache ich falsch ?
ich suche eine Möglichkeit in der iTunes playlist zu suchen:
a) funktioniert
set this_playlist to the name of current playlist
set sep to (every file track of playlist this_playlist whose name contains "xyz")
b) funktioniert nicht
set this_playlist to the name of current playlist
set my_current_playlist to (every file track of playlist this_playlist)
set sep to (every item of my_current_playlist whose name contains "xyz")
ich hätte gerne den Fall b, um die Liste nicht bei jedem Suchvorgang neu einzulesen...
Was mache ich falsch ?