Hi
One thing I've noticed when using NextPVR is how slow it is (well on my setup anyway) to delete a recording. My set up is as follows
Synology 918+ with NextPVR v5 in Docker
Windows 10 & multiple Nvidia Shield clients using Kodi & PVR addon
When I delete a recording in Kodi there is a long pause before I'm then able to move on to the next which I didn't notice when using TVHeadend in a Docker container. Is it possible for the deletion command to trigger the delete but then allow the user to continue with their activities?
Below is a log of deleting a single recording which took 6-7 seconds. Deleting a folder of recordings in Kodi can bring the system to a standstill for over a minute
2021-03-29 18:59:27.735 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:27.749 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:28.745 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:28.761 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:29.755 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:29.770 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:29.850 [DEBUG][43] Got request [148.64.29.5]: /services/service (recording.delete)
2021-03-29 18:59:29.851 [DEBUG][43] method=recording.delete
2021-03-29 18:59:29.851 [DEBUG][43] parameters:
2021-03-29 18:59:29.851 [DEBUG][43] method: recording.delete
2021-03-29 18:59:29.851 [DEBUG][43] recording_id: 4487
2021-03-29 18:59:29.851 [DEBUG][43] format: json
2021-03-29 18:59:29.851 [DEBUG][43] sid: 77fc48c4-89de-4195-a980-447795d6d3ab
2021-03-29 18:59:29.852 [DEBUG][43] client_ip: 148.64.29.5
2021-03-29 18:59:29.852 [DEBUG][43] user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36
2021-03-29 18:59:29.852 [DEBUG][43] host_callback: pvr.*******.com
2021-03-29 18:59:29.852 [DEBUG][43] DeleteRecording
2021-03-29 18:59:29.853 [DEBUG][43] Requesting deletion of (4487): /recordings/MOTD FA Cup Highlights/MOTD FA Cup Highlights_20210321_23052335.ts
2021-03-29 18:59:29.853 [DEBUG][43] DeleteRecording(4487)
2021-03-29 18:59:29.853 [DEBUG][43] DeleteRecording@1
2021-03-29 18:59:29.853 [DEBUG][43] PowerManagement CancelWakeup (needs implementation)
2021-03-29 18:59:29.853 [DEBUG][43] -removing: /recordings/MOTD FA Cup Highlights/MOTD FA Cup Highlights_20210321_23052335.ts
2021-03-29 18:59:30.765 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:30.781 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:31.775 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:31.791 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:32.785 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:32.802 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:33.795 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:33.813 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:34.805 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:34.824 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:35.815 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:35.834 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:36.825 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:36.844 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:36.895 [DEBUG][43] DeleteRecording@2
2021-03-29 18:59:36.895 [DEBUG][43] -removing: /recordings/MOTD FA Cup Highlights/MOTD FA Cup Highlights_20210321_23052335.xml
2021-03-29 18:59:36.897 [DEBUG][43] PlaybackPositionHelper.DeletePlaybackPosition(/recordings/MOTD FA Cup Highlights/MOTD FA Cup Highlights_20210321_23052335.ts)
2021-03-29 18:59:36.904 [DEBUG][43] DeleteRecording@5
2021-03-29 18:59:36.904 [DEBUG][43] DeleteRecording@exit
2021-03-29 18:59:36.904 [DEBUG][43] {"stat":"ok"}
One thing I've noticed when using NextPVR is how slow it is (well on my setup anyway) to delete a recording. My set up is as follows
Synology 918+ with NextPVR v5 in Docker
Windows 10 & multiple Nvidia Shield clients using Kodi & PVR addon
When I delete a recording in Kodi there is a long pause before I'm then able to move on to the next which I didn't notice when using TVHeadend in a Docker container. Is it possible for the deletion command to trigger the delete but then allow the user to continue with their activities?
Below is a log of deleting a single recording which took 6-7 seconds. Deleting a folder of recordings in Kodi can bring the system to a standstill for over a minute
2021-03-29 18:59:27.735 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:27.749 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:28.745 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:28.761 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:29.755 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:29.770 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:29.850 [DEBUG][43] Got request [148.64.29.5]: /services/service (recording.delete)
2021-03-29 18:59:29.851 [DEBUG][43] method=recording.delete
2021-03-29 18:59:29.851 [DEBUG][43] parameters:
2021-03-29 18:59:29.851 [DEBUG][43] method: recording.delete
2021-03-29 18:59:29.851 [DEBUG][43] recording_id: 4487
2021-03-29 18:59:29.851 [DEBUG][43] format: json
2021-03-29 18:59:29.851 [DEBUG][43] sid: 77fc48c4-89de-4195-a980-447795d6d3ab
2021-03-29 18:59:29.852 [DEBUG][43] client_ip: 148.64.29.5
2021-03-29 18:59:29.852 [DEBUG][43] user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36
2021-03-29 18:59:29.852 [DEBUG][43] host_callback: pvr.*******.com
2021-03-29 18:59:29.852 [DEBUG][43] DeleteRecording
2021-03-29 18:59:29.853 [DEBUG][43] Requesting deletion of (4487): /recordings/MOTD FA Cup Highlights/MOTD FA Cup Highlights_20210321_23052335.ts
2021-03-29 18:59:29.853 [DEBUG][43] DeleteRecording(4487)
2021-03-29 18:59:29.853 [DEBUG][43] DeleteRecording@1
2021-03-29 18:59:29.853 [DEBUG][43] PowerManagement CancelWakeup (needs implementation)
2021-03-29 18:59:29.853 [DEBUG][43] -removing: /recordings/MOTD FA Cup Highlights/MOTD FA Cup Highlights_20210321_23052335.ts
2021-03-29 18:59:30.765 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:30.781 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:31.775 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:31.791 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:32.785 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:32.802 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:33.795 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:33.813 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:34.805 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:34.824 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:35.815 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:35.834 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:36.825 [DEBUG][212] Have received 4354528192 bytes from rtp source
2021-03-29 18:59:36.844 [DEBUG][83] Have received 6784495872 bytes from rtp source
2021-03-29 18:59:36.895 [DEBUG][43] DeleteRecording@2
2021-03-29 18:59:36.895 [DEBUG][43] -removing: /recordings/MOTD FA Cup Highlights/MOTD FA Cup Highlights_20210321_23052335.xml
2021-03-29 18:59:36.897 [DEBUG][43] PlaybackPositionHelper.DeletePlaybackPosition(/recordings/MOTD FA Cup Highlights/MOTD FA Cup Highlights_20210321_23052335.ts)
2021-03-29 18:59:36.904 [DEBUG][43] DeleteRecording@5
2021-03-29 18:59:36.904 [DEBUG][43] DeleteRecording@exit
2021-03-29 18:59:36.904 [DEBUG][43] {"stat":"ok"}