Library Auto Updater - Version 1.1.0 - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Service Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=152) +---- Thread: Library Auto Updater - Version 1.1.0 (/showthread.php?tid=119520) |
RE: Library Auto Updater - Smultie - 2019-07-19 (2019-07-19, 03:26)robweber Wrote:Hi, might be b/c I'm running Kodi 19 (Milhouse builds for Raspberry Pi)?(2019-07-08, 20:20)Smultie Wrote: Hi, long-time user of this addon. Is there anything from the log that might be of interest? RE: Library Auto Updater - robweber - 2019-07-19 (2019-07-19, 06:55)Smultie Wrote: Hi, might be b/c I'm running Kodi 19 (Milhouse builds for Raspberry Pi)? Yea that would help, there should be some logging information from the addon when starting the clean process and then Kodi when it tries to do it will log some stuff too. If you can post something to pastbin and put a link that would be great. RE: Library Auto Updater - Smultie - 2019-07-20 (2019-07-19, 16:56)robweber Wrote:(2019-07-19, 06:55)Smultie Wrote: Hi, might be b/c I'm running Kodi 19 (Milhouse builds for Raspberry Pi)? http://ix.io/1OXQ RE: Library Auto Updater - Smultie - 2019-07-20 2019-07-20 10:43:09.399 T:1429205888 WARNING: CPythonInvoker(9, /storage/.kodi/addons/service.libraryautoupdate/manual.py): the python script "/storage/.kodi/addons/service.libraryautoupdate/manual.py" has left several classes in memory that we couldn't clean up. The classes include: N14PythonBindings31XBMCAddon_xbmc_Monitor_DirectorE 2019-07-20 10:43:09.566 T:1368384384 NOTICE: service.libraryautoupdate-1.0.2 : update timers 2019-07-20 10:43:09.571 T:1368384384 NOTICE: service.libraryautoupdate-1.0.2 : Creating timer for Video Library 2019-07-20 10:43:12.162 T:1368384384 NOTICE: service.libraryautoupdate-1.0.2 : Update Library Manual Run... 2019-07-20 10:43:12.164 T:1368384384 NOTICE: service.libraryautoupdate-1.0.2 : update timers 2019-07-20 10:43:12.164 T:1368384384 NOTICE: service.libraryautoupdate-1.0.2 : Creating timer for Video Library 2019-07-20 10:43:12.169 T:1368384384 NOTICE: service.libraryautoupdate-1.0.2 : Starting network check 2019-07-20 10:43:12.279 T:1368384384 NOTICE: service.libraryautoupdate-1.0.2 : Update Video Library 2019-07-20 10:43:12.439 T:1276064640 NOTICE: VideoInfoScanner: Starting scan .. 2019-07-20 10:43:52.788 T:1276064640 ERROR: CCurlFile::Open failed with code 404 for https://api.thetvdb.com/search/series?name=%23recycle: 2019-07-20 10:43:52.789 T:1276064640 ERROR: Run: Unable to parse web site 2019-07-20 10:43:52.962 T:1276064640 ERROR: CCurlFile::Open failed with code 404 for https://api.thetvdb.com/search/series?name=%23recycle: 2019-07-20 10:43:52.962 T:1276064640 ERROR: Run: Unable to parse web site 2019-07-20 10:43:53.128 T:1276064640 ERROR: CCurlFile::Open failed with code 404 for https://api.thetvdb.com/search/series?name=%23recycle: 2019-07-20 10:43:53.128 T:1276064640 ERROR: Run: Unable to parse web site 2019-07-20 10:43:53.308 T:1276064640 ERROR: CCurlFile::Open failed with code 404 for https://api.thetvdb.com/search/series?name=%23recycle: 2019-07-20 10:43:53.308 T:1276064640 ERROR: Run: Unable to parse web site 2019-07-20 10:43:53.309 T:1276064640 WARNING: No information found for item 'smb://Diskstation/tvshows/#recycle/', it won't be added to the library. 2019-07-20 10:43:53.672 T:1276064640 WARNING: Process directory 'smb://Diskstation/tvshows/A Series of Unfortunate Events/' does not exist - skipping scan. 2019-07-20 10:43:53.677 T:1276064640 WARNING: Process directory 'smb://Diskstation/tvshows/After Life/' does not exist - skipping scan. 2019-07-20 10:43:53.683 T:1276064640 WARNING: Process directory 'smb://Diskstation/tvshows/Game of Thrones/' does not exist - skipping scan. 2019-07-20 10:43:53.688 T:1276064640 WARNING: Process directory 'smb://Diskstation/tvshows/Lilyhammer/' does not exist - skipping scan. 2019-07-20 10:43:53.693 T:1276064640 WARNING: Process directory 'smb://Diskstation/tvshows/The Defiant Ones/' does not exist - skipping scan. 2019-07-20 10:43:53.699 T:1276064640 WARNING: Process directory 'smb://Diskstation/tvshows/The Simpsons/' does not exist - skipping scan. 2019-07-20 10:43:53.705 T:1276064640 WARNING: Process directory 'smb://Diskstation/tvshows/The Sinner/' does not exist - skipping scan. 2019-07-20 10:43:53.710 T:1276064640 WARNING: Process directory 'smb://Diskstation/tvshows/Workaholics/' does not exist - skipping scan. 2019-07-20 10:43:53.722 T:1276064640 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:41 2019-07-20 10:44:10.571 T:1786741632 ERROR: NFS: Failed to mount nfs share: (nfs_service failed) RE: Library Auto Updater - robweber - 2019-07-22 (2019-07-20, 10:46)Smultie Wrote:I see the video library update process running a few times, even what appear to be a manual run. The clean process never kicks off - the log file doesn't indicate that part of the code is even trying to run. Do you have the cleaning piece set to a timer on a specific day or is it set to "clean library after update" set to run?(2019-07-19, 16:56)robweber Wrote:(2019-07-19, 06:55)Smultie Wrote: Hi, might be b/c I'm running Kodi 19 (Milhouse builds for Raspberry Pi)? RE: Library Auto Updater - Smultie - 2019-07-22 (2019-07-22, 02:16)robweber Wrote:Clean after update.(2019-07-20, 10:46)Smultie Wrote:I see the video library update process running a few times, even what appear to be a manual run. The clean process never kicks off - the log file doesn't indicate that part of the code is even trying to run. Do you have the cleaning piece set to a timer on a specific day or is it set to "clean library after update" set to run?(2019-07-19, 16:56)robweber Wrote: Yea that would help, there should be some logging information from the addon when starting the clean process and then Kodi when it tries to do it will log some stuff too. If you can post something to pastbin and put a link that would be great. Should I try a specific timer? RE: Library Auto Updater - Smultie - 2019-07-25 (2019-07-22, 07:21)Smultie Wrote:A cron timer does work...(2019-07-22, 02:16)robweber Wrote:Clean after update.(2019-07-20, 10:46)Smultie Wrote: http://ix.io/1OXQI see the video library update process running a few times, even what appear to be a manual run. The clean process never kicks off - the log file doesn't indicate that part of the code is even trying to run. Do you have the cleaning piece set to a timer on a specific day or is it set to "clean library after update" set to run? RE: Library Auto Updater - Dennisreneholm - 2019-07-25 Hi. I can't get this to work, nothing happens. If i run it on Windows it works, but i'm using Openelec, and it's just not running. If i start a manuel scan, it works fine, but it doesn't matter if i set it at a timer, every 4 hours, or a cron job, at 3 am, nothing happens. Files at located on a Windows server, accessed by smb. RE: Library Auto Updater - robweber - 2019-07-26 (2019-07-25, 10:46)Smultie Wrote: A cron timer does work... Good to know. I'll do some testing on my end with the clean after update function. I'm not seeing anything in your log about it even trying. This is triggered by a monitor looking for the "update completed" condition to be issued from Kodi. Maybe this isn't working? (2019-07-25, 11:13)Dennisreneholm Wrote: Hi. I use this on Libreelec and it works just fine for me. Are you seeing any kind of error on startup? A debug log would really help diagnose this. Please use paste.kodi.tv. RE: Library Auto Updater - Smultie - 2019-07-27 (2019-07-26, 22:05)robweber Wrote:Thanks,(2019-07-25, 10:46)Smultie Wrote: A cron timer does work... if you need me to check anything on my side, please let me know! RE: Library Auto Updater - robweber - 2019-07-29 (2019-07-27, 08:10)Smultie Wrote:Ok, after some testing I did notice that the cron timer worked but the "clean on update" setting didn't (as you had said!). Digging in to it more I think I hunted down a fix. I created a github branch, would you mind installing via the zip file and seeing if this fixes your problem? https://github.com/robweber/xbmclibraryautoupdate/tree/clean_library_fix(2019-07-26, 22:05)robweber Wrote:Thanks,(2019-07-25, 10:46)Smultie Wrote: A cron timer does work... You should see some items in your log file similar to the following when it runs: VideoInfoScanner: Finished scan. Scanning for video info took 00:00 2019-07-28 17:28:57.125 T:8036 NOTICE: CVideoDatabase::CleanDatabase: Starting videodatabase cleanup .. 2019-07-28 17:28:57.575 T:8036 NOTICE: CVideoDatabase::CleanDatabase: Cleaning videodatabase done. Operation took 00:00 RE: Library Auto Updater - Smultie - 2019-07-29 (2019-07-29, 00:35)robweber Wrote:Hhhm, I'm afraid not:(2019-07-27, 08:10)Smultie Wrote:Ok, after some testing I did notice that the cron timer worked but the "clean on update" setting didn't (as you had said!). Digging in to it more I think I hunted down a fix. I created a github branch, would you mind installing via the zip file and seeing if this fixes your problem? https://github.com/robweber/xbmclibraryautoupdate/tree/clean_library_fix(2019-07-26, 22:05)robweber Wrote: Good to know. I'll do some testing on my end with the clean after update function. I'm not seeing anything in your log about it even trying. This is triggered by a monitor looking for the "update completed" condition to be issued from Kodi. Maybe this isn't working?Thanks, 2019-07-29 10:58:18.972 T:1538782080 NOTICE: VideoInfoScanner: Starting scan .. 2019-07-29 10:59:05.731 T:1538782080 ERROR: CCurlFile::Open failed with code 4 04 for https://api.thetvdb.com/search/series?name=%23recycle: 2019-07-29 10:59:05.731 T:1538782080 ERROR: Run: Unable to parse web site 2019-07-29 10:59:05.898 T:1538782080 ERROR: CCurlFile::Open failed with code 4 04 for https://api.thetvdb.com/search/series?name=%23recycle: 2019-07-29 10:59:05.898 T:1538782080 ERROR: Run: Unable to parse web site 2019-07-29 10:59:06.086 T:1538782080 ERROR: CCurlFile::Open failed with code 4 04 for https://api.thetvdb.com/search/series?name=%23recycle: 2019-07-29 10:59:06.086 T:1538782080 ERROR: Run: Unable to parse web site 2019-07-29 10:59:06.286 T:1538782080 ERROR: CCurlFile::Open failed with code 4 04 for https://api.thetvdb.com/search/series?name=%23recycle: 2019-07-29 10:59:06.286 T:1538782080 ERROR: Run: Unable to parse web site 2019-07-29 10:59:06.290 T:1538782080 WARNING: No information found for item 'smb ://Diskstation/tvshows/#recycle/', it won't be added to the library. 2019-07-29 10:59:06.612 T:1538782080 WARNING: Process directory 'smb://Diskstati on/tvshows/A Series of Unfortunate Events/' does not exist - skipping scan. 2019-07-29 10:59:06.616 T:1538782080 WARNING: Process directory 'smb://Diskstati on/tvshows/After Life/' does not exist - skipping scan. 2019-07-29 10:59:06.620 T:1538782080 WARNING: Process directory 'smb://Diskstati on/tvshows/Game of Thrones/' does not exist - skipping scan. 2019-07-29 10:59:06.625 T:1538782080 WARNING: Process directory 'smb://Diskstati on/tvshows/Lilyhammer/' does not exist - skipping scan. 2019-07-29 10:59:06.628 T:1538782080 WARNING: Process directory 'smb://Diskstati on/tvshows/The Defiant Ones/' does not exist - skipping scan. 2019-07-29 10:59:06.633 T:1538782080 WARNING: Process directory 'smb://Diskstati on/tvshows/The Simpsons/' does not exist - skipping scan. 2019-07-29 10:59:06.637 T:1538782080 WARNING: Process directory 'smb://Diskstati on/tvshows/The Sinner/' does not exist - skipping scan. 2019-07-29 10:59:06.641 T:1538782080 WARNING: Process directory 'smb://Diskstati on/tvshows/Workaholics/' does not exist - skipping scan. 2019-07-29 10:59:06.653 T:1538782080 NOTICE: VideoInfoScanner: Finished scan. S canning for video info took 00:47 2019-07-29 10:59:06.720 T:1803527040 WARNING: Repository add-on net.rieter.xot.r epository uses plain HTTP for add-on downloads in path http://www.rieter.net/net .rieter.xot.repository - this is insecure and will make your Kodi installation v ulnerable to attacks if enabled! 2019-07-29 10:59:06.720 T:1803527040 WARNING: Repository add-on openelec.repo.an calex.arm-2.1 uses plain HTTP for add-on downloads in path http://addons.anxer.r o/2.1/RPi/arm - this is insecure and will make your Kodi installation vulnerable to attacks if enabled! 2019-07-29 11:00:39.332 T:1932914704 NOTICE: Samba is idle. Closing the remaining connections RE: Library Auto Updater - robweber - 2019-07-29 (2019-07-29, 11:04)Smultie Wrote: Hhhm, I'm afraid not: Can you turn on debug logging and also post what your settings for the addon are? I don't see any logging information from the addon itself here (all addon logs are debug only). There was a straight up python error in the non-fixed version; but since I corrected that things have been working in all the tests I did. You must have some odd combo of settings I can't duplicate. Thanks. RE: Library Auto Updater - Smultie - 2019-07-29 (2019-07-29, 14:53)robweber Wrote:I've set all settings on default, except for cleaning(2019-07-29, 11:04)Smultie Wrote: Hhhm, I'm afraid not: Clean Libraries: On Library to clean: Video Frequency: After Update I've enabled debug logging and forced Library Auto Updater to run: This is the end of the log 2019-07-29 21:25:05.421 T:1786741632 WARNING: Process directory 'smb://Diskstation/tvshows/Workaholics/' does not exist - skipping scan. 2019-07-29 21:25:05.433 T:1786741632 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:56 2019-07-29 21:25:05.433 T:1932911488 DEBUG: CAnnouncementManager - Announcement: OnScanFinished from xbmc 2019-07-29 21:25:05.434 T:1932911488 DEBUG: GOT ANNOUNCEMENT, type: 16, from xbmc, message OnScanFinished 2019-07-29 21:25:05.447 T:1664672640 DEBUG: Skin Helper Service --> Kodi_Monitor: sender xbmc - method: VideoLibrary.OnScanFinished - data: null 2019-07-29 21:25:05.700 T:1932914704 DEBUG: ------ Window Deinit (DialogExtendedProgressBar.xml) ------ 2019-07-29 21:25:35.451 T:1786741632 DEBUG: Thread JobWorker 1786741632 terminating (autodelete) 2019-07-29 21:25:35.497 T:1932914704 INFO: CheckIdle - Closing session to https://api.thetvdb.com (easy=0x55fa9ce0, multi=0x55fb6fc0) 2019-07-29 21:25:37.622 T:1932914704 NOTICE: NFS is idle. Closing the remaining connections. Scanning for video info took 00:56 RE: Library Auto Updater - robweber - 2019-07-30 (2019-07-29, 21:27)Smultie Wrote: [quote="robweber" pid='2872412' dateline='1564404831'] Thanks for trying that. Based on what I'm seeing I don't even think the library update service is running. There are a number of log messages specifically from the addon you should be seeing when running a manual run that just aren't happening. Are you sure the service is even running? Here is a link to my debug log during a manual run like you did. Notice the debug messages about starting both the video and clean operations? If those aren't there then the addon isn't "driving" the process. https://paste.kodi.tv/kabupaqoya.kodi |