Re: [Freevo-users] freevo remote volume does not work

2011-03-07 Thread Adam Charrett



On Sun, 6 Mar 2011, Andreas Dick wrote:


By default (and if the python alsa bindings are installed) the alsa
mixer is used now. If the python alsa bindings are not installed freevo
will revert to trying the oss mixer plugin.

So, the alsa binidngs are well installed due to a dependecie.
I did not update to 1.9.2 yet, using just 1.9.0 of Maverick repo:
- using the mixer plugin (thus doing noting and using the default) I
configured as followed:
AUDIO_DEVICE   = '/dev/snd/hwC0D0'
AUDIO_INPUT_DEVICE = '/dev/snd/hwC0D0'
MIXER_MAJOR_CTRL   = 'Master'
MIXER_MAJOR_MUTE_CTRL = 'Master'
MIXER_DEVICE  = '/dev/snd/controlC0'
MIXER_CONTROL_ALL = 1
MIXER_VOLUME_MAX  = 100
MIXER_VOLUME_DEFAULT  = 60

I get an error messages like:
2011-03-06 21:49:53,237 WARNING  mixer.py (175): Cannot set mixer
/dev/snd/controlC0 volume: [Errno 25] Unpassender IOCTL (I
/O-Control) für das Gerät
2011-03-06 21:49:53,237 WARNING  mixer.py (175): Cannot set mixer
/dev/snd/controlC0 volume: [Errno 25] Unpassender IOCTL (I/O-Control) für
das Gerät

did I understand something wrong now? or what default alsa mixer meant you
above?

thanks for help
Andreas
You want to disable the mixer plugin and use the alsamixer plugin, then 
you'll need to set the config variables required by that plugin.

Here's the info for the plugin from 1.9.2 (I don't have 1.9.0 to hand):

Description:

Mixer for ALSA,. This plugin requires the alsaaudio module from
http://sourceforge.net/projects/pyalsaaudio/. For Debian, install the
python-alsaaudio package and you're all set.

In addition to the plugin specific variables this plugin also uses the
following general configuration variables:

| MIXER_MAJOR_CTRL  = 'VOL' # Freevo takes control over one audio ctrl
|   # 'VOL', 'PCM' 'OGAIN' etc.
| MIXER_MAJOR_MUTE_CTRL = 'PCM' # used in alsamixer.py, There are systems
|   # where volume and mute use different 
controls
| MIXER_CONTROL_ALL = 1 # Should Freevo take complete control of 
audio

| MIXER_VOLUME_STEP = 5 # Amount to increment the mixer volume
| MIXER_VOLUME_MAX  = 90# Set what you want maximum volume level 
to be.

| MIXER_VOLUME_DEFAULT  = 40# Set default volume level.


Plugin configuration variables:
---
ALSA_CARDID: Alsa Card id
Default: 0

ALSA_LINE_CARDID: Alsa Line Card id
Default: 0

ALSA_MIXER_NAME: Alsa Mixer Name
Default: 'Master'

ALSA_PCMMIXER_NAME: Alsa PCM Mixer Name
Default: 'PCM'

ALSA_LINEMIXER_NAME: Alsa Line Mixer Name
Default: 'Line'

ALSA_MICMIXER_NAME: Alsa Mic Mixer Name
Default: 'Mic'

ALSA_SYNCMIXER_NAME: Alsa Sync Mixer Name
Default: 'Master Surround'

ALSA_SYNCMIXER: Alsa Sync Mixer Name
Default: '0'

Cheers

Adam--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo remote volume does not work

2011-03-06 Thread Andreas Dick
 On Sat, 05 Mar 2011 21:51:42 +, Adam Charrett wrote:
 On Sat, 2011-03-05 at 17:13 +0100, Andreas Dick wrote:
 hei
 I have the same problem as Dana.
 In my case the mixer plugin is not able to start, since /dev/mixer 
 do not
 exist on my raw Ubuntu 10.10 / Freevo 1.9.0 setup (oss-compat is not
 installed, I hope it is not necessary in 2011?).
 And the alsamixer/alsamixer2 plugins do not work as well:
 -
 failed to load plugin alsamixer
 start 'freevo plugins -l' to get a list of plugins
 Traceback (most recent call last):
   File /usr/share/pyshared/freevo/plugin.py, line 571, in 
 __load_plugin__
 p = eval(object)()
   File /usr/share/pyshared/freevo/plugins/alsamixer.py, line 77, 
 in __init__
 self.main_mixer = alsaaudio.Mixer(config.ALSA_MIXER_NAME, 0,
 config.ALSA_CARDID)
 AttributeError: 'module' object has no attribute 'ALSA_MIXER_NAME'
 -
 defining ALSA_MIXER_NAME in the config do not help at all, thus I 
 supposet that
 the plugins are corrupt...?

 what is now the best way? the way with oss (really???) or fixing the 
 plugins?
 what are others using?
 Andreas
 This should be resolved in 1.9.2, just out of interest what did you 
 set
 ALSA_MIXER_NAME to?

 Well, then I will try out 1.9.2... is it already in the beta, or just 
 in today svn?

 I tried to set 'Master', since this is set as default in the plugin 
 code and this matches well with my setup. But then I gave up since 
 another error raised (the same as in alsamixer 2).

 But my other question is, do you and others use alsamixer or the oss 
 wraper? I think the alsamixer plugins are far away of ideal, I wrote 
 once an alsamixer3 just for my needs (for 1.8.1) but this was not 
 generally coded for others. My question now: is there a need to publish 
 an improved alsamixer plugin or not (e.g. everybody is happy with oss 
 wraper or today alsamixer?)

 Andreas


--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo remote volume does not work

2011-03-06 Thread Adam Charrett
On Sun, 2011-03-06 at 09:59 +0100, Andreas Dick wrote:
 On Sat, 05 Mar 2011 21:51:42 +, Adam Charrett wrote:
  On Sat, 2011-03-05 at 17:13 +0100, Andreas Dick wrote:
  Well, then I will try out 1.9.2... is it already in the beta, or just 
  in today svn?
I believe the change was in the first beta, I'm going to try and get a second 
beta out today.

  I tried to set 'Master', since this is set as default in the plugin 
  code and this matches well with my setup. But then I gave up since 
  another error raised (the same as in alsamixer 2).
 
  But my other question is, do you and others use alsamixer or the oss 
  wraper? I think the alsamixer plugins are far away of ideal, I wrote 
  once an alsamixer3 just for my needs (for 1.8.1) but this was not 
  generally coded for others. My question now: is there a need to publish 
  an improved alsamixer plugin or not (e.g. everybody is happy with oss 
  wraper or today alsamixer?)
 

By default (and if the python alsa bindings are installed) the alsa
mixer is used now. If the python alsa bindings are not installed freevo
will revert to trying the oss mixer plugin.

Cheers

Adam


--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo remote volume does not work

2011-03-06 Thread Andreas Dick
 On Sun, 06 Mar 2011 09:41:59 +, Adam Charrett wrote:
 On Sun, 2011-03-06 at 09:59 +0100, Andreas Dick wrote:
 On Sat, 05 Mar 2011 21:51:42 +, Adam Charrett wrote:
  On Sat, 2011-03-05 at 17:13 +0100, Andreas Dick wrote:
  Well, then I will try out 1.9.2... is it already in the beta, or 
 just
  in today svn?
 I believe the change was in the first beta, I'm going to try and get
 a second beta out today.

  I tried to set 'Master', since this is set as default in the plugin
  code and this matches well with my setup. But then I gave up since
  another error raised (the same as in alsamixer 2).

  But my other question is, do you and others use alsamixer or the 
 oss
  wraper? I think the alsamixer plugins are far away of ideal, I 
 wrote
  once an alsamixer3 just for my needs (for 1.8.1) but this was not
  generally coded for others. My question now: is there a need to 
 publish
  an improved alsamixer plugin or not (e.g. everybody is happy with 
 oss
  wraper or today alsamixer?)


 By default (and if the python alsa bindings are installed) the alsa
 mixer is used now. If the python alsa bindings are not installed 
 freevo
 will revert to trying the oss mixer plugin.
 wow, then I will try to get it working like that... I have to check if 
 the alsa bindings are ready, for now I get a /dev/mixer not found in the 
 log... and this sounds like oss for me.
 I will come back to that soon
 thanks
 Andreas




 Cheers

 Adam


 
 --
 What You Don't Know About Data Connectivity CAN Hurt You
 This paper provides an overview of data connectivity, details
 its effect on application quality, and explores various alternative
 solutions. http://p.sf.net/sfu/progress-d2d
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users


--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo remote volume does not work

2011-03-06 Thread Andreas Dick
 By default (and if the python alsa bindings are installed) the alsa
 mixer is used now. If the python alsa bindings are not installed freevo
 will revert to trying the oss mixer plugin.
