PIDVR-10: Design Egress API



Issue Information

Issue Type: Task
 
Priority: Major
Status: Closed

Reported By:
Ben Tasker
Assigned To:
Ben Tasker
Project: PiDVR (PIDVR)
Resolution: Won't Fix (2021-05-26 17:49:50)
Labels: API, Design,

Created: 2014-11-08 14:58:22
Time Spent Working


Description
There should be a second API, specifically for allowing storage devices to grab recordings from the recordings_cache.

Actual download will be via HTTP (See PIDVR-9), but some sort of API call will be needed to ascertain the filename which should be requested.

It seems that TVHeadEnd doesn't have an API per se, but that it's possible to use JSON POST requests in order to achieve the functionality normally offered through the Web interface.

A storage appliance wanting to grab a recording will need to know the following (as a minimum)

- Subdirectory to find the recording in (if any)
- Filename of the recording

Ideally, it should also be able to retrieve

- Filesize
- Series Name (and number)
- Episode Name (and number)
- If possible a checksum to aid in download verification

Once it's retrieved and verified the recording, it should be possible to trigger deletion of the file, though that will probably be implemented seperately.


Toggle State Changes

Activity


Closing as Won't Fix - it's been 6.5 years, I'm not likely to work on this again (and will likely start from scratch if I ever decide to).
btasker changed status from 'Open' to 'Resolved'
btasker added 'Won't Fix' to resolution
btasker changed status from 'Resolved' to 'Closed'