[mythtv-users] Deleting recordings after conversion
Bill Meek
keemllib at gmail.com
Fri Oct 18 18:06:56 UTC 2013
On 10/18/2013 12:46 PM, George Nassas wrote:
...
> I’d like to throw in a suggestion to use the services API:
>
> curl "http://backendIP:6544/Dvr/RemoveRecorded?ChanId=$CHANID&StartTime=$STARTIME”
>
> will do the trick. You’d need a little shell date wizardry to get the start time in an
> acceptable format but that’s about it. Two lines in a shell script and you’re *isolated*
> from future myth internal changes...
Unless the API changes ;) Not a bad thing, just something to be aware of.
Also, if the API changes data, doesn't it require a POST rather than
the default GET? So --request POST would be required (I didn't want to
delete anything, so I didn't check.)
--
Bill
More information about the mythtv-users
mailing list