Re: [Freevo-users] Live mplayer TV from a rtsp stream: help needed

2007-05-05 Thread Tanja
My suggestion would be to do something similar to the dvb setup.

Put the following in your local_conf.py:

VIDEO_GROUPS[0].group_type = 'rtsp'

and

TVSTREAM = '192.168.1.1:5554'

and create a section like this in tv/plugins/mplayer.py (e.g after line 
133):

elif vg.group_type == 'rtsp':
 self.fc.chanSet(tuner_channel, True, app='mplayer')
 tvcmd = ''
 args += ('rtsp://%s/%s'  
  %(config.TVSTREAM, tuner_channel))


Just a guess! As my setup is completly different from yours, I cannot 
test this idea, but maybe it helps you to figure out the correct way.

Good luck!

Tanja




Geert Decorte schrieb:
 Freevo 1.7.1
 
 first let me explain what I already have
 
 1) a vlc server streaming live tv on demand.
 
 With vlc I'm capable of changing channels.
 
 The same way when I fire up mplayer.
 
 This is my working commandline
 
 mplayer rtsp://192.168.1.1:5554/channel
 
 Filling in the channel name, tunes correctly to the correct channel.
 
 The Channel parameter I use overthere is identical to the ones I've 
 defined in my local_conf.py
 
 example
 
 TV_CHANNELS = [
 #   voorkeurzenders
 ( 'een.7', 'een', 'een' ),
 ( 'ketnet-canvas.9', 'Ketnet / Canvas', 'ketnet' ),
 #( 'ketnet-canvas.9', 'Canvas', 'canvas' ),
 
 so mplayer rtsp://192.168.1.1:5554/een would start autoimaticly the live 
 tv stream on my server 192.168.1.1 and plays it perfectly on my client.
 
 I wanna fire up this command from the freevo TV interface
 
 I've already tried to tweak
 
 /usr/lib/python2.5/site-packages/freevo/tv/plugins/mplayer.py
 
 with a partial success
 
 #tvcmd = ('tv:// -tv driver=%s:freq=%s:%s:%s:'
 tvcmd = ('rtsp://192.168.1.1:5554/een')
 # -tv driver=%s:freq=%s:%s:%s:'
 # '%s:width=%s:height=%s:%s %s' %
 # (config.TV_DRIVER, tuner_freq, device, input, 
 norm,
 #  w, h, outfmt, config.TV_OPTS))
 
 This modification is only capable of playing one fixed program.
 
 Problem: I'm not so good in programming. I'll know I'll should change 
 the tvcmd replacing een by a variable indicates the tuned program, but 
 I can't figure out the correct variable/syntax.
 
 Anyone capable of pointing me to the right direction?
 
 Thnx
 
 Geert
 
 
 Malek's Law:
 Any simple idea will be worded in the most complicated way.
 
 
 
 
 
 
 -
 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

-
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


[Freevo-users] Editing Skins

2007-05-05 Thread Elizabeth Dodd
When using the 'dark' skin messages eg There is no disc in the drive ; The 
show has been selected for recording are in white print on a white 
background (with a yellow OK, which is the reason I know it's a message).
I'm not sure what to edit to fix this, although I've edited other things in 
the skin.
Can someone help?

-- 
knghtbrd *snipsnip*
rcw oh dear, is that the sound of fortune-database editing?
Joy uh oh
knghtbrd Yes  =

-
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


Re: [Freevo-users] Live mplayer TV from a rtsp stream: help needed

2007-05-05 Thread Geert Decorte



  Thnx Tanja, you directed me to the right track.

  It works like a charm now.

  These are my working (minimal!) modifications to you're suggestion.

      elif vg.group_type == 'rtsp':
    self.fc.chanSet(tuner_channel, True, app='mplayer')
    tvcmd = ''
    args += ('rtsp://%s/%s' % (config.TVSTREAM, tuner_channel),)

  Regards,

  Geert

  Quoting Tanja [EMAIL PROTECTED]:


My suggestion would be to do something similar to the dvb setup.

Put the following in your local_conf.py:

VIDEO_GROUPS[0].group_type = 'rtsp'

and

TVSTREAM = '192.168.1.1:5554'

and create a section like this in tv/plugins/mplayer.py (e.g after line 133):

elif vg.group_type == 'rtsp':
                 self.fc.chanSet(tuner_channel, True, app='mplayer')
                 tvcmd = ''
                 args += ('rtsp://%s/%s'
                          %(config.TVSTREAM, tuner_channel))


Just a guess! As my setup is completly different from yours, I cannot
test this idea, but maybe it helps you to figure out the correct way.

Good luck!

Tanja




Geert Decorte schrieb:

Freevo 1.7.1

first let me explain what I already have

1) a vlc server streaming live tv on demand.

With vlc I'm capable of changing channels.

The same way when I fire up mplayer.

This is my working commandline

mplayer rtsp://192.168.1.1:5554/channel

Filling in the channel name, tunes correctly to the correct channel.

The Channel parameter I use overthere is identical to the ones  
I've  defined in my local_conf.py


example

TV_CHANNELS = [
#   voorkeurzenders
    ( 'een.7', 'een', 'een' ),
    ( 'ketnet-canvas.9', 'Ketnet / Canvas', 'ketnet' ),
#    ( 'ketnet-canvas.9', 'Canvas', 'canvas' ),

so mplayer rtsp://192.168.1.1:5554/een would start autoimaticly  
the  live tv stream on my server 192.168.1.1 and plays it perfectly  
on  my client.


I wanna fire up this command from the freevo TV interface

I've already tried to tweak

/usr/lib/python2.5/site-packages/freevo/tv/plugins/mplayer.py

with a partial success

#                tvcmd = ('tv:// -tv driver=%s:freq=%s:%s:%s:'
                tvcmd = ('rtsp://192.168.1.1:5554/een')
# -tv driver=%s:freq=%s:%s:%s:'
#                         '%s:width=%s:height=%s:%s %s' %
#                         (config.TV_DRIVER, tuner_freq, device,   
input, norm,

#                          w, h, outfmt, config.TV_OPTS))

This modification is only capable of playing one fixed program.

Problem: I'm not so good in programming. I'll know I'll should   
change the tvcmd replacing een by a variable indicates the tuned   
program, but I can't figure out the correct variable/syntax.


Anyone capable of pointing me to the right direction?

Thnx

Geert


Malek's Law:
        Any simple idea will be worded in the most complicated way.






-
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




Malek's Law:
   Any simple idea will be worded in the most complicated way.

-
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


[Freevo-users] Remind Plugin

2007-05-05 Thread Christian Lyra

Hi there,

I thought that some kind of calendar, or birthdays or todo plugin
would be nice. So I hacked this one. I´m sending to the list with the
hopes that someone could help me improve it. I need help with the
graphics (for now, just using the blue and red buttons), and with
the output (how to do a scroll box?). BTW it is using the headlines
skin maybe a better one should be made.

Well, about the plugins. The file remindicon.py should be put in
freevo/plugins/idlebar, and once active with
plugin.activate('idlebar.remindicon') will show a bluebutton on
idlebar if you have no reminders for today, or a redbutton if you have
at least one.

The file remind.py should be put in freevo/plugins and made active
with plugin.activate('remind', level=45). So you will now have a
reminds item on main menu. Once selected you will have the option to
see today reminds or the next 7 days reminds (it is easy to add more
options, like month reminds).

Of course, you will have to have the remind command installed,
either from source[1] or from your distro package.

both plugins can use the follow 3 variables:

REMIND_CMD (defaults to /usr/bin/remind)
REMIND_ARGS (use the default)
REMIND_FILE (if it´s not defined remind will try to read ~/.reminders)


[1]  http://www.roaringpenguin.com/en/penguin/openSourceProducts/remind

I guess my poor english will need some fixes too. I know... I will
submit the files with the right svn diff command, but I´m looking for
some feedback first.

--
Christian Lyra
PoP-PR/RNP
# -*- coding: iso-8859-1 -*-
# ---
# remind.py - IdleBarplugin for monitoring the remind command output
# Author: Christian Lyra
# ---
#

# python modules
import os
import popen2
import time

# freevo modules
from plugins.idlebar import IdleBarPlugin
import plugin, config



class PluginInterface(IdleBarPlugin):

Show the status based on remind command output.

Activate with:
plugin.activate('idlebar.remindicon')

You can define where´s the remind command, the args and the remind file with:
REMIND_CMD (defaults to /usr/bin/remind)
REMIND_ARGS 
REMIND_FILE (if it´s not defined remind will try to read ~/.reminders)

obs: remind will be called only once per minute.

def __init__(self):
IdleBarPlugin.__init__(self)
self.plugin_name = 'idlebar.remindicon'
self.time = 0
icondir = config.ICON_DIR
self.images = {}
self.images['alert'] = os.path.join(icondir, 'misc/redbutton.png')
self.images['nothing']   = os.path.join(icondir, 'misc/bluebutton.png')
self.status = self.images['nothing']
if hasattr(config, 'REMIND_CMD'):
   self.remind_cmd = config.REMIND_CMD
else:
   self.remind_cmd = '/usr/bin/remind'
if hasattr(config, 'REMIND_ARGS'):
   self.remind_args = '-h %s' % config.REMIND_ARGS
else:
   self.remind_args = '-h'
if hasattr(config, 'REMIND_FILE'):
   self.remind_file = config.REMIND_FILE
else:
   self.remind_file = ''
self.cmd = '%s %s %s' % (self.remind_cmd, self.remind_args, self.remind_file)
	
def getStatus(self):
if (time.time()-self.time)60:
self.time = time.time()
try:
inst = popen2.Popen4(self.cmd)
(r, w) = (inst.fromchild, inst.tochild)
f = r.readlines()
r.close()
w.close()
inst.wait()
except:
pass

if f:
self.status = self.images['alert']
if config.DEBUG:
print Remind: , f 
else:
self.status = self.images['nothing']


def draw(self, (type, object), x, osd):
self.getStatus()
width = 0
width += osd.draw_image(self.status, (x+width, osd.y + 10, -1, -1))[0] + 10
return width

# -*- coding: iso-8859-1 -*-
# ---
# remind.py - a simple plugin to show the output of a remind cmd
# ---
#
# Notes: 
# Todo: 
# activate:
# plugin.activate('remind', level=45)
# REMIND_CMD = '/path/to/remind_cmd'
# REMIND_ARGS = 'remind args'
# REMIND_FILE = '/path/remind_file'
#
# ---
# Freevo - A Home Theater PC framework
# Copyright (C) 2003 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 

Re: [Freevo-users] TV Guide Error in 1.7.0 on Debian Etch

2007-05-05 Thread Josh Vickery
I ran into this problem today when upgrading to from 1.6.3 to 1.7.1
using the packages from
http://www.geole.info/Repository-for-deb-packages-deb.9.0.html?l=1

I couldn't figure out how to solve it (I tried Duncan Webb's
suggestion without any luck) and so I reverted the problematic changes
by hand.

Here is a patch of what I did if you want to try it out:

--- tvlisting_area.py   2007-05-05 15:24:16.0 -0400
+++ tvlisting_area.py_patched   2007-05-05 15:24:33.0 -0400
@@ -75,12 +75,11 @@
 selected_val  = content.types['selected']
 default_val   = content.types['default']
 scheduled_val = content.types['scheduled']
-overlap_val   = content.types['overlap']
-past_val  = content.types['past']
-current_val   = content.types['current']
+#overlap_val   = content.types['overlap']
+#past_val  = content.types['past']
+#current_val   = content.types['current']

-self.all_vals = label_val, head_val, selected_val,
default_val, scheduled_val, overlap_val,\
-past_val, current_val
+self.all_vals = label_val, head_val, selected_val,
default_val, scheduled_val

 font_h = max(selected_val.font.h, default_val.font.h, label_val.font.h)

@@ -171,8 +170,7 @@
 font_h, label_width, label_txt_width, y0, num_rows, item_h, head_h = \
 self.get_items_geometry(settings, menu)[:-1]

-label_val, head_val, selected_val, default_val,
scheduled_val, overlap_val,\
-past_val, current_val = self.all_vals
+label_val, head_val, selected_val, default_val, scheduled_val
= self.all_vals

 leftarrow = None
 if area.images['leftarrow']:
@@ -322,14 +320,8 @@
prg.start == selected_prog.start and \
prg.stop == selected_prog.stop:
 val = selected_val
-elif prg.overlap:
-val = overlap_val
 elif prg.scheduled:
 val = scheduled_val
-elif now_time = prg.start and now_time = prg.stop:
-val = current_val
-elif now_time  prg.stop:
-val = past_val
 else:
 val = default_val


On 4/25/07, Michael Labowicz [EMAIL PROTECTED] wrote:
 I tried to remove the directory as you suggested, but I keep getting a
 similar error.  Any thoughts on what could be configured wrong?

 Also, is there an easy way (via debs) to drop back to 1.6.3? or do I have to
 rummage around the freevo site and install manually?

 Thanks!
 Michael


 On 4/17/07, Duncan Webb [EMAIL PROTECTED] wrote:
   Hi All,
   A few weeks back I installed freevo on a fresh install of Debian Etch.
 At
   that time, I installed version 1.6.3 onto the box, configured it and
   everything seemed to work fine.  Recently I updated the system and
 apt-get
   recommended that I update freevo to 1.7.0.  I proceeded with the
 upgrade,
   updated my config files and freevo seems to run ok, but when I go to
 Watch
   TV-TV Guide, I get the following error (this is from my main-1000.log):
  
  
 ---
   Freevo (1.7.0) start at Mon Apr 16 21:28:55 2007
  
 ---
   WARNING: duplicate plugin activation, ignoring:
   idlebar None None
  
   WARNING: duplicate plugin activation, ignoring:
   idlebar.diskfree None None
  
   ROM_DRIVES: Auto-detected and added ('/media/cdrom0', '/dev/hdb',
   'CD-1')
   WARNING: /etc/freevo/lircrc not found!
   Traceback (most recent call last):
 File
 /usr/lib/python2.4/site-packages/freevo/main.py, line
 285, in
   eventhandler
   app.eventhandler(event)
 File
 /usr/lib/python2.4/site-packages/freevo/menu.py, line
 673, in
   eventhandler
   action( arg=arg, menuw=self )
 File
 /usr/lib/python2.4/site-packages/freevo/menu.py, line 92,
 in
   select
   self.function(arg=self.arg, menuw=menuw)
 File
 /usr/share/python-support/python-freevo/freevo/tv/tvmenu.py,
 line
   153, in start_tvguide
   TVGuide(self.get_start_time (), start_tv, menuw)
 File
 /usr/share/python-support/python-freevo/freevo/tv/tvguide.py,
   line
   63, in __init__
   self.n_items, hours_per_page = skin.items_per_page(('tv', self))
 File
  
 /usr/share/python-support/python-freevo/freevo/skins/main/main.py,
   line 431, in items_per_page
   self.get_display_style('tv'))
 File
  
 /usr/share/python-support/python-freevo/freevo/skins/main/tvlisting_area.py,
   line 78, in get_items_geometry
   overlap_val   = content.types['overlap']
   KeyError: 'overlap'
  
   Any thoughts on what could be causing this?  I tried using different
   skins,
   but I get the same error.  My TV.xml file seems to be up to date and my
   recordserver is 

[Freevo-users] Mplayer Volume for audio

2007-05-05 Thread Divers
hello,

I would know if it is possible (and how to do) to modify the mplayer 
volume when i listen to the music in the audio section because the 
freevo general volume don't want to modify volume of my computer.
It's work fine in the video section It's will be cool if that is work in 
the audio section. I've try with xmms but it's not different.

Thanks,


Arnaud


-
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


Re: [Freevo-users] TV Guide Error in 1.7.0 on Debian Etch

2007-05-05 Thread Michael Labowicz

@ Josh:  I applied the patch. Thanks for sharing, it seems to have fixed the
problem!

@ Duncan: Thanks for uploading the prior version and for continuing to
update the freevo package for Debian.

Regards,
Michael

On 5/5/07, Josh Vickery [EMAIL PROTECTED] wrote:


I ran into this problem today when upgrading to from 1.6.3 to 1.7.1
using the packages from
http://www.geole.info/Repository-for-deb-packages-deb.9.0.html?l=1

I couldn't figure out how to solve it (I tried Duncan Webb's
suggestion without any luck) and so I reverted the problematic changes
by hand.

Here is a patch of what I did if you want to try it out:

--- tvlisting_area.py   2007-05-05 15:24:16.0 -0400
+++ tvlisting_area.py_patched   2007-05-05 15:24:33.0 -0400
@@ -75,12 +75,11 @@
 selected_val  = content.types['selected']
 default_val   = content.types['default']
 scheduled_val = content.types['scheduled']
