Skip to content

Commit 8a9fa04

Browse files
authored
Merge pull request #2120 from jellyfin/jf-2.3.0-fixes
2.3.0
2 parents ead387a + 88c37dd commit 8a9fa04

File tree

4 files changed

+37
-28
lines changed

4 files changed

+37
-28
lines changed

components/WhatsNewDialog.bs

+8-8
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ sub init()
1515
"fontUri": "font:SystemFontFile",
1616
"color": "#EFEFEFFF"
1717
},
18-
"url": {
18+
"author": {
1919
"fontSize": 27,
2020
"fontUri": "font:SystemFontFile",
21-
"color": "#00a4dcFF"
21+
"color": "0xff6867FF"
2222
}
2323
}
2424

25-
' empty line for spacing
26-
textLine = m.content.CreateChild("StdDlgMultiStyleTextItem")
27-
textLine.text = ""
25+
whatsNewList = ParseJSON(ReadAsciiFile("pkg:/source/static/whatsNew/details.json"))
2826

29-
textLine = m.content.CreateChild("StdDlgMultiStyleTextItem")
30-
textLine.drawingStyles = dialogStyles
31-
textLine.text = tr("To view a complete list of changes visit") + " <url>https://github.com/jellyfin/jellyfin-roku/releases/tag/v" + appVersion + "</url>"
27+
for each item in whatsNewList
28+
textLine = m.content.CreateChild("StdDlgMultiStyleTextItem")
29+
textLine.drawingStyles = dialogStyles
30+
textLine.text = "• " + item.description + " <author>" + item.author + "</author>"
31+
end for
3232
end sub
3333

3434
sub setPalette()

components/movies/MovieDetails.bs

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ sub init()
1212

1313
main = m.top.findNode("main_group")
1414
main.translation = [96, 175]
15-
overview = m.top.findNode("overview")
16-
overview.width = 1920 - 96 - 300 - 96 - 30
15+
m.overview = m.top.findNode("overview")
1716

1817
m.details = m.top.findNode("details")
1918
m.tagline = m.top.findNode("tagline")
@@ -103,12 +102,14 @@ sub itemContentChanged()
103102
m.top.id = itemData.id
104103

105104
posterUrl = item.posterURL
105+
m.overview.width = 1400
106106

107107
' Really need to update TvShowDetails to include the options for changing audio tracks etc
108108
' so that we can use that instead of MovieDetails when a user clicks on a TV Show in "Next Up"
109109
if LCase(itemData.type) = "episode" and IsValid(itemData.ImageTags)
110110
m.moviePoster.width = 464
111111
m.moviePoster.height = 261
112+
m.overview.width = 1000
112113
params = { "Tag": itemData.ImageTags.Primary, "maxHeight": 261, "maxWidth": 464 }
113114
posterUrl = ImageURL(itemData.id, "Primary", params)
114115
end if

source/static/whatsNew/2.0.5.json

-18
This file was deleted.

source/static/whatsNew/details.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[
2+
{
3+
"description": "Next Up behavior update for TV Shows",
4+
"author": "Renbo2024"
5+
},
6+
{
7+
"description": "Hide Time of Completion OSD for Hide Clocks setting",
8+
"author": "Renbo2024"
9+
},
10+
{
11+
"description": "Add channel number to Live TV channel title",
12+
"author": "Michael Cresswell"
13+
},
14+
{
15+
"description": "Enable OSD for intro videos",
16+
"author": "sivart73"
17+
},
18+
{
19+
"description": "Show user icon for saved users",
20+
"author": "SonicMastr"
21+
},
22+
{
23+
"description": "Add Live TV Channels, People and Playlists to search",
24+
"author": "jimdogx"
25+
}
26+
]

0 commit comments

Comments
 (0)