• 1
  • 38
  • 39
  • 40(current)
  • 41
  • 42
  • 90
Release IPTV Recorder
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 ?
Reply
(2019-01-22, 09:53)maiers12 Wrote: 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 ?
 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.
Reply
(2019-01-22, 11:26)primaeval Wrote:
(2019-01-22, 09:53)maiers12 Wrote: 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 ?
 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.

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
Reply
(2019-01-22, 13:55)maiers12 Wrote:
(2019-01-22, 11:26)primaeval Wrote:
(2019-01-22, 09:53)maiers12 Wrote: 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 ?
 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.  

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  
 Try version 0.0.86.
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.
Reply
(2019-01-22, 14:20)primaeval Wrote:
(2019-01-22, 13:55)maiers12 Wrote:
(2019-01-22, 11:26)primaeval Wrote:  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.  

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  
 Try version 0.0.86.
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.
With the new version it works, thank you
Reply
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?
Reply
(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.

Are `minutes before/after` used for post-processing only?
 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.
Reply
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.
Reply
Now I set both after and before to 5, and my recording was 9 minutes late.
Reply
(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.
Reply
bash:
10:33:01.240 T:123145530933248 WARNING: CPythonInvoker(57): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
11:09:30.734 T:123145532006400 WARNING: CPythonInvoker(73): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.

1st one started 3 minutes late. (can't remember what before was set to)
2st one started 9 minutes late. (before set to 5)
Reply
(2019-01-23, 14:04)dzejms Wrote:
bash:
10:33:01.240 T:123145530933248 WARNING: CPythonInvoker(57): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
11:09:30.734 T:123145532006400 WARNING: CPythonInvoker(73): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.

1st one started 3 minutes late. (can't remember what before was set to)
2st one started 9 minutes late. (before set to 5)
 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
xml:
   
<setting id="minutes.after">1</setting>
<setting id="minutes.before">5</setting>
and the last recording just started 5 minutes early which is correct.
Reply
bash:
  <setting id="minutes.after" value="5" />
    <setting id="minutes.before" value="0" />

bash:
22:43:17.016 T:4653553088  NOTICE: special://profile/ is mapped to: special://masterprofile/
22:43:17.016 T:4653553088  NOTICE: -----------------------------------------------------------------------
22:43:17.016 T:4653553088  NOTICE: Starting Kodi (17.6 Git:20171114-a9a7a20). Platform: OS X x86 64-bit
22:43:17.016 T:4653553088  NOTICE: Using Release Kodi x64 build
22:43:17.016 T:4653553088  NOTICE: Kodi compiled Nov 14 2017 by Clang 6.0 (clang-600.0.56) for OS X x86 64-bit version 10.8.0 (1080)
22:43:17.016 T:4653553088  NOTICE: Running on Apple Inc. MacBookPro11,1 with OS X 10.14.2, kernel: Darwin x86 64-bit version 18.2.0
22:43:17.016 T:4653553088  NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
22:43:17.016 T:4653553088  NOTICE: Host CPU: Intel® Core™ i5-4288U CPU @ 2.60GHz, 4 cores available
Reply
(2019-01-23, 14:14)dzejms Wrote:
bash:
  <setting id="minutes.after" value="5" />
    <setting id="minutes.before" value="0" />
bash:
22:43:17.016 T:4653553088  NOTICE: special://profile/ is mapped to: special://masterprofile/
22:43:17.016 T:4653553088  NOTICE: -----------------------------------------------------------------------
22:43:17.016 T:4653553088  NOTICE: Starting Kodi (17.6 Git:20171114-a9a7a20). Platform: OS X x86 64-bit
22:43:17.016 T:4653553088  NOTICE: Using Release Kodi x64 build
22:43:17.016 T:4653553088  NOTICE: Kodi compiled Nov 14 2017 by Clang 6.0 (clang-600.0.56) for OS X x86 64-bit version 10.8.0 (1080)
22:43:17.016 T:4653553088  NOTICE: Running on Apple Inc. MacBookPro11,1 with OS X 10.14.2, kernel: Darwin x86 64-bit version 18.2.0
22:43:17.016 T:4653553088  NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
22:43:17.016 T:4653553088  NOTICE: Host CPU: Intel® Core™ i5-4288U CPU @ 2.60GHz, 4 cores available
 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.vide...in.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.vide...in.py#L819
Reply
Nah. All scheduled. Added couple lines to the log. I'm currently recording something. Will post a reply in ~1h. Thanks for you help.
Reply
  • 1
  • 38
  • 39
  • 40(current)
  • 41
  • 42
  • 90

Logout Mark Read Team Forum Stats Members Help
IPTV Recorder4