-overlap_val   = content.types['overlap']
-past_val  = content.types['past']
-current_val   = content.types['current']
+#overlap_val   = content.types['overlap']
+#past_val  = content.types['past']
+#current_val   = content.types['current']

-self.all_vals = label_val, head_val, selected_val,
default_val, scheduled_val, overlap_val,\
-past_val, current_val
+self.all_vals = label_val, head_val, selected_val,
default_val, scheduled_val

 font_h = max(selected_val.font.h, default_val.font.h,
label_val.font.h)

@@ -171,8 +170,7 @@
 font_h, label_width, label_txt_width, y0, num_rows, item_h,
head_h = \
 self.get_items_geometry(settings, menu)[:-1]

-label_val, head_val, selected_val, default_val,
scheduled_val, overlap_val,\
-past_val, current_val = self.all_vals
+label_val, head_val, selected_val, default_val, scheduled_val
= self.all_vals

 leftarrow = None
 if area.images['leftarrow']:
@@ -322,14 +320,8 @@
prg.start == selected_prog.start and \
prg.stop == selected_prog.stop:
 val = selected_val
-elif prg.overlap:
-val = overlap_val
 elif prg.scheduled:
 val = scheduled_val
-elif now_time = prg.start and now_time = prg.stop:
-val = current_val
-elif now_time  prg.stop:
-val = past_val
 else:
 val = default_val


