Re: [Freevo-users] Freevo 1.8.3 Detach + Mplayervis

2009-01-16 Thread Duncan Webb
On 16/01/2009 08:52, Mario Lange said the following:
 Hi
 
 Now i have tested mplayervis2  dtach plugin activated together in Freevo 
 1.8.3. It doesn`t work.
 
 
 [DEBUG]
 2009-01-16 08:44:02,101 ERRORevent callback
 Traceback (most recent call last):
   File /usr/lib/python2.5/site-packages/kaa/notifier/event.py, line 191, in 
 handle
 handler(event)
   File /usr/lib/python2.5/site-packages/kaa/notifier/event.py, line 145, in 
 __call__
 super(EventHandler, self).__call__(event)
   File /usr/lib/python2.5/site-packages/kaa/notifier/nf_wrapper.py, line 
 97, in __call__
 ret = super(NotifierCallback, self).__call__(*args, **kwargs)
   File /usr/lib/python2.5/site-packages/kaa/notifier/callback.py, line 168, 
 in __call__
 result = cb(*cb_args, **cb_kwargs)
   File /usr/lib/python2.5/site-packages/freevo/util/benchmark.py, line 91, 
 in origfunc
 return func(*args, **kwargs)
   File /usr/lib/python2.5/site-packages/freevo/audio/plugins/detach.py, 
 line 111, in _event_handler
 p.eventhandler(event)
   File /usr/lib/python2.5/site-packages/freevo/audio/plugins/mplayer.py, 
 line 204, in eventhandler
 if p.eventhandler(event):
   File 
 /usr/lib/python2.5/site-packages/freevo/audio/plugins/mplayervis2.py, line 
 694, in eventhandler
 self.start_visual()
   File 
 /usr/lib/python2.5/site-packages/freevo/audio/plugins/mplayervis2.py, line 
 887, in start_visual
 self.view_func[self.view]()
   File 
 /usr/lib/python2.5/site-packages/freevo/audio/plugins/mplayervis2.py, line 
 847, in dock
 self.visual.set_resolution(x, y, w, h, 0, False)
   File 
 /usr/lib/python2.5/site-packages/freevo/audio/plugins/mplayervis2.py, line 
 181, in set_resolution
 self.gooms = pygoom.get_surface()
 ValueError: Error initializing mmap
 [/DEBUG]

Which version of pygoom are you using? You need the pygoom-0.1 series 
for mplayervis2.

 - Detach:
 plugin.activate('audio.detach')
 plugin.activate('audio.detachbar')
 DETACH_KEY = 'EXIT'
 
 - MPLAYERVIS2
 plugin.activate('audio.mplayervis2')
 MPLAYERVIS_MODE = 0
 MPLAYERVIS_FULL_MPLAYER_SIZE= 'small'
 MPLAYERVIS_FULL_SOFTWARE_GEOMETRY   = '320x240'
 MPLAYERVIS_FADE_STEP= 1
 MPLAYERVIS_FAST_FULLSCREEN  = 'True'
 MPLAYERVIS_FPS  = 15
 MPLAYERVIS_HAS_TRACK= 'True'
 MPLAYERVIS_FADE_COUNTER = 25
 MPLAYER_FULL_SOFTWARE_SCALING_DIVISOR   = 16
 MPLAYERVIS_FULL_MPLAYER_ASPECT  = '16x9'
 
 Could it be a problem of my not default settings for mplayervis? I have only 
 an Celeron 733, but with this settings it works perfectly!!
 
 
 Ps: It there any way to disable the FPS Counter in the Corner when i set my 
 own refresh rate?
 
 - MPLAYERVIS_FPS  = 15

This is a useless setting, it does nothing more than display a frame 
rate of 15

 Mplayervis2 works with deactivated detach! Only audio.detach without 
 audio.detachbar doesn`t works also!

IIRC you need both audio.detach and audio.detachbar. detachbar is the 
display of the audio (possibly not a requirement) and detach controls 
the audio playback.

Duncan

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo 1.8.3 Detach + Mplayervis

