2021-06-08, 10:33 AM
(This post was last modified: 2021-06-08, 10:33 AM by mvallevand.)
The first two ERROR messages are normal not sure why sub keeps them. Also the date requested error is normal when SD does have 3 weeks of data.
Sub should probably look at the error here since he did indicated a cache error on artwork. It does look like a 30 second lock timeout and there seems to be a missing Refresh@exit.
My thought is still you have too many table entries for this small PC and with a sqltie3 tool you could clear them with
delete from sd_artwork;
Your bad artwork doesn't help things. This might help with a sqlite3 tool
delete from scheduled_recording where event_details not like '%oid%';
Stop the service and backup your database before doing these
Martin
Sub should probably look at the error here since he did indicated a cache error on artwork. It does look like a 30 second lock timeout and there seems to be a missing Refresh@exit.
Code:
2021-06-08 02:47:11.522 [DEBUG][20] Refresh@start
2021-06-08 02:47:12.748 [DEBUG][20] - (1) BBC One South: has 377 listings
2021-06-08 02:47:12.748 [DEBUG][20] - (2) BBC Two: has 286 listings
2021-06-08 02:47:12.748 [DEBUG][20] - (3) ITV1 (South Meridian): has 287 listings
2021-06-08 02:47:12.748 [DEBUG][20] - (4) Channel 4: has 374 listings
2021-06-08 02:47:12.748 [DEBUG][20] - (5) Channel 5: has 530 listings
2021-06-08 02:47:12.748 [DEBUG][20] - (6) ITV2: has 707 listings
2021-06-08 02:47:12.748 [DEBUG][20] - (9) BBC Four: has 206 listings
2021-06-08 02:47:12.748 [DEBUG][20] - (10) ITV3: has 596 listings
2021-06-08 02:47:12.748 [DEBUG][20] - (11) Sky Arts: has 373 listings
2021-06-08 02:47:12.748 [DEBUG][20] - (12) Quest: has 431 listings
2021-06-08 02:47:12.748 [DEBUG][20] SD using existing token
2021-06-08 02:47:13.205 [DEBUG][20] Requesting /schedules
2021-06-08 02:47:13.205 [DEBUG][20] SD(https://json.schedulesdirect.org/20141201/schedules)
2021-06-08 02:47:13.205 [DEBUG][20] token header: 6f13f241602e6c8f40e81cca600b4c5c
2021-06-08 02:47:16.108 [DEBUG][20] Got /schedules:
2021-06-08 02:47:16.553 [DEBUG][20] token header: 6f13f241602e6c8f40e81cca600b4c5c
2021-06-08 02:47:20.157 [DEBUG][20] Refresh@start
2021-06-08 02:47:22.165 [DEBUG][37] Got request [192.168.86.60]: /service (recording.lastupdated)
2021-06-08 02:47:22.166 [DEBUG][37] method=recording.lastupdated
2021-06-08 02:47:22.166 [DEBUG][37] parameters:
2021-06-08 02:47:22.166 [DEBUG][37] method: recording.lastupdated
2021-06-08 02:47:22.166 [DEBUG][37] sid: ba9cb8a550a9406eab72558baef4be1b
2021-06-08 02:47:22.166 [DEBUG][37] client_ip: 192.168.86.60
2021-06-08 02:47:22.166 [DEBUG][37] user_agent: Kodi/19.1 (X11; Linux x86_64) LibreELEC/10.0 App_Bitness/64 Version/19.1-(19.1.0)-Git:2d78f9dfc3095b548b3928bacaa141eea10b669c
2021-06-08 02:47:22.166 [DEBUG][37] host_callback: 192.168.86.225:8866
2021-06-08 02:47:22.166 [DEBUG][37] LastUpdated
2021-06-08 02:47:22.166 [DEBUG][37] <?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
<last_update>1623096300</last_update>
</rsp>
2021-06-08 02:47:44.529 [ERROR][53] Unexpected error in SchedulesDirectArtwork: Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 5: 'database is locked'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at Microsoft.Data.Sqlite.SqliteConnectionExtensions.ExecuteNonQuery(SqliteConnection connection, String commandText, SqliteParameter[] parameters)
at Microsoft.Data.Sqlite.SqliteTransaction.Commit()
at NShared.Metadata.SchedulesDirectArtwork.Refresh(List`1 seriesWithArt)
2021-06-08 02:47:44.541 [DEBUG][53] Refresh()@exit took 33018.6831ms
My thought is still you have too many table entries for this small PC and with a sqltie3 tool you could clear them with
delete from sd_artwork;
Your bad artwork doesn't help things. This might help with a sqlite3 tool
delete from scheduled_recording where event_details not like '%oid%';
Stop the service and backup your database before doing these
Martin