get_source_by_entry_type

@accepts(RB.RhythmDBEntryType)
@returns(RB.Source)
def get_source_by_entry_type(type)

Looks up and returns the source that owns entries of the specified type.

type :

entry type for which to find a source

Returns :

source instance, if any