Re: [Rhythmbox-devel] How to import RBIRadioSource reference
- From: Jonathan Matthew <jonathan d14n org>
- To: Jannik Heller <scrawl baseoftrash de>
- Cc: rhythmbox-devel <rhythmbox-devel gnome org>
- Subject: Re: [Rhythmbox-devel] How to import RBIRadioSource reference
- Date: Tue, 15 Dec 2009 21:50:55 +1000
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]