Skip to content

Traversal node api#55

Open
pascalin wants to merge 5 commits intoconvidauam:mainfrom
pascalin:traversal_node_api
Open

Traversal node api#55
pascalin wants to merge 5 commits intoconvidauam:mainfrom
pascalin:traversal_node_api

Conversation

@pascalin
Copy link
Copy Markdown
Contributor

This pull request introduces support for audio content within the honeycomb application, including a new CellAudio model 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:

  • Added a new CellAudio class to represent audio cells, including metadata fields (name, title, mime, length) and binary data storage. (honeycomb/models/beehive.py)
  • Implemented new views for CellAudio:
    • audio_metadata_view: Returns audio metadata as JSON for XHR GET requests. (honeycomb/views/default.py)
    • audio_stream_view: Streams audio data using FileIter for GET requests to the stream endpoint. (honeycomb/views/default.py)
  • Imported FileIter for efficient file streaming in views. (honeycomb/views/default.py)

Configuration updates for blob storage:

  • Updated the ZODB connection URI in both development.ini and production.ini to set blobstorage_dir, enabling proper handling of large binary files such as audio blobs. [1] [2]

pascalin and others added 5 commits March 9, 2026 22:04
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant