Re: [Freevo-users] /audio/plugins/mplayer.py and MPLAYER_AO_DEV_OPTS problem

2009-07-04 Thread Andrea Magatti

Duncan Webb wrote:

Andrea Magatti wrote:
  

Hi all,

seems like i can't get audio spidf out (iec958) when playing music, but
when playing video files everything is ok.

in freevo 1.8.2 (gentoo) i've configured the MPLAYER_AO_DEV_OPTS
='device=iec958' and MPLAYER_AO_DEV= 'alsa'.

these parameters are correctly passed to the mplayer (when selecting a
video file avi, mkw, mov and everything else) command line, but when
playing audio files (mp3, flac) only the MPLAYER_AO_DEV is passed to
the command line.

I was watching the source code in /src/audio/plugins/mplayer.py and i've
noticed that the command line building code doesn't use at all the
MPLAYER_AO_DEV_OPTS option.



Try just using:
MPLAYER_AO_DEV = 'alsa:device=default'
or possibly:
MPLAYER_AO_DEV = 'alsa:device=hw=0.0'

This is very hardware specific.

And don't set MPLAYER_AO_DEV_OPTS

I'm assuming that you have connected your audio card to an external amp.

Then you can set -afm hwac3 for certain file types.

Duncan

--
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

  

It works quite well using

MPLAYER_AO_DEV = 'alsa:device=iec958'

I've got an audiophile 102 that requires this option.
Yes the soundcard is connected via Digital Output (not optical) to a Denon amp 
capable of decoding a lot of audio formats


Just a question: MPLAYER_AO_DEV_OPTS is intended to be used only for video 
files?
thanks 

--
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] /audio/plugins/mplayer.py and MPLAYER_AO_DEV_OPTS problem

2009-07-03 Thread Andrea Magatti

Hi all,

seems like i can't get audio spidf out (iec958) when playing music, but 
when playing video files everything is ok.


in freevo 1.8.2 (gentoo) i've configured the MPLAYER_AO_DEV_OPTS 
='device=iec958' and MPLAYER_AO_DEV= 'alsa'.


these parameters are correctly passed to the mplayer (when selecting a 
video file avi, mkw, mov and everything else) command line, but when 
playing audio files (mp3, flac) only the MPLAYER_AO_DEV is passed to 
the command line.


I was watching the source code in /src/audio/plugins/mplayer.py and i've 
noticed that the command line building code doesn't use at all the 
MPLAYER_AO_DEV_OPTS option.


How can i fix this? (i'm not an experienced python developer )


thanks in advance

--
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] /audio/plugins/mplayer.py and MPLAYER_AO_DEV_OPTS problem

2009-07-02 Thread Andrea Magatti

Hi all,

seems like i can't get audio spidf out (iec958) when playing music, but 
when playing video files everything is ok.


in freevo 1.8.2 (gentoo) i've configured the MPLAYER_AO_DEV_OPTS 
='device=iec958' and MPLAYER_AO_DEV= 'alsa'.


these parameters are correctly passed to the mplayer (when selecting a 
video file avi, mkw, mov and everything else) command line, but when 
playing audio files (mp3, flac) only the MPLAYER_AO_DEV is passed to 
the command line.


I was watching the source code in /src/audio/plugins/mplayer.py and i've 
noticed that the command line building code doesn't use at all the 
MPLAYER_AO_DEV_OPTS option.


