Page MenuHomePhabricator

TimedMediaHandler should handle OGG/Vorbis length efficiently
Open, MediumPublic

Description

As a follow-up to T49533, I am unsatisfied with the two-part resolution:

The solution was for MediaWiki-extensions-Score to calculate (using TMH) and then store the length of the generated audio file, and for TimedMediaHandler to allow the value to be directly passed. As @Reedy ponders: "Wonder if this should be moved into TMH?" There was no answer specifically to that question. The parent task shows why the MIDI->audio conversion should in TMH, and not Score. This is another part of that larger issue.