@accepts(RB.Source, RB.RhythmDBEntryType) @returns(none) def register_entry_type_for_source(source, type)
Registers a source as the owner of entries of the specified type. The main effect of this is that calling rb_shell_get_source_by_entry_type with the same entry type will return the source. A source should only be registered as the owner of a single entry type.
source : |
the RB.Source to register |
type : |
the RB.RhythmDBEntryType to register for |