Easy Multiple Recording Deletion

Want to write your own code to work with a HDHomeRun or work with the HDHomeRun DVR? We are happy to help with concepts, APIs, best practices.
Post Reply
tvlooker
Posts: 7
Joined: Wed Apr 05, 2023 12:02 pm
x 4

Easy Multiple Recording Deletion

Post by tvlooker »

Hi folks,

I'm sure they'll eventually add the ability to easily delete multiple recordings to HDHomeRun, but I'm sick of waiting around, so
I wrote a nice, very simple web page with javascript that gives you a nice UI for deleting multiple recordings.
You can find it here. Free for all: https://github.com/slimandslam/hdhomeru ... on-manager

Jason

tvlooker
Posts: 7
Joined: Wed Apr 05, 2023 12:02 pm
x 4

Re: Easy Multiple Recording Deletion

Post by tvlooker »

Sample screen shot

Image

choris
Posts: 3
Joined: Wed Oct 21, 2026 12:02 pm

Re: Easy Multiple Recording Deletion

Post by choris »

I am surprised there are no replies to your (tvlooker) posting. This is an amazing piece of work and usable first time in. So a big THANK YOU for doing this. I didn't really need it's functionality so much as I wanted to see a code example of how to extract file information from my HD devices and this was a great example. I will be using it for it's intended purpose of course ( I still remember deleting about 100 and more episodes of a particular sitcom that I didn't want any more). The project I am interested in doing is automation in moving the media files off of the attached drive to a network drive. I think there is software at SiliconDust to have it recorded to network drives directly but I would want to time shift that to less trafficked network times. Anyway I am not sure if I can succeed in this since I am a newbie programmer especially with html. Anyway KUDOS to a great effort. choris

wtg
Posts: 254
Joined: Thu Jan 18, 2007 5:21 am
Device ID: Flex 4k
x 2

Re: Easy Multiple Recording Deletion

Post by wtg »

Thanks for this even if it's unfortunately not working for me. I use a Linux desktop and the LibreWolf browser. For reasons unknown http://hdhomerun.local has never resolved for me but of course using the IP address works fine. Doesn't seem to work with this however. When I supply the IP address, I get the following error:

Code: Select all

Failed to load recordings from http://192.168.1.11/recorded_files.json. If your browser console shows a CORS error, you need to open this page from the same network context as the HDHomeRun device, or run it via a local file/server with browser security relaxed for local testing. Details: NetworkError when attempting to fetch resource.
The recordings page opens fine in the browser and can be retrieved with curl and what-not, but I guess since I'm loading the file from the local computer directly, via file:/// syntax, it won't work, right? I assume I need to spin up a local server instead. Are there other ways to make it work?

choris
Posts: 3
Joined: Wed Oct 21, 2026 12:02 pm

Re: Easy Multiple Recording Deletion

Post by choris »

Thanks for the comments. Well it worked for me "somewhat" It did delete some movies "BUT" now I'm getting duplicate movies names when I bring up url/recorded_files. I haven't dug into it to try to find out what is going on yet but I did try to understand the code and it's difficult for me to follow what it's trying to do. So after I sort out the files that are still there and trying to resolve the problems I probably won't be using this and if the creator of it is no longer in the mix we probably won't hear anything. I just want to say to anyone that wants to use this to go at it slow to minimize risks to your media files.

Post Reply