2009-01-15 Thread Duncan Webb
Mario Lange wrote:
 Hello Duncan,
 
 thank you for this fast solution. I will try this at the Weekend. I don`t 
 know the exact mappings of alle keys, but could this be right for the c Key 
 on the Keyboard?
 
 
 DETACH_KEY = 'C'

Wont work, it needs an event not a character, the 'c' is mapped to CH+

In event.py here is the mapping
key.K_c : 'CH+'
In the audio events CH+ is mapped to:
'CH+'   : PLAYLIST_PREV,

EXIT is quite a good choice, it behaves as expected.

 
 I have a modded T-Online S100, and so i have a Key printed C on my remote 
 and i have xmodmapped it to Key C. Display is a ohter Key.


Duncan

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo 1.8.3 Detach + Mplayervis

2009-01-15 Thread Mario Lange
Hi

Now i have tested mplayervis2  dtach plugin activated together in Freevo 
1.8.3. It doesn`t work.


[DEBUG]
2009-01-16 08:44:02,101 ERRORevent callback
Traceback (most recent call last):
  File /usr/lib/python2.5/site-packages/kaa/notifier/event.py, line 191, in 
handle
handler(event)
  File /usr/lib/python2.5/site-packages/kaa/notifier/event.py, line 145, in 
__call__
super(EventHandler, self).__call__(event)
  File /usr/lib/python2.5/site-packages/kaa/notifier/nf_wrapper.py, line 97, 
in __call__
ret = super(NotifierCallback, self).__call__(*args, **kwargs)
  File /usr/lib/python2.5/site-packages/kaa/notifier/callback.py, line 168, 
in __call__
result = cb(*cb_args, **cb_kwargs)
  File /usr/lib/python2.5/site-packages/freevo/util/benchmark.py, line 91, in 
origfunc
return func(*args, **kwargs)
  File /usr/lib/python2.5/site-packages/freevo/audio/plugins/detach.py, line 
111, in _event_handler
p.eventhandler(event)
  File /usr/lib/python2.5/site-packages/freevo/audio/plugins/mplayer.py, line 
204, in eventhandler
if p.eventhandler(event):
  File /usr/lib/python2.5/site-packages/freevo/audio/plugins/mplayervis2.py, 
line 694, in eventhandler
self.start_visual()
  File /usr/lib/python2.5/site-packages/freevo/audio/plugins/mplayervis2.py, 
line 887, in start_visual
self.view_func[self.view]()
  File /usr/lib/python2.5/site-packages/freevo/audio/plugins/mplayervis2.py, 
line 847, in dock
self.visual.set_resolution(x, y, w, h, 0, False)
  File /usr/lib/python2.5/site-packages/freevo/audio/plugins/mplayervis2.py, 
line 181, in set_resolution
self.gooms = pygoom.get_surface()
ValueError: Error initializing mmap
[/DEBUG]

- Detach:
plugin.activate('audio.detach')
plugin.activate('audio.detachbar')
DETACH_KEY = 'EXIT'

- MPLAYERVIS2
plugin.activate('audio.mplayervis2')
MPLAYERVIS_MODE = 0
MPLAYERVIS_FULL_MPLAYER_SIZE= 'small'
MPLAYERVIS_FULL_SOFTWARE_GEOMETRY   = '320x240'
MPLAYERVIS_FADE_STEP= 1
MPLAYERVIS_FAST_FULLSCREEN  = 'True'
MPLAYERVIS_FPS  = 15
MPLAYERVIS_HAS_TRACK= 'True'
MPLAYERVIS_FADE_COUNTER = 25
MPLAYER_FULL_SOFTWARE_SCALING_DIVISOR   = 16
MPLAYERVIS_FULL_MPLAYER_ASPECT  = '16x9'

Could it be a problem of my not default settings for mplayervis? I have only an 
Celeron 733, but with this settings it works perfectly!!


Ps: It there any way to disable the FPS Counter in the Corner when i set my own 
refresh rate?

- MPLAYERVIS_FPS  = 15