On 4/25/07, Michael Labowicz [EMAIL PROTECTED] wrote:
 I tried to remove the directory as you suggested, but I keep getting a
 similar error.  Any thoughts on what could be configured wrong?

 Also, is there an easy way (via debs) to drop back to 1.6.3? or do I
have to
 rummage around the freevo site and install manually?

 Thanks!
 Michael


 On 4/17/07, Duncan Webb [EMAIL PROTECTED] wrote:
   Hi All,
   A few weeks back I installed freevo on a fresh install of Debian
Etch.
 At
   that time, I installed version 1.6.3 onto the box, configured it and
   everything seemed to work fine.  Recently I updated the system and
 apt-get
   recommended that I update freevo to 1.7.0.  I proceeded with the
 upgrade,
   updated my config files and freevo seems to run ok, but when I go to
 Watch
   TV-TV Guide, I get the following error (this is from my
main-1000.log):
  
  

---
   Freevo (1.7.0) start at Mon Apr 16 21:28:55 2007
  

---
   WARNING: duplicate plugin activation, ignoring:
   idlebar None None
  
   WARNING: duplicate plugin activation, ignoring:
   idlebar.diskfree None None
  
   ROM_DRIVES: Auto-detected and added ('/media/cdrom0', '/dev/hdb',
   'CD-1')
   WARNING: /etc/freevo/lircrc not found!
   Traceback (most recent call last):
 File
 /usr/lib/python2.4/site-packages/freevo/main.py, line
 285, in
   eventhandler
   app.eventhandler(event)
 File
 /usr/lib/python2.4/site-packages/freevo/menu.py, line
 673, in
   eventhandler
   action( arg=arg, menuw=self )
 File
 /usr/lib/python2.4/site-packages/freevo/menu.py, line 92,
 in
   select
   self.function(arg=self.arg, menuw=menuw)
 File
 /usr/share/python-support/python-freevo/freevo/tv/tvmenu.py,
 line
   153, in start_tvguide
   TVGuide(self.get_start_time (), start_tv, menuw)
 File
 /usr/share/python-support/python-freevo/freevo/tv/tvguide.py,
   line
   63, in __init__
   self.n_items, hours_per_page = skin.items_per_page(('tv', self))
 File
  
 /usr/share/python-support/python-freevo/freevo/skins/main/main.py,
   line 431, in items_per_page
   self.get_display_style('tv'))
 File
  

