On Tue, Dec 15, 2009 at 7:00 AM, Jannik Heller 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_s
Am Dienstag, den 15.12.2009, 06:28 +1000 schrieb Jonathan Matthew:
> On Tue, Dec 15, 2009 at 1:04 AM, Jannik Heller wrote:
> > Am Montag, den 14.12.2009, 11:55 +1000 schrieb Jonathan Matthew:
> >> > So how to import the RBIRadioSource that I can access it? Or does
> >> > someone know another way t
On Tue, Dec 15, 2009 at 1:04 AM, Jannik Heller wrote:
> Am Montag, den 14.12.2009, 11:55 +1000 schrieb Jonathan Matthew:
>> > So how to import the RBIRadioSource that I can access it? Or does
>> > someone know another way to get the Radio source?
>>
>> You'd have to check the source name or maybe
Am Montag, den 14.12.2009, 11:55 +1000 schrieb Jonathan Matthew:
> On Mon, Dec 7, 2009 at 12:15 AM, Jannik Heller wrote:
> > Hi,
> >
> > I want to get a reference to the "Radio" source in my plugin. I want to
> > use this code:
> >
> > for group in shell.props.sourcelist_model:
> > for source
On Mon, Dec 7, 2009 at 12:15 AM, Jannik Heller wrote:
> Hi,
>
> I want to get a reference to the "Radio" source in my plugin. I want to
> use this code:
>
> for group in shell.props.sourcelist_model:
> for source in group.iterchildren():
> for props in source:
> if isinsta