Feature #2235
Add support for mime type of subtitle files in the backend
0%
Description
For detecting subtitle files in the android app, different mime types need to be added to the backend server.
Following is a list of subtitle extensions supported by libvlc:
.idx, .sub, .srt, .ssa, .ass, .smi, .utf, .utf8, .utf-8, .rt, .aqt, .txt, .usf, .jss, .cdg, .psb, .mpsub, .mpl2, .pjs, .dks, .stl, .vtt
Out of these .srt and .sub are the most popular ones, their mime types are as follows:
.srt -> application/x-subrip
.sub -> text/vnd.dvb.subtitle
Sources:
1. http://bit.ly/2pwP27H
2. https://wiki.videolan.org/subtitles
3. http://bit.ly/2qoafR8
History
#1 Updated by cpg over 3 years ago
what about the rest? what should be the mime type?
#2 Updated by csoni111 over 3 years ago
I was unable to find the mime types for the rest of the extensions. We can have a common mime type something like "text/subtitle" for them.
#3 Updated by cpg over 3 years ago
upon some brief discussion, we went with application/x-subtitle for the rest of the extensions.
will be released shortly as amahi-anywhere-1.63-1 for amahi 10 (and maybe amahi 9).
#4 Updated by cpg over 3 years ago
- Status changed from New to Closed
- Assignee set to cpg
#5 Updated by cpg over 3 years ago
- Status changed from Closed to Assigned
- Assignee changed from cpg to bigfoot65
actually, could you turn on the f23-repo master for me (no rush) and snd this bug back to me, so we release this update. it may help some people and will be useful to have once we release the updated app that can use this support.
#6 Updated by bigfoot65 over 3 years ago
- Assignee changed from bigfoot65 to cpg
F23 Repo is up and running.
Also available in: Atom