----- Oorspronkelijk bericht -----
From: Rob Shortt <[EMAIL PROTECTED]>
To: [email protected]
Date: 07-Feb-2006 12:57
Subject: Re: [Freevo-devel] handling VIDEO_GROUPS

> TheHog wrote:
> > Hi,
> 
> Hi,
> 
> 
> > I'm rewriting a plugin for xine/ivtv/tv. Now I'm fighting with the video
> > groups config setting. With the method
"FreevoChannles.getVideoGroup(chan)" I
> > get the video group the selected channel belongs to. But what if my
plugin
> > cannot handle its group_type ? What should it do then?
> 
> You would do something like:
> 
> grp = freevochannels.getVideoGroup(chan)
> if grp.group_type not in [ 'tv', 'ivtv' ]:
>   log error
>   send popup to user
>   return
> 

Hmm, sounds like I don't fully understand the concept Video Group. I though
it was meant to seperate channels in groups such that one could have (e.g.)
dvb channels in addition to (e.g.) regular cable channels. Both channels are
provided by different devices and thus different drivers.

Now, my plugin starts xine with the ivtv driver and hardware MPEG
accelleration. Channel switching works, as long as the new channel is part of
the ivtv group. But what if the user switches to a channel that belongs to
another group? Preferably I'd hand over control to another plugin (or back to
freevo). If I'd popup an error box then the particular channel group isn't
needed at all.




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to