Skip to content

Commit

Permalink
fix app crash in some scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
Manish Rawat committed Aug 23, 2020
1 parent 9f867a6 commit 8bebca6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,12 @@ sub preloadmedia()
if previousvideocontenturl <> selectedmediaitem.url
videoContent = createObject("RoSGNode", "ContentNode")
videoContent.url = selectedmediaitem.url
m.mediaFileName.text = selectedmediaitem.hostname + " | " + selectedmediaitem.title
if selectedmediaitem.hostname <> invalid
m.mediaFileName.text = selectedmediaitem.hostname + " | " + selectedmediaitem.title
else
m.mediaFileName.text = selectedmediaitem.title
end if

httpAgent = CreateObject("roHttpAgent")

if selectedmediaitem.headers <> invalid
Expand Down
2 changes: 1 addition & 1 deletion manifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title=Simple Roku Media Player
major_version=2
minor_version=1
build_version=0
build_version=1
mm_icon_focus_hd=pkg:/images/new-new-logo-336x210.png
mm_icon_focus_sd=pkg:/images/new-new-logo-248x140.png
subtitle=A Simple Roku Media Player
Expand Down

0 comments on commit 8bebca6

Please sign in to comment.