John Molohan wrote:
Richard what about doing?
config.XINE_COMMAND.split('/')[-1]
Should return df_xine
See attached patch, what do you think?
Duncan
> Duncan Webb wrote:
>> SourceForge.net wrote:
>>
>>> Bugs item #1568856, was opened at 2006-10-01 18:59
>>>
>> Take this out of the tracker until we have a solution.
>>
> Cool.
>> Hi John,
>>
>>>> Comment By: John Molohan (johnmolohan)
>>>>
>>> Date: 2006-10-11 15:39
>>>
>>> Message:
>>> Logged In: YES
>>> user_id=774680
>>>
>>> Hi Duncan,
>>>
>>> ivtv_xine_tv.py (420): config.CONF.xine=/usr/bin/xine
>>> ivtv_xine_tv.py (421):
>>> config.XINE_COMMAND=/usr/local/src/DirectFB-extra-0.9.25/samples/df_xine/df_xine
>>> ivtv_xine_tv.py (422): config.XINE_ARGS_DEF=-l 0 -d
>>> ivtv_xine_tv.py (423): config.XINE_TV_VO_DEV=
>>> ivtv_xine_tv.py (424): config.XINE_TV_AO_DEV=
>>> ivtv_xine_tv.py (425):
>>> config.XINE_TV_TIMESHIFT_FILEMASK=/home/media/livetv-
>>>
>>> This gives me the correct command for df_xine (I don't think
>>> I've changed anything else)
>>>
>>> ChildApp.__init__(), pid=9309, app= /usr/local/bin/df_xine
>>> -l 0 -d -V -A --stdctl pvr:///home/media/livetv-, poll=-1
>>>
>> This is incorrect, isn't it?
>>
>> -V , --version display version information
>>
> Yep.
> [EMAIL PROTECTED] freevo-1.5]# df_xine -V
> (*) DirectFB/Config: Parsing config file '/etc/directfbrc'.
> df_xine 0.9.25 is a DirectFB frontend for xine-lib-1.1.2
>
> This doesn't seem to stop the command when the other correct arguments
> are passed as well which is a bit strange. Maybe it should be -v N,
> --verbosity=N set verbosity level to N (minimum: 0, maximum: 2,
> default: 1)
>
>> -l N, --layer=N use layer N for video playback
>>
> That's right, -l 0 in my case.
>> , --stdctl turn on controlling xine over STDIN
>>
> Yep.
>> -d , --deinterlace enable frame deinterlacing by default
>>
>> What happens when you run from the command line:
>> df_xine -l 0 -d pvr:///home/media/livetv-
>>
>> does this then work?
>>
> It does indeed.
>> I can't run it at the moment, still not configured DirectFB :-(
>>
> Bummer. Anything I could help with or is it a matter of free time? I
> have to say that I was expecting a bit of an ordeal setting all the
> stuff up again for my G400 but it was a breeze.
A matter of installing DirectFB-cvs and then DirectFB-0.9.25.1 and not
installing libmpeg3 correctly.
>>
>>> ----------------------------------------------------------------------
>>>
>>> Comment By: Duncan Webb (duncanwebb)
>>> Date: 2006-10-11 15:31
>>>
>>> Message:
>>> Logged In: YES
>>> user_id=104395
>>>
>>> Hi John,
>>>
>>> With debugging turned on you should see at the very
>>> beginning of your main log some XINE configuration stuff.
>>>
>>> Will you post these
>>>
>>> _debug_( 'config.CONF.xine=%s' % (config.CONF.xine) )
>>> _debug_( 'config.XINE_COMMAND=%s' % (config.XINE_COMMAND) )
>>> _debug_( 'config.XINE_ARGS_DEF=%s' % (config.XINE_ARGS_DEF) )
>>> _debug_( 'config.XINE_TV_VO_DEV=%s' % (config.XINE_TV_VO_DEV) )
>>> _debug_( 'config.XINE_TV_AO_DEV=%s' % (config.XINE_TV_AO_DEV) )
>>> _debug_( 'config.XINE_TV_TIMESHIFT_FILEMASK=%s' %
>>> (config.XINE_TV_TIMESHIFT_FILEMASK) )
>>>
>>> self.command = '%s %s -V %s -A %s --stdctl pvr://%s' % \
>>> (config.XINE_COMMAND, config.XINE_ARGS_DEF,
>>> config.XINE_TV_VO_DEV, \
>>> config.XINE_TV_AO_DEV, config.XINE_TV_TIMESHIFT_FILEMASK)
>>>
>>> the self.command is incorrect for df_xine.
>>>
>>> Do you have a command line that works becuase this can then
>>> be put into the plug-in.
>>>
>>> Duncan
>>>
>>
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Freevo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Freevo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>
Index: src/tv/plugins/ivtv_xine_tv.py
===================================================================
--- src/tv/plugins/ivtv_xine_tv.py (revision 8351)
+++ src/tv/plugins/ivtv_xine_tv.py (working copy)
@@ -410,10 +410,7 @@
self.mode = 'idle'
self.start_flag = threading.Event()
- if config.CONF.display in ('dfbmga', 'directfb', 'fbdev'):
- self.fbxine = True
- else:
- self.fbxine = False
+ self.fbxine = config.XINE_COMMAND.split('/')[-1] in ('fbxine',
'df_xine')
_debug_( 'config.CONF.xine=%s' % (config.CONF.xine) )
_debug_( 'config.XINE_COMMAND=%s' % (config.XINE_COMMAND) )
@@ -422,9 +419,13 @@
_debug_( 'config.XINE_TV_AO_DEV=%s' % (config.XINE_TV_AO_DEV) )
_debug_( 'config.XINE_TV_TIMESHIFT_FILEMASK=%s' %
(config.XINE_TV_TIMESHIFT_FILEMASK) )
- self.command = '%s %s -V %s -A %s --stdctl pvr://%s' % \
- (config.XINE_COMMAND, config.XINE_ARGS_DEF, config.XINE_TV_VO_DEV,
\
- config.XINE_TV_AO_DEV, config.XINE_TV_TIMESHIFT_FILEMASK)
+ if self.fbxine:
+ self.command = '%s %s --stdctl pvr://%s' % \
+ (config.XINE_COMMAND, config.XINE_ARGS_DEF,
config.XINE_TV_TIMESHIFT_FILEMASK)
+ else:
+ self.command = '%s %s -V %s -A %s --stdctl pvr://%s' % \
+ (config.XINE_COMMAND, config.XINE_ARGS_DEF,
config.XINE_TV_VO_DEV, \
+ config.XINE_TV_AO_DEV, config.XINE_TV_TIMESHIFT_FILEMASK)
def play(self):
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel