Sha256: 21e98f0f9c5a5242bec0aad36ba647859e8e4169731a9e076625e4888f7b6a28
Contents?: true
Size: 840 Bytes
Versions: 8
Compression:
Stored size: 840 Bytes
Contents
tell application "iTunes" set specified_tracks to (every track whose #{conditions}) set json to "[" repeat with specified_track in specified_tracks set props to {} set end of props to "{" set end of props to ("\"persistent_id\":\"" & persistent ID of specified_track & "\",") set end of props to ("\"name\":\"" & name of specified_track & "\",") set end of props to ("\"album\":\"" & album of specified_track & "\",") set end of props to ("\"artist\":\"" & artist of specified_track & "\",") set end of props to ("\"track_count\":\"" & track count of specified_track & "\",") set end of props to ("\"track_number\":\"" & track number of specified_track & "\"") set end of props to "}" set json to json & props as string & "," end repeat set json to json & "null]" return json end tell
Version data entries
8 entries across 8 versions & 1 rubygems