Telemeta icon indicating copy to clipboard operation
Telemeta copied to clipboard

Is MediaItemTranscoded class obsolete ?

Open thomasfillon opened this issue 7 years ago • 1 comments

MediaItemTranscoded does not seem to be used anymore (appart from appearing in admin view but apparently no new objects are created).

Has it been replaced by MediaItemTranscodingFlag ? The last one seems to be used in item-export view but is absent from admin view.

Should the 2 classes be merged together in order:

  • for transcoding information to be create and set when a new media is required and
  • for administration view to show transcoded media related to an item.

Note: Most of these should probably move to Timeside.

thomasfillon avatar Mar 07 '17 13:03 thomasfillon

Another related question: In item_export view, is there an advantage to store and retrieve this information from the database over this kind of pattern:

media_file = self.get_media_path(extension) # to be defined
try:
    serve(media_file)
except IOError:
    # transcode and stream/serve media_file

thomasfillon avatar Mar 07 '17 14:03 thomasfillon