[Freevo-users] version 1.7.6.1 crash

2008-03-09 Thread Stygen
Hi Team,

I used to use the 'currently available' Debian apt version of Freevo with  
no problems whatsever.  However, my last update was impossibilised by  
Python version issues under apt so I opted to manually install Freevo V  
1.7.6.1.  Since this installation I have almost daily crashes with the  
following info.  If further info is required please let me know how to  
obtain it as well.  These crashes often happen when noone is around to  
initiate them.  Any ideas on the cause and/or a fix for this problen  
greatly appreciated.


*
Crash!: DirItem instance has no attribute 'player'
Traceback (most recent call last):
   File "/usr/lib/python2.4/site-packages/freevo/main.py", line 472, in ?
 MainTread().run()
   File "/usr/lib/python2.4/site-packages/freevo/main.py", line 325, in run
 self.eventhandler(rc.get_event(True))
   File "/usr/lib/python2.4/site-packages/freevo/main.py", line 275, in  
eventhandler
 if not rc.app()(event):
   File "/usr/lib/python2.4/site-packages/freevo/video/plugins/mplayer.py",  
line 441, in eventhandler
 return self.item.eventhandler(event)
   File "/usr/lib/python2.4/site-packages/freevo/video/videoitem.py", line  
657, in eventhandler
 if self.plugin_eventhandler(event, menuw):
   File "/usr/lib/python2.4/site-packages/freevo/item.py", line 438, in  
plugin_eventhandler
 if e(self, event, menuw):
   File  
"/usr/lib/python2.4/site-packages/freevo/video/plugins/bookmarker.py",  
line 173, in eventhandler
 videoplayer = self.item.player.name
AttributeError: DirItem instance has no attribute 'player'
Stopping webserver plugin.
Stopping webserver plugin.
webserver not running
Stopping webserver plugin.
webserver not running

waiting for X server to shut down FreeFontPath: FPE  
"/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.
*

Regards,

Justin

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo using alsa

2008-03-09 Thread Juerg Haefliger
Hi Duncan,


Duncan Webb wrote:
> Benedikt Bär wrote:
>> Hi Duncan,
>>
>> I just solved this by changing the alsamixer2 code. It's not very
>> generic, but it works for my setup.
>>
>> Basically, what I did was changing the volume change function to iterate
>> through the controls list, and applying the volume.
> 
> It may be a general solution.
> 
>> Maybe in future releases it is possible to have some more configurations
>> in alsamixer, to satisfy such set-ups.
>>
>> Also, an option to mute the channel by turning the volume 0 would be
>> nice, as the "PCM" control on my card doesn't have a mute switch.
> 
> Freevo normally sets the volumne to zero, may be the alsamixer2 plug-in 
> does not conform as it should.

Hmm... I wasn't aware of this. ALSAMIXER2 doesn't set the volume to 0, 
it flips the mute switch. If this is against Freevo standards, I'll 
change it.

...juerg




