[Freevo-users] freevo not reading all TV.xml

2008-03-08 Thread Email Simples
Hi All,

I've been playing around with getting xmltv data from 3 different
grabbers and then merging everything into one TV.xml file.
So I ended up having a TV.xml that has, in this order, the channel
and programme trees of the first grabber, then the same trees from
the 2nd grabber and the same for the 3rd grabber.

But when I do freevo tv_grab --query, freevo only recognizes
channels that are in the first channel tree of the TV.xml. Is this
something you're aware of?

I didn't have the time to look at the freevo code to see what's going
wrong. My easy solution was a xslt stylesheet with two xsl:copy-of
statements. That did the trick.

Cheers,
Pedro

-
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 not reading all TV.xml

2008-03-08 Thread Adam Charrett

On Sat, 2008-03-08 at 09:55 +, Email Simples wrote:
 Hi All,
 
 I've been playing around with getting xmltv data from 3 different
 grabbers and then merging everything into one TV.xml file.
 So I ended up having a TV.xml that has, in this order, the channel
 and programme trees of the first grabber, then the same trees from
 the 2nd grabber and the same for the 3rd grabber.
I think if you check the xmltv dtd you will find this would not be a valid file 
and freevo is in own right not to parse it as you may think.

 But when I do freevo tv_grab --query, freevo only recognizes
 channels that are in the first channel tree of the TV.xml. Is this
 something you're aware of?
 
 I didn't have the time to look at the freevo code to see what's going
 wrong. My easy solution was a xslt stylesheet with two xsl:copy-of
 statements. That did the trick.

I believe you can also use tv_cat from the xmltv tools to do the same
thing. 

Cheers

Adam



-
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] kaa-popcorn: allow mplayer input when mplayer is not embedded

2008-03-08 Thread Harm Geerts
Freevo prevents mplayer from understanding input even if you configure freevo 
not to embed mplayer. This resulted in a mplayer window that could not be 
closed, skipped or paused and forces you to watch the video untill it ends.

The attached patch prevents this.
Index: src/backends/mplayer/player.py
===
--- src/backends/mplayer/player.py	(revision 2843)
+++ src/backends/mplayer/player.py	(working copy)
@@ -526,7 +526,9 @@
 for key in keys:
 fd.write(%s noop\n % key)
 fd.close()
-args.add(input='conf=%s' % tempfile)
+# only prevent input if the player is embedded
+if config.mplayer.embedded:
+args.add(input='conf=%s' % tempfile)
 
 # set properties subtitle filename and subtitle track
 if self._properties.get('subtitle-filename'):
-
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] kaa-popcorn: allow mplayer input when mplayer is not embedded

2008-03-08 Thread Jason Tackaberry
Hi Harm,

On Sat, 2008-03-08 at 13:22 +0100, Harm Geerts wrote:
 Freevo prevents mplayer from understanding input even if you configure freevo 
 not to embed mplayer. This resulted in a mplayer window that could not be 
 closed, skipped or paused and forces you to watch the video untill it ends.

Thanks for the patch.  It has been checked in.

If you submit future patches, I'd appreciate if you did so on the
freevo-devel mailing list, and prefixed the subject with [PATCH] so that
it is more visible.  (I very nearly missed this one.)

Thanks again,
Jason.



-
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 not reading all TV.xml

2008-03-08 Thread Email Simples
On Sat, Mar 8, 2008 at 11:11 AM, Adam Charrett [EMAIL PROTECTED] wrote:

  On Sat, 2008-03-08 at 09:55 +, Email Simples wrote:
   Hi All,
  
   I've been playing around with getting xmltv data from 3 different
   grabbers and then merging everything into one TV.xml file.
   So I ended up having a TV.xml that has, in this order, the channel
   and programme trees of the first grabber, then the same trees from
   the 2nd grabber and the same for the 3rd grabber.
  I think if you check the xmltv dtd you will find this would not be a valid 
 file and freevo is in own right not to parse it as you may think.

you're right, there's a , and not a space  . Didn't realize it until now.


   But when I do freevo tv_grab --query, freevo only recognizes
   channels that are in the first channel tree of the TV.xml. Is this
   something you're aware of?
  
   I didn't have the time to look at the freevo code to see what's going
   wrong. My easy solution was a xslt stylesheet with two xsl:copy-of
   statements. That did the trick.

  I believe you can also use tv_cat from the xmltv tools to do the same
  thing.


I'll check it, thanks.

Cheers,
Pedro

-
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 not reading all TV.xml

2008-03-08 Thread Email Simples
On Sat, Mar 8, 2008 at 7:30 PM, Email Simples [EMAIL PROTECTED] wrote:
 On Sat, Mar 8, 2008 at 11:11 AM, Adam Charrett [EMAIL PROTECTED] wrote:
  
On Sat, 2008-03-08 at 09:55 +, Email Simples wrote:
 Hi All,

 I've been playing around with getting xmltv data from 3 different
 grabbers and then merging everything into one TV.xml file.
 So I ended up having a TV.xml that has, in this order, the channel
 and programme trees of the first grabber, then the same trees from
 the 2nd grabber and the same for the 3rd grabber.
I think if you check the xmltv dtd you will find this would not be a 
 valid file and freevo is in own right not to parse it as you may think.
  
  you're right, there's a , and not a space  . Didn't realize it until now.


correction: I should have said | and not  

  
 But when I do freevo tv_grab --query, freevo only recognizes
 channels that are in the first channel tree of the TV.xml. Is this
 something you're aware of?

 I didn't have the time to look at the freevo code to see what's going
 wrong. My easy solution was a xslt stylesheet with two xsl:copy-of
 statements. That did the trick.
  
I believe you can also use tv_cat from the xmltv tools to do the same
thing.
  

  I'll check it, thanks.

  Cheers,
  Pedro


-
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-08 Thread Duncan Webb
Benedikt Bär wrote:
 Hi all,
 
 I'm currently setting up my Freevo media center, version 1.7.3. I have
 everything working, except one thing:
 
 I have a lirc remote control, when I press Vol+ or Vol-, Freevo
 correctly displays the volume change. Same with the mute button.
 However, the actual system volume is never actually changed.
 
 I'm using alsa, and have activated the alsamixer plug-in. I have also
 set PCM (which is the correct channel, according to alsamixer)
 in /etc/freevo/local_conf_py (MAJOR_AUDIO_CTRL).
 
 This happens in the menu, as well as with mplayer, etc...


I've not used this plug-in yet but have you checked that you have set up 
the ALSA_MIXER variables in you local_conf.py. Use:

freevo plugins -i alsamixer

I assume that freevo has speakers connected to the Freevo box and that 
you have *not* connected Freevo to a AV receiver.

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-08 Thread Benedikt Bär
Hi Duncan,

The Freevo box is directly connected to a 5.1 speaker system. When I
open alsamixer on the terminal, I can control the global volume of the
whole system with the PCM channel.

However, when I'm on the main menu of Freevo, I can control the volume
using the remote Vol+ and Vol- buttons. When I press one of these, the
Freevo OSD will show that it's changing the volume, but no alsa line
gets modified.

I'm thinking that maybe the volume control is not using ALSA at all. Do
I have to install some command line tool for this to work?

Here's the output of the -i command:

Name: alsamixer
Type: DaemonPlugin
File: /usr/lib/python2.5/site-packages/freevo/plugins/alsamixer.py

Description:

Mixer for ALSA, requires pyalsaaudio module from
http://sourceforge.net/projects/pyalsaaudio/


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

ALSA_LINE_CARDID: Alsa Line Card id
Default: hw: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


The plugin is loaded with the following settings:
type=default, level=10, args=None


-  
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 Sat, 2008-03-08 at 22:43 +0100, Duncan Webb wrote:
 Benedikt Bär wrote:
  Hi all,
  
  I'm currently setting up my Freevo media center, version 1.7.3. I have
  everything working, except one thing:
  
  I have a lirc remote control, when I press Vol+ or Vol-, Freevo
  correctly displays the volume change. Same with the mute button.
  However, the actual system volume is never actually changed.
  
  I'm using alsa, and have activated the alsamixer plug-in. I have also
  set PCM (which is the correct channel, according to alsamixer)
  in /etc/freevo/local_conf_py (MAJOR_AUDIO_CTRL).
  
  This happens in the menu, as well as with mplayer, etc...
 
 
 I've not used this plug-in yet but have you checked that you have set up 
 the ALSA_MIXER variables in you local_conf.py. Use:
 
 freevo plugins -i alsamixer
 
 I assume that freevo has speakers connected to the Freevo box and that 
 you have *not* connected Freevo to a AV receiver.
 
 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-08 Thread Andreas Dick