/usr/share/python-support/python-freevo/freevo/skins/main/tvlisting_area.py,
   line 78, in 

Re: [Freevo-users] TV Guide Error in 1.7.0 on Debian Etch

2007-05-05 Thread Duncan Webb
Josh Vickery wrote:
 I ran into this problem today when upgrading to from 1.6.3 to 1.7.1
 using the packages from
 http://www.geole.info/Repository-for-deb-packages-deb.9.0.html?l=1
 
 I couldn't figure out how to solve it (I tried Duncan Webb's
 suggestion without any luck) and so I reverted the problematic changes
 by hand.

Oh sorry the penny has eventually dropped, I forget that the tv-listing
may only work with blurr or mediaportal skins, I didn't test the overlap
stuff with all the other skins.

Would you let me know which skin you are using?

Thanks
Duncan

 Here is a patch of what I did if you want to try it out:
 
 --- tvlisting_area.py 2007-05-05 15:24:16.0 -0400
 +++ tvlisting_area.py_patched 2007-05-05 15:24:33.0 -0400
 @@ -75,12 +75,11 @@
  selected_val  = content.types['selected']
  default_val   = content.types['default']
  scheduled_val = content.types['scheduled']
 -overlap_val   = content.types['overlap']
 -past_val  = content.types['past']
 -current_val   = content.types['current']
 +#overlap_val   = content.types['overlap']
 +#past_val  = content.types['past']
 +#current_val   = content.types['current']
 
 -self.all_vals = label_val, head_val, selected_val,
 default_val, scheduled_val, overlap_val,\
 -past_val, current_val
 +self.all_vals = label_val, head_val, selected_val,
 default_val, scheduled_val
 
  font_h = max(selected_val.font.h, default_val.font.h, 
 label_val.font.h)
 
 @@ -171,8 +170,7 @@
  font_h, label_width, label_txt_width, y0, num_rows, item_h, head_h = 
 \
  self.get_items_geometry(settings, menu)[:-1]
 
 -label_val, head_val, selected_val, default_val,
 scheduled_val, overlap_val,\
 -past_val, current_val = self.all_vals
 +label_val, head_val, selected_val, default_val, scheduled_val
 = self.all_vals
 
  leftarrow = None
  if area.images['leftarrow']:
 @@ -322,14 +320,8 @@
 prg.start == selected_prog.start and \
 prg.stop == selected_prog.stop:
  val = selected_val
 -elif prg.overlap:
 -val = overlap_val
  elif prg.scheduled:
  val = scheduled_val
 -elif now_time = prg.start and now_time = prg.stop:
 -val = current_val
 -elif now_time  prg.stop:
 -val = past_val
  else:
  val = default_val
 
 
 On 4/25/07, Michael Labowicz [EMAIL PROTECTED] wrote:
 I tried to remove the directory as you suggested, but I keep getting a
 similar error.  Any thoughts on what could be configured wrong?

 Also, is there an easy way (via debs) to drop back to 1.6.3? or do I have to
 rummage around the freevo site and install manually?

 Thanks!
 Michael


 On 4/17/07, Duncan Webb [EMAIL PROTECTED] wrote:
 Hi All,
 A few weeks back I installed freevo on a fresh install of Debian Etch.
 At
 that time, I installed version 1.6.3 onto the box, configured it and
 everything seemed to work fine.  Recently I updated the system and
 apt-get
 recommended that I update freevo to 1.7.0.  I proceeded with the
 upgrade,
 updated my config files and freevo seems to run ok, but when I go to
 Watch
 TV-TV Guide, I get the following error (this is from my main-1000.log):


 ---
 Freevo (1.7.0) start at Mon Apr 16 21:28:55 2007

 ---
 WARNING: duplicate plugin activation, ignoring:
 idlebar None None

 WARNING: duplicate plugin activation, ignoring:
 idlebar.diskfree None None

 ROM_DRIVES: Auto-detected and added ('/media/cdrom0', '/dev/hdb',
 'CD-1')
 WARNING: /etc/freevo/lircrc not found!
 Traceback (most recent call last):
   File
 /usr/lib/python2.4/site-packages/freevo/main.py, line
 285, in
 eventhandler
 app.eventhandler(event)
   File
 /usr/lib/python2.4/site-packages/freevo/menu.py, line
 673, in
 eventhandler
 action( arg=arg, menuw=self )
   File
 /usr/lib/python2.4/site-packages/freevo/menu.py, line 92,
 in
 select
 self.function(arg=self.arg, menuw=menuw)
   File
 /usr/share/python-support/python-freevo/freevo/tv/tvmenu.py,
 line
 153, in start_tvguide
 TVGuide(self.get_start_time (), start_tv, menuw)
   File
 /usr/share/python-support/python-freevo/freevo/tv/tvguide.py,
 line
 63, in __init__
 self.n_items, hours_per_page = skin.items_per_page(('tv', self))
   File

 /usr/share/python-support/python-freevo/freevo/skins/main/main.py,
 line 431, in items_per_page
 self.get_display_style('tv'))
   File

 /usr/share/python-support/python-freevo/freevo/skins/main/tvlisting_area.py,
 line 78, in get_items_geometry
 overlap_val   = 

