We're proposing a new Media Management System to centralize and streamline how we handle media files across different modules in our project. This issue is to discuss the proposed architecture and technical specifications.
Key Points:
Centralized media check-in process
Avoidance of duplicate media entries
Automatic reference tracking
Integration with existing parser systems
Proposed Changes:
New check_in_media function that modules will use to register media files
New database tables: media_items and media_references
Modules will store MediaReference objects as cell values
Updates to automatic parsers in ilapfuncs.py and lavafuncs.py to handle MediaReference objects
The check_in_media function will add the metadata as stated in the documents for review into a data structure that LAVA will use in order to display the media and the metadata to the user.
Refactoring of module code will be minimal so far as long as the HTML output is still used. This we hope will not be a long time.
The seeker functions in the LEAPP will need to be refactored considerably in order to add this new functionality in a way that is transparent to the module developer.
The data directory in the LEAPP report folder will be the ultimate repository of all data to include media. This will provide consistency across all reporting sources be it zip, tar, or from a directory in the file system.
Any metadata we can pull from files we should. I agree on EXIF data as soon as feasible.
As discussed previously the app loading items as they are being accessed is a key feature of this reporting system.
The LAVA database will have the paths for each file it needs to show module table. As the user moves from module to module in LAVA the tool will just use the reference. The metadata will be on the media/file data structure.
Media Manager Implementation Discussion
We're proposing a new Media Management System to centralize and streamline how we handle media files across different modules in our project. This issue is to discuss the proposed architecture and technical specifications.
Key Points:
Proposed Changes:
check_in_media
function that modules will use to register media filesmedia_items
andmedia_references
MediaReference
objects as cell valuesMediaReference
objectsDocuments for Review:
Questions for Discussion:
check_in_media
function signature sufficient? Should we add or remove any parameters?Please review the linked documents and share your thoughts, concerns, or suggestions.