Play status not updated (with logs) (MySQL)
#1
When I play a video, the status does not get updated as watched, and no progress is saved if I stop before it is finished:

Debug log from playing whole file:
PHP Code:
18:24:28 T:6460   DEBUGCDVDPlayerAudio CDVDMsg::GENERAL_EOF
18
:24:28 T:6460 WARNINGCDVDMessageQueue(audio)::Get asked for new data packetwith nothing available
18
:24:28 T:6460   DEBUGCSoftAEStream::Flush
18
:24:29 T:4568 WARNINGCDVDMessageQueue(video)::Get asked for new data packetwith nothing available
18
:24:29 T:5652  NOTICECDVDPlayer::OnExit()
18:24:29 T:5652  NOTICEDVDPlayereofwaiting for queues to empty
18:24:29 T:5652  NOTICEDVDPlayerclosing audio stream
18
:24:29 T:5652  NOTICEClosing audio stream
18
:24:29 T:5652  NOTICECDVDMessageQueue(audio)::WaitUntilEmpty
18
:24:29 T:6460   DEBUGCDVDPlayerAudio CDVDMsg::GENERAL_SYNCHRONIZE
18
:24:29 T:5652  NOTICEWaiting for audio thread to exit
18:24:29 T:6460   DEBUGCDVDPlayerAudio::Process Abort receivedexiting thread
18
:24:29 T:6460  NOTICEthread endCDVDPlayerAudio::OnExit()
18:24:29 T:6460   DEBUGThread CDVDPlayerAudio 6460 terminating
18
:24:29 T:5652  NOTICEClosing audio device
18
:24:29 T:5988   DEBUGCSoftAE::Run Sink restart flagged
18
:24:29 T:5988   DEBUGCAESinkDirectSound::IsCompatibleFormats compatible reusing existing sink
18
:24:29 T:5988    INFOCSoftAE::InternalOpenSink keeping old sink with AE_FMT_FLOATFL,FR44100hz
18
:24:29 T:5988   DEBUGCSoftAE::InternalOpenSink Using speaker layout2.0
18
:24:29 T:5988   DEBUGCSoftAE::InternalOpenSink Internal Buffer Size3528
18
:24:29 T:5652   DEBUGCSoftAEStream::~CSoftAEStream Destructed
18
:24:29 T:5652  NOTICEDeleting audio codec
18
:24:29 T:5652  NOTICEDVDPlayerclosing video stream
18
:24:29 T:5652  NOTICEClosing video stream
18
:24:29 T:5652  NOTICECDVDMessageQueue(video)::WaitUntilEmpty
18
:24:29 T:4568   DEBUGCDVDPlayerVideo CDVDMsg::GENERAL_SYNCHRONIZE
18
:24:29 T:5652  NOTICEwaiting for video thread to exit
18:24:29 T:4568   ERRORGot MSGQ_ABORT or MSGO_IS_ERROR return true
18
:24:29 T:4568  NOTICEthread endvideo_thread
18
:24:29 T:4568   DEBUGThread CDVDPlayerVideo 4568 terminating
18
:24:29 T:5652  NOTICEdeleting video codec
18
:24:29 T:5652  NOTICECDVDPlayer::OnExit() deleting demuxer
18
:24:29 T:5652  NOTICECDVDPlayer::OnExit() deleting input stream
18
:24:29 T:5652   DEBUGCAnnouncementManager AnnouncementOnStop from xbmc
18
:24:29 T:5652   DEBUGGOT ANNOUNCEMENTtype1from xbmcmessage OnStop
18
:24:29 T:5652   DEBUGThread CDVDPlayer 5652 terminating
18
:24:29 T:5512   DEBUGCGUIWindowManager::PreviousWindowDeactivate
18
:24:29 T:5512   DEBUG: ------ Window Deinit (VideoFullScreen.xml) ------
18:24:29 T:5512   DEBUGCGUIWindowManager::PreviousWindowActivate new
18:24:29 T:5512   DEBUG: ------ Window Init (MyVideoNav.xml) ------
18:24:29 T:5512   DEBUGCGUIMediaWindow::GetDirectory (videodb://2/2/105/-2/?tvshowid=105)
18:24:29 T:5512   DEBUG:   ParentPath = [videodb://2/2/105/-2/?tvshowid=105]
18:24:29 T:5512   DEBUGCVideoDatabase::GetStackedTvShowList queryselect idShow from tvshow where c00 like (select c00 from tvshow where idShow=105order by idShow
18
:24:29 T:5512   DEBUGPrevious line repeats 1 times.
18:24:29 T:5512   DEBUGCVideoDatabase::RunQuery took 132 ms for 228 items queryselect from episodeview  WHERE episodeview.idShow 105
18
:24:29 T:5512   DEBUGCVideoDatabase::RunQuery took 46 ms for 0 items queryselect from movieview join movielinktvshow on movielinktvshow.idMovie=movieview.idMovie WHERE movielinktvshow.idShow 105
18
:24:29 T:5512   DEBUGWindowVideoNav::GetDirectory
18
:24:30 T:4160  NOTICEThread Background Loader startauto deletefalse
18
:24:30 T:5512  NOTICECDVDPlayer::CloseFile()
18:24:30 T:5512 WARNINGCDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
18
:24:30 T:5512  NOTICEDVDPlayerwaiting for threads to exit
18:24:30 T:5512  NOTICEDVDPlayerfinished waiting
18
:24:30 T:6872  NOTICEThread Jobworker startauto deletetrue
18
:24:31 T:4160   DEBUGThread Background Loader 4160 terminating
18
:24:32 T:5512   DEBUGCJoystick::Initialize No Joystick found
18
:24:32 T:5512   DEBUGCWinEventsWin32::WndProcWindow is active
18
:24:34 T:5512   DEBUGKeyboardscancode01sym001bunicode001bmodifier0
18
:24:34 T:5512   DEBUGCApplication::OnKeyescape (f01bpressedaction is PreviousMenu
18
:24:34 T:5512   DEBUGCGUIWindowManager::PreviousWindowDeactivate
18
:24:34 T:5512   DEBUG: ------ Window Deinit (MyVideoNav.xml) ------
18:24:34 T:5512   DEBUGCGUIWindowManager::PreviousWindowActivate new
18:24:34 T:5512   DEBUG: ------ Window Init (Home.xml) ------
18:24:34 T:5512   DEBUGUpdating RSS
18
:24:34 T:1396  NOTICEThread CRssReader startauto deletefalse
18
:24:34 T:1396   DEBUGCurlFile::Open(0B6BF95Chttp://feeds.feedburner.com/xbmc
18:24:34 T:1396    INFOXCURL::DllLibCurlGlobal::easy_aquire Created session to http://feeds.feedburner.com
18:24:35 T:1396   DEBUGGot rss feedhttp://feeds.feedburner.com/xbmc
18:24:35 T:1396   DEBUGRSS feed encodingUTF-8
18
:24:35 T:1396   DEBUGParsed rss feedhttp://feeds.feedburner.com/xbmc
18:24:35 T:1396   DEBUGThread CRssReader 1396 terminating 

If I press 'w' to mark it as watched, that works:
PHP Code:
18:38:33 T:5512   DEBUGKeyboardscancode11sym0077unicode0077modifier0
18
:38:33 T:5512   DEBUGCApplication::OnKey(f057pressedaction is ToggleWatched
18
:38:33 T:5512   DEBUGMysql executeupdate files set playCount=1,lastPlayed='2013-02-08 18:38:33' where idFile=3402
18
:38:33 T:5512   DEBUGCAnnouncementManager AnnouncementOnUpdate from xbmc
18
:38:33 T:5512   DEBUGGOT ANNOUNCEMENTtype16from xbmcmessage OnUpdate
18
:38:33 T:5512   DEBUGCGUIMediaWindow::GetDirectory (videodb://2/2/105/-2/?tvshowid=105)
18:38:33 T:5512   DEBUG:   ParentPath = [videodb://2/2/105/-2/?tvshowid=105]
18:38:33 T:3652   DEBUGCVideoDatabase::GetStackedTvShowList queryselect idShow from tvshow where c00 like (select c00 from tvshow where idShow=105order by idShow
18
:38:33 T:3652   DEBUGPrevious line repeats 1 times.
18:38:33 T:3652   DEBUGCVideoDatabase::RunQuery took 144 ms for 228 items queryselect from episodeview  WHERE episodeview.idShow 105
18
:38:33 T:3652   DEBUGCVideoDatabase::RunQuery took 9 ms for 0 items queryselect from movieview join movielinktvshow on movielinktvshow.idMovie=movieview.idMovie WHERE movielinktvshow.idShow 105
18
:38:33 T:5512   DEBUGWindowVideoNav::GetDirectory 

But it won't store progress if I stop in the middle of the file
PHP Code:
18:38:28 T:5512   DEBUGCApplication::OnKey(f058pressedaction is Stop
18
:38:28 T:5512  NOTICECDVDPlayer::CloseFile()
18:38:28 T:5512  NOTICEDVDPlayerwaiting for threads to exit
18:38:28 T:6728  NOTICECDVDPlayer::OnExit()
18:38:28 T:6728  NOTICEDVDPlayerclosing audio stream
18
:38:28 T:6728  NOTICEClosing audio stream
18
:38:28 T:6728  NOTICEWaiting for audio thread to exit
18:38:28 T:1740  NOTICEthread endCDVDPlayerAudio::OnExit()
18:38:28 T:6728  NOTICEClosing audio device
18
:38:28 T:1740   DEBUGThread CDVDPlayerAudio 1740 terminating
18
:38:28 T:5988   DEBUGCSoftAE::Run Sink restart flagged
18
:38:28 T:5988   DEBUGCAESinkDirectSound::IsCompatibleFormats compatible reusing existing sink
18
:38:28 T:5988    INFOCSoftAE::InternalOpenSink keeping old sink with AE_FMT_FLOATFL,FR44100hz
18
:38:28 T:5988   DEBUGCSoftAE::InternalOpenSink Using speaker layout2.0
18
:38:28 T:5988   DEBUGCSoftAE::InternalOpenSink Internal Buffer Size3528
18
:38:28 T:6728   DEBUGCSoftAEStream::~CSoftAEStream Destructed
18
:38:28 T:6728  NOTICEDeleting audio codec
18
:38:28 T:6728  NOTICEDVDPlayerclosing video stream
18
:38:28 T:6728  NOTICEClosing video stream
18
:38:28 T:6728  NOTICEwaiting for video thread to exit
18:38:28 T:3636  NOTICEthread endvideo_thread
18
:38:28 T:3636   DEBUGThread CDVDPlayerVideo 3636 terminating
18
:38:28 T:6728  NOTICEdeleting video codec
18
:38:28 T:6728  NOTICECDVDPlayer::OnExit() deleting demuxer
18
:38:28 T:6728  NOTICECDVDPlayer::OnExit() deleting input stream
18
:38:28 T:6728   DEBUGCAnnouncementManager AnnouncementOnStop from xbmc
18
:38:28 T:6728   DEBUGGOT ANNOUNCEMENTtype1from xbmcmessage OnStop
18
:38:28 T:6728   DEBUGThread CDVDPlayer 6728 terminating
18
:38:28 T:5512  NOTICEDVDPlayerfinished waiting
18
:38:28 T:5512   DEBUGCGUIWindowManager::PreviousWindowDeactivate
18
:38:28 T:5512   DEBUG: ------ Window Deinit (VideoFullScreen.xml) ------
18:38:28 T:5512   DEBUGCGUIWindowManager::PreviousWindowActivate new
18:38:28 T:5512   DEBUG: ------ Window Init (MyVideoNav.xml) ------
18:38:28 T:5512   DEBUGCGUIMediaWindow::GetDirectory (videodb://2/2/105/-2/?tvshowid=105)
18:38:28 T:5512   DEBUG:   ParentPath = [videodb://2/2/105/-2/?tvshowid=105]
18:38:29 T:5512   DEBUGCVideoDatabase::GetStackedTvShowList queryselect idShow from tvshow where c00 like (select c00 from tvshow where idShow=105order by idShow
18
:38:29 T:5512   DEBUGPrevious line repeats 1 times.
18:38:29 T:5512   DEBUGCVideoDatabase::RunQuery took 143 ms for 228 items queryselect from episodeview  WHERE episodeview.idShow 105
18
:38:29 T:5512   DEBUGCVideoDatabase::RunQuery took 9 ms for 0 items queryselect from movieview join movielinktvshow on movielinktvshow.idMovie=movieview.idMovie WHERE movielinktvshow.idShow 105
18
:38:29 T:5512   DEBUGWindowVideoNav::GetDirectory
[/php
Reply

Logout Mark Read Team Forum Stats Members Help
Play status not updated (with logs) (MySQL)0