Skip to content

Commit

Permalink
Merge pull request #1847 from jellyfin/2.1.z
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert authored Jul 22, 2024
2 parents a850764 + b580bd4 commit b470f30
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# If you want to get_images, you'll also need convert from ImageMagick
##########################################################################

VERSION := 2.1.1
VERSION := 2.1.2

## usage

Expand Down
1 change: 1 addition & 0 deletions components/data/MovieData.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import "pkg:/source/utils/config.bs"
import "pkg:/source/utils/misc.bs"

sub setFields()
if not isValid(m.top.json) then return
json = m.top.json

m.top.id = json.id
Expand Down
5 changes: 4 additions & 1 deletion components/data/TVEpisodeData.bs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import "pkg:/source/utils/misc.bs"

sub setFields()
if not isValid(m.top.json) then return
datum = m.top.json

m.top.id = datum.id
Expand All @@ -10,7 +13,7 @@ sub setFields()
end sub

sub setPoster()
if m.top.image <> invalid
if isValid(m.top.image)
m.top.posterURL = m.top.image.url
else
m.top.posterURL = ""
Expand Down
2 changes: 1 addition & 1 deletion manifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
title=Jellyfin
major_version=2
minor_version=1
build_version=1
build_version=2

### Main Menu Icons / Channel Poster Artwork

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jellyfin-roku",
"type": "module",
"version": "2.1.1",
"version": "2.1.2",
"description": "Roku app for Jellyfin media server",
"dependencies": {
"@rokucommunity/bslib": "0.1.1",
Expand Down
2 changes: 1 addition & 1 deletion source/Main.bs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ sub Main (args as dynamic) as void
end if

seasonMetaData = ItemMetaData(currentScene.seasonData.id)
currentScene.seasonData = seasonMetaData.json
if isValid(seasonMetaData) then currentScene.seasonData = seasonMetaData.json
currentScene.episodeObjects = currentScene.objects
currentScene.callFunc("updateSeason")
end if
Expand Down

0 comments on commit b470f30

Please sign in to comment.