mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
show tips on web client home page
This commit is contained in:
parent
6802a45d77
commit
18c08d74f1
3 changed files with 32 additions and 2 deletions
|
@ -676,12 +676,12 @@
|
|||
}
|
||||
|
||||
// If none then look at user configuration
|
||||
if (user.Configuration.AudioLanguagePreference) {
|
||||
if (user.Configuration.SubtitleLanguagePreference) {
|
||||
|
||||
for (i = 0, length = mediaStreams.length; i < length; i++) {
|
||||
mediaStream = mediaStreams[i];
|
||||
|
||||
if (mediaStream.Type == "Audio" && mediaStream.Language == user.Configuration.AudioLanguagePreference) {
|
||||
if (mediaStream.Type == "Subtitle" && mediaStream.Language == user.Configuration.SubtitleLanguagePreference) {
|
||||
|
||||
if (user.Configuration.UseForcedSubtitlesOnly) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue