2012-05-24, 08:00
You have to modify Makefile.in to make it compile again (see https://github.com/tsp/xbmc/pull/19).
(2012-05-20, 23:47)tsp42 Wrote: InoD: Could be done yes. I'm still using 0.24 so haven't noticed the log spam. Another option would be to only update the recording list when xbmc asks for it. This would mean users would have to click on recordings to update the list.
11:34:33 T:139949513627392 DEBUG: AddOnLog: MythTV cmyth PVR Client: Process Job fetched: local: /storage/.xbmc/userdata/addon_data/pvr.mythtv.cmyth/cache/preview/1244_20120523121500.mpg.png, remote: 1244_20120523121500.mpg.png, storagegroup: Default
11:34:33 T:139949524141824 DEBUG: AddOnLog: MythTV cmyth PVR Client: EVENT ID: CMYTH_EVENT_RECORDING_LIST_CHANGE_UPDATE, Received cmyth_proginfo_t
11:34:33 T:139949513627392 DEBUG: AddOnLog: MythTV cmyth PVR Client: Process Job fetched: local: /storage/.xbmc/userdata/addon_data/pvr.mythtv.cmyth/cache/preview/1243_20120522190000.mpg.png, remote: 1243_20120522190000.mpg.png, storagegroup: Default
11:34:33 T:139949524141824 DEBUG: AddOnLog: MythTV cmyth PVR Client: EVENT ID: CMYTH_EVENT_RECORDING_LIST_CHANGE_UPDATE, Received cmyth_proginfo_t
11:34:33 T:139949513627392 DEBUG: AddOnLog: MythTV cmyth PVR Client: Process Job fetched: local: /storage/.xbmc/userdata/addon_data/pvr.mythtv.cmyth/cache/preview/1244_20120522121500.mpg.png, remote: 1244_20120522121500.mpg.png, storagegroup: Default
11:34:33 T:139949524141824 DEBUG: AddOnLog: MythTV cmyth PVR Client: EVENT ID: CMYTH_EVENT_RECORDING_LIST_CHANGE_UPDATE, Received cmyth_proginfo_t
11:34:33 T:139949513627392 DEBUG: AddOnLog: MythTV cmyth PVR Client: Process Job fetched: local: /storage/.xbmc/userdata/addon_data/pvr.mythtv.cmyth/cache/preview/1244_20120520121500.mpg.png, remote: 1244_20120520121500.mpg.png, storagegroup: Default
11:34:33 T:139949524141824 DEBUG: AddOnLog: MythTV cmyth PVR Client: EVENT ID: CMYTH_EVENT_RECORDING_LIST_CHANGE_UPDATE, Received cmyth_proginfo_t
11:34:33 T:139949513627392 DEBUG: AddOnLog: MythTV cmyth PVR Client: Process Job fetched: local: /storage/.xbmc/userdata/addon_data/pvr.mythtv.cmyth/cache/preview/1244_20120516121500.mpg.png, remote: 1244_20120516121500.mpg.png, storagegroup: Default
11:34:33 T:139949524141824 DEBUG: AddOnLog: MythTV cmyth PVR Client: EVENT ID: CMYTH_EVENT_RECORDING_LIST_CHANGE_UPDATE, Received cmyth_proginfo_t
11:34:33 T:139949513627392 DEBUG: AddOnLog: MythTV cmyth PVR Client: Process Job fetched: local: /storage/.xbmc/userdata/addon_data/pvr.mythtv.cmyth/cache/preview/1216_20120512015500.mpg.png, remote: 1216_20120512015500.mpg.png, storagegroup: Default
11:34:33 T:139949524141824 DEBUG: AddOnLog: MythTV cmyth PVR Client: EVENT ID: CMYTH_EVENT_RECORDING_LIST_CHANGE_UPDATE, Received cmyth_proginfo_t
(2012-05-26, 18:07)druhboruch Wrote: InoD: Could you share your recent openelec build?
if(curTime>lastCacheClean+60*60*24)
cleanCache();
(2012-05-26, 23:31)InoD Wrote: Ah, found it I think:Yes that is the problem. The preview icons is most likely deleted when clean cache is called the first time if m_preview is not initialized with the local preview images (and that would happen if m_jobqueue is emptied before the last call to getPreviewIconPath. I will use your suggestion and add a 24 hour delay before the first cache clean. Your preview icons should be redownloaded when getPreviewIconPath is called again (=every time the recording list is updated) but it sounds like that doesn't happens.
lastCacheClean is initialized to zero, meaning when the jobqueue is empty or after 1 minute of no jobs the cache will be cleaned. Also, lastCacheClean is never reset to curTime, so from then on, it keeps cleaning the cache. Probably better to initialize lastCacheClean to the current time the thread starts and lastCacheClean is reset when 1 day has elapsed. This would still require the re-register (within 24 hours) of the cache-assets with the get*Path functions after a reboot to prevent cleaning, but seems to happen anyway.Code:if(curTime>lastCacheClean+60*60*24)
cleanCache();
(2012-05-27, 06:17)KeithLM Wrote: Well I've got my 11.10 box talking to MythTV now. I'm still having some issues with Myth, but that's Myth. Near as I can tell they haven't fixed any of the transcoding problems that I saw before, as in it's real crappy and can only support 2-channel mp3 audio and it doesn't really compress the files to a reasonable size without reducing quality significantly. I'm going to attempt to have it call handbrake once I can get all the details worked out, perhaps add in commercial removal too.
(2012-05-27, 00:40)tsp42 Wrote: Yes that is the problem. The preview icons is most likely deleted when clean cache is called the first time if m_preview is not initialized with the local preview images (and that would happen if m_jobqueue is emptied before the last call to getPreviewIconPath. I will use your suggestion and add a 24 hour delay before the first cache clean. Your preview icons should be redownloaded when getPreviewIconPath is called again (=every time the recording list is updated) but it sounds like that doesn't happens.