Bugs item #1566553, was opened at 2006-09-27 20:35
Message generated for change (Comment added) made by duncanwebb
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1566553&group_id=46652

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: John Molohan (johnmolohan)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bug in ivtv_xine plugin when XINE_TV_VO_DEV 

Initial Comment:
Hi Duncan,

the ivtv_xine plugin crahes on load if XINE_TV_VO_DEV
isn't set. I guess that local_conf.py should be updated
and maybe some error handling added to the plugin?

failed to load plugin tv.ivtv_xine_tv
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/tv/ivtv_xine_tv.py",
line 33, in __init__
    plugin.register(IVTV_XINE_TV(), plugin.TV)
  File
"/usr/lib/python2.4/site-packages/freevo/tv/ivtv_xine_tv.py",
line 40, in __init__
    self.xine = XineThread()
  File
"/usr/lib/python2.4/site-packages/freevo/tv/ivtv_xine_tv.py",
line 373, in __init__
    self.command = '%s %s -V %s -A %s --stdctl
pvr://%s' % \
AttributeError: 'module' object has no attribute
'XINE_TV_VO_DEV'


----------------------------------------------------------------------

>Comment By: Duncan Webb (duncanwebb)
Date: 2006-09-29 08:54

Message:
Logged In: YES 
user_id=104395

John, have you got this to work after the changes to
local_conf.py. If so would you like to close this bug.

It's really nice to see that your working hard on testing
the new stuff. Thanks.

----------------------------------------------------------------------

Comment By: John Molohan (johnmolohan)
Date: 2006-09-28 22:39

Message:
Logged In: YES 
user_id=774680

I guess defaults should be added to freevo_config.py as well
if this plugin is to be included in the release.

----------------------------------------------------------------------

Comment By: Duncan Webb (duncanwebb)
Date: 2006-09-28 16:47

Message:
Logged In: YES 
user_id=104395

The local_conf.py.example has been updated with contents of
ivtv_xine_tv_conf.py but may be you didn't notice this. Easy
to miss.

----------------------------------------------------------------------

Comment By: Richard van Paasen (rvpaasen)
Date: 2006-09-28 00:04

Message:
Logged In: YES 
user_id=182311

Yes, the local_conf.py must be updated. Exception handling
or proper defaults would be nice too. The following must be
added/can be configured in local_conf.py:

# Add this to local_conf.py
# Put ivtv_xine_tv.py in freevo/tv/

#############################################################
# IVTV_XINE_TV CONFIGURATION
#############################################################

# -- plugin configuration --

# plugin.remove('tv.generic_record')
# plugin_record = plugin.activate('tv.ivtv_record')

plugin.remove('tv.mplayer')
plugin.activate('tv.ivtv_xine_tv')

# Note: TV_IVTV_OPTIONS must be configured properly
# Note: FREQUENCY_TABLE must be configured properly
# Note: XINE_COMMAND must be configured properly
# Note: XINE_ARGS_DEF must be configured properly

# -- TV/XINE configuration --

# Video output device for TV. For Hauppage PVR x50,
# use "xxmc" if you have hardware acceleration enabled.
# Otherwise, see XINE_VO_DEV
XINE_TV_VO_DEV = "xxmc"

# Audio output device to use for TV. See XINE_AO_DEV.
XINE_TV_AO_DEV = "alsa"

# This specifies the path and filemask that
# xine uses for timeshifting. File can get
# quite big (several gigabytes)
XINE_TV_TIMESHIFT_FILEMASK = "/tmp/xine-buf-"


----------------------------------------------------------------------

Comment By: John Molohan (johnmolohan)
Date: 2006-09-27 20:47

Message:
Logged In: YES 
user_id=774680

And again, XINE_TV_TIMESHIFT_FILEMASK,

failed to load plugin tv.ivtv_xine_tv
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/tv/ivtv_xine_tv.py",
line 33, in __init__
    plugin.register(IVTV_XINE_TV(), plugin.TV)
  File
"/usr/lib/python2.4/site-packages/freevo/tv/ivtv_xine_tv.py",
line 40, in __init__
    self.xine = XineThread()
  File
"/usr/lib/python2.4/site-packages/freevo/tv/ivtv_xine_tv.py",
line 373, in __init__
    self.command = '%s %s -V %s -A %s --stdctl pvr://%s' % \
AttributeError: 'module' object has no attribute
'XINE_TV_TIMESHIFT_FILEMASK'


----------------------------------------------------------------------

Comment By: John Molohan (johnmolohan)
Date: 2006-09-27 20:36

Message:
Logged In: YES 
user_id=774680

Also need XINE_TV_AO_DEV

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/tv/ivtv_xine_tv.py",
line 33, in __init__
    plugin.register(IVTV_XINE_TV(), plugin.TV)
  File
"/usr/lib/python2.4/site-packages/freevo/tv/ivtv_xine_tv.py",
line 40, in __init__
    self.xine = XineThread()
  File
"/usr/lib/python2.4/site-packages/freevo/tv/ivtv_xine_tv.py",
line 373, in __init__
    self.command = '%s %s -V %s -A %s --stdctl pvr://%s' % \
AttributeError: 'module' object has no attribute
'XINE_TV_AO_DEV'

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1566553&group_id=46652

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to