Create media archive collection #214
Labels
No labels
Bug
Cleanup/Refactor
Core Feature
Documentation
Feature
Performance Improvement
Security Improvement
UX/Accessibility
Unreproducable Bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#211 Optimize Scheduler DB
rainbownapkin/canopy
Reference: rainbownapkin/canopy#214
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Create mongoose model/mongodb collection to hold all archived media from all channels. Each document should represent a single piece of archived media.
When a user requests information in the archive, it can be searched by a combination of channel name+date.
This small annoyance dealing with the archive will SEVERELY reduce the amount of information kept in each individual channel document, without requiring the much more flexible actively scheduled information to be mixed together into a single, messy collection.
Started work on archived media collection:
855343dfc3Updated queue to save archived media to site-wide collection:
4dbc5b69cfStill need to update the following frome the queue.js class:
dumpQueue Debug function - Dumping Archive (:436)-bbb3576a7dremoveMedia function - searching/deleting item from archive (:788-:796)-ae294b3f78&ee47e1b844prepQueue - pull last day from archive for network transmission (:1746-:1766)-ae294b3f78RehydrateQueue - recovering from livestream after server shutdown/crash (:1853-:1880)-3ca91288d2After those four changes, we should be done with this feature out side of the work to be done under #217.
Fixed dumpQueue debug function to return data from site-wide archived collection:
bbb3576a7dUpdated prepQueue function to pull from site-wide archive collection. Started work on updating removeMedia function:
ae294b3f78Updated removeMedia() function to remove archived media from site-wide media archive:
ee47e1b844Fixed post-crash recovery for actively livestreaming channels:
3ca91288d2