set_query

@accepts([gpointer], RB.RhythmDBQueryModelLimitType, GObject.ValueArray, utf8, gint)
@returns(none)
def set_query(query, limit_type, limit_value, sort_key, sort_order)

Sets the database query used to populate the playlist, and also the limit on playlist size, and the sorting type used.

query :

the new database query

limit_type :

the playlist limit type

limit_value :

the playlist limit value

sort_key :

the sorting key

sort_order :

the sorting direction (as a GtkSortType)