hei Benedikt
I had similar soundcard problems:
1) alsamixer showed me no Master and no Surround/Center/LFE controls as I 
expected (I had just a PCM and a Front control) for my card... - the 
solution was then that for my 5.1 soundcard (NVidia hda) I have to use the 
following module option in /etc/modprobe.d/alsa :
--
options snd-hda-intel model=3stack-6ch-dig
--
with this '6ch' option I find all expected channels in alsamixer, including a 
correct Master control.
2) I failed with the freevo alsamixer plugin too, but I works now great with 
the alsamixer2 plugin:

plugin.remove('mixer')
plugin.activate('alsamixer2')
ALSAMIXER2_MAIN_CTRL = 'Master'
ALSAMIXER2_MUTE_CTRL = 'Master'
ALSAMIXER2_CTRLS = [
#   (ctrl, card, default vol, min vol, max vol)
('Master', 'hw:NVidia', 90, 0, 100),
]
--
maybe you find a similar solution?
Andreas


Am Samstag, 8. März 2008 22:58 schrieb Benedikt Bär:
 Hi Duncan,

 The Freevo box is directly connected to a 5.1 speaker system. When I
 open alsamixer on the terminal, I can control the global volume of the
 whole system with the PCM channel.

 However, when I'm on the main menu of Freevo, I can control the volume
 using the remote Vol+ and Vol- buttons. When I press one of these, the
 Freevo OSD will show that it's changing the volume, but no alsa line
 gets modified.

 I'm thinking that maybe the volume control is not using ALSA at all. Do
 I have to install some command line tool for this to work?

 Here's the output of the -i command:

 Name: alsamixer
 Type: DaemonPlugin
 File: /usr/lib/python2.5/site-packages/freevo/plugins/alsamixer.py

 Description:
 
 Mixer for ALSA, requires pyalsaaudio module from
 http://sourceforge.net/projects/pyalsaaudio/


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

 ALSA_LINE_CARDID: Alsa Line Card id
 Default: hw: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


 The plugin is loaded with the following settings:
 type=default, level=10, args=None


 -
 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 Sat, 2008-03-08 at 22:43 +0100, Duncan Webb wrote:
  Benedikt Bär wrote:
   Hi all,
  
   I'm currently setting up my Freevo media center, version 1.7.3. I have
   everything working, except one thing:
  
   I have a lirc remote control, when I press Vol+ or Vol-, Freevo
   correctly displays the volume change. Same with the mute button.
   However, the actual system volume is never actually changed.
  
   I'm using alsa, and have activated the alsamixer plug-in. I have also
   set PCM (which is the correct channel, according to alsamixer)
   in /etc/freevo/local_conf_py (MAJOR_AUDIO_CTRL).
  
   This happens in the menu, as well as with mplayer, etc...
 
  I've not used this plug-in yet but have you checked that you have set up
  the ALSA_MIXER variables in you local_conf.py. Use:
 
  freevo plugins -i alsamixer
 
  I assume that freevo has speakers connected to the Freevo box and that
  you have *not* connected Freevo to a AV receiver.
 
  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-08 Thread 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).

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?