Mplayervis2 works with deactivated detach! Only audio.detach without 
audio.detachbar doesn`t works also!
-- 
Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo 1.8.3 Detach + Mplayervis

2009-01-14 Thread Duncan Webb
On 14/01/2009 07:56, Mario Lange said the following:
 Hello,
 
 it is possbile to join the mplayervis plugin together with the detach plugin? 
 There could be 6 modes. 
 
 1) Windowed goom
 2) Fullscreen goom
 3) No goom
 4) Detached (with Bar/no goom)
 5) Detached (no Bar/ no goom)
 6) Detached (with Bar/with goom)
 
 Because mplayervis and detach doesn`t works together :-( It is nice to hear 
 music and watch Pictures!

It's not really possible to do, the idlebar only refreshes once a second 
when the audio player is detached. When not detached it refreshes much 
less often, every 30 seconds or so. To detach and play a goom would 
cause a very high CPU load as all the installed plug-ins are redrawn for 
every frame.

 It is possible to remove the Framecounter if i use a FrameLimit of 15? There 
 is 15fps in the left corner.

Don't set the frame rate, it does nothing. It was really a 
misunderstanding of what the fps interface in goom does. Its purpose is 
just to display the frame rate which is calculated by the application.

Duncan

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo 1.8.3 Detach + Mplayervis

2009-01-14 Thread John Molohan
Duncan Webb wrote:
 On 14/01/2009 07:56, Mario Lange said the following:
   
 Hello,

 it is possbile to join the mplayervis plugin together with the detach 
 plugin? There could be 6 modes. 

 1) Windowed goom
 2) Fullscreen goom
 3) No goom
 4) Detached (with Bar/no goom)
 5) Detached (no Bar/ no goom)
 6) Detached (with Bar/with goom)

 Because mplayervis and detach doesn`t works together :-( It is nice to hear 
 music and watch Pictures!
 

 It's not really possible to do, the idlebar only refreshes once a second 
 when the audio player is detached. When not detached it refreshes much 
 less often, every 30 seconds or so. To detach and play a goom would 
 cause a very high CPU load as all the installed plug-ins are redrawn for 
 every frame.
   
I don't know anything about it but would this be possible with Adam's 
new osd patch? Does it draw it's own surface separately that goom could 
be drawn on?

John

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo 1.8.3 Detach + Mplayervis

2009-01-14 Thread Duncan Webb
John Molohan wrote:
 Duncan Webb wrote:
 On 14/01/2009 07:56, Mario Lange said the following:
  
 Hello,

 it is possbile to join the mplayervis plugin together with the detach
 plugin? There could be 6 modes.
 1) Windowed goom
 2) Fullscreen goom
 3) No goom
 4) Detached (with Bar/no goom)
 5) Detached (no Bar/ no goom)
 6) Detached (with Bar/with goom)

 Because mplayervis and detach doesn`t works together :-( It is nice
 to hear music and watch Pictures!
 

 It's not really possible to do, the idlebar only refreshes once a
 second when the audio player is detached. When not detached it
 refreshes much less often, every 30 seconds or so. To detach and play
 a goom would cause a very high CPU load as all the installed plug-ins
 are redrawn for every frame.
   
 I don't know anything about it but would this be possible with Adam's
 new osd patch? Does it draw it's own surface separately that goom could
 be drawn on?

Possible to draw on the existing surface but not that useful, it would
also draw in the image surface. Does anyone really want a tiny goom in
the idlebar?

After sending message I thought that the problem was the detaching of
the audio player. The normal detach key is 'd' conflicts with the
DISPLAY event. In local_conf.py adding:

DETACH_KEY = 'EXIT'

Will cause the player to detach when the ESC key is pressed instead of
the 'DISPLAY' event. Then goom stops and the normal detachbar is displayed.

Duncan

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo 1.8.3 Detach + Mplayervis

2009-01-14 Thread Mario Lange
Hello Duncan,

thank you for this fast solution. I will try this at the Weekend. I don`t know 
the exact mappings of alle keys, but could this be right for the c Key on the 
Keyboard?


DETACH_KEY = 'C'

I have a modded T-Online S100, and so i have a Key printed C on my remote and 
i have xmodmapped it to Key C. Display is a ohter Key.

regards,

Mario
-- 
Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users