internetarchive / dweb-archivecontroller

GNU Affero General Public License v3.0
7 stars 2 forks source link

_formatarr handle subtypes #7

Closed mitra42 closed 4 years ago

mitra42 commented 4 years ago

Context There is overlap with same extension used for multiple formats. e.g.

'VBR MP3'    => '_vbr.m3u',
'64KBPS MP3' => '_64kb.m3u',

Proposal and Constraints Allow the ext field to have strings like '_vbr.m3u'

Check whether its ever used to search by extension, and figure out whether should search by the subtype first.

Success Metrics Will depend on how used in the code.

Stakeholders

mitra42 commented 4 years ago

Was fixed elsewhere and I added the VBR and 64KBS examples