NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Docker amd64 v
« Previous 1 … 4 5 6 7 8 9 Next »
What Time Does the "Delete Missing Recording" Maintenance Run?

 
  • 0 Vote(s) - 0 Average
What Time Does the "Delete Missing Recording" Maintenance Run?
pkscout
Offline

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#1
2020-09-16, 07:26 PM
On my Docker setup at some point the maintenance to clear recordings that don't have a file associated with them stopped running (or at least it stopped cleaning up recordings).  If I reboot the Docker container, the maintenance works at startup, but apparently never again after that. I want to take a look at the logs, but it would help narrow things down if I knew when it was suppose to run.

Thanks.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2020-09-17, 02:43 AM
It generally happens when the recording list is loaded, but from memory it doesn't happen when the web api is used to load the recording list...so you may not see it happening depending on the client you're using.
pkscout
Offline

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#3
2020-09-17, 06:11 AM
Ah. I pretty much use Kodi almost exclusively and the NextPVR web client built into KNEWC almost all the rest. I almost never check the actual web page.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#4
2020-09-17, 12:46 PM
Logically the web page uses the web API too. Does it happen during an EPG update?

Martin
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,665
Threads: 170
Joined: Jun 2007
#5
2020-09-17, 01:02 PM
(2020-09-17, 06:11 AM)pkscout Wrote: Ah. I pretty much use Kodi almost exclusively and the NextPVR web client built into KNEWC almost all the rest. I almost never check the actual web page.

By "web client built into KNEWC", do you mean the web UI (i.e. where the screens are generate by NextPVR on the server)? If so, I believe that runs it every time it loads the recording list. As Martin suggested, I don't think that simply viewing recordings from the new v5 web interface will trigger it.
pkscout
Offline

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#6
2020-09-17, 04:21 PM
(2020-09-17, 12:46 PM)mvallevand Wrote: Logically the web page uses the web API too.  Does it happen during an EPG update?

Martin

It doesn't appear to. I just checked this morning, and I definitely have stuff in my recent recordings list that got watched and deleted yesterday. Here's a zip of logs that should contain the time early this morning when the EPG update would have run.


Attached Files
.zip   logs-20200917-0618.zip (Size: 1.55 MB / Downloads: 0)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#7
2020-09-17, 04:29 PM
What about if you delete from knewc UI Client does the refresh happen?

Martin
pkscout
Offline

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#8
2020-09-18, 07:40 PM
(2020-09-17, 04:29 PM)mvallevand Wrote: What about if you delete from knewc UI Client does the refresh happen?

Martin

Doesn't look like it.  Here's another set of logs. At about 9:35am local time (maybe just before) I used the KNEWC client on my Matrix test setup to delete a single recording. Then I logged into the web UI, and the other recordings with missing files didn't delete. I even manually ran EPG update. I'm going to do some investigating, as I'm wondering if somehow Docker is telling the app that the files still exist even though they don't.


Attached Files
.zip   logs-20200918-0937.zip (Size: 1.77 MB / Downloads: 1)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#9
2020-09-18, 08:42 PM
It is definitely reloading recordings after the delete with the normal API so we need sub on this.

Code:
2020-09-18 09:34:29.619    [DEBUG][55]    Recordings.RELOAD_RECORDINGS
2020-09-18 09:34:29.619    [DEBUG][55]    Recordings.RELOAD_RECORDINGS@1
2020-09-18 09:34:29.619    [DEBUG][55]    LoadList@0
2020-09-18 09:34:29.624    [DEBUG][55]    LoadList@1
2020-09-18 09:34:29.646    [DEBUG][55]    LoadList@2
2020-09-18 09:34:29.646    [DEBUG][55]    LoadList@3
2020-09-18 09:34:29.650    [DEBUG][55]    LoadList@setobjects
2020-09-18 09:34:29.654    [DEBUG][55]    LoadList@exit
2020-09-18 09:34:29.654    [DEBUG][55]    Recordings.RELOAD_RECORDINGS@2
2020-09-18 09:34:29.659    [DEBUG][55]    Recordings.RELOAD_RECORDINGS@exit
2020-09-18 09:34:29.674    [DEBUG][55]    DoCompositeRendering() took 14.3382ms
2020-09-18 09:34:29.740    [DEBUG][9]    Reloading recording schedule

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#10
2020-09-19, 07:30 AM
Sorry for the delay getting back to you - I was out of town for a couple of days.

Unfortunately there isn't a log message in the specific branch of code that checks for missing recordings, so it's not visible in the logs.

The KNEWC showing NextPVR UI screens will trigger it. It'll only run this logic if either <AutoRemoveMissingRecordings> or <CheckForRenamedRecordings> are set to 'true' in config.xml.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Missing from 7.0.0.241105 pkscout 8 458 2024-11-05, 10:00 PM
Last Post: pkscout
  Icon missing rmvanderspek 12 1,532 2023-02-10, 03:31 PM
Last Post: rmvanderspek
  IPTV only one stream can be recorded at a time rojerki 2 1,064 2022-05-22, 11:10 AM
Last Post: rojerki
  Slow to delete oliroe 0 764 2021-03-29, 07:13 PM
Last Post: oliroe
  Time is incorrect inside logs of NextPVR inside docker container janoonk 4 2,209 2021-01-28, 01:41 PM
Last Post: janoonk
Video Different recording directories by channel group SuperBaggers 4 1,678 2020-10-27, 01:47 PM
Last Post: SuperBaggers
  Recording Goes an Hour, But Actual File is Only 16 Minutes pkscout 9 2,944 2020-05-24, 10:26 PM
Last Post: pkscout
  "IPTV" recording is murdering my CPU Coxeroni 12 4,132 2020-01-24, 07:20 PM
Last Post: sub
  Recording Failed (transcoder exited) shaboobala 21 5,716 2019-10-13, 05:16 PM
Last Post: shaboobala
  Recording zero size files vintdiesel 8 3,209 2019-07-02, 09:03 PM
Last Post: vintdiesel

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode