Skip to content

Commit

Permalink
Merge branch 'master' into viv-fix-forced-subs
Browse files Browse the repository at this point in the history
  • Loading branch information
jimdogx authored Dec 20, 2024
2 parents 6306b4b + f73b335 commit b0b58be
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
2 changes: 0 additions & 2 deletions components/video/VideoPlayerView.bs
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,6 @@ sub onSubtitleChange()
m.top.control = VideoControl.STOP

m.LoadMetaDataTask.selectedSubtitleIndex = m.top.SelectedSubtitle
m.LoadMetaDataTask.selectedAudioStreamIndex = m.top.audioIndex
m.LoadMetaDataTask.itemId = m.top.id
m.LoadMetaDataTask.observeField("content", "onVideoContentLoaded")
m.LoadMetaDataTask.control = TaskControl.RUN
Expand All @@ -384,7 +383,6 @@ sub onAudioIndexChange()

m.top.control = VideoControl.STOP

m.LoadMetaDataTask.selectedSubtitleIndex = m.top.SelectedSubtitle
m.LoadMetaDataTask.selectedAudioStreamIndex = m.top.audioIndex
m.LoadMetaDataTask.itemId = m.top.id
m.LoadMetaDataTask.observeField("content", "onVideoContentLoaded")
Expand Down
12 changes: 8 additions & 4 deletions source/api/Items.bs
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,14 @@ function MusicAlbumList(id as string)
tmp.RunTimeTicks = item.LookupCI("RunTimeTicks")

tmp.shortdescriptionline1 = item.LookupCI("name")
tmp.HDGRIDPOSTERURL = tmp.image.url
tmp.hdposterurl = tmp.image.url
tmp.SDGRIDPOSTERURL = tmp.image.url
tmp.sdposterurl = tmp.image.url

if isChainValid(tmp, "image.url")
tmp.HDGRIDPOSTERURL = tmp.image.url
tmp.hdposterurl = tmp.image.url
tmp.SDGRIDPOSTERURL = tmp.image.url
tmp.sdposterurl = tmp.image.url
end if

results.push(tmp)
end for

Expand Down
8 changes: 8 additions & 0 deletions source/static/whatsNew/1.1.4.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,13 @@
{
"description": "Pressing back on home screen focuses 1st item in row, or exits channel if already there",
"author": "jimdogx"
},
{
"description": "Fix issue that could prevent changing audio & subtitle tracks",
"author": "jimdogx"
},
{
"description": "Fix possible crash if music album doesn't have an image",
"author": "1hitsong"
}
]

0 comments on commit b0b58be

Please sign in to comment.