Re: [Freevo-users] TV Guide Error in 1.7.0 on Debian Etch

2007-05-05 Thread Michael Labowicz

I'm using blur.

On 5/5/07, Duncan Webb [EMAIL PROTECTED] wrote:


Josh Vickery wrote:
 I ran into this problem today when upgrading to from 1.6.3 to 1.7.1
 using the packages from
 http://www.geole.info/Repository-for-deb-packages-deb.9.0.html?l=1

 I couldn't figure out how to solve it (I tried Duncan Webb's
 suggestion without any luck) and so I reverted the problematic changes
 by hand.

Oh sorry the penny has eventually dropped, I forget that the tv-listing
may only work with blurr or mediaportal skins, I didn't test the overlap
stuff with all the other skins.

Would you let me know which skin you are using?

Thanks
Duncan

 Here is a patch of what I did if you want to try it out:

 --- tvlisting_area.py 2007-05-05 15:24:16.0 -0400
 +++ tvlisting_area.py_patched 2007-05-05 15:24:33.0 -0400
 @@ -75,12 +75,11 @@
  selected_val  = content.types['selected']
  default_val   = content.types['default']
  scheduled_val = content.types['scheduled']
 -overlap_val   = content.types['overlap']
 -past_val  = content.types['past']
 -current_val   = content.types['current']
 +#overlap_val   = content.types['overlap']
 +#past_val  = content.types['past']
 +#current_val   = content.types['current']

 -self.all_vals = label_val, head_val, selected_val,
 default_val, scheduled_val, overlap_val,\
 -past_val, current_val
 +self.all_vals = label_val, head_val, selected_val,
 default_val, scheduled_val

  font_h = max(selected_val.font.h, default_val.font.h,
label_val.font.h)

 @@ -171,8 +170,7 @@
  font_h, label_width, label_txt_width, y0, num_rows, item_h,
