Duncan Webb wrote:
>> John Molohan wrote:
>>     
>>> Duncan Webb wrote:
>>>       
>>>> John Molohan wrote:
>>>>         
>>>>> John Molohan wrote:
>>>>>           
>>>>>> Adam Charrett wrote:
>>>>>>             
>>>>>>> On Tue, 2007-05-29 at 09:59 +0200, Tanja wrote:
>>>>>>>
>>>>>>>               
>>>>>>>> Sometimes while watching a recording (mpeg-ts), mplayer stops to
>>>>>>>> react to the remote.
>>>>>>>> Freevo is still responding as MUTE, VOL+ and VOL- are still doing
>>>>>>>> what they should,
>>>>>>>> but STOP and FORWARD are not working anymore in that cases.
>>>>>>>> Looking in the logs during being in such conditions shows that the
>>>>>>>> remote events are received by
>>>>>>>> freevo but not interpreted as VIDEO_EVENTS but as MENU_EVENT...
>>>>>>>> When the video stops or is killed from a ssh-shell then freevo is
>>>>>>>> running in the usual way.
>>>>>>>>
>>>>>>>> I did not report this until now, because we never could find a way
>>>>>>>> to reproduce this...
>>>>>>>>
>>>>>>>>                 
>>>>>>> I have also seen this behaviour, but with Xine playing .ts files,
>>>>>>> and
>>>>>>> for the same reason I didn't report as I couldn't work out why it
>>>>>>> was
>>>>>>> doing even after I added some debug code to a suspect area.
>>>>>>>               
>>>>>> Good to get some extra feedback. Seems to be an issue alright. I'm
>>>>>> stuck
>>>>>> for time at the moment but I'll try and do some testing and debugging
>>>>>> by
>>>>>> the weekend.
>>>>>>             
>>>>> Actually it just happened me again. This time there's nothing in the
>>>>> main log out of the ordinary.
>>>>>           
>>>> [snip]
>>>>
>>>>         
>>>>> __init__.py (217): Building the xml hash database...
>>>>> __init__.py (249): done
>>>>>
>>>>>           
>>>> xml hash database is running in the background, while df_xine is
>>>> running
>>>>
>>>>         
>>>>> no event mapping for key FFWD in context menu
>>>>> send button event BUTTON arg=FFWD
>>>>> no event mapping for key FFWD in context menu
>>>>> send button event BUTTON arg=FFWD
>>>>>
>>>>>           
>>>> Now the 'context' has changed, from video to menu so the events are not
>>>> being received.
>>>>
>>>>         
>>>>> And xine isn't fast forwarding. As mentioned volume controls still
>>>>> work.
>>>>> There's no info from the stderr or stdout files but I've only just
>>>>> turned on CHILDAPP_DEBUG and turned both that and DEBUG to 9.
>>>>> Hopefully
>>>>> that might turn up something.
>>>>>
>>>>>           
>>>> It looks like Tanja is correct, the "context" of the events is being
>>>> changed and my guess is that freevo schedulefavorites has caused the
>>>> record server to changed the context.
>>>>
>>>>         
>>> Yeah sorry I missed that, combination of overtiredness, hangover and an
>>> impending purchase of my first car - a 320i :) I'll do a test as soon as
>>> I can and run a schedulefavorites manually to see if I can reproduce it.
>>>       
>> Ok finally caught it while running the debug version of rc.py you sent
>> me. Here's a small part of the log, if you need more let me know.
>>
>> 2007-06-21 22:59:03,979 DEBUG    set_context(context="menu")
>> ***   File "/usr/lib/python2.4/site-packages/freevo/main.py", line 472, in
>> ?
>>     MainTread().run()
>> ***   File "/usr/lib/python2.4/site-packages/freevo/main.py", line 325,
>> in run
>>     self.eventhandler(rc.get_event(True))
>> ***   File "/usr/lib/python2.4/site-packages/freevo/rc.py", line 141, in
>> get_event
>>     return get_singleton().get_event(blocking)
>> ***   File "/usr/lib/python2.4/site-packages/freevo/rc.py", line 662, in
>> get_event
>>     self.poll()
>> ***   File "/usr/lib/python2.4/site-packages/freevo/rc.py", line 645, in
>> poll
>>     c[0](*c[4])
>> ***   File
>> "/usr/lib/python2.4/site-packages/freevo/tv/plugins/recordings_manager.py",
>> line 789, in poll
>>     self.check_recordings()
>> ***   File
>> "/usr/lib/python2.4/site-packages/freevo/tv/plugins/recordings_manager.py",
>> line 823, in check_recordings
>>     self.obj.browse(menuw=self.menuw, arg='update')
>> ***   File
>>     
>
> This looks like the offending line, I would guess that the recordings
> manager has changed the context from video to menu in the background while
> you were watching.
>
> I suppose that you could disable recordings manager for a while and see if
> it happens again.
>   
Will do.
> "/usr/lib/python2.4/site-packages/freevo/tv/plugins/recordings_manager.py",
>   
>> line 199, in browse
>>     self.menuw.rebuild_page()
>> ***   File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 779,
>> in rebuild_page
>>     self.init_page()
>> ***   File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 815,
>> in init_page
>>     rc.set_context(self.event_context)
>> ***   File "/usr/lib/python2.4/site-packages/freevo/rc.py", line 89, in
>> set_context
>>     return get_singleton().set_context(context)
>> ***   File "/usr/lib/python2.4/site-packages/freevo/rc.py", line 524, in
>> set_context
>>     _stack_('set_context(context="%s")' % context)
>>
>> 2007-06-21 22:59:04,171 DEBUG    __init__.py (249): done
>> 2007-06-21 23:08:15,403 DEBUG    rc.py (563): no event mapping for key
>> PAUSE in context menu
>> 2007-06-21 23:08:15,404 DEBUG    rc.py (564): send button event BUTTON
>> arg=PAUSE
>> 2007-06-21 23:08:16,076 DEBUG    rc.py (563): no event mapping for key
>> PAUSE in context menu
>> 2007-06-21 23:08:16,077 DEBUG    rc.py (564): send button event BUTTON
>> arg=PAUSE
>> 2007-06-21 23:08:16,967 DEBUG    rc.py (563): no event mapping for key
>> PAUSE in context menu
>> 2007-06-21 23:08:16,968 DEBUG    rc.py (564): send button event BUTTON
>> arg=PAUSE
>> 2007-06-21 23:10:00,127 DEBUG    rc.py (563): no event mapping for key
>> FFWD in context menu
>> 2007-06-21 23:10:00,128 DEBUG    rc.py (564): send button event BUTTON
>> arg=FFWD
>> 2007-06-21 23:10:00,385 DEBUG    rc.py (563): no event mapping for key
>> FFWD in context menu
>> 2007-06-21 23:10:00,386 DEBUG    rc.py (564): send button event BUTTON
>> arg=FFWD
>>     
>
> Duncan
>
>
> -------------------------------------------------------------------------
> 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

Reply via email to