[Freevo-users] games prematuly teminated?

2005-01-26 Thread WolfBite
well I bashed my head enough. HELP!

ALL else works in freevo
the games work outside freevo, but not in freevo.

I know its probably something i'm missing.

i've done the tuxracer example (and emulators)
but i'm STILL missing something

can anyone give me an example of a WORKING
local_conf.py
and the steps to setup a game (ANY i'll emerge it and
test USING that example)

not enough debug info to help.

thanks
Further info

Managed to get tuxracer working (but still dont know
why, everything still the same)

THINK its some sortof time out problem (programs are
being terminated prematuley)

e.g. installed advanced stragegic command
run it from freevo, loading bar at bottoms only gets
to about 1/5 of the way across then reverts back to
freevo)

IS FREEVO prematuly shutting down the game programs
(would account for why I THINK somethings loaded BUT
shuts down straight away :(

just tested 1.5.3 still doing same thing

GAMES_ITEMS =   [
('Asc', '/etc/freevo/games/asc/',   
('GENERIC', '/usr/games/bin/asc', '', '', [ 'gam' ]
)), 
('Head over Heal', '/etc/freevo/games/hoh/',
('GENERIC', '/usr/games/bin/hoh', '', '', [ 'gam' ]
)), 
('MISSILE5', '/etc/freevo/games/missile/',  
('GENERIC', '/usr/games/bin/missile', '-f', '', [
'gam' ] )),
('Tux Racer', '/etc/freevo/games/tuxracer/',
('GENERIC', '/usr/games/bin/tuxracer', '', '', [
'gam' ] )) ]

am i missing something? or as everyone I asked, they
dont use the game bit.

thanks



__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Re: All my MP3s are played twice

2005-01-26 Thread Dirk Meyer
Jan Penninkhof wrote:
 I already found the glitch. It was caused by a error message in
 mplayer that was generated because mplayer couldn't open /dev/rtc. I'm
 not running Freevo as root and the user that Freevo runs under doesn't
 have the necessary read-rights on /dev/rtc. After I gave that user the
 'r' rights on /dev/rtc, everything worked fine. For those who replied
 with a 'me too' to my original message, I hope this also resolves the
 issue on your Freevo box. Good luck!

Yes, I found it in the source. It's fixed in 1.5.3


Dischi

-- 
USER ERROR: replace user and press any key to continue.


pgptpiLwH2Q1z.pgp
Description: PGP signature


[Freevo-users] Re: Flac File values not recognised

2005-01-26 Thread Dirk Meyer
Bearcat M. Sandor wrote:
 Folks,

 I've noticed that Freevo does not recognize the contents FLAC file info 
 fields.  For instance, directories are never sorted by track numbers and the 
 length of a song is never displayed.

 Can this be fixed? Is it a bug or a feature that has not been implemented?

It's a missing feature in the mmpython parser. I have no flac files
and I didn't wrote the parser. Maybe someone else can add this?


Dischi

-- 
FATAL ERROR! SYSTEM HALTED! - Press any key to do nothing...


pgpm5w9YxbHlv.pgp
Description: PGP signature


[Freevo-users] Xine plugin

2005-01-26 Thread Satana
Hi all
Freevo (1.5.2) keeps saying that I have to upgrade xine-ui, but i already 
have the newest version. I'm struck...

I just hate mplayer plus i'm having the (well known) audio delay...
Running debian, kernel 2.6.10
Thanx 


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] plugin mixer failes to load.

2005-01-26 Thread Jaap Struyk
Hello,

After my fresh (b)lfs build with the latest versions of alsa, mplayer
and freevo I notised that the I can't control my mixer anymore with the
remote.
My log says:
---
Freevo start at Tue Jan 25 06:01:33 2005
---
config.py (518): Logging to /var/log/freevo/main-1002.log
config.py (903): Using 'latin-1' encoding
osd.py (587): Setting fullscreen mode to 1
main.py (221): load basic skin settings: crystal
failed to load plugin mixer
start 'freevo plugins -l' to get a list of plugins
Traceback (most recent call last):
  File /usr/lib/python2.4/site-packages/freevo/plugin.py, line 572, in
__load_plugin__
p = eval(object)()
  File /usr/lib/python2.4/site-packages/freevo/plugins/mixer.py, line
100, in __init__
self.setMainVolume(config.DEFAULT_VOLUME)
  File /usr/lib/python2.4/site-packages/freevo/plugins/mixer.py, line
191, in setMainVolume
self._setVolume(self.SOUND_MIXER_WRITE_VOLUME, self.mainVolume)
  File /usr/lib/python2.4/site-packages/freevo/plugins/mixer.py, line
165, in _setVolume
fcntl.ioctl(self.mixfd.fileno(), device, data)
OverflowError: long int too large to convert to int

In my local_conf.py I have:

AUDIO_DEVICE= '/dev/dsp'
MAJOR_AUDIO_CTRL= 'VOL'
CONTROL_ALL_AUDIO   = 0
MAX_VOLUME  = 100
DEFAULT_VOLUME  = 85
DEV_MIXER   = '/dev/mixer'

[EMAIL PROTECTED]:~# ls -l /dev/dsp
crw-rw  1 root audio 14, 3 Jan 25 07:01 /dev/dsp
[EMAIL PROTECTED]:~# ls -l /dev/mixer 
crw-rw  1 root audio 14, 0 Jan 25 07:01 /dev/mixer

And user freevo (whos running freevo) is member of the audio group and
can control both devices trough other apps., so it's only freevo who's
bugging.
Maybe the MAJOR_AUDIO_CTRL has a wrong value, but how can I find out
wich one to use?
-- 
Groetjes Japie



---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] UK / bttv / tvtime tribulations

