Ticket #158 (closed enhancement: fixed)

Opened 12 months ago

Last modified 10 months ago

Play request: play transcoding with profile_id=... for original = ...

Reported by: MC-arjen Owned by: arjen
Priority: major Milestone: MediaMosa 1.7
Component: Core Version: 1.7.0.1
Keywords: Cc:
MoSCoW: Estimated time after impact analysis:
Related to project: Rich Media Tested:
Accepted: yes Estimated Hours:

Description

since we support several original mediafiles per asset, we need a play request possibility with the the only known information:
- original mediafile_id
- profile_id

Which translates to: "give me the transcoded file according profile_id = {profile_id} of the original {mediafile_id}".

Change History

Changed 12 months ago by forgacs

  • owner changed from forgacs to robert
  • status changed from new to assigned

The development is ready. Robert has to review the code.

Changed 11 months ago by robert

  • status changed from assigned to closed
  • resolution set to ready for review

Changed 10 months ago by robert

  • status changed from closed to reopened
  • resolution ready_for_review deleted

Changed 10 months ago by robert

  • status changed from reopened to closed
  • resolution set to fixed

Changed 10 months ago by MC-arjen

  • status changed from closed to reopened
  • resolution fixed deleted

missing documentation in asset/$asset_id/play ?

Changed 10 months ago by MC-arjen

  • owner changed from robert to forgacs
  • status changed from reopened to assigned

Changed 10 months ago by forgacs

  • owner changed from forgacs to arjen

Api was improved:
http://mediamosa.org/node/3512

Changed 10 months ago by MC-arjen

  • status changed from assigned to closed
  • resolution set to fixed

included in release 1.7.0.1.

Changed 10 months ago by Frans

  • version set to 1.7.0.1

(MC-arjen) Added an extra play request option: /asset/id/play with
profile_id=... for original = ... Which translates to: "play the file
which is transcoded according profile_id = {profile_id} of the
original {mediafile_id}".

Changed 10 months ago by Michiel.Schok

  • accepted changed from no to yes

First the bad news: documentation
Current (1.7 dev) documentation is at http://mediamosa.org/node/5100
1.6 documentation is at http://mediamosa.org/node/3512 and should be rolled back to the previous version as in 1.6 there was no support for the new options.
1.5 documentation is at http://mediamosa.org/node/4766 and also shows the new options.

Second: good news - technical
It works as described, when multiple original files are available in an asset, and multiple transcodings of those originals are available, it's possible to request play and download URL's this way.

Third: a question
In the documentation, also the 'tag' parameter is provided.
I hoped a call like /asset/{id}/play?tag=xyz&user_id=foo would be working, but that is not the case. It requires a mediafile_id. Is tag implemented?
Yes: please give an usage example
No: please remove it from documentation (and maybe add a new ticket). I foresee the use of a 'preview' tag in SURFmedia, which can be on transcode id 13 (as for now), but also on different mediafiles on that asset...

Changed 10 months ago by forgacs

/asset/{id}/play?tag=
It is not implemented. Removed from the documentation.

Changed 10 months ago by Michiel.Schok

Added a new ticket #216 in MediaMosa x.x to request for tag support in /asset/{id}/play

Note: See TracTickets for help on using tickets.