How can i fix this? (i'm not an experienced python developer )


thanks in advance
--
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo-1.8.2 can't launch Generic Games

2009-01-06 Thread Andrea Magatti
bent...@lqjr.qc.ca wrote:
 Hi Andrea,

 from memory you need to add a file with extension .tux in the 
 /etc/freeov/games/tuxracer directory.

 Basically the game menu has a launching program with a list of 
 games that can be launched from it (designed I'm guesing for game 
 emulators). So if you want to launch just a game you need to trick 
 it into opening a game file.

 The [ 'tux' ] part of the argument tells Freevo to look for 
 files with the extension .tux

 Hope I'm right, and hope this helps

Thanks,
but this is exactly what I did,
Anyway i've go a doubt:
 the file: /etc/freeov/games/tuxracer/tuxracer.tux is just an empty 
file, or a link to the game's executable?

thanks again




--
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo-1.8.2 can't launch Generic Games

2009-01-06 Thread Andrea Magatti

Elizabeth Dodd wrote:

On Wed, 7 Jan 2009, Andrea Magatti wrote:
  

Thanks,
but this is exactly what I did,
Anyway i've go a doubt:
 the file: /etc/freeov/games/tuxracer/tuxracer.tux is just an empty
file, or a link to the game's executable?

thanks again



an empty file

  
Really can't undertand why still doesn't work, freevo keeps on not 
launching any generic game.


To be sure this is the documentatio link i've used:

http://doc.freevo.org/GamesConfig


Section Linux Games

PS: the user is freevo, and freevo is in the games group, my box is 
gentoo (updated)  running freevo 1.8.2

local_conf.py has DEBUG=1 and
DEBUG_CHILDAPP = 1

thanks again!
--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo-1.8.2 can't launch Generic Games

2009-01-06 Thread Andrea Magatti
Evan Hisey wrote:
 Really can't undertand why still doesn't work, freevo keeps on not launching
 any generic game.

 To be sure this is the documentatio link i've used:

 http://doc.freevo.org/GamesConfig


 Section Linux Games

 PS: the user is freevo, and freevo is in the games group, my box is gentoo
 (updated)  running freevo 1.8.2
 local_conf.py has DEBUG=1 and
 DEBUG_CHILDAPP = 1

 thanks again!

 
 There was a bug in the generic type between 1.8.0 and 1.8.3. I am
 pretty sure it was fixed by .3 but can't remember when it broke. You
 might try updating to 1.8.3.

 Evan

   
Thank you so much.
The problem now is just Gentoo related... 1.8.3 is not in portage yet...

Andrea


--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Freevo-1.8.2 can't launch Generic Games

2009-01-05 Thread Andrea Magatti
Hi all,

i've configured freevo to show the games menu and according to the 
guide, i've configured freevo to launch Tuxracer (and planning to 
install g-compris and the new kde4 tuberling, which are the favourite 
games of my 5 years old daughter)

I've got a strange behaviour:

in local_conf.py i have:

 GAMES_ITEMS = [
('Tux Racer', '/etc/freevo/games/tuxracer/',
('GENERIC', '/usr/games/bin/etracer', '', '', [ 'tux' ] ))
]

and:

htpc freevo # ls -l /etc/freevo/games/tuxracer/*
-rwxrwxrwx 1 root root 0 Dec 31 16:19 
/etc/freevo/games/tuxracer/tuxracer.tux


When i launch freevo, i've got the games menu, listing Tux Racer, but 
when i select this item, freevo just enter in a new empty directory 
(This directory ie empty), without running the game.

the main.log doesn't not show any error or warning about the non-launch 
of the game.

Really do't know how to handle this, after one day of tweaking with 
freevo configuration



 




--
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-02 Thread Andrea Magatti
Sorry, you're right.
irw listen to /dev/lircd which is a socket created by the lirc daemon

from man irw:

irw  will  connect to any Unix domain socket and will print the data
that it receives to stdout. If you don't give it a socket name argument
it will watch
/dev/lircd. Useful for debugging.

Then /dev/lirc is not always a directory. It's distro dependent.
On my gentoo box:
ls -l /dev/lirc*

htpc dev # ls -l lirc*
lrwxrwxrwx 1 root root 5 Sep  1 17:19 lirc - lirc0
crw-rw 1 root root 61, 0 Sep  1 17:19 lirc0
crw-rw 1 root root 61, 1 Sep  1 17:19 lirc1
srw-rw-rw- 1 root root 0 Sep  1 17:19 lircd
srw-rw-rw- 1 root root 0 Sep  1 17:19 lircd1
prw-r--r-- 1 root root 0 Sep  1 18:29 lircm

by

