Closed OttoKerner closed 5 years ago
Added Forced and Title
Backend call /api/v3/pms/getSubtitles/<key>
now returns like:
[
{
"languageCode": "eng",
"title": "English-Forced",
"url": null,
"selected": null,
"forced": "1",
"codec": "srt",
"location": "Embedded",
"key": "226628"
},
{
"languageCode": "dan",
"title": null,
"url": "file:///share/CACHEDEV1_DATA/video/new/movies/jan/AAA (2017)/AAA.da.srt",
"selected": "1",
"forced": null,
"codec": "srt",
"location": "Sidecar",
"key": "226300"
},
{
"languageCode": "por",
"title": null,
"url": "file:///share/CACHEDEV1_DATA/video/new/movies/jan/AAA (2017)/AAA.pt-br.srt",
"selected": null,
"forced": null,
"codec": "srt",
"location": "Sidecar",
"key": "226917"
}
]
Don't forget that sidecar subtitles can also be 'forced'.
"url": "file:///share/CACHEDEV1_DATA/video/new/movies/jan/AAA (2017)/AAA.da.forced.srt"
I have also seen the forced flag used before the language flag
AAA.forced.da.srt
Forced is in the xml returned by PMS, so simply relaying it to the frontend
Sadly, dev work has been put on hold, due to plugins been discontinued by Plex
Ref: https://www.plex.tv/blog/subtitles-and-sunsets-big-improvements-little-housekeeping/
No new versions will be release, and this project has been put on hold
UAS will still be maintained for as long as it lasts
In the 'Subtitle' module, it'd help tremendously if one could also see if a subtitle has been marked as 'forced'.
Additionally, the MKV container supports 'title' tags on all stream types. If the MKV was authored with care, one can glean important information abotu the subtitle from there.
Plex is already importing this into the database, but doesn't expose it in the GUI, except in the mediainfo: