Release IPTV Recorder - 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: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154) +---- Thread: Release IPTV Recorder (/showthread.php?tid=329991) |
RE: IPTV Recorder - maiers12 - 2019-01-22 Hi primaeval, I have a little question, I crate a rule for mistake and now when I try to delete it in the maintenance >rules menu then select delete rule, then answer yes to the question, it doesn’t disappear. What I’m doing wrong ? RE: IPTV Recorder - primaeval - 2019-01-22 (2019-01-22, 09:53)maiers12 Wrote: Hi primaeval,It should disappear when you leave and re-enter the Rules menu. There is a bug in Kodi since Krypton that will lock up Kodi if you do a listing refresh from a menu command. So I've left it out. RE: IPTV Recorder - maiers12 - 2019-01-22 (2019-01-22, 11:26)primaeval Wrote:(2019-01-22, 09:53)maiers12 Wrote: Hi primaeval,It should disappear when you leave and re-enter the Rules menu. Thank you for your answer, it remains also when I leave and re-enter the menu. Where is stored the list of rules indìside the add on data directory ? Can I delete it manually ? Bye RE: IPTV Recorder - primaeval - 2019-01-22 (2019-01-22, 13:55)maiers12 Wrote:Try version 0.0.86.(2019-01-22, 11:26)primaeval Wrote:(2019-01-22, 09:53)maiers12 Wrote: Hi primaeval,It should disappear when you leave and re-enter the Rules menu. Delete all was working but delete individual rules was broken. The rules end up in the rules table in the database: \userdata\addon_data\plugin.video.iptv.recorder\xmltv.db Use something like this to view it. https://sqlitebrowser.org/ Be careful if you edit it. RE: IPTV Recorder - maiers12 - 2019-01-22 (2019-01-22, 14:20)primaeval Wrote:(2019-01-22, 13:55)maiers12 Wrote:Try version 0.0.86.(2019-01-22, 11:26)primaeval Wrote: It should disappear when you leave and re-enter the Rules menu. RE: IPTV Recorder - dzejms - 2019-01-23 Quick question. What date/time does it use to start recording. It looks like all recording on my system are delayed by 3 minutes. Are `minutes before/after` used for post-processing only? RE: IPTV Recorder - primaeval - 2019-01-23 (2019-01-23, 12:35)dzejms Wrote: Quick question. What date/time does it use to start recording. It looks like all recording on my system are delayed by 3 minutes.It uses whatever time Kodi is using. The jobs are set off by the AlarmClock function. There is a default of 1 minute extra before and after in Settings \ Jobs and Rules. Have a look at the timestamp of the recording and the .pid file in userdata\addon_data\plugin.video.iptv.recorder\jobs There might be a bug in the time calculation. RE: IPTV Recorder - dzejms - 2019-01-23 i.e. d65ac840-1e5a-11e9-8a7b-b8e856333248.py.pid has creation date of `23 January 2019 at 10:33`, but should 10.30, or actually 10.29. RE: IPTV Recorder - dzejms - 2019-01-23 Now I set both after and before to 5, and my recording was 9 minutes late. RE: IPTV Recorder - primaeval - 2019-01-23 (2019-01-23, 13:46)dzejms Wrote: i.e. d65ac840-1e5a-11e9-8a7b-b8e856333248.py.pid has creation date of `23 January 2019 at 10:33`, but should 10.30, or actually 10.29.Something is out of sync. It works ok for me in Windows. Look for a line like this in kodi.log. 12:13:50.015 T:4844 WARNING: CPythonInvoker(44): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version. It shows the time Kodi started the job .py file. This is for a job at 12:15 so it started about a minute early which is correct. See if you can get a command window up and compare the Kodi time to the system time. RE: IPTV Recorder - dzejms - 2019-01-23
1st one started 3 minutes late. (can't remember what before was set to) 2st one started 9 minutes late. (before set to 5) RE: IPTV Recorder - primaeval - 2019-01-23 (2019-01-23, 14:04)dzejms Wrote:There is something very odd going on on your device. Post the first few lines of kodi.log that say what device etc it is on. Do the minutes settings look ok in the setting.xml file \userdata\addon_data\plugin.video.iptv.recorder\settings.xml Mine are and the last recording just started 5 minutes early which is correct. RE: IPTV Recorder - dzejms - 2019-01-23
RE: IPTV Recorder - primaeval - 2019-01-23 (2019-01-23, 14:14)dzejms Wrote:Are you sure you aren't recording programs that have already started? I can't see anywhere in the code where it could add to instead of take away minutes from the start time. If you feel up to it you could put some log() statements in the code to see how the start time is calculated. https://github.com/primaeval/plugin.video.iptv.recorder/blob/ca7350096d8561db388c4afca5765e853d1abe23/main.py#L751 Look how minutes is calculated from local_starttime. eg log(minutes) log(local_starttime) The jobs also get renewed on a Kodi restart here https://github.com/primaeval/plugin.video.iptv.recorder/blob/ca7350096d8561db388c4afca5765e853d1abe23/main.py#L819 RE: IPTV Recorder - dzejms - 2019-01-23 Nah. All scheduled. Added couple lines to the log. I'm currently recording something. Will post a reply in ~1h. Thanks for you help. |