head_h = \
  self.get_items_geometry(settings, menu)[:-1]

 -label_val, head_val, selected_val, default_val,
 scheduled_val, overlap_val,\
 -past_val, current_val = self.all_vals
 +label_val, head_val, selected_val, default_val, scheduled_val
 = self.all_vals

  leftarrow = None
  if area.images['leftarrow']:
 @@ -322,14 +320,8 @@
 prg.start == selected_prog.start and \
 prg.stop == selected_prog.stop:
  val = selected_val
 -elif prg.overlap:
 -val = overlap_val
  elif prg.scheduled:
  val = scheduled_val
 -elif now_time = prg.start and now_time = prg.stop
:
 -val = current_val
 -elif now_time  prg.stop:
 -val = past_val
  else:
  val = default_val


 On 4/25/07, Michael Labowicz [EMAIL PROTECTED] wrote:
 I tried to remove the directory as you suggested, but I keep getting a
 similar error.  Any thoughts on what could be configured wrong?

 Also, is there an easy way (via debs) to drop back to 1.6.3? or do I
have to
 rummage around the freevo site and install manually?

 Thanks!
 Michael


 On 4/17/07, Duncan Webb [EMAIL PROTECTED] wrote:
 Hi All,
 A few weeks back I installed freevo on a fresh install of Debian
Etch.
 At
 that time, I installed version 1.6.3 onto the box, configured it and
 everything seemed to work fine.  Recently I updated the system and
 apt-get
 recommended that I update freevo to 1.7.0.  I proceeded with the
 upgrade,
 updated my config files and freevo seems to run ok, but when I go to
 Watch
 TV-TV Guide, I get the following error (this is from my
main-1000.log):



---
 Freevo (1.7.0) start at Mon Apr 16 21:28:55 2007


---
 WARNING: duplicate plugin activation, ignoring:
 idlebar None None

 WARNING: duplicate plugin activation, ignoring:
 idlebar.diskfree None None

 ROM_DRIVES: Auto-detected and added ('/media/cdrom0', '/dev/hdb',
 'CD-1')
 WARNING: /etc/freevo/lircrc not found!
 Traceback (most recent call last):
   File
 /usr/lib/python2.4/site-packages/freevo/main.py, line
 285, in
 eventhandler
 app.eventhandler(event)
   File
 /usr/lib/python2.4/site-packages/freevo/menu.py, line
 673, in
 eventhandler
 action( arg=arg, menuw=self )
   File
 /usr/lib/python2.4/site-packages/freevo/menu.py, line 92,
 in
 select
 self.function(arg=self.arg, menuw=menuw)
   File
 /usr/share/python-support/python-freevo/freevo/tv/tvmenu.py,
 line
 153, in start_tvguide
 TVGuide(self.get_start_time (), start_tv, menuw)
   File
 /usr/share/python-support/python-freevo/freevo/tv/tvguide.py,
 line
 63, in __init__
 self.n_items, hours_per_page = skin.items_per_page(('tv', self))
   File

 /usr/share/python-support/python-freevo/freevo/skins/main/main.py,
 line 431, in items_per_page
 self.get_display_style('tv'))
   File



[Freevo-users] Mplayer Volume for audio

2007-05-05 Thread Divers
hello,

I would know if it is possible (and how to do) to modify the mplayer
volume when i listen to the music in the audio section because the
freevo general volume don't want to modify volume of my computer.
It's work fine in the video section It's will be cool if that is work in
the audio section. I've try with xmms but it's not different.

Thanks,


Arnaud



-
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