Andreas Dick wrote:
 irw listen events on /dev/lirc, so you need a symbolic link
 /dev/lircd/0 called /dev/lirc, or
 you could use:

  irw -d /dev/lirc/0
 
 NO!
 irw do not listen to /dev/lirc, it uses a allready running lircd daemon.
 (and a symlink is not possible because /dev/lirc is a directory!)

 next you should have a propper lircd.conf file, maybe you find one for
 your remote in your distro or even at http://lirc.sourceforge.net/remotes/

 else you have to train your remote (I think this is allways better)
 $ irrecord -d /dev/lirc/0 lircd.conf
 this sould generate you a valid lircd.conf file (sometimes its then called
 lircd.conf.conf)

 then try to start the lircd daemon in nodaemon mode:
 $ lircd -n -d /dev/lirc/0 lircd.conf
 you see now the output of lircd

 try to run now irw in annother terminal
 $ irw

 then you can copy your valid lircd.conf to /etc/ or to /etc/lirc, and try
 to start the daemon in the distros way:
 $ /etc/init.d/lircd start (or similar)

 if this works, your remot is up at every reboot.

 its a long way, but it is hard to install a general setup such that every
 remote out there would work plug n play :-)

 Andreas

   
 by

 Alberto Hernando wrote:
 
 El Martes, 2 de Septiembre de 2008 01:42, [EMAIL PROTECTED]
 escribió:

   
 [EMAIL PROTECTED] patrick]# ircat --config=/etc/freevo/lircrc freevo
 freevo: could not connect to socket
 freevo: Connection refused
 [EMAIL PROTECTED] patrick]#

 
 Hi.

 In this case, it is normal, because you killed lircd.
 Well, the hardware seems to be ok. I don't know why irw doesn't work...
 :(

 Alberto

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

   
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

 



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Multiple lirc devices: Streamzap and Antec Fusion Imon Knob

2008-08-27 Thread Andrea Magatti

Duncan Webb wrote:

Andrea Magatti wrote:
  

[SNIP]

I don't know if the problem is freevo that only watch at the first lirc 
device, or pylirc that only uses one device (the streamzap device).




I don't think that this is the problem. freevo nor pylirc care about 
devices, lirc uses a daemon and clients connect to the daemon not 
devices. You do need multiple daemons running. see: the section Using 
multiple different devices simultaneously on 
http://www.lirc.org/html/configure.html


HTH
Duncan

  

Thanks for the hint!
I just wanted to be sure that the problem was not freevo or pylirc related.
Aftert that i've configured the two daemons to work in connect-listen 
mode through an http socket
(this way the events from the second device is redirected to the first 
device /dev/lirc), solving all my problems.

Now the knob can control the volume!

Thanks again!
By
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Multiple lirc devices: Streamzap and Antec Fusion Imon Knob

2008-08-26 Thread Andrea Magatti
Hi all,

i'm using freevo on gentoo from portage 1.7.6.
Everything works, but i was trying to use two different lirc device.

One is a Streamzap USB, recognized as /dev/lirc0 and perfectly working
The other device is the volume knob of the Antec Fusion case, recognized 
ad /dev/lirc1, working correctly (tested with irw, the knoib sends 
thetrwo events WheelCC and WheelCW.
I've mapped these remotes in /etc/lircd.conf as follows:


begin remote

  name  Streamzap_PC_Remote
  bits6
  flags RC5|CONST_LENGTH
  eps30
  aeps  100

  one   889  889
  zero  889  889
  plead 889
  pre_data_bits   8
  pre_data   0xA3
  gap  108344
  toggle_bit  2


  begin codes
  00x00
  10x01
  20x02
  30x03
  40x04
  50x05
  60x06
  70x07
  80x08
  90x09
  POWER0x0A
  MUTE 0x0B
  CH_UP0x0C
  VOL_UP   0x0D
  CH_DOWN  0x0E
 VOL_DOWN 0x0F
  UP   0x10
  LEFT 0x11
  OK   0x12
  RIGHT0x13
  DOWN 0x14
  MENU 0x15
  EXIT 0x16
  PLAY 0x17
  PAUSE0x18
  STOP 0x19
  |  0x1A
  |  0x1B
  RECORD   0x1C
 0x1D
 0x1E
  RED  0x20
  GREEN0x21
  YELLOW   0x22
  BLUE 0x23
  end codes

end remote

begin remote
  name  ClickWheel
  bits   24
  eps30
  aeps  100

  one 0 0
  zero0 0
  post_data_bits  8
  post_data  0xFF
  gap  131993
  toggle_bit  0
 begin codes
   WheelCC  0x01
   WheelCW  0x000100
   WheelClick   0x08
 end codes
end remote



and added to freevo lirc configuration file (for me is 
/etc/freevo/streamzap) two events as follows:

begin
   prog = freevo
   button = WheelCW
   repeat = 1
   config = VOL_UP
 end

begin
   prog = freevo
   button = WheelCC
   repeat = 1
  config = VOL_DOWN
end

Now the problem:

when i turn the knob, i can see trough a terminal that irw receives 
events from /dev/lircd1 (correctly), but seems like freevo (or pylirc)  
only watches events coming from /dev/lircd (streamzap socket) and not 
from /dev/lircd1 (imon knob socket).

I don't know if the problem is freevo that only watch at the first lirc 
device, or pylirc that only uses one device (the streamzap device).

Any hint?







-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Video playing inside freevo

2007-04-23 Thread Andrea Magatti
Hi all,
i was wondering if it was possible to have a sort of preview of video
files (or video device like /dev/video0) or any other accesible video
source (thinking of embedding skype movie window), on the right side of
the screen.
This video-in-freevo should play when you select a menu item on the
freevo screen


Is it possible in the current freevo architecture (  2.0) , or is it
better choosing the new architecture for  such a work?

Thanks in advance



-
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-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users