Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is MediaItemTranscoded class obsolete ? #157

Open
thomasfillon opened this issue Mar 7, 2017 · 1 comment
Open

Is MediaItemTranscoded class obsolete ? #157

thomasfillon opened this issue Mar 7, 2017 · 1 comment
Labels

Comments

@thomasfillon
Copy link
Member

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
Copy link
Member Author

thomasfillon commented Mar 7, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant