Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Filter iTunes smart playlists by kind Apps
You can use the "Kind" filter in an iTunes Smart Playlist to prevent anything but MP3 tracks from appearing in it. For instance, to limit selection to just MP3s, set a Smart Playlist condition to "Kind" "is" "MPEG audio file". You'll have to actually type "MPEG audio file" (without quotes).

The string for an AIFF file is "AIFF audio file" and WAV is "WAV audio file". I gleaned these strings from AppleScripting. My favorite is "MPEG audio stream" for a Radio Stream because I can keep streams from being selected for a Smart Playlist. They tend to just keep playing and I don't edit them out -- I was just about to write a 'script to do that for me automatically, when I stumbled on to this hint.
    •    
  • Currently 2.67 / 5
  You rated: 4 / 5 (6 votes cast)
 
[14,760 views]  

Filter iTunes smart playlists by kind | 4 comments | Create New Account
Click here to return to the 'Filter iTunes smart playlists by kind' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Audible file
Authored by: mzajac on Oct 17, '02 12:19:21PM

Files from audible.com are represented by the string "Audible file".



[ Reply to This | # ]
This script will id kind of track
Authored by: DougAdams on Oct 17, '02 01:39:00PM
PS: If you are not sure of the "kind" of a track, copy and paste this to Script Editor, and run it while your "mystery" track is playing. It will display a dialog box with the kind of the playing track. You can copy and paste the info from the dialog:
tell application "iTunes"
	display dialog "Current track's kind is:" default answer ((get kind of current track) as string)
end tell>


[ Reply to This | # ]
Get Info
Authored by: Fofer on Oct 17, '02 04:52:13PM

Couldn't you just "Get Info" on the track in question, from within iTunes? The first tab, "Info," has a "Kind:" field. No need for scripting.

As far as differentiating streams go, "MPEG Audio Stream" doesn't cover them all. For example, RadioStorm 80's kind is "Playlist URL."

(This would be a bit easier if the "Time" field in Smart Playlists had a "continuous" choice, or if the "Size" field had a "stream" choice.)



[ Reply to This | # ]
Get Info
Authored by: DougAdams on Oct 17, '02 07:09:49PM
Couldn't you just "Get Info" on the track in question, from within iTunes? The first tab, "Info," has a "Kind:" field. No need for scripting.
Sure, but you can't copy the text from the "Get Info" window. : ) -- Doug Doug's AppleScripts for iTunes

[ Reply to This | # ]