>> I've also solved the problem with the idlebar volume plug-in, by
>> changing the plugin.getbyname argument to "ALSAMIXER2" instead of
>> "MIXER". Maybe the volume plug-in will be able to automatically detect
>> this in the future.
> 
> Should be the default:
> 
> Index: src/plugins/alsamixer2.py
> ===
> --- src/plugins/alsamixer2.py   (revision 10460)
> +++ src/plugins/alsamixer2.py   (working copy)
> @@ -105,7 +105,7 @@
>   Initialise the Alsa Mixer 2 plug-in
>   """
>   plugin.DaemonPlugin.__init__(self)
> -self.plugin_name = 'ALSAMIXER2'
> +self.plugin_name = 'MIXER'
> 
>   #
>   # Set the main and mute mixer control names
> 
> 
> You can raise a bug report for this problem it you like.
> 
> Good to hear that it now works correctly.
> 
> Duncan
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo using alsa

2008-03-09 Thread Juerg Haefliger
Hi Benedikt,


Benedikt Bär wrote:
> Hi again Andreas,
> 
> I installed Freevo 1.7.8.1, and I'm using now the alsamixer2 plug-in. So
> far everything seems to work, except two things:
> 
> 1) The idlebar.volume plug-in does not work with alsamixer2. Is there
> any workaround? 
> 
> 2) I have a separate input for my TV card, which loops into the 'Line'
> channel. I would like that alsamixer2 keeps PCM & Line at the same
> levels. Is this possible? Here's my current config:

No, ALSAMIXER2 can't do this.


> ALSAMIXER2_MAIN_CTRL = 'PCM'
> # ALSAMIXER2_MUTE_CTRL = 'Headphone'
> ALSAMIXER2_CTRLS = [
> #   (ctrl, card, default vol, min vol, max vol)
> ('PCM','hw:SB',90,0,100),
> ('Line', 'hw:SB', 90, 0, 100),
> ]
> 
> When I remove the PCM line, alsamixer2 controls the Line volume, but not
> the PCM anymore :(.

This behaviour is intentional. ALSAMIXER2 only control the volume of the 
ALSAMIXER2_MAIN_CTRL. If the MAIN_CTRL is not set, it use the first 
control in the CTRLS list.

I was working on an update to the plugin that would be able to handle 
your setup. I haven't had the time yet to clean it up and submit it. 
I'll try to do so in the short future.

...juerg


> -  
> Benedikt
> 
> This message is digitally signed by a PGP
> key, to verify it's authenticity. 
> 
> If you received this message without key
> the message may not be authentic.
> 
> www.relamp.tk 
> 
> 
> On Sun, 2008-03-09 at 14:14 +0100, Andreas Dick wrote:
>> Am Samstag, 8. März 2008 23:55 schrieb Benedikt Bär:
>>> Hi Andreas,
>>>
>>> I do have the all the 6 channel for the volume control. In addition, I
>>> also have the PCM control, which controls all 6 channels (like a general
>>> volume), so the sound card itself works fine in 6ch mode (I tested it
>>> with a DVD).
>> well.
>>
>>> However, the alsamixer plug-in does not control either of the 6
>>> channels, nor the PCM volume.
>>>
>>> I'm interested in trying alsamixer2, but I can't find this plug-in when
>>> listing them in freevo.
>>>
>>> How can I get it?
>> I use freevo 1.7.6.1, and maybe it was added after 1.7.3 you are using.
>> since you use 1.7.3 I suppose you installed it with your packet manager 
>> (apt?)
>> normaly it is very easy to install a new version from sources over the old 
>> installed version (at your own risk!):
>> - download it from 
>> http://sourceforge.net/project/showfiles.php?group_id=46652
>> - # tar -xzf freevo-1.7.6.1.tar.gz
>> - # cd freevo-1.7.6.1/
>> - # python setup.py install
>> - maybe you have to change something in your local_conf.py (?)
>> (the risk could be, that your packetmanager do not know about the new 
>> version, 
>> and it is maybe not able to remove it properly if needed...)
>>
>> Andreas
>>
>> 
>>
>> -
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
>>
>> 
>>
>> ___
>> Freevo-users mailing list
>> Freevo-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freevo-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Help with key mapping

2008-03-09 Thread Michael Walma
On Sunday 09 March 2008 17:37:35 Duncan Webb wrote:
> Duncan Webb wrote:
> > Michael Walma wrote:
> >> Hello,
> >>
> >> As a first time poster, let me begin by thanking the developers of
> >> Freevo for a great program!
> >>
> >> I'm using Freevo 1.7.3 and I am having some difficulty remapping keys.
> >> I am using an odd-ball USB remote (Keyspan), which appears to X, and so
> >> to Freevo as a keyboard.  My problem is that the remote does not have
> >> either an 'e' or an 'enter' key, so I can't enter the Audio CD Backup
> >> sub-menu using the remote.  The remote will generate an asterisk and I
> >> would have thought that something like:
> >>
> >> KEYMAP[key.K_ASTERISK] = 'ENTER'
> >>
> >> would work, but it doesn't seem to.  Any pointers on how to solve my
> >> problem would be great.  A pointer to a document which explains event
> >> and key mapping in detail would be even better.  For example, I can't
> >> find a list of all events anywhere.
 >
> > EVENTS['menu']['K_F5']  = Event(OSD_MESSAGE, arg='K_F5')
> > KEYMAP[key.K_F5] = 'K_F5'
>
> I should have said a bit more:
>
> KEYMAP only works for keyboard events, not for lirc events.
>
> > Any way try using lircrc to map the asterisk to ENTER
>
> This is what you need to do, change lircrc to map asterisk to ENTER.
>
> Duncan

Thanks for this, but I need to be clear.  My remote does not work under lirc.  
It is an odd-ball (Keyspan Remote) which appears as a keyboard (albeit with a 
very limited number of keys) under X, using the evdev driver in xorg.  Here 
is a link to a description:

http://www.keyspan.com/products/urm15A/

I have had no trouble using it with Freevo, using xmodmap to make sure all the 
strange key strokes convert to the usual ones Freevo expects.

So, really what I am asking is how to remap keyboard keys.  How can I make an 
asterisk key stroke cause the Audio CD Backup menu get entered in the same 
way that typing 'e' or 'enter' would since this 'keyboard' has neither an 'e' 
nor an 'enter' key.

I could use xmodmap to cause an asterisk key stroke to get mapped to 'e', but 
that would mean even my real keyboard would no longer be able to generate 
an 'e' since xmodmap works against all input devices and for all X programs 
for the duration of the session, which is not ideal.

By the way, is there somewhere out there a list of all possible variations 
of 'Event' and 'EVENTS'?  I looked in events.py, but I'm not a python guy.

Thanks again,

Michael



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Apple Trailers

2008-03-09 Thread Partha Bagchi
Hi All,

First off - great software to view my DVDs. I am using RC2.

Two questions:

1. Can I use Xine with Apple.trailers. When I disable mplayer, I cannot view
any trailers. So I am guessing the answer is No. Please correct me if I am
wrong. If I am right, any possibility to allowing xine for playback?

2. Weird problem with mplayer (reason for the question above): When I
connect my Freevo box to my LCD 1368x763 TV using DVI, no problems - I get
apple trailers in fullscreen.  When I connect the same box  to my main
theater,  a 61" Samsung 1080p TV using VGA, the display from the apple
trailers is no longer fullscreen, but occupies a box at the top right hand
corner about 10 inches or so.

Thanks in advance.


Partha
www.partha.com
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lack of sound output when using freevo full screen?

2008-03-09 Thread Duncan Webb
Stephen Rowles wrote:
> Hi all,
> 
> I'm slowly getting my laptop up and running with freevo. However I have 
> a problem. I am using it as a laptop but want to run freevo as a media 
> centre. When I launch freevo without using full screen mode I have 
> problems with xine when watching movies as the UI appears, and sometimes 
> switching between applications is a bit interesting.
> 
> I can avoid these problems by using freevo -fs. But when I do that I 
> don't get any audio either from mplayer for music or xine for movies.
> 
> I run KDE but I am not using arts, just standard alsa.


When you run with --fs freevo starts a new xserver without a window manager.

Really we need you XINE and MIXER settings from you local_conf.py to be 
able to help more.

Duncan

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] directfb, matrox G400 and TV-Out

2008-03-09 Thread Duncan Webb
Philip Armstrong wrote:
> On Thu, Mar 06, 2008 at 07:47:20PM +0100, Tanja wrote:
>> thanks for your offered help. At the moment I am back to the matroxfb 
>> setting that we were using successfully over the last years. I broke our 
>> freevo machine completly by all this experimenting
>> with directfb (to much upgrades of to many packages, finally I lost myself 
>> somewhere).
>>
>> But when I have freevo running again more or less reliable I will return to 
>> the directfb problem.
>> At the moment fixing the recordserver has a slightly higher priority ;-)
> 
> :)
> 
>> I would appreciate, if you can post your current settings. Which 
>> directfb-version are you running?
>> Which kernel? Which kernel modules are needed? As I said, I can not
>> find i2c-matroxfb. Do I need it?
> 
> 
> 
>> Should it be in the kernel source or is it an extra package? Do you have 
>> any bootscripts, any special settings for mplayer or freevo? What 
>> resolution (modes) are you using? Are you running freevo as root or is 
>> there a way to run it as user?
> 
> I think root is required. You might be able to tie things down, but it
> would at the very least require some udev hackery to give the user in
> question access to the relevant i2c device nodes.
> 
>> You see, I am totaly confused with the whole subject and actually the 
>> documentation is very rare, very old and not always helpful. So any hint 
>> you can give would be great!
> 
> OK. Here's my current setup.
> 
> Hardware first: Biostar IDEQ 210V, 1GHz Duron, 256Mb memory, 16Mb Dual
> Head G400, Microsoft Media Centre remote control, PCI Technotrend DVB
> tuner card.
> 
> The machine is running Debian stable, with a stock kernel. (well, a
> backported stock kernel to be precise...)
> 
> Following modules are loaded at boot time:
> 
> usbcore
> rtc
> rtc-cmos
> 
> fusion
> i2c-dev
> i2c-matroxfb
> matroxfb_crtc2
> lirc_mceusb2
> 
> The second half are freevo/directfb related
> 
> fusion is directfb related, but isn't strictly necessary.
> 
> I'm using the stock Debian stable directfb release, which is old now
> (0.9.25), but means I don't have to faff about recompiling mplayer and
> libSDL. The only small bug is that on power-on, freevo has to be
> started twice for it to work correctly -- it always fails to
> initialised the directfb layer correctly the first time (this is a bug
> in directfb rather than freevo: I can start any directfb app first,
> watch it die & then run freevo subsequently. Weird I know...)
> 
> mplayer and other media-related stuff is installed from
> http://www.debian-multimedia.org/
> 
> freevo is hand installed into /usr/local, with a startup script from
> an old debianised version which I installed yonks ago back in the
> 1.5.x days IIRC.
> 
> Directfb settings: /etc/directfbrc
> 
> matrox-crtc2
> matrox-tv-standard=pal
> matrox-sgram
> mode=720x576
> memcpy=MMXEXT
> primary-layer=02
> #matrox-cable-type=scart-composite
> disable-module=ps2mouse
> mouse-source=/dev/input/mice
> disable-module=linux_input
> disable-module=joystick
> #disable-module=keyboard
> mouse-source=/dev/input/mice
> no-cursor
> agp=2
> dma
> videoram-limit=16384
> #videoram-limit=8192
> #linux-input-ir-only
> no-vt-switch
> pixelformat=RGB32
> #pixelformat=ARGB
> bg-color=00FF00FF
> graphics-vt

Does matrox-sgram work, IIRC it used to work on my machine but now when 
I run df_dok the "Fill Rectangle", "Fill Triangles" doesn't work any 
more. But that could be only when running it on the primary layer 0.

Thanks for the information it is very good to have.

Duncan
BTW there are two mouse-source lines.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Help with key mapping

2008-03-09 Thread Duncan Webb
Duncan Webb wrote:
> Michael Walma wrote:
>> Hello,
>>
>> As a first time poster, let me begin by thanking the developers of 
>> Freevo for a great program!
>>
>> I'm using Freevo 1.7.3 and I am having some difficulty remapping keys.  
>> I am using an odd-ball USB remote (Keyspan), which appears to X, and so 
>> to Freevo as a keyboard.  My problem is that the remote does not have 
>> either an 'e' or an 'enter' key, so I can't enter the Audio CD Backup 
>> sub-menu using the remote.  The remote will generate an asterisk and I 
>> would have thought that something like:
>>
>> KEYMAP[key.K_ASTERISK] = 'ENTER'
>>
>> would work, but it doesn't seem to.  Any pointers on how to solve my problem 
>> would be great.  A pointer to a document which explains event and
>> key mapping in detail would be even better.  For example, I can't find a 
>> list of all events anywhere.
> 
> EVENTS['menu']['K_F5']  = Event(OSD_MESSAGE, arg='K_F5')
> KEYMAP[key.K_F5] = 'K_F5'

I should have said a bit more:

KEYMAP only works for keyboard events, not for lirc events.

> Any way try using lircrc to map the asterisk to ENTER

This is what you need to do, change lircrc to map asterisk to ENTER.

Duncan

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Could freevo starts up with Headlines BBC (already in) and with playing bbc news radio http stream ?

2008-03-09 Thread Duncan Webb
Alberto González Rodríguez wrote:
> for statup command on wake-up (this example is for every you launch 
> freevo), but somebody could do a plugin (or maybe me if somebody is 
> interested in it)
> 
> in main.py
> after MainTread()
> you could add:
> rc.post_event(Event('MENU_DOWN'))
> rc.post_event(Event('MENU_DOWN'))
> rc.post_event(Event('MENU_DOWN'))
> rc.post_event(Event('MENU_DOWN'))
> rc.post_event(Event('MENU_DOWN'))
> rc.post_event(Event('MENU_DOWN'))
> rc.post_event(Event('MENU_SELECT'))
> 
> this is a example, i have un 7th option "weather plugin"

A start-up plug-in would be a very good idea. And this is a very simple 
solution.

IIRC There is a feature request open for this, some people only use 
freevo for music and want to go directly to the "listen to music". This 
would partly solve this (not fully solve as is the other menu items have 
been removed then freevo should go to the only menu item that's left)

Duncan

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] I want only Alpha Blend when viewing pictures

2008-03-09 Thread Duncan Webb
Meneer Janssen wrote:
> Duncan wrote:
>> Meneer Janssen wrote:
>>> Dear Freevo users,
>>>  
>>> In Freevo 1.7.6.1 I look at my pictures in the following way: I choose:
>>>  
>>>  "Look at pictures --> Browse to directory --> type E on the keyboard --> 
>>> Play all files in directory" 
>>>  
>>> Then I get a nice slide show of my pictures. In /etc/freevo/local_conf.py I 
>>> see that one may choose from the following ways to view the slide show:
>>>  
>>> # None: no blending
>>> # -1random effect
>>> #  0alpha blending
>>> #  1wipe effect
>>> IMAGEVIEWER_BLEND_MODE = 0
>>>  
>>> When I set "IMAGEVIEWER_BLEND_MODE = -1" then I get alpha blend and wipe 
>>> effects at random. However, when I set it to 0 (=  alpha blending) I get no 
>>> effect at all, just a slideshow. I want only the alpha blending effect when 
>>> I view my photo's (which does work in the 'random effect' mode). 
>>>  
>>> Is this a bug in Freevo 1.7.6.1 or am I doing something wrong here?
>> You are quite correct it is a bug in Freevo that is now fixed in svn.
>>
>> Duncan
> Thank you for the info. :)
> I would like to upgrade my Freevo version 1.7.6.1 to SVN then.
> Do I only have to backup the following files if I do not want to completely 
> reconfigure Freevo? The files:
> /etc/freevo/freevo.conf
> /etc/freevo/local_conf.py
> /home/your_name/.freevo/freevo.conf

This overrides /etc/freevo/freevo.conf for user your_name but not for 
other users.

> /home/your_name/.xmltv/tv_grab_nl_py.conf
> /home/your_name/.tvtime/*.*

AFAIK Nothing to do with freevo directly.

> /usr/lib/python2.5/site-packages/freevo/tv/freq.py
> Or do I risk instability if I copy those Freevo 1.7.6.1 files into the SVN 
> version?

All you need to do is:
cp -avx ~/.freevo ~/.freevo-1.7.6.1
cp -avx /etc/freevo /etc/freevo-1.7.6.1

you may need to copy /usr/lib/python2.5/site-packages/freevo/tv/freq.py 
if it is been changed by yourself.

It's not a bad idea to copy the static data that is in /var/lib/freevo.

Then freevo will use your existing files and you have a back-up if 
anything goes wrong.

HTH
Duncan

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo using alsa

2008-03-09 Thread Duncan Webb
Benedikt Bär wrote:
> Hi Duncan,
> 
> I just solved this by changing the alsamixer2 code. It's not very
> generic, but it works for my setup.
> 
> Basically, what I did was changing the volume change function to iterate
> through the controls list, and applying the volume.

It may be a general solution.

> Maybe in future releases it is possible to have some more configurations
> in alsamixer, to satisfy such set-ups.
> 
> Also, an option to mute the channel by turning the volume 0 would be
> nice, as the "PCM" control on my card doesn't have a mute switch.

Freevo normally sets the volumne to zero, may be the alsamixer2 plug-in 
does not conform as it should.

> I've also solved the problem with the idlebar volume plug-in, by
> changing the plugin.getbyname argument to "ALSAMIXER2" instead of
> "MIXER". Maybe the volume plug-in will be able to automatically detect
> this in the future.

Should be the default:

Index: src/plugins/alsamixer2.py
===
--- src/plugins/alsamixer2.py   (revision 10460)
+++ src/plugins/alsamixer2.py   (working copy)
@@ -105,7 +105,7 @@
  Initialise the Alsa Mixer 2 plug-in
  """
  plugin.DaemonPlugin.__init__(self)