So, the alsa binidngs are well installed due to a dependecie.
I did not update to 1.9.2 yet, using just 1.9.0 of Maverick repo:
- using the mixer plugin (thus doing noting and using the default) I 
configured as followed:
AUDIO_DEVICE   = '/dev/snd/hwC0D0'
AUDIO_INPUT_DEVICE = '/dev/snd/hwC0D0'
MIXER_MAJOR_CTRL   = 'Master' 
MIXER_MAJOR_MUTE_CTRL = 'Master'
MIXER_DEVICE  = '/dev/snd/controlC0'
MIXER_CONTROL_ALL = 1
MIXER_VOLUME_MAX  = 100
MIXER_VOLUME_DEFAULT  = 60

I get an error messages like:
2011-03-06 21:49:53,237 WARNING  mixer.py (175): Cannot set mixer 
/dev/snd/controlC0 volume: [Errno 25] Unpassender IOCTL (I
/O-Control) für das Gerät
2011-03-06 21:49:53,237 WARNING  mixer.py (175): Cannot set mixer 
/dev/snd/controlC0 volume: [Errno 25] Unpassender IOCTL (I/O-Control) für 
das Gerät

did I understand something wrong now? or what default alsa mixer meant you 
above?

thanks for help
Andreas

--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo remote volume does not work

2011-03-05 Thread Andreas Dick
hei
I have the same problem as Dana.

In my case the mixer plugin is not able to start, since /dev/mixer do not 
exist on my raw Ubuntu 10.10 / Freevo 1.9.0 setup (oss-compat is not 
installed, I hope it is not necessary in 2011?).
And the alsamixer/alsamixer2 plugins do not work as well:
-
failed to load plugin alsamixer
start 'freevo plugins -l' to get a list of plugins
Traceback (most recent call last):
  File /usr/share/pyshared/freevo/plugin.py, line 571, in __load_plugin__
p = eval(object)()
  File /usr/share/pyshared/freevo/plugins/alsamixer.py, line 77, in __init__
self.main_mixer = alsaaudio.Mixer(config.ALSA_MIXER_NAME, 0, 
config.ALSA_CARDID)
AttributeError: 'module' object has no attribute 'ALSA_MIXER_NAME'
-
defining ALSA_MIXER_NAME in the config do not help at all, thus I supposet that 
the plugins are corrupt...?

what is now the best way? the way with oss (really???) or fixing the plugins? 
what are others using?
Andreas

Am Montag, 11. Oktober 2010, um 16.46:18 schrieb Evan Hisey:
 On Mon, Oct 11, 2010 at 9:19 AM, Evan Hisey ehi...@gmail.com wrote:
  Dana-
  
  You really should not need an outside package for sound control in
  freevo.  Are you sure you are using mplayer and not Xine when in
  freevo? I remember there having been an issue with wound control when
  watching TV and using Xine. Can you control the sound in Mplayer by
  remote when just running mplayer?
  
  Evan
 
 Um, right, forgot you already said you could. Is freevo getting the
 volume up down commands correct. Can you adjust the volume when you
 are on the main menu?
 
 Evam
 
 ---
 --- Beautiful is writing same markup. Internet Explorer 9 supports
 standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
 Spend less time writing and  rewriting code and more time creating great
 experiences on the web. Be a part of the beta today.
 http://p.sf.net/sfu/beautyoftheweb
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users


--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo remote volume does not work

2011-03-05 Thread Adam Charrett
On Sat, 2011-03-05 at 17:13 +0100, Andreas Dick wrote:
 hei
 I have the same problem as Dana.
 
 In my case the mixer plugin is not able to start, since /dev/mixer do not 
 exist on my raw Ubuntu 10.10 / Freevo 1.9.0 setup (oss-compat is not 
 installed, I hope it is not necessary in 2011?).
 And the alsamixer/alsamixer2 plugins do not work as well:
 -
 failed to load plugin alsamixer
 start 'freevo plugins -l' to get a list of plugins
 Traceback (most recent call last):
   File /usr/share/pyshared/freevo/plugin.py, line 571, in __load_plugin__
 p = eval(object)()
   File /usr/share/pyshared/freevo/plugins/alsamixer.py, line 77, in __init__
 self.main_mixer = alsaaudio.Mixer(config.ALSA_MIXER_NAME, 0, 
 config.ALSA_CARDID)
 AttributeError: 'module' object has no attribute 'ALSA_MIXER_NAME'
 -
 defining ALSA_MIXER_NAME in the config do not help at all, thus I supposet 
 that 
 the plugins are corrupt...?
 
 what is now the best way? the way with oss (really???) or fixing the plugins? 
 what are others using?
 Andreas
