entry_lookup_from_string

@accepts(utf8, gboolean)
@returns(RB.RhythmDBEntry)
def entry_lookup_from_string(str, is_id)

Locates an entry using a string containing either an entry ID or a location.

str :

string

is_id :

whether the string is an entry ID or a location.

Returns :

the entry matching the string, or NULL if no such entry exists.