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 Good luck, -Rob -- ------------------------------------------------------- Rob Shortt | http://tvcentric.com | Freevo [EMAIL PROTECTED] | http://freevo.sf.net | Free your TV
signature.asc
Description: OpenPGP digital signature
