Open
Conversation
ToDo: .icon podría ser un blob también, cuando no sea proporcionado se podría usar un ícono por defecto correspondiente a alguno de los siguientes orígenes: honeycomb -> beehive -> distribución
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces support for audio content within the honeycomb application, including a new
CellAudiomodel for storing audio metadata and data, as well as new views for serving audio metadata and streaming audio files. Additionally, it updates the ZODB connection configuration to specify a directory for blob storage, which is important for handling large binary files such as audio.Audio content support:
CellAudioclass to represent audio cells, including metadata fields (name,title,mime,length) and binary data storage. (honeycomb/models/beehive.py)CellAudio:audio_metadata_view: Returns audio metadata as JSON for XHR GET requests. (honeycomb/views/default.py)audio_stream_view: Streams audio data usingFileIterfor GET requests to thestreamendpoint. (honeycomb/views/default.py)FileIterfor efficient file streaming in views. (honeycomb/views/default.py)Configuration updates for blob storage:
development.iniandproduction.inito setblobstorage_dir, enabling proper handling of large binary files such as audio blobs. [1] [2]