2005-01-26 Thread Jesper Mathiassen
Steven wrote:
The problem arises when I try to watch or record TV,
which is kinda central to the project. I have an old
analog Haupaugge WinTV card (circa '98), which I have
bttv compiled into my Gentoo 2.6.10 kernel for. I've
tested it in xawtv and tvtime and works fine (and
tunes). I decided to use tvtime in freevo (using
plugin activate), but when it brings up tv it's always
got channel 0 selected. This isn't a great suprise, ps
-ax whilst it's running shows that freevo has passed
it '-c 0'
 

The reason for this is as you state a config problem. I used xawtv 
fequencies for configuring freevo.
yours:

[5]
channel = 37
capture = on
[BBC2]
channel = 40
capture = on
[ITV]
channel = 43
capture = on
[south.bbc1.bbc.co.uk]
channel = 46
capture = on
[channel4.com]
channel = 50
capture = on
 

which you must use in the following section of your local_conf.py file:
All channels listed here will be displayed on the TV
menu, even if they're
# not present in the XMLTV listing.
#
#
# Timedependent channels:
#
# The TV_CHANNELS-list can look like this:
#
# TV_CHANNELS = [('21', 'SVT1',  'E5'),
#('22', 'SVT2',  'E3'),
#('26', 'TV3',   'E10'),
#('27', 'TV4',   'E6'),
#('10', 'Kanal 5',   'E7'),
#('60', 'Fox Kids',  'E8',
('1234567','0600','1659')),
#('16', 'TV6',   'E8',
('1234567','1700','2359'),
# 
('1234567','','0300')),
#('14', 'MTV Europe','E11') ]
#
# As you can see the list takes optional tuples:
# ( 'DAYS', 'START','END')
#
# 1234567 in days means all days.
# 12345 would mean monday to friday.
#
# It will display Fox Kids from 06:00 to 16:59 and
TV6 from 17:00 to 03:00.
# 03:00 to 06:00 it won't be displayed at all.
#

TV_CHANNELS = [('south.bbc1.bbc.co.uk', 'BBC1', '46'),
  ('south.bbc2.bbc.co.uk', 'BBC2', '0'),
  ('itv1.itv.co.uk', 'ITV 1', '0'),
  ('channel4.com', 'Channel 4', '0'),
  ('five.co.uk', 'Five', '0') ]
 

The TV_CHANNELS var above contain the channels in freevo,  first is 
xmltv id, then a short name for display in osd/web and lastly the xawtv 
channel number. Here you'll notice you've used 0 for most channels which 
explains why tvtime always starts with -c 0 :) thus your TV_CHANNELS var 
should be:

TV_CHANNELS = [('south.bbc1.bbc.co.uk', 'BBC1', '46'),
  ('south.bbc2.bbc.co.uk', 'BBC2', '40'),
  ('itv1.itv.co.uk', 'ITV 1', '43'),
  ('channel4.com', 'Channel 4', '50'),
  ('five.co.uk', 'Five', '37') ]
hope this help.
- Jesper
---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] UK / bttv / tvtime tribulations

2005-01-26 Thread Steven
Hi,

After the last mythtv segfault I could stand in one
weekend, I decided to give freevo a trial instead for
my PVR project. Thus far I really like it, the whole
feel or it is a lot slicker (and being a *nix geek I
prefer txt file setup to endless menu systems any
day).

I have XMLTV setup (using bleb and a grabber I found a
while ago that worked with mythtv) and it works in the
web interface (although clicking on programs brings up
a popup which hangs), and have freevo setup so it can
see the listings in the interface.

The problem arises when I try to watch or record TV,
which is kinda central to the project. I have an old
analog Haupaugge WinTV card (circa '98), which I have
bttv compiled into my Gentoo 2.6.10 kernel for. I've
tested it in xawtv and tvtime and works fine (and
tunes). I decided to use tvtime in freevo (using
plugin activate), but when it brings up tv it's always
got channel 0 selected. This isn't a great suprise, ps
-ax whilst it's running shows that freevo has passed
it '-c 0'

I'm sure my problem is just configuration based, but
after several hours of googling and playing around i'm
at a loss as to how to fix it. I'm not entirely sure
how i'm meant to enter the frequencies into freevo. I
know there's a frequency table, but I have no idea how
I'm meant to know the frequencies (trial and error
could take some time!). In my tvtime stationslist.xml
I have the following:

  list frequencies=freevo norm=PAL
station name=BBC1 band=UHF active=1
position=0 xmltvid=south.bbc1.bbc.co.uk
channel=108 finetune=0 norm=PAL/
station name=BBC2 band=UHF active=1
position=1 xmltvid=south.bbc2.bbc.co.uk
channel=111/
station name=ITV 1 band=UHF active=1
position=2 xmltvid=itv1.itv.co.uk channel=114/
station name=Channel 4 band=UHF active=1
position=3 xmltvid=channel4.com channel=117/
station name=Five band=UHF active=1
position=4 xmltvid=five.co.uk channel=121/
  /list

and in my .xawtv file:

[5]
channel = 37
capture = on

[BBC2]
channel = 40
capture = on

[ITV]
channel = 43
capture = on

[south.bbc1.bbc.co.uk]
channel = 46
capture = on

[channel4.com]
channel = 50
capture = on

Clearly xawtv and tvtime use different 'channels' to
define what frequency to use. I've tried using the
frequency table option in my local_conf.py with these
channels, but no luck. All the configuration files
I've found posted online have not been uk analog TV,
so I haven't been able to crib off other people.

Any help would be greatly appreciated. I've included
my freevo.conf and local_conf.py at the end of this
mail, and am happy to provide whatever debugging info
needed. My knowledge of python is reasonably limited,
but I've used linux for 8 years and don't mind getting
my hands dirty :)

Thanks

Steven

---

freevo.conf

cdparanoia = /usr/bin/cdparanoia
chanlist = us-cable
display = x11
fbxine = /usr/bin/fbxine
flac = /usr/bin/flac
geometry = 1280x1024
jpegtran = /usr/bin/jpegtran
lame = /usr/bin/lame
lsdvd = /usr/bin/lsdvd
mencoder = /usr/bin/mencoder
mplayer = /usr/bin/mplayer
renice = /usr/bin/renice
setterm = /usr/bin/setterm
tv = pal
version = 2.1
xine = /usr/bin/xine

---

local_conf.py:

#if 0
#
---
# freevo_config.py - System configuration
#
---
# $Id: local_conf.py.example,v 1.37.2.1 2004/09/06
16:37:33 dischi Exp $
#
# Notes:
#This file contains the freevo settings. To change
the settings
#you can edit this file, or better, put a file
named local_conf.py
## in the same directory and add your changes
there.  E.g.: when
#you # want a alsa as mplayer audio out, just put
#MPLAYER_AO_DEV = # 'alsa9' in local_conf.py
#
#This is no normal config file, it's Python code.
Because of that, you
#need to follow some rules to avoid crashes. The
examples should explain
#the settings, but make sure a line starting with
a variable has
#NO SPACES OR TABS at the beginning.
#
#
#
---
# Freevo - A Home Theater PC framework
# Copyright (C) 2002 Krister Lagerstrom, et al.
# Please see the file freevo/Docs/CREDITS for a
complete list of authors.
#
# This program is free software; you can redistribute
it and/or modify
# it under the terms of the GNU General Public License
as published by
# the Free Software Foundation; either version 2 of
the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will
be useful, but
# WITHOUT ANY WARRANTY; without even the implied
warranty of MER-
# CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General
Public License along
# with this program; if not, write to the Free
Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
#
#

Re: [Freevo-users] UK / bttv / tvtime tribulations

2005-01-26 Thread TC Wan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, January 26, 2005 10:41 pm, Steven said:

 freevo.conf

 cdparanoia = /usr/bin/cdparanoia
 chanlist = us-cable

  This should be 'europe-west'

 display = x11
 fbxine = /usr/bin/fbxine
 flac = /usr/bin/flac
 geometry = 1280x1024
 jpegtran = /usr/bin/jpegtran
 lame = /usr/bin/lame
 lsdvd = /usr/bin/lsdvd
 mencoder = /usr/bin/mencoder
 mplayer = /usr/bin/mplayer
 renice = /usr/bin/renice
 setterm = /usr/bin/setterm
 tv = pal
 version = 2.1
 xine = /usr/bin/xine

 ---

 local_conf.py:


[...]

 #
 == #
TVtime settings:
 #
 ==

 #
 # Location of the TV time program
 # Default: Use the value in freevo.conf
 #
 # TVTIME_CMD = CONF.tvtime



Hmm. I don't see tvtime defined in freevo.conf? you can run
'freevo setup' to redectect, but by default (without any command line
parameters), it'll set us-cable and ntsc as the TV norms.
'freevo setup --help' should give you some hints.

Alternatively, you can just add a line for the tvtime path to the existing
file.

[...]

 TV_CHANNELS = [('south.bbc1.bbc.co.uk', 'BBC1', '46'),
('south.bbc2.bbc.co.uk', 'BBC2', '0'),
('itv1.itv.co.uk', 'ITV 1', '0'),
('channel4.com', 'Channel 4', '0'),
('five.co.uk', 'Five', '0') ]



I guess you're currently just testing the channels so only BBC1 has a
defined channel number, but you'll need to give the channel numbers for
BBC2, ITV 1, etc. to tune them as well. This should be the same as what
you've set for the .xawtv file.

T.C.
- --
Wan Tat Chee (Lecturer)
School of Computer Sciences, Univ. of Science Malaysia,
11800 USM, Penang, Malaysia.  Rm.625 Ofc Ph: +604 653-3888 x 3617 NRG
Lab Admin: +604 659-4757   Rm.601-F Ofc Ph: +604 653-4396
Internet: [EMAIL PROTECTED]Web: http://nrg.cs.usm.my/~tcwan GPG
Key : http://nrg.cs.usm.my/~tcwan/tcwan-nrg-20040805.asc
F'print : 4B2E F0BF AAD7 2F51 CB41  4386 F72B 7859 8278 BDC4








-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB+Fiq9yt4WYJ4vcQRAusfAJ0f6kV+cJJf7aqNdyaE84FKfOwn5ACeKSCz
Gp6/xMRR0EFCLMH2TQ+7DHc=
=Zrev
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users