-self.plugin_name = 'ALSAMIXER2'
+self.plugin_name = 'MIXER'

  #
  # Set the main and mute mixer control names


You can raise a bug report for this problem it you like.

Good to hear that it now works correctly.

Duncan

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] I want only Alpha Blend when viewing pictures

2008-03-09 Thread Meneer Janssen

Duncan wrote:
> Meneer Janssen wrote:
>> Dear Freevo users,
>>  
>> In Freevo 1.7.6.1 I look at my pictures in the following way: I choose:
>>  
>>  "Look at pictures --> Browse to directory --> type E on the keyboard --> 
>> Play all files in directory" 
>>  
>> Then I get a nice slide show of my pictures. In /etc/freevo/local_conf.py I 
>> see that one may choose from the following ways to view the slide show:
>>  
>> # None: no blending
>> # -1random effect
>> #  0alpha blending
>> #  1wipe effect
>> IMAGEVIEWER_BLEND_MODE = 0
>>  
>> When I set "IMAGEVIEWER_BLEND_MODE = -1" then I get alpha blend and wipe 
>> effects at random. However, when I set it to 0 (=  alpha blending) I get no 
>> effect at all, just a slideshow. I want only the alpha blending effect when 
>> I view my photo's (which does work in the 'random effect' mode). 
>>  
>> Is this a bug in Freevo 1.7.6.1 or am I doing something wrong here?
> 
> You are quite correct it is a bug in Freevo that is now fixed in svn.
> 
> Duncan
Thank you for the info. :)
I would like to upgrade my Freevo version 1.7.6.1 to SVN then.
Do I only have to backup the following files if I do not want to completely 
reconfigure Freevo? The files:
/etc/freevo/freevo.conf
/etc/freevo/local_conf.py
/home/your_name/.freevo/freevo.conf
/home/your_name/.xmltv/tv_grab_nl_py.conf
/home/your_name/.tvtime/*.*
/usr/lib/python2.5/site-packages/freevo/tv/freq.py
Or do I risk instability if I copy those Freevo 1.7.6.1 files into the SVN 
version?
 
Jansen
 
P.S. I wrote a quick 'n' dirty configure guide on:
http://wiki.nedlinux.nl/index.php?page=Freevo+Mediacenter
P.P.S. Sorry for sending this email to the wrong email address just now...
_
Probeer Live Search: de zoekmachine van de makers van MSN! 
http://www.live.com/?searchOnly=true
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Could freevo starts up with Headlines BBC (already in) and with playing bbc news radio http stream ?

2008-03-09 Thread Alberto González Rodríguez
for statup command on wake-up (this example is for every you launch freevo),
but somebody could do a plugin (or maybe me if somebody is interested in it)

in main.py
after MainTread()
you could add:
rc.post_event(Event('MENU_DOWN'))
rc.post_event(Event('MENU_DOWN'))
rc.post_event(Event('MENU_DOWN'))
rc.post_event(Event('MENU_DOWN'))
rc.post_event(Event('MENU_DOWN'))
rc.post_event(Event('MENU_DOWN'))
rc.post_event(Event('MENU_SELECT'))

this is a example, i have un 7th option "weather plugin"
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo using alsa

2008-03-09 Thread Benedikt Bär
Hi Duncan,

I just solved this by changing the alsamixer2 code. It's not very
generic, but it works for my setup.

Basically, what I did was changing the volume change function to iterate
through the controls list, and applying the volume.

Maybe in future releases it is possible to have some more configurations
in alsamixer, to satisfy such set-ups.

Also, an option to mute the channel by turning the volume 0 would be
nice, as the "PCM" control on my card doesn't have a mute switch.

I've also solved the problem with the idlebar volume plug-in, by
changing the plugin.getbyname argument to "ALSAMIXER2" instead of
"MIXER". Maybe the volume plug-in will be able to automatically detect
this in the future.

Thanks for all the help.
-  
Benedikt

This message is digitally signed by a PGP
key, to verify it's authenticity. 

If you received this message without key
the message may not be authentic.

www.relamp.tk 


On Sun, 2008-03-09 at 18:42 +0100, Duncan Webb wrote:
> Benedikt Bär wrote:
> > Hi again Andreas,
> > 
> > I installed Freevo 1.7.8.1, and I'm using now the alsamixer2 plug-in. So
> > far everything seems to work, except two things:
> > 
> > 1) The idlebar.volume plug-in does not work with alsamixer2. Is there
> > any workaround? 
> > 
> > 2) I have a separate input for my TV card, which loops into the 'Line'
> > channel. I would like that alsamixer2 keeps PCM & Line at the same
> > levels. Is this possible? Here's my current config:
> > 
> > ALSAMIXER2_MAIN_CTRL = 'PCM'
> > # ALSAMIXER2_MUTE_CTRL = 'Headphone'
> > ALSAMIXER2_CTRLS = [
> > #   (ctrl, card, default vol, min vol, max vol)
> > ('PCM','hw:SB',90,0,100),
> > ('Line', 'hw:SB', 90, 0, 100),
> > ]
> > 
> > When I remove the PCM line, alsamixer2 controls the Line volume, but not
> > the PCM anymore :(.
> 
> I've given this a quick try on my box with a SB card.
> 
> When watching what happens to the controls in alsamixer from a ssh 
> session, they control the volume correctly. I'm using the default 
> settings for alamixer2.
> 
> On another box I've noticed that the alsamixer is missing one control 
> that amixer shows but I don't think that this is your problem.
> 
> Duncan


signature.asc
Description: This is a digitally signed message part
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo using alsa

2008-03-09 Thread Duncan Webb
Benedikt Bär wrote:
> Hi again Andreas,
> 
> I installed Freevo 1.7.8.1, and I'm using now the alsamixer2 plug-in. So
> far everything seems to work, except two things:
> 
> 1) The idlebar.volume plug-in does not work with alsamixer2. Is there
> any workaround? 
> 
> 2) I have a separate input for my TV card, which loops into the 'Line'
> channel. I would like that alsamixer2 keeps PCM & Line at the same
> levels. Is this possible? Here's my current config:
> 
> ALSAMIXER2_MAIN_CTRL = 'PCM'
> # ALSAMIXER2_MUTE_CTRL = 'Headphone'
> ALSAMIXER2_CTRLS = [
> #   (ctrl, card, default vol, min vol, max vol)
> ('PCM','hw:SB',90,0,100),
> ('Line', 'hw:SB', 90, 0, 100),
> ]
> 
> When I remove the PCM line, alsamixer2 controls the Line volume, but not
> the PCM anymore :(.

I've given this a quick try on my box with a SB card.

When watching what happens to the controls in alsamixer from a ssh 
session, they control the volume correctly. I'm using the default 
settings for alamixer2.

On another box I've noticed that the alsamixer is missing one control 
that amixer shows but I don't think that this is your problem.

Duncan

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] I want only Alpha Blend when viewing pictures

2008-03-09 Thread Duncan Webb
Meneer Janssen wrote:
> Dear Freevo users,
>  
> In Freevo 1.7.6.1 I look at my pictures in the following way: I choose:
>  
>  "Look at pictures --> Browse to directory --> type E on the keyboard --> 
> Play all files in directory" 
>  
> Then I get a nice slide show of my pictures. In /etc/freevo/local_conf.py I 
> see that one may choose from the following ways to view the slide show:
>  
> # None: no blending
> # -1random effect
> #  0alpha blending
> #  1wipe effect
> IMAGEVIEWER_BLEND_MODE = 0
>  
> When I set "IMAGEVIEWER_BLEND_MODE = -1" then I get alpha blend and wipe 
> effects at random. However, when I set it to 0 (=  alpha blending) I get no 
> effect at all, just a slideshow. I want only the alpha blending effect when I 
> view my photo's (which does work in the 'random effect' mode). 
>  
> Is this a bug in Freevo 1.7.6.1 or am I doing something wrong here?

You are quite correct it is a bug in Freevo that is now fixed in svn.

Duncan

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] new LCD plugin

2008-03-09 Thread Andreas Dick
Am Sonntag, 9. März 2008 16:21 schrieb John Molohan:
> Andreas Dick wrote:
> > hei freevoers
> > I was not really satisfied with the old lcd plugin on my 2x16 iMON LCD...
> > my need is to be able to use freevo without any screen (at least the
> > music), just with the LCD!.
> >
> > Since it was to complicated for me to improve the old plugin, I wrote a
> > new one: it is called lcd2.py (could be changed if needed)
> >
> > It is written and tested for freevo-1.7.6.1 but it should work with other
> > versions too. It should work with different LCDs if they work together
> > with the old plugin but I can not test it here :-)
> > since I do not use TV, this is not supported yet, and since xine video
> > shows not a lot of infos, it is supported bad as well, and the
> > localisation is not well done yet.
> >
> > here is a list of features:
> > - the header field (topline-left) shows where you are in the menu:
> > Freevo, Music, Images, Videos, Radio, MP3, CD-ROM, DVD/SVCD, ... (but it
> > is not the title of the parent as in lcd.py, it is a constructed, 8
> > character limited, string)
> > - the info field (topline-right) shows infos like OSD would do: clock,
> > volume, 'Play', 'pause', but also menu-position, and it shows if the
> > meaning of the iMON button/wheel is changed (VOLUME, MENU,...)
> > - the menu line(s) help to navigate through the menu tree. I have only
> > one, but with the menu position/size in the info field it is much more
> > easier to navigate.
> > - the last or the second last line is used to show the player title
> > - the last line is used to show the player info (elapsed time / total
> > time) and in the image viewer the number of the actual image / total
> > images
> >
> > to show infos like volume and image-viewer infos, I had to apply event
> > senders in some other plugins like mixer.py, alsamixer.py, alsamixer2.py,
> > image/viewer.py
> > In image/viewer.py I also applied a patch to change the duration time in
> > the slideshow with the REW/FFWD buttons... and I added a new configure
> > option IMAGEVIEWER_PLAY_AT_START that controlls if the image player
> > should start automatically or only if PLAY is pressed.
> > Maybe this changes are not well integrated in freevo yet (undifined
> > events, localisation, configuration, ...) -> help is recommended
> >
> > hei freevo hackers, what have I to do with this? should I add a bug
> > report?
> >
> > Andreas
>
> As it's for rel-1 a feature request is what you want
> http://sourceforge.net/tracker/?group_id=46652&atid=446898
ok. I uploaded it there.
Andreas

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo, mplayer and OSD

2008-03-09 Thread Emmanuel Doguet
Le Sunday 09 March 2008 16:25:18 Duncan Webb, vous avez écrit :
> Emmanuel Doguet wrote:
> >  Hello !
> >
> > Under freevo, OSD works fine. But with mplayer there were nothing (only
> > when accelerate), how we can do for have OSD when 'pause' , 'play' or get
> > timer ?
>
> This should work out of the box. If Freevo is connected to a TV then it
> may be off the top of the screen.
>
> Duncan

Freevo is connected to a TV, but I have only the 'prev/next bar'. Under freevo 
I have OSD (start of playlist, pause...etc).

With mplayer : it can display video time, pause, start message on OSD ?

bye.




>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Help with key mapping

2008-03-09 Thread Duncan Webb
Michael Walma wrote:
> Hello,
> 
> As a first time poster, let me begin by thanking the developers of 
> Freevo for a great program!
> 
> I'm using Freevo 1.7.3 and I am having some difficulty remapping keys.  
> I am using an odd-ball USB remote (Keyspan), which appears to X, and so 
> to Freevo as a keyboard.  My problem is that the remote does not have 
> either an 'e' or an 'enter' key, so I can't enter the Audio CD Backup 
> sub-menu using the remote.  The remote will generate an asterisk and I 
> would have thought that something like:
> 
> KEYMAP[key.K_ASTERISK] = 'ENTER'
> 
> would work, but it doesn't seem to.  Any pointers on how to solve my problem 
> would be great.  A pointer to a document which explains event and
> key mapping in detail would be even better.  For example, I can't find a list 
> of all events anywhere.

EVENTS['menu']['K_F5']  = Event(OSD_MESSAGE, arg='K_F5')
KEYMAP[key.K_F5] = 'K_F5'

Any way try using lircrc to map the asterisk to ENTER

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] I want only Alpha Blend when viewing pictures

2008-03-09 Thread Meneer Janssen

Dear Freevo users,
 
In Freevo 1.7.6.1 I look at my pictures in the following way: I choose:
 
 "Look at pictures --> Browse to directory --> type E on the keyboard --> Play 
all files in directory" 
 
Then I get a nice slide show of my pictures. In /etc/freevo/local_conf.py I see 
that one may choose from the following ways to view the slide show:
 
# None: no blending
# -1random effect
#  0alpha blending
#  1wipe effect
IMAGEVIEWER_BLEND_MODE = 0
 
When I set "IMAGEVIEWER_BLEND_MODE = -1" then I get alpha blend and wipe 
effects at random. However, when I set it to 0 (=  alpha blending) I get no 
effect at all, just a slideshow. I want only the alpha blending effect when I 
view my photo's (which does work in the 'random effect' mode). 
 
Is this a bug in Freevo 1.7.6.1 or am I doing something wrong here?
 
Best regards, Jansen :)
_
Bekijk Yes-R's real life soap op MSN Video!
http://video.msn.com/video.aspx?mkt=nl-nl&tab=m1192527562294&vid=8aff5b76-b78d-4b55-8b64-ef7e1d73aab2&playlist=videoByUuids:uuids:50b732c2-c105-41e9-adf0-36bd627d4eaa,0813da8c-031b-423f-a79d-35d925aee805,5cce447e-948d-43af-9862-45bb6bb9d6d8,6a39138c-f562-4254-be70-9d93343650f8,f9b8d78f-05a4-4c74-8e4b-28d20a4037ab&from=NLNL_Yes-R
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo, mplayer and OSD

2008-03-09 Thread Duncan Webb
Emmanuel Doguet wrote:
>  Hello !
> 
> Under freevo, OSD works fine. But with mplayer there were nothing (only when 
> accelerate), how we can do for have OSD when 'pause' , 'play' or get timer ?

This should work out of the box. If Freevo is connected to a TV then it 
may be off the top of the screen.

Duncan

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] new LCD plugin

2008-03-09 Thread John Molohan
Andreas Dick wrote:
> hei freevoers
> I was not really satisfied with the old lcd plugin on my 2x16 iMON LCD... my 
> need is to be able to use freevo without any screen (at least the music), 
> just with the LCD!.
>
> Since it was to complicated for me to improve the old plugin, I wrote a new 
> one: it is called lcd2.py (could be changed if needed)
>
> It is written and tested for freevo-1.7.6.1 but it should work with other 
> versions too. It should work with different LCDs if they work together with 
> the old plugin but I can not test it here :-)
> since I do not use TV, this is not supported yet, and since xine video shows 
> not a lot of infos, it is supported bad as well, and the localisation is not 
> well done yet.
>
> here is a list of features:
> - the header field (topline-left) shows where you are in the menu: Freevo, 
> Music, Images, Videos, Radio, MP3, CD-ROM, DVD/SVCD, ... (but it is not the 
> title of the parent as in lcd.py, it is a constructed, 8 character limited, 
> string)
> - the info field (topline-right) shows infos like OSD would do: clock, 
> volume, 'Play', 'pause', but also menu-position, and it shows if the meaning 
> of the iMON button/wheel is changed (VOLUME, MENU,...)
> - the menu line(s) help to navigate through the menu tree. I have only one, 
> but with the menu position/size in the info field it is much more easier to 
> navigate.
> - the last or the second last line is used to show the player title
> - the last line is used to show the player info (elapsed time / total time) 
> and in the image viewer the number of the actual image / total images
>
> to show infos like volume and image-viewer infos, I had to apply event 
> senders 
> in some other plugins like mixer.py, alsamixer.py, alsamixer2.py, 
> image/viewer.py
> In image/viewer.py I also applied a patch to change the duration time in the 
> slideshow with the REW/FFWD buttons... and I added a new configure option  
> IMAGEVIEWER_PLAY_AT_START that controlls if the image player should start 
> automatically or only if PLAY is pressed.
> Maybe this changes are not well integrated in freevo yet (undifined events, 
> localisation, configuration, ...) -> help is recommended
>
> hei freevo hackers, what have I to do with this? should I add a bug report?
>
> Andreas
>   
As it's for rel-1 a feature request is what you want 
http://sourceforge.net/tracker/?group_id=46652&atid=446898

John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] new LCD plugin

2008-03-09 Thread Andreas Dick
hei freevoers
I was not really satisfied with the old lcd plugin on my 2x16 iMON LCD... my 
need is to be able to use freevo without any screen (at least the music), 
just with the LCD!.

Since it was to complicated for me to improve the old plugin, I wrote a new 
one: it is called lcd2.py (could be changed if needed)

It is written and tested for freevo-1.7.6.1 but it should work with other 
versions too. It should work with different LCDs if they work together with 
the old plugin but I can not test it here :-)
since I do not use TV, this is not supported yet, and since xine video shows 
not a lot of infos, it is supported bad as well, and the localisation is not 
well done yet.

here is a list of features:
- the header field (topline-left) shows where you are in the menu: Freevo, 
Music, Images, Videos, Radio, MP3, CD-ROM, DVD/SVCD, ... (but it is not the 
title of the parent as in lcd.py, it is a constructed, 8 character limited, 
string)
- the info field (topline-right) shows infos like OSD would do: clock, 
volume, 'Play', 'pause', but also menu-position, and it shows if the meaning 
of the iMON button/wheel is changed (VOLUME, MENU,...)
- the menu line(s) help to navigate through the menu tree. I have only one, 
but with the menu position/size in the info field it is much more easier to 
navigate.
- the last or the second last line is used to show the player title
- the last line is used to show the player info (elapsed time / total time) 
and in the image viewer the number of the actual image / total images

to show infos like volume and image-viewer infos, I had to apply event senders 
in some other plugins like mixer.py, alsamixer.py, alsamixer2.py, 
image/viewer.py
In image/viewer.py I also applied a patch to change the duration time in the 
slideshow with the REW/FFWD buttons... and I added a new configure option  
IMAGEVIEWER_PLAY_AT_START that controlls if the image player should start 
automatically or only if PLAY is pressed.
Maybe this changes are not well integrated in freevo yet (undifined events, 
localisation, configuration, ...) -> help is recommended

hei freevo hackers, what have I to do with this? should I add a bug report?

Andreas
# diff freevo-1.7.6.1/src/plugins/alsamixer2.py freevo-1.7.6.1-min/src/plugins/alsamixer2.py
192a193
> rc.post_event(Event('MIXER_VOLUME_INFO', arg='%s' % self.getVolume()))
196a198
> rc.post_event(Event('MIXER_VOLUME_INFO', arg='%s' % self.getVolume()))
201a204
> rc.post_event(Event('MIXER_VOLUME_INFO', arg='%s' % self.getVolume()))
# diff freevo-1.7.6.1/src/image/viewer.py freevo-1.7.6.1-min/src/image/viewer.py
73c73,74
< self.slideshow   = True
---
> self.slideshow   = config.IMAGEVIEWER_PLAY_AT_START
> self.duration	 = config.IMAGEVIEWER_DURATION
287a289
> 
296,297c298,299
< if self.fileitem.duration and self.slideshow and not self.signal_registered:
< rc.register(self.signalhandler, False, self.fileitem.duration*100)
---
> if self.duration and self.slideshow and not self.signal_registered:
> rc.register(self.signalhandler, False, self.duration*100)
319a322,330
> 
> # stop slideshow at the end if configured
> index = item.parent.play_items.index(item)+1
> length = len(item.parent.play_items)
> if (index == length): self.slideshow = config.IMAGEVIEWER_PLAY_AT_START
> 
> # send information event to LCD2
> rc.post_event(Event('IMAGE_VIEW_INFO', arg=(index, length, item.name)))
> 
342c353,354
< if event == PAUSE or event == PLAY:
---
> # SELECT also should act as PLAY/PAUSE (-> could be done with event rerouting!?)
> if event == PAUSE or event == PLAY or (event == BUTTON and event.arg == 'SELECT'):
344a357
> rc.post_event(Event('IMAGE_PAUSE_INFO', arg=''))
349c362,363
< rc.post_event(Event(OSD_MESSAGE, arg=_('play')))
---
> rc.post_event(Event(OSD_MESSAGE, arg=_('play')+(' %ss'%self.duration)))
> rc.post_event(Event('IMAGE_PLAY_INFO', arg='%s' % self.duration))
357a372
> self.slideshow = config.IMAGEVIEWER_PLAY_AT_START
431a447,460
> # change slideshow duration and send event to OSD and LCD2
> elif (event == BUTTON) and (event.arg == 'REW'):
> if self.duration > 7: self.duration -= 2
> elif self.duration > 1: self.duration -= 1
> rc.post_event(Event(OSD_MESSAGE, arg="Timer %ss" % self.duration)) # not yet internationalised
> rc.post_event(Event('IMAGE_PLAY_INFO', arg='%s' % self.duration))
> return True
> elif (event == BUTTON) and (event.arg == 'FFWD'):
> if self.duration < 6: self.duration += 1
> elif self.duration < 11: self.duration += 2
> rc.post_event(Event(OSD_MESSAGE, arg="Timer %ss" % self.duration)) # not yet internationalised
> rc.post_event(

Re: [Freevo-users] Freevo using alsa

2008-03-09 Thread Benedikt Bär
Hi again Andreas,

I installed Freevo 1.7.8.1, and I'm using now the alsamixer2 plug-in. So
far everything seems to work, except two things:

1) The idlebar.volume plug-in does not work with alsamixer2. Is there
any workaround? 

2) I have a separate input for my TV card, which loops into the 'Line'
channel. I would like that alsamixer2 keeps PCM & Line at the same
levels. Is this possible? Here's my current config:

ALSAMIXER2_MAIN_CTRL = 'PCM'
# ALSAMIXER2_MUTE_CTRL = 'Headphone'
ALSAMIXER2_CTRLS = [
#   (ctrl, card, default vol, min vol, max vol)
('PCM','hw:SB',90,0,100),
('Line', 'hw:SB', 90, 0, 100),
]

When I remove the PCM line, alsamixer2 controls the Line volume, but not
the PCM anymore :(.
-  
Benedikt

This message is digitally signed by a PGP
key, to verify it's authenticity. 

If you received this message without key
the message may not be authentic.

www.relamp.tk 


On Sun, 2008-03-09 at 14:14 +0100, Andreas Dick wrote:
> Am Samstag, 8. März 2008 23:55 schrieb Benedikt Bär:
> > Hi Andreas,
> >
> > I do have the all the 6 channel for the volume control. In addition, I
> > also have the PCM control, which controls all 6 channels (like a general
> > volume), so the sound card itself works fine in 6ch mode (I tested it
> > with a DVD).
> well.
> 
> > However, the alsamixer plug-in does not control either of the 6
> > channels, nor the PCM volume.
> >
> > I'm interested in trying alsamixer2, but I can't find this plug-in when
> > listing them in freevo.
> >
> > How can I get it?
> I use freevo 1.7.6.1, and maybe it was added after 1.7.3 you are using.
> since you use 1.7.3 I suppose you installed it with your packet manager (apt?)
> normaly it is very easy to install a new version from sources over the old 
> installed version (at your own risk!):
> - download it from http://sourceforge.net/project/showfiles.php?group_id=46652
> - # tar -xzf freevo-1.7.6.1.tar.gz
> - # cd freevo-1.7.6.1/
> - # python setup.py install
> - maybe you have to change something in your local_conf.py (?)
> (the risk could be, that your packetmanager do not know about the new 
> version, 
> and it is maybe not able to remove it properly if needed...)
> 
> Andreas


signature.asc
Description: This is a digitally signed message part
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Freevo, mplayer and OSD

2008-03-09 Thread Emmanuel Doguet

 Hello !

Under freevo, OSD works fine. But with mplayer there were nothing (only when 
accelerate), how we can do for have OSD when 'pause' , 'play' or get timer ?

 bye bye !

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users