2016-09-07, 23:56
(2016-08-01, 15:19)ascona Wrote:(2016-07-28, 11:28)gaxander Wrote:(2016-06-28, 14:43)BigMong Wrote: @Sushi7
I spotted that error and I have tested the manually running the SQL
it's strange that it works when your watch an episode but that is calling a different SQL string
After a few mins looking at the source on GitHub https://github.com/xbmc/xbmc
In the /xbmc/video/VideoDatabase.cpp file, line 5155 I believe is the SQL that is Prepared
Code:if (!date.IsValid())
strSQL = PrepareSQL("update files set playCount=NULL,lastPlayed=NULL where idFile=%i", id);
else
strSQL = PrepareSQL("update files set playCount=NULL,lastPlayed='%s' where idFile=%i", date.GetAsDBDateTime().c_str(), id);
}
I will setup my 16.1 Kodi again and do some testing over the weekend
Have you made any progress??
Yep I'm getting the same issue and still can't figure it out after spending most of the night on it!
I tried to manually change the playCount or lastPlayed in phpMyAdmin and came to the same error. the table ist just not updateable.
I don't have much knowledge of mySQL but i guess the following page is relevant:
http://dev.mysql.com/doc/refman/5.7/en/v...ility.html