Skip to content

Commit

Permalink
TTK-27400: Fix multistream track language access
Browse files Browse the repository at this point in the history
  • Loading branch information
albacodina committed Dec 4, 2024
1 parent cddac98 commit 75364b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</a>
&nbsp;|&nbsp;&nbsp;
<span class="language">
{% set lang = (object.getProperty('opencastlanguage')?(object.getProperty('opencastlanguage')|lower):(object.isMultistream()?object.getFilteredTrackWithTags(['display'], [], [], []).getLanguage():'en')) %}
{% set lang = (object.getProperty('opencastlanguage')?(object.getProperty('opencastlanguage')|lower):(object.isMultistream()?object.getFilteredTrackWithTags(['display'], [], [], []).language():'en')) %}
{{ is_addon_language(lang) ? lang | language_name_custom : lang | language_name | capitalize }}
</span>
&nbsp;|&nbsp; {{ mmobj_duration(object) | duration_string }}
Expand Down

0 comments on commit 75364b5

Please sign in to comment.