Search found 6 matches

by bwsd19
Mon Feb 01, 2021 9:16 am
Forum: Development Support
Topic: DVR prune episodes python script
Replies: 7
Views: 970

Re: DVR prune episodes python script

Easiest thing may be to just duplicate the script and configure a different script for each device. That's the no code approach. But, if you like to code, not the "elegant" approach. Have fun.
by bwsd19
Wed Jan 20, 2021 2:41 pm
Forum: Development Support
Topic: DVR prune episodes python script
Replies: 7
Views: 970

Re: DVR prune episodes python script

Thanks. You reminded me I hadn't posted the bug fix. Glad it works for you.
by bwsd19
Sun Dec 20, 2020 11:24 am
Forum: Development Support
Topic: DVR prune episodes python script
Replies: 7
Views: 970

DVR prune episodes python script

The only feature I miss on the Quatro compared to my DirecTV DVR is the ability to control the number of episodes recorded. I wrote this python script to handle that until the feature is native in the SD device. I have the script run once a day in a cron job on a Raspberry Pi using python3. I am not...
by bwsd19
Fri Dec 18, 2020 7:20 am
Forum: Development Support
Topic: Deleting recording
Replies: 7
Views: 1289

Re: Deleting recording

I got it working. Problem was on Python side. The post method I was using required a URL and then data to use with the post command. I was trying to put the 'cmd=delete' in the data section of the call, using CMDUrl as the URL. Solution was to simply append the command to the CMDUrl for the URL in t...
by bwsd19
Fri Dec 18, 2020 7:09 am
Forum: Development Support
Topic: Deleting recording
Replies: 7
Views: 1289

Re: Deleting recording

Thanks for the quick reply. Which cache are you referring to? If there's one on the Scribe, I haven't come across the command for that, would you mind sharing it? The python program is a stand-alone running on a raspberryPi, so I don't think there's a cache to clear on that side. It queries the Scri...
by bwsd19
Fri Dec 18, 2020 6:11 am
Forum: Development Support
Topic: Deleting recording
Replies: 7
Views: 1289

Re: Deleting recording

Hi, I'm attempting to do the same thing in python and getting the "400 Bad Request" response too. Can you provide additional info on how you got this to work and confirm that POST rather than GET was the solution? I'm new to python and post/get methods, so the issue may be there, but can you confirm...