org.qtunes.db
Interface SmartPlaylist

All Superinterfaces:
Playlist, java.io.Serializable
All Known Implementing Classes:
SmartPlaylistImpl

public interface SmartPlaylist
extends Playlist

A Playlist which determines it's tracks based on a filter. The filter uses a TrackMatcher, so you can for example do Album=~"Buzzin' Fly.*" or (Artist="Postal Service" or artist=~"Death Cab.*") and Year > "2000". The "sort" key can be set to a comma-seperated list of fields to change the order, eg: artist="Chicane" and sort="album,disc,track". For each field the prefix "!" can be used to reverse it, eg sort="!lastmodified" to get oldest tracks first.


Method Summary
 java.lang.String getQuery()
          Return the Query used to determine the Playlist, The format of which depends on the implementation
 void setQuery(java.lang.String query)
          Set the query string used to determine the Playlist.
 
Methods inherited from interface org.qtunes.db.Playlist
getName, getRevision, getTracks, getUniqueID, setName, size, sort
 

Method Detail

getQuery

java.lang.String getQuery()
Return the Query used to determine the Playlist, The format of which depends on the implementation


setQuery

void setQuery(java.lang.String query)
Set the query string used to determine the Playlist. The format depends on the implementation.