-  
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 Sat, 2008-03-08 at 23:46 +0100, Andreas Dick wrote:
 hei Benedikt
 I had similar soundcard problems:
 1) alsamixer showed me no Master and no Surround/Center/LFE controls as I 
 expected (I had just a PCM and a Front control) for my card... - the 
 solution was then that for my 5.1 soundcard (NVidia hda) I have to use the 
 following module option in /etc/modprobe.d/alsa :
 --
 options snd-hda-intel model=3stack-6ch-dig
 --
 with this '6ch' option I find all expected channels in alsamixer, including a 
 correct Master control.
 2) I failed with the freevo alsamixer plugin too, but I works now great with 
 the alsamixer2 plugin:
 
 plugin.remove('mixer')
 plugin.activate('alsamixer2')
 ALSAMIXER2_MAIN_CTRL = 'Master'
 ALSAMIXER2_MUTE_CTRL = 'Master'
 ALSAMIXER2_CTRLS = [
 #   (ctrl, card, default vol, min vol, max vol)
 ('Master', 'hw:NVidia', 90, 0, 100),
 ]
 --
 maybe you find a similar solution?
 Andreas
 
 
 Am Samstag, 8. März 2008 22:58 schrieb Benedikt Bär:
  Hi Duncan,
 
  The Freevo box is directly connected to a 5.1 speaker system. When I
  open alsamixer on the terminal, I can control the global volume of the
  whole system with the PCM channel.
 
  However, when I'm on the main menu of Freevo, I can control the volume
  using the remote Vol+ and Vol- buttons. When I press one of these, the
  Freevo OSD will show that it's changing the volume, but no alsa line
  gets modified.
 
  I'm thinking that maybe the volume control is not using ALSA at all. Do
  I have to install some command line tool for this to work?
 
  Here's the output of the -i command:
 
  Name: alsamixer
  Type: DaemonPlugin
  File: /usr/lib/python2.5/site-packages/freevo/plugins/alsamixer.py
 
  Description:
  
  Mixer for ALSA, requires pyalsaaudio module from
  http://sourceforge.net/projects/pyalsaaudio/
 
 
  Plugin configuration variables:
  ---
  ALSA_CARDID: Alsa Card id
  Default: hw:0
 
  ALSA_LINE_CARDID: Alsa Line Card id
  Default: hw: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
 
 
  The plugin is loaded with the following settings:
  type=default, level=10, args=None
 
 
  -
  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 Sat, 2008-03-08 at 22:43 +0100, Duncan Webb wrote:
   Benedikt Bär wrote:
Hi all,
   
I'm currently setting up my Freevo media center, version 1.7.3. I have
everything working, except one thing:
   
I have a lirc remote control, when I press Vol+ or Vol-, Freevo
correctly displays the volume change. Same with the mute button.
However, the actual system volume is never actually changed.
   
I'm using alsa, and have activated the alsamixer plug-in. I have also
set PCM (which is the correct channel, according to alsamixer)
in /etc/freevo/local_conf_py (MAJOR_AUDIO_CTRL).
   
This happens in the menu, as well as with mplayer, etc...
  
   I've not used this plug-in yet but have you checked that you have set up
   the ALSA_MIXER variables in you local_conf.py. Use:
  
   freevo plugins -i alsamixer
  
   I assume that freevo has speakers connected to the Freevo box and that
   you have *not* connected Freevo to a AV receiver.
  
   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


[Freevo-users] Xine aspect ratio troubles

2008-03-08 Thread Andrew Jeffery
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I'm having a problem with aspect ratio in xine - I'm using it to view
digital tv on a widescreen lcd tv. X is running at 1280x720 (16:9) and
I've changed freevo.conf's geometry option to match. However, xine still
displays black bars at the top and bottom of the screen when i'm
watching tv despite setting the geometry and aspect ratio:

[EMAIL PROTECTED] $ ps ux
...
freevo   20191  9.4  3.1 463084 32204 tty1 Sl   15:17   0:48
/usr/bin/xine --hide-gui --borderless --geometry 1280x720+0+0
- --no-splash --aspect-ratio dvb --stdctl -V xv -A oss --no-lirc
- --post='pp:quality=10;expand' dvb://7 Digital
...

the odder thing is mplayer displays digital tv fullscreen but won't tune
channel 7 (I'm in Adelaide, Australia - anyone else had this issue? I'm
thinking it's a signal strength problem but xine and dvbstreamer tune it
fine using the same channels.conf :( )

Cheers,

Andrew
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH02/O/5R+ugbygqQRAuR2AJ9l1PZbU+ye3ZZHrkJzAVGhDxWQSQCfcSsA
aRl89uP4wa39P2pBbzdcz5g=
=N6z4
-END PGP SIGNATURE-

-
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