toniebox-reverse-engineering / teddycloud

teddyCloud is an open source server replacement for the Boxine Cloud
https://toniebox-reverse-engineering.github.io/docs/tools/teddycloud/
GNU General Public License v2.0
487 stars 36 forks source link

Add basic metadata to custom TAFs (Series/Episode/ImageURL) #188

Open SciLor opened 5 months ago

SciLor commented 5 months ago

The TAF-Header has 4096 bytes of usable data, only a fraction is used currently. So there is space to add some basic metadata.

This is already done for encoding purposes: https://github.com/toniebox-reverse-engineering/teddycloud/blob/master/proto/toniebox.pb.taf-header.proto

henryk86 commented 5 months ago

Tracks as string-array should also be added. And maybe for the teddycloud audioplayer the track-starting times in seconds as array

g3gg0 commented 5 months ago

Yep, we had this in mind also. However if done peoperly (in protobuf stream), it will most likely cause more memory usage. Is this working with all stock firmware revisions?

If put behind protobuf data, it was unclear if it would cause other issues due to nonconformance.

Did you do some tests?

cloud74pebble commented 2 months ago

Maybe a custom.audio.json could help to manage the taf files. I currently use the custom.tonies.json to make the tafs look more beautiful in the web-if. An additional json-file would keep the custom.tonies.json cleaner...