This should be resolved in 1.9.2, just out of interest what did you set
ALSA_MIXER_NAME to?

Cheers

Adam


--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo remote volume does not work

2010-10-11 Thread Evan Hisey
Dana-

You really should not need an outside package for sound control in
freevo.  Are you sure you are using mplayer and not Xine when in
freevo? I remember there having been an issue with wound control when
watching TV and using Xine. Can you control the sound in Mplayer by
remote when just running mplayer?

Evan

On Fri, Sep 24, 2010 at 7:11 PM, Alan lameventa...@gmail.com wrote:
 On Fri, Sep 24, 2010 at 3:44 AM, Dana E Hoffman Jr d...@fedoraunity.org 
 wrote:
 Hello all,
 I am using freevo-1.9.0 on fedora 13 x86_64 with a microsoft mceusb remote, 
 with mplayer.
 For some reason I can not get the remote volume up/down or mute when 
 watching a movie in freevo.

 When I play a movie with just mplayer my remote volume up/down mute works.
 for some reason I can not get it working in freevo.

 Any ideas or suggestions would be great
 thanks

 I wrote a program that allows you to change the volume and mute your
 soundcard with a nice OSD display.
 The advantage is that it will work while watching moviesing, listening
 to music, etc. and the volume setting / mute state is not forgotten
 like when you use the standard installation.

 http://www.mizrahi.com.ve/projects/airmix/

 Project page: http://www.sourceforge.net/projects/airmix/

 All you have to do is install it and run it in your freevo init
 script, I run it like this:
 airmix --daemon --color white

 Unfortunately I don't have any 64-bit RPM built yet, but the source is
 there and its really easy to build.  If you need any help with that
 please let me know.

 Alan

 --
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing.
 http://p.sf.net/sfu/novell-sfdev2dev
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo remote volume does not work

2010-10-11 Thread Evan Hisey
On Mon, Oct 11, 2010 at 9:19 AM, Evan Hisey ehi...@gmail.com wrote:
 Dana-

 You really should not need an outside package for sound control in
 freevo.  Are you sure you are using mplayer and not Xine when in
 freevo? I remember there having been an issue with wound control when
 watching TV and using Xine. Can you control the sound in Mplayer by
 remote when just running mplayer?

 Evan
Um, right, forgot you already said you could. Is freevo getting the
volume up down commands correct. Can you adjust the volume when you
are on the main menu?

Evam

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo remote volume does not work

2010-09-24 Thread Dan Schmidt
Are you using mplayer in Freevo or xine?

On 09/23/2010 12:44 PM, Dana E Hoffman Jr wrote:
 Hello all,
 I am using freevo-1.9.0 on fedora 13 x86_64 with a microsoft mceusb remote, 
 with mplayer.
 For some reason I can not get the remote volume up/down or mute when watching 
 a movie in freevo.

 When I play a movie with just mplayer my remote volume up/down mute works.
 for some reason I can not get it working in freevo.

 Any ideas or suggestions would be great
 thanks
  

 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

   

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo remote volume does not work

2010-09-24 Thread Alan
On Fri, Sep 24, 2010 at 3:44 AM, Dana E Hoffman Jr d...@fedoraunity.org wrote:
 Hello all,
 I am using freevo-1.9.0 on fedora 13 x86_64 with a microsoft mceusb remote, 
 with mplayer.
 For some reason I can not get the remote volume up/down or mute when watching 
 a movie in freevo.

 When I play a movie with just mplayer my remote volume up/down mute works.
 for some reason I can not get it working in freevo.

 Any ideas or suggestions would be great
 thanks

I wrote a program that allows you to change the volume and mute your
soundcard with a nice OSD display.
The advantage is that it will work while watching moviesing, listening
to music, etc. and the volume setting / mute state is not forgotten
like when you use the standard installation.

http://www.mizrahi.com.ve/projects/airmix/

Project page: http://www.sourceforge.net/projects/airmix/

All you have to do is install it and run it in your freevo init
script, I run it like this:
airmix --daemon --color white

Unfortunately I don't have any 64-bit RPM built yet, but the source is
there and its really easy to build.  If you need any help with that
please let me know.

Alan

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users