Re: [Freevo-devel] Bookmark plugin for xine (freevo 1.x)

2007-06-02 Thread Duncan Webb
Christian Lyra wrote: > awnsering myself: item.player.name > > for all of you wanna-be plugin writers like me this could be useful. > My "debugitem" plugin: You should also have a config function. This sets a default value to config.VARIABLE and provides information when freevo plugin -i is run.

Re: [Freevo-devel] Bookmark plugin for xine (freevo 1.x)

2007-06-01 Thread Christian Lyra
awnsering myself: item.player.name for all of you wanna-be plugin writers like me this could be useful. My "debugitem" plugin: from pprint import pformat import os import plugin import config class PluginInterface(plugin.ItemPlugin): def __init__(self): plugin.ItemPlugin.__init__(se

[Freevo-devel] Bookmark plugin for xine (freevo 1.x)

2007-06-01 Thread Christian Lyra
Hi there, I was playing with the patch to add bookmarks with xine and found that thereĀ“s a little problem with it. The patch assumes that you only use one player (config.VIDEO_PREFERED_PLAYER) instead of the current selected player. Is there a way, or a variable that holds what player