Re: [Rhythmbox-devel] How to import RBIRadioSource reference

On Tue, Dec 15, 2009 at 7:00 AM, Jannik Heller <scrawl baseoftrash de> wrote:
>> Here's a better approach: shell.guess_source_for_uri("mms://x")
> Thanks, that works and seems to be safe.
>> This would be better again, but it doesn't work yet:
>>   entrytype = db.entry_type_get_by_name("iradio")
>>   source = shell.get_source_by_entry_type(entrytype)

This works now.

> Maybe the Radio Plugin (it's a Plugin, internally, as far as I'm
> informed) should rather register a property in the shell. Because for
> example shell.get_property("library-source") works.

That would mean adding details of specific plugins to the core, which
is.. just wrong.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]