Deleted Program not removed from user interface


So I recently added my DVR folder to my Plex database source…it makes it easier for my wife to have all our saved media in one interface. Anyways, after a show is watched the file is deleted via/inside and is no longer on the disk. Unfortantly it does not remove it from the channels app/interface and under recordings it will still show up as if it was there. If you try to play it in channels then it just flashes and goes back to the menu (which makes sense since it isn’t there on the disk anymore anyways) The only way to get it to go away from channels is also “delete it” from within the channels app. It seems like it would make sense to rescan the DVR folder every so often to see if there are any shows that have been removed. (This issue is for shows we deleted in Plex days ago, so it’s not just a “wait a few hours” issue I don’t think).

Am I missing something?

How do I force Channels DVR to rescan my storage?

This is the expected behavior… you have to delete things explicitly from the Channels database. This is to avoid a situation where your USB drive gets disconnected, and Channels thinks all your recordings are gone and wipes itself clean.

There are some APIs available that let you manually force a “prune”, where it will remove things from the database that are not on disk anymore. If you’re comfortable setting up a crontab or other periodic script, that’s one way to achieve the behavior you’re looking for.


Ah that makes sense! Any links or insight on setting up the API? I’m somewhat familiar with setting up crontabs but not with channels specifically


Cool, the command you would need to run is (assuming its being run on the same machine, otherwise replace with the IP of your DVR):

curl -XPUT


Perfect! Thanks! I personally love the channels display, but she prefers the Plex layout…oh well…best of both worlds now :stuck_out_tongue_winking_eye:


Also, Plex supports webhooks, so you could set up something in the middle to receive the Plex webhook and then act on the Channels DVR API accordingly. Then it would be practically instantly updated.


I have found it much easier to watch the files via potplayer since it supports CC when I am on my PC. I watch by choosing in explorer.

How do I use the command to rescan that actual files that are left i think you would call it prune the missing. I just need to be able to do this in a while not a recurring automatic thing. No clue what a crontab is though. Or how to get/use one of these API you talk about.



To run that command, open Powershell and copy/paste it


Using Windows 10 Home.

PS C:\Users\XXX> curl -XPUT


Invoke-WebRequest : A parameter cannot be found that matches parameter name ‘XPUT’.
At line:1 char:6

  • curl -XPUT
  •  ~~~~~
    • CategoryInfo : InvalidArgument: (:slight_smile: [Invoke-WebRequest], ParameterBindingException
    • FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.InvokeWebRequestCommand


On windows you have to use:

iwr -usebasicparsing -method Put


Thanks alot. This is why it is worth spending $8 per month, customer service as well as a product that works well.

Going to bookmark this page for future reference when I need to do this again. Any thought of adding a button on the Channels DVR Settings tab to rebuild the database? (of course with a good warning to prevent doing it accidentally when USB drive is unplugged)


Yes we definitely need a button for this and a few other things that currently require terminal commands.


I appreciate your great work and look forward to when DVR can be scheduled via FireTV until then works better than Plex and does not require a restart every few days so GREAT WORK!