########################################################################################## PIDVR-10: Design Egress API ########################################################################################## Issue Type: Task ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Closed Resolution: Won't Fix (2021-05-26 17:49:50) Project: PiDVR (PIDVR) Reported By: btasker Assigned To: btasker Labels: API, Design, Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue 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. ----------------------------------------------------------------------------------------- Activity ========== ----------------------------------------------------------------------------------------- 2021-05-26 17:49:50 btasker ----------------------------------------------------------------------------------------- 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). ----------------------------------------------------------------------------------------- 2021-05-26 17:49:50 ----------------------------------------------------------------------------------------- btasker changed status from 'Open' to 'Resolved' ----------------------------------------------------------------------------------------- 2021-05-26 17:49:50 ----------------------------------------------------------------------------------------- btasker added 'Won't Fix' to resolution ----------------------------------------------------------------------------------------- 2021-05-26 17:49:54 ----------------------------------------------------------------------------------------- btasker changed status from 'Resolved' to 'Closed'