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__(self)

    def actions(self,item):
        print item.__dict__
        return []


On 6/1/07, Christian Lyra <[EMAIL PROTECTED]> wrote:
>
> 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
> will be used to play a video?
>
>
> --
> Christian Lyra
> POP-PR - RNP
>
> http://lyra.soueu.com.br
>
>   Thus spake the master programmer:
>   ``A well-written program is its own heaven; a poorly-written program
> is its own hell.''
>                                                 The Tao Of Programing
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Freevo-devel mailing list
> Freevo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>


-- 
Christian Lyra
PoP-PR/RNP

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to