Skip to content

Commit

Permalink
Merge pull request #2120 from jellyfin/jf-2.3.0-fixes
Browse files Browse the repository at this point in the history
2.3.0
  • Loading branch information
jimdogx authored Feb 3, 2025
2 parents ead387a + 88c37dd commit 8a9fa04
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 28 deletions.
16 changes: 8 additions & 8 deletions components/WhatsNewDialog.bs
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ sub init()
"fontUri": "font:SystemFontFile",
"color": "#EFEFEFFF"
},
"url": {
"author": {
"fontSize": 27,
"fontUri": "font:SystemFontFile",
"color": "#00a4dcFF"
"color": "0xff6867FF"
}
}

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

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

sub setPalette()
Expand Down
5 changes: 3 additions & 2 deletions components/movies/MovieDetails.bs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ sub init()

main = m.top.findNode("main_group")
main.translation = [96, 175]
overview = m.top.findNode("overview")
overview.width = 1920 - 96 - 300 - 96 - 30
m.overview = m.top.findNode("overview")

m.details = m.top.findNode("details")
m.tagline = m.top.findNode("tagline")
Expand Down Expand Up @@ -103,12 +102,14 @@ sub itemContentChanged()
m.top.id = itemData.id

posterUrl = item.posterURL
m.overview.width = 1400

' Really need to update TvShowDetails to include the options for changing audio tracks etc
' so that we can use that instead of MovieDetails when a user clicks on a TV Show in "Next Up"
if LCase(itemData.type) = "episode" and IsValid(itemData.ImageTags)
m.moviePoster.width = 464
m.moviePoster.height = 261
m.overview.width = 1000
params = { "Tag": itemData.ImageTags.Primary, "maxHeight": 261, "maxWidth": 464 }
posterUrl = ImageURL(itemData.id, "Primary", params)
end if
Expand Down
18 changes: 0 additions & 18 deletions source/static/whatsNew/2.0.5.json

This file was deleted.

26 changes: 26 additions & 0 deletions source/static/whatsNew/details.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[
{
"description": "Next Up behavior update for TV Shows",
"author": "Renbo2024"
},
{
"description": "Hide Time of Completion OSD for Hide Clocks setting",
"author": "Renbo2024"
},
{
"description": "Add channel number to Live TV channel title",
"author": "Michael Cresswell"
},
{
"description": "Enable OSD for intro videos",
"author": "sivart73"
},
{
"description": "Show user icon for saved users",
"author": "SonicMastr"
},
{
"description": "Add Live TV Channels, People and Playlists to search",
"author": "jimdogx"
}
]

0 comments on commit 8a9fa04

Please sign in to comment.