Update API docs

This commit is contained in:
jellyfin-bot 2023-11-11 02:08:52 +00:00
parent bf059c0f8c
commit 109c4cba11
273 changed files with 3006 additions and 3002 deletions

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/ButtonGroupHoriz.brs</title>
<title>jellyfin-roku api docs Source: components/ButtonGroupHoriz.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/ButtonGroupHoriz.brs</h1>
<h1 class="page-title">Source: components/ButtonGroupHoriz.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/Buttons/JFButtons.brs</title>
<title>jellyfin-roku api docs Source: components/Buttons/JFButtons.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/Buttons/JFButtons.brs</h1>
<h1 class="page-title">Source: components/Buttons/JFButtons.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/Buttons/TextSizeTask.brs</title>
<title>jellyfin-roku api docs Source: components/Buttons/TextSizeTask.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/Buttons/TextSizeTask.brs</h1>
<h1 class="page-title">Source: components/Buttons/TextSizeTask.bs</h1>
<section>
<article>

View File

@ -70,7 +70,7 @@
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
sub init()

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/GetNextEpisodeTask.brs</title>
<title>jellyfin-roku api docs Source: components/GetNextEpisodeTask.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,12 +65,12 @@
<div id="main">
<h1 class="page-title">Source: components/GetNextEpisodeTask.brs</h1>
<h1 class="page-title">Source: components/GetNextEpisodeTask.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.bs"
import "pkg:/source/api/sdk.bs"
sub init()

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/GetPlaybackInfoTask.brs</title>
<title>jellyfin-roku api docs Source: components/GetPlaybackInfoTask.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,15 +65,15 @@
<div id="main">
<h1 class="page-title">Source: components/GetPlaybackInfoTask.brs</h1>
<h1 class="page-title">Source: components/GetPlaybackInfoTask.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.brs"
import "pkg:/source/utils/misc.brs"
import "pkg:/source/utils/deviceCapabilities.brs"
import "pkg:/source/api/baserequest.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.bs"
import "pkg:/source/utils/misc.bs"
import "pkg:/source/utils/deviceCapabilities.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/api/sdk.bs"
sub init()

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/GetShuffleEpisodesTask.brs</title>
<title>jellyfin-roku api docs Source: components/GetShuffleEpisodesTask.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,12 +65,12 @@
<div id="main">
<h1 class="page-title">Source: components/GetShuffleEpisodesTask.brs</h1>
<h1 class="page-title">Source: components/GetShuffleEpisodesTask.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.bs"
import "pkg:/source/api/sdk.bs"
sub init()

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/IconButton.brs</title>
<title>jellyfin-roku api docs Source: components/IconButton.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/IconButton.brs</h1>
<h1 class="page-title">Source: components/IconButton.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/ItemGrid/Alpha.brs</title>
<title>jellyfin-roku api docs Source: components/ItemGrid/Alpha.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/ItemGrid/Alpha.brs</h1>
<h1 class="page-title">Source: components/ItemGrid/Alpha.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/ItemGrid/FavoriteItemsTask.brs</title>
<title>jellyfin-roku api docs Source: components/ItemGrid/FavoriteItemsTask.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,14 +65,14 @@
<div id="main">
<h1 class="page-title">Source: components/ItemGrid/FavoriteItemsTask.brs</h1>
<h1 class="page-title">Source: components/ItemGrid/FavoriteItemsTask.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/UserLibrary.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/UserLibrary.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub init()
m.top.functionName = "setFavoriteStatus"

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/ItemGrid/GridItem.brs</title>
<title>jellyfin-roku api docs Source: components/ItemGrid/GridItem.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,13 +65,13 @@
<div id="main">
<h1 class="page-title">Source: components/ItemGrid/GridItem.brs</h1>
<h1 class="page-title">Source: components/ItemGrid/GridItem.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.brs"
import "pkg:/source/utils/misc.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.bs"
import "pkg:/source/utils/misc.bs"
import "pkg:/source/roku_modules/log/LogMixin.brs"
sub init()

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/ItemGrid/GridItemSmall.brs</title>
<title>jellyfin-roku api docs Source: components/ItemGrid/GridItemSmall.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,13 +65,13 @@
<div id="main">
<h1 class="page-title">Source: components/ItemGrid/GridItemSmall.brs</h1>
<h1 class="page-title">Source: components/ItemGrid/GridItemSmall.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
import "pkg:/source/utils/config.bs"
sub init()
m.itemPoster = m.top.findNode("itemPoster")

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/ItemGrid/ItemGrid.brs</title>
<title>jellyfin-roku api docs Source: components/ItemGrid/ItemGrid.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,15 +65,15 @@
<div id="main">
<h1 class="page-title">Source: components/ItemGrid/ItemGrid.brs</h1>
<h1 class="page-title">Source: components/ItemGrid/ItemGrid.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
import "pkg:/source/utils/config.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/deviceCapabilities.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
import "pkg:/source/utils/config.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/deviceCapabilities.bs"
import "pkg:/source/roku_modules/log/LogMixin.brs"
sub init()

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/ItemGrid/ItemGridOptions.brs</title>
<title>jellyfin-roku api docs Source: components/ItemGrid/ItemGridOptions.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,12 +65,12 @@
<div id="main">
<h1 class="page-title">Source: components/ItemGrid/ItemGridOptions.brs</h1>
<h1 class="page-title">Source: components/ItemGrid/ItemGridOptions.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
import "pkg:/source/roku_modules/log/LogMixin.brs"
sub init()

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/ItemGrid/LoadItemsTask2.brs</title>
<title>jellyfin-roku api docs Source: components/ItemGrid/LoadItemsTask2.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,17 +65,17 @@
<div id="main">
<h1 class="page-title">Source: components/ItemGrid/LoadItemsTask2.brs</h1>
<h1 class="page-title">Source: components/ItemGrid/LoadItemsTask2.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Items.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
import "pkg:/source/utils/misc.brs"
import "pkg:/source/api/Image.brs"
import "pkg:/source/utils/deviceCapabilities.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Items.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
import "pkg:/source/utils/misc.bs"
import "pkg:/source/api/Image.bs"
import "pkg:/source/utils/deviceCapabilities.bs"
import "pkg:/source/roku_modules/log/LogMixin.brs"
import "pkg:/source/api/sdk.bs"

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/ItemGrid/LoadVideoContentTask.brs</title>
<title>jellyfin-roku api docs Source: components/ItemGrid/LoadVideoContentTask.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,19 +65,19 @@
<div id="main">
<h1 class="page-title">Source: components/ItemGrid/LoadVideoContentTask.brs</h1>
<h1 class="page-title">Source: components/ItemGrid/LoadVideoContentTask.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
import "pkg:/source/api/Items.brs"
import "pkg:/source/api/UserLibrary.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
import "pkg:/source/api/Image.brs"
import "pkg:/source/api/userauth.brs"
import "pkg:/source/utils/deviceCapabilities.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
import "pkg:/source/api/Items.bs"
import "pkg:/source/api/UserLibrary.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
import "pkg:/source/api/Image.bs"
import "pkg:/source/api/userauth.bs"
import "pkg:/source/utils/deviceCapabilities.bs"
sub init()
m.user = AboutMe()

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/ItemGrid/MovieLibraryView.brs</title>
<title>jellyfin-roku api docs Source: components/ItemGrid/MovieLibraryView.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,16 +65,16 @@
<div id="main">
<h1 class="page-title">Source: components/ItemGrid/MovieLibraryView.brs</h1>
<h1 class="page-title">Source: components/ItemGrid/MovieLibraryView.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
import "pkg:/source/utils/config.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/api/Image.brs"
import "pkg:/source/utils/deviceCapabilities.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
import "pkg:/source/utils/config.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/api/Image.bs"
import "pkg:/source/utils/deviceCapabilities.bs"
sub setupNodes()
m.options = m.top.findNode("options")

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/ItemGrid/MusicArtistGridItem.brs</title>
<title>jellyfin-roku api docs Source: components/ItemGrid/MusicArtistGridItem.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,13 +65,13 @@
<div id="main">
<h1 class="page-title">Source: components/ItemGrid/MusicArtistGridItem.brs</h1>
<h1 class="page-title">Source: components/ItemGrid/MusicArtistGridItem.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
import "pkg:/source/utils/config.bs"
sub init()
m.itemPoster = m.top.findNode("itemPoster")

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/ItemGrid/MusicLibraryView.brs</title>
<title>jellyfin-roku api docs Source: components/ItemGrid/MusicLibraryView.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,16 +65,16 @@
<div id="main">
<h1 class="page-title">Source: components/ItemGrid/MusicLibraryView.brs</h1>
<h1 class="page-title">Source: components/ItemGrid/MusicLibraryView.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
import "pkg:/source/utils/config.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/api/Image.brs"
import "pkg:/source/utils/deviceCapabilities.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
import "pkg:/source/utils/config.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/api/Image.bs"
import "pkg:/source/utils/deviceCapabilities.bs"
sub setupNodes()
m.options = m.top.findNode("options")

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/JFButton.brs</title>
<title>jellyfin-roku api docs Source: components/JFButton.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/JFButton.brs</h1>
<h1 class="page-title">Source: components/JFButton.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/JFGroup.brs</title>
<title>jellyfin-roku api docs Source: components/JFGroup.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/JFGroup.brs</h1>
<h1 class="page-title">Source: components/JFGroup.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/JFMessageDialog.brs</title>
<title>jellyfin-roku api docs Source: components/JFMessageDialog.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/JFMessageDialog.brs</h1>
<h1 class="page-title">Source: components/JFMessageDialog.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/JFOverhang.brs</title>
<title>jellyfin-roku api docs Source: components/JFOverhang.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,12 +65,12 @@
<div id="main">
<h1 class="page-title">Source: components/JFOverhang.brs</h1>
<h1 class="page-title">Source: components/JFOverhang.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.bs"
sub init()
m.top.id = "overhang"

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/JFScene.brs</title>
<title>jellyfin-roku api docs Source: components/JFScene.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,12 +65,12 @@
<div id="main">
<h1 class="page-title">Source: components/JFScene.brs</h1>
<h1 class="page-title">Source: components/JFScene.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
sub init()
m.top.backgroundColor = "#262626" '"#101010"

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/JFScreen.brs</title>
<title>jellyfin-roku api docs Source: components/JFScreen.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/JFScreen.brs</h1>
<h1 class="page-title">Source: components/JFScreen.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/JFVideo.brs</title>
<title>jellyfin-roku api docs Source: components/JFVideo.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,13 +65,13 @@
<div id="main">
<h1 class="page-title">Source: components/JFVideo.brs</h1>
<h1 class="page-title">Source: components/JFVideo.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
import "pkg:/source/utils/config.bs"
sub init()
m.playbackTimer = m.top.findNode("playbackTimer")
@ -366,9 +366,13 @@ function onKeyEvent(key as string, press as boolean) as boolean
m.top.selectPlaybackInfoPressed = true
return true
else if key = "OK"
' OK will play/pause depending on current state
' return false to allow selection during seeking
if m.top.state = "paused"
if m.nextEpisodeButton.hasfocus() and not m.top.trickPlayBar.visible
m.top.state = "finished"
hideNextEpisodeButton()
return true
else if m.top.state = "paused"
' OK will play/pause depending on current state
' return false to allow selection during seeking
m.top.control = "resume"
return false
else if m.top.state = "playing"

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/ListPoster.brs</title>
<title>jellyfin-roku api docs Source: components/ListPoster.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,13 +65,13 @@
<div id="main">
<h1 class="page-title">Source: components/ListPoster.brs</h1>
<h1 class="page-title">Source: components/ListPoster.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.brs"
import "pkg:/source/utils/misc.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.bs"
import "pkg:/source/utils/misc.bs"
sub init()
m.title = m.top.findNode("title")

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/PersonDetails.brs</title>
<title>jellyfin-roku api docs Source: components/PersonDetails.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,14 +65,14 @@
<div id="main">
<h1 class="page-title">Source: components/PersonDetails.brs</h1>
<h1 class="page-title">Source: components/PersonDetails.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub init()
m.dscr = m.top.findNode("description")

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/PlaybackDialog.brs</title>
<title>jellyfin-roku api docs Source: components/PlaybackDialog.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/PlaybackDialog.brs</h1>
<h1 class="page-title">Source: components/PlaybackDialog.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/PlayedCheckmark.brs</title>
<title>jellyfin-roku api docs Source: components/PlayedCheckmark.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/PlayedCheckmark.brs</h1>
<h1 class="page-title">Source: components/PlayedCheckmark.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/PlaystateTask.brs</title>
<title>jellyfin-roku api docs Source: components/PlaystateTask.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,65 +65,65 @@
<div id="main">
<h1 class="page-title">Source: components/PlaystateTask.brs</h1>
<h1 class="page-title">Source: components/PlaystateTask.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
sub init()
m.top.functionName = "PlaystateUpdate"
end sub
sub PlaystateUpdate()
if m.top.status = "start"
url = "Sessions/Playing"
else if m.top.status = "stop"
url = "Sessions/Playing/Stopped"
else if m.top.status = "update"
url = "Sessions/Playing/Progress"
else
' Unknown State
return
end if
params = PlaystateDefaults(m.top.params)
resp = APIRequest(url)
postJson(resp, params)
end sub
function PlaystateDefaults(params = {} as object)
new_params = {
'"CanSeek": false
'"Item": "{}", ' TODO!
'"NowPlayingQueue": "[]", ' TODO!
'"PlaylistItemId": "",
'"ItemId": id,
'"SessionId": "", ' TODO!
'"MediaSourceId": id,
'"AudioStreamIndex": 1,
'"SubtitleStreamIndex": 0,
"IsPaused": false,
'"IsMuted": false,
"PositionTicks": 0
'"PlaybackStartTimeTicks": 0,
'"VolumeLevel": 100,
'"Brightness": 100,
'"AspectRatio": "16x9",
'"PlayMethod": "DirectStream"
'"LiveStreamId": "",
'"PlaySessionId": "",
'"RepeatMode": "RepeatNone"
}
paramsArray = params.items()
for i = 0 to paramsArray.count() - 1
item = paramsArray[i]
new_params[item.key] = item.value
end for
return FormatJson(new_params)
end function
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub init()
m.top.functionName = "PlaystateUpdate"
end sub
sub PlaystateUpdate()
if m.top.status = "start"
url = "Sessions/Playing"
else if m.top.status = "stop"
url = "Sessions/Playing/Stopped"
else if m.top.status = "update"
url = "Sessions/Playing/Progress"
else
' Unknown State
return
end if
params = PlaystateDefaults(m.top.params)
resp = APIRequest(url)
postJson(resp, params)
end sub
function PlaystateDefaults(params = {} as object)
new_params = {
'"CanSeek": false
'"Item": "{}", ' TODO!
'"NowPlayingQueue": "[]", ' TODO!
'"PlaylistItemId": "",
'"ItemId": id,
'"SessionId": "", ' TODO!
'"MediaSourceId": id,
'"AudioStreamIndex": 1,
'"SubtitleStreamIndex": 0,
"IsPaused": false,
'"IsMuted": false,
"PositionTicks": 0
'"PlaybackStartTimeTicks": 0,
'"VolumeLevel": 100,
'"Brightness": 100,
'"AspectRatio": "16x9",
'"PlayMethod": "DirectStream"
'"LiveStreamId": "",
'"PlaySessionId": "",
'"RepeatMode": "RepeatNone"
}
paramsArray = params.items()
for i = 0 to paramsArray.count() - 1
item = paramsArray[i]
new_params[item.key] = item.value
end for
return FormatJson(new_params)
end function
</pre>
</article>
</section>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/RadioDialog.brs</title>
<title>jellyfin-roku api docs Source: components/RadioDialog.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,12 +65,12 @@
<div id="main">
<h1 class="page-title">Source: components/RadioDialog.brs</h1>
<h1 class="page-title">Source: components/RadioDialog.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
sub init()
m.contentArea = m.top.findNode("contentArea")

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/SearchBox.brs</title>
<title>jellyfin-roku api docs Source: components/SearchBox.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,16 +65,16 @@
<div id="main">
<h1 class="page-title">Source: components/SearchBox.brs</h1>
<h1 class="page-title">Source: components/SearchBox.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Items.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
import "pkg:/source/api/Image.brs"
import "pkg:/source/utils/deviceCapabilities.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Items.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
import "pkg:/source/api/Image.bs"
import "pkg:/source/utils/deviceCapabilities.bs"
sub init()
m.top.layoutDirection = "vert"

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/Spinner.brs</title>
<title>jellyfin-roku api docs Source: components/Spinner.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/Spinner.brs</h1>
<h1 class="page-title">Source: components/Spinner.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/StandardDialog.brs</title>
<title>jellyfin-roku api docs Source: components/StandardDialog.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/StandardDialog.brs</h1>
<h1 class="page-title">Source: components/StandardDialog.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/WhatsNewDialog.brs</title>
<title>jellyfin-roku api docs Source: components/WhatsNewDialog.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/WhatsNewDialog.brs</h1>
<h1 class="page-title">Source: components/WhatsNewDialog.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/captionTask.brs</title>
<title>jellyfin-roku api docs Source: components/captionTask.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,13 +65,13 @@
<div id="main">
<h1 class="page-title">Source: components/captionTask.brs</h1>
<h1 class="page-title">Source: components/captionTask.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.brs"
import "pkg:/source/api/baserequest.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.bs"
import "pkg:/source/api/baserequest.bs"
sub init()
m.top.observeField("url", "fetchCaption")

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/config/ConfigData.brs</title>
<title>jellyfin-roku api docs Source: components/config/ConfigData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/config/ConfigData.brs</h1>
<h1 class="page-title">Source: components/config/ConfigData.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/config/ConfigItem.brs</title>
<title>jellyfin-roku api docs Source: components/config/ConfigItem.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/config/ConfigItem.brs</h1>
<h1 class="page-title">Source: components/config/ConfigItem.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/config/ConfigList.brs</title>
<title>jellyfin-roku api docs Source: components/config/ConfigList.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,12 +65,12 @@
<div id="main">
<h1 class="page-title">Source: components/config/ConfigList.brs</h1>
<h1 class="page-title">Source: components/config/ConfigList.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.bs"
sub init()
m.top.itemComponentName = "ConfigItem"

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/config/JFServer.brs</title>
<title>jellyfin-roku api docs Source: components/config/JFServer.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/config/JFServer.brs</h1>
<h1 class="page-title">Source: components/config/JFServer.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/config/LoginScene.brs</title>
<title>jellyfin-roku api docs Source: components/config/LoginScene.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/config/LoginScene.brs</h1>
<h1 class="page-title">Source: components/config/LoginScene.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/config/ServerDiscoveryTask.brs</title>
<title>jellyfin-roku api docs Source: components/config/ServerDiscoveryTask.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/config/ServerDiscoveryTask.brs</h1>
<h1 class="page-title">Source: components/config/ServerDiscoveryTask.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/config/SetServerScreen.brs</title>
<title>jellyfin-roku api docs Source: components/config/SetServerScreen.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,13 +65,13 @@
<div id="main">
<h1 class="page-title">Source: components/config/SetServerScreen.brs</h1>
<h1 class="page-title">Source: components/config/SetServerScreen.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/roku_modules/log/LogMixin.brs"
import "pkg:/source/utils/config.brs"
import "pkg:/source/utils/config.bs"
sub init()
m.log = log.Logger("SetServerScreen")

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/AlbumData.brs</title>
<title>jellyfin-roku api docs Source: components/data/AlbumData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/data/AlbumData.brs</h1>
<h1 class="page-title">Source: components/data/AlbumData.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/ChannelData.brs</title>
<title>jellyfin-roku api docs Source: components/data/ChannelData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,14 +65,14 @@
<div id="main">
<h1 class="page-title">Source: components/data/ChannelData.brs</h1>
<h1 class="page-title">Source: components/data/ChannelData.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub setFields()
json = m.top.json

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/CollectionData.brs</title>
<title>jellyfin-roku api docs Source: components/data/CollectionData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,14 +65,14 @@
<div id="main">
<h1 class="page-title">Source: components/data/CollectionData.brs</h1>
<h1 class="page-title">Source: components/data/CollectionData.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub setFields()
json = m.top.json

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/FolderData.brs</title>
<title>jellyfin-roku api docs Source: components/data/FolderData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,14 +65,14 @@
<div id="main">
<h1 class="page-title">Source: components/data/FolderData.brs</h1>
<h1 class="page-title">Source: components/data/FolderData.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub setFields()
json = m.top.json

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/GetFiltersTask.brs</title>
<title>jellyfin-roku api docs Source: components/data/GetFiltersTask.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,12 +65,12 @@
<div id="main">
<h1 class="page-title">Source: components/data/GetFiltersTask.brs</h1>
<h1 class="page-title">Source: components/data/GetFiltersTask.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.bs"
import "pkg:/source/api/sdk.bs"
sub init()

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/HomeData.brs</title>
<title>jellyfin-roku api docs Source: components/data/HomeData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,14 +65,14 @@
<div id="main">
<h1 class="page-title">Source: components/data/HomeData.brs</h1>
<h1 class="page-title">Source: components/data/HomeData.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
import "pkg:/source/api/Image.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
import "pkg:/source/api/Image.bs"
sub setData()
' We keep json around just as a reference,

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/ImageData.brs</title>
<title>jellyfin-roku api docs Source: components/data/ImageData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/data/ImageData.brs</h1>
<h1 class="page-title">Source: components/data/ImageData.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/MovieData.brs</title>
<title>jellyfin-roku api docs Source: components/data/MovieData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,15 +65,15 @@
<div id="main">
<h1 class="page-title">Source: components/data/MovieData.brs</h1>
<h1 class="page-title">Source: components/data/MovieData.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
import "pkg:/source/utils/misc.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
import "pkg:/source/utils/misc.bs"
sub setFields()
json = m.top.json

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/MusicAlbumData.brs</title>
<title>jellyfin-roku api docs Source: components/data/MusicAlbumData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/data/MusicAlbumData.brs</h1>
<h1 class="page-title">Source: components/data/MusicAlbumData.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/MusicAlbumSongListData.brs</title>
<title>jellyfin-roku api docs Source: components/data/MusicAlbumSongListData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,14 +65,14 @@
<div id="main">
<h1 class="page-title">Source: components/data/MusicAlbumSongListData.brs</h1>
<h1 class="page-title">Source: components/data/MusicAlbumSongListData.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub setFields()
json = m.top.json

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/MusicArtistData.brs</title>
<title>jellyfin-roku api docs Source: components/data/MusicArtistData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,14 +65,14 @@
<div id="main">
<h1 class="page-title">Source: components/data/MusicArtistData.brs</h1>
<h1 class="page-title">Source: components/data/MusicArtistData.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub setFields()
json = m.top.json

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/MusicSongData.brs</title>
<title>jellyfin-roku api docs Source: components/data/MusicSongData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/data/MusicSongData.brs</h1>
<h1 class="page-title">Source: components/data/MusicSongData.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/OptionsButton.brs</title>
<title>jellyfin-roku api docs Source: components/data/OptionsButton.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,12 +65,12 @@
<div id="main">
<h1 class="page-title">Source: components/data/OptionsButton.brs</h1>
<h1 class="page-title">Source: components/data/OptionsButton.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.bs"
sub init()
end sub

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/OptionsData.brs</title>
<title>jellyfin-roku api docs Source: components/data/OptionsData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,12 +65,12 @@
<div id="main">
<h1 class="page-title">Source: components/data/OptionsData.brs</h1>
<h1 class="page-title">Source: components/data/OptionsData.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.bs"
sub init()
m.top.value_index = 0

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/PersonData.brs</title>
<title>jellyfin-roku api docs Source: components/data/PersonData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,14 +65,14 @@
<div id="main">
<h1 class="page-title">Source: components/data/PersonData.brs</h1>
<h1 class="page-title">Source: components/data/PersonData.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub setFields()
json = m.top.json

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/PhotoData.brs</title>
<title>jellyfin-roku api docs Source: components/data/PhotoData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,14 +65,14 @@
<div id="main">
<h1 class="page-title">Source: components/data/PhotoData.brs</h1>
<h1 class="page-title">Source: components/data/PhotoData.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub setFields()
json = m.top.json

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/PlaylistData.brs</title>
<title>jellyfin-roku api docs Source: components/data/PlaylistData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/data/PlaylistData.brs</h1>
<h1 class="page-title">Source: components/data/PlaylistData.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/PublicUserData.brs</title>
<title>jellyfin-roku api docs Source: components/data/PublicUserData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/data/PublicUserData.brs</h1>
<h1 class="page-title">Source: components/data/PublicUserData.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/SceneManager.brs</title>
<title>jellyfin-roku api docs Source: components/data/SceneManager.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,365 +65,365 @@
<div id="main">
<h1 class="page-title">Source: components/data/SceneManager.brs</h1>
<h1 class="page-title">Source: components/data/SceneManager.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/roku_modules/log/LogMixin.brs"
sub init()
m.log = log.Logger("SceneManager")
m.groups = []
m.scene = m.top.getScene()
m.content = m.scene.findNode("content")
m.overhang = m.scene.findNode("overhang")
end sub
'
' Push a new group onto the stack, replacing the existing group on the screen
sub pushScene(newGroup)
currentGroup = m.groups.peek()
if newGroup &lt;> invalid
if currentGroup &lt;> invalid
'Search through group and store off last focused item
if currentGroup.focusedChild &lt;> invalid
focused = currentGroup.focusedChild
while focused.hasFocus() = false
focused = focused.focusedChild
end while
currentGroup.lastFocus = focused
currentGroup.setFocus(false)
else
currentGroup.setFocus(false)
end if
if currentGroup.isSubType("JFGroup")
unregisterOverhangData(currentGroup)
end if
currentGroup.visible = false
if currentGroup.isSubType("JFScreen")
currentGroup.callFunc("OnScreenHidden")
end if
end if
m.groups.push(newGroup)
if currentGroup &lt;> invalid
m.content.replaceChild(newGroup, 0)
else
m.content.appendChild(newGroup)
end if
if newGroup.isSubType("JFScreen")
newGroup.callFunc("OnScreenShown")
end if
'observe info about new group, set overhang title, etc.
if newGroup.isSubType("JFGroup")
registerOverhangData(newGroup)
' Some groups set focus to a specific component within init(), so we don't want to
' change if that is the case.
if newGroup.isInFocusChain() = false
newGroup.setFocus(true)
end if
else if newGroup.isSubType("JFVideo")
newGroup.setFocus(true)
newGroup.control = "play"
m.overhang.visible = false
end if
else
currentGroup.focusedChild.setFocus(true)
end if
end sub
'
' Remove the current group and load the last group from the stack
sub popScene()
group = m.groups.pop()
if group &lt;> invalid
if group.isSubType("JFGroup")
unregisterOverhangData(group)
else if group.isSubType("JFVideo")
' Stop video to make sure app communicates stop playstate to server
group.control = "stop"
end if
group.visible = false
if group.isSubType("JFScreen")
group.callFunc("OnScreenHidden")
end if
else
' Exit app if for some reason we don't have anything on the stack
m.scene.exit = true
end if
group = m.groups.peek()
if group &lt;> invalid
registerOverhangData(group)
group.visible = true
m.content.replaceChild(group, 0)
if group.isSubType("JFScreen")
group.callFunc("OnScreenShown")
else
' Restore focus
if group.lastFocus &lt;> invalid
group.lastFocus.setFocus(true)
else
if group.focusedChild &lt;> invalid
group.focusedChild.setFocus(true)
else
group.setFocus(true)
end if
end if
end if
else
' Exit app if the stack is empty after removing group
m.scene.exit = true
end if
end sub
'
' Return group at top of stack without removing
function getActiveScene() as object
return m.groups.peek()
end function
'
' Clear all content from group stack
sub clearScenes()
if m.content &lt;> invalid then m.content.removeChildrenIndex(m.content.getChildCount(), 0)
for each group in m.groups
if LCase(group.subtype()) = "jfscreen"
group.callFunc("OnScreenHidden")
end if
end for
m.groups = []
end sub
'
' Clear previous scene from group stack
sub clearPreviousScene()
m.groups.pop()
end sub
'
' Delete scene from group stack at passed index
sub deleteSceneAtIndex(index = 1)
m.groups.Delete(index)
end sub
'
' Display user/device settings screen
sub settings()
settingsScreen = createObject("roSGNode", "Settings")
pushScene(settingsScreen)
end sub
'
' Register observers for overhang data
sub registerOverhangData(group)
if group.isSubType("JFGroup")
if group.overhangTitle &lt;> invalid then m.overhang.title = group.overhangTitle
if group.optionsAvailable
m.overhang.showOptions = true
else
m.overhang.showOptions = false
end if
group.observeField("optionsAvailable", "updateOptions")
group.observeField("overhangTitle", "updateOverhangTitle")
if group.overhangVisible
m.overhang.visible = true
else
m.overhang.visible = false
end if
group.observeField("overhangVisible", "updateOverhangVisible")
else if group.isSubType("JFVideo")
m.overhang.visible = false
else
m.log.error("registerOverhangData(): Unexpected group type.", group, group.subtype())
end if
end sub
'
' Remove observers for overhang data
sub unregisterOverhangData(group)
group.unobserveField("overhangTitle")
end sub
'
' Update overhang title
sub updateOverhangTitle(msg)
m.overhang.title = msg.getData()
end sub
'
' Update options availability
sub updateOptions(msg)
m.overhang.showOptions = msg.getData()
end sub
'
' Update whether the overhang is visible or not
sub updateOverhangVisible(msg)
m.overhang.visible = msg.getData()
end sub
'
' Update username in overhang
sub updateUser()
' Passthrough to overhang
if m.overhang &lt;> invalid then m.overhang.currentUser = m.top.currentUser
end sub
'
' Reset time
sub resetTime()
' Passthrough to overhang
m.overhang.callFunc("resetTime")
end sub
'
' Display dialog to user with an OK button
sub userMessage(title as string, message as string)
dialog = createObject("roSGNode", "StandardMessageDialog")
dialog.title = title
dialog.message = message
dialog.buttons = [tr("OK")]
dialog.observeField("buttonSelected", "dismissDialog")
m.scene.dialog = dialog
end sub
'
' Display dialog to user with an OK button
sub standardDialog(title, message)
dialog = createObject("roSGNode", "StandardDialog")
dlgPalette = createObject("roSGNode", "RSGPalette")
dlgPalette.colors = {
DialogBackgroundColor: "0x262828FF",
DialogFocusColor: "0xcececeFF",
DialogFocusItemColor: "0x202020FF",
DialogSecondaryTextColor: "0xf8f8f8ff",
DialogSecondaryItemColor: "#00a4dcFF",
DialogTextColor: "0xeeeeeeFF"
}
dialog.palette = dlgPalette
dialog.observeField("buttonSelected", "dismissDialog")
dialog.title = title
dialog.contentData = message
dialog.buttons = [tr("OK")]
m.scene.dialog = dialog
end sub
'
' Display dialog to user with an OK button
sub radioDialog(title, message)
dialog = createObject("roSGNode", "RadioDialog")
dlgPalette = createObject("roSGNode", "RSGPalette")
dlgPalette.colors = {
DialogBackgroundColor: "0x262828FF",
DialogFocusColor: "0xcececeFF",
DialogFocusItemColor: "0x202020FF",
DialogSecondaryTextColor: "0xf8f8f8ff",
DialogSecondaryItemColor: "#00a4dcFF",
DialogTextColor: "0xeeeeeeFF"
}
dialog.palette = dlgPalette
dialog.observeField("buttonSelected", "dismissDialog")
dialog.title = title
dialog.contentData = message
dialog.buttons = [tr("OK")]
m.scene.dialog = dialog
end sub
'
' Display dialog to user with an OK button
sub optionDialog(title, message, buttons)
m.top.dataReturned = false
m.top.returnData = invalid
m.userselection = false
dialog = createObject("roSGNode", "StandardMessageDialog")
dlgPalette = createObject("roSGNode", "RSGPalette")
dlgPalette.colors = {
DialogBackgroundColor: "0x262828FF",
DialogFocusColor: "0xcececeFF",
DialogFocusItemColor: "0x202020FF",
DialogSecondaryTextColor: "0xf8f8f8ff",
DialogSecondaryItemColor: "#00a4dcFF",
DialogTextColor: "0xeeeeeeFF"
}
dialog.palette = dlgPalette
dialog.observeField("buttonSelected", "optionSelected")
dialog.observeField("wasClosed", "optionClosed")
dialog.title = title
dialog.message = message
dialog.buttons = buttons
m.scene.dialog = dialog
end sub
'
' Return button the user selected
sub optionClosed()
if m.userselection then return
m.top.returnData = {
indexSelected: -1,
buttonSelected: ""
}
m.top.dataReturned = true
end sub
'
' Return button the user selected
sub optionSelected()
m.userselection = true
m.top.returnData = {
indexSelected: m.scene.dialog.buttonSelected,
buttonSelected: m.scene.dialog.buttons[m.scene.dialog.buttonSelected]
}
m.top.dataReturned = true
dismissDialog()
end sub
'
' Close currently displayed dialog
sub dismissDialog()
m.scene.dialog.close = true
end sub
'
' Returns bool indicating if dialog is currently displayed
function isDialogOpen() as boolean
return m.scene.dialog &lt;> invalid
end function
class="sunlight-highlight-javascript linenums">import "pkg:/source/roku_modules/log/LogMixin.brs"
sub init()
m.log = log.Logger("SceneManager")
m.groups = []
m.scene = m.top.getScene()
m.content = m.scene.findNode("content")
m.overhang = m.scene.findNode("overhang")
end sub
'
' Push a new group onto the stack, replacing the existing group on the screen
sub pushScene(newGroup)
currentGroup = m.groups.peek()
if newGroup &lt;> invalid
if currentGroup &lt;> invalid
'Search through group and store off last focused item
if currentGroup.focusedChild &lt;> invalid
focused = currentGroup.focusedChild
while focused.hasFocus() = false
focused = focused.focusedChild
end while
currentGroup.lastFocus = focused
currentGroup.setFocus(false)
else
currentGroup.setFocus(false)
end if
if currentGroup.isSubType("JFGroup")
unregisterOverhangData(currentGroup)
end if
currentGroup.visible = false
if currentGroup.isSubType("JFScreen")
currentGroup.callFunc("OnScreenHidden")
end if
end if
m.groups.push(newGroup)
if currentGroup &lt;> invalid
m.content.replaceChild(newGroup, 0)
else
m.content.appendChild(newGroup)
end if
if newGroup.isSubType("JFScreen")
newGroup.callFunc("OnScreenShown")
end if
'observe info about new group, set overhang title, etc.
if newGroup.isSubType("JFGroup")
registerOverhangData(newGroup)
' Some groups set focus to a specific component within init(), so we don't want to
' change if that is the case.
if newGroup.isInFocusChain() = false
newGroup.setFocus(true)
end if
else if newGroup.isSubType("JFVideo")
newGroup.setFocus(true)
newGroup.control = "play"
m.overhang.visible = false
end if
else
currentGroup.focusedChild.setFocus(true)
end if
end sub
'
' Remove the current group and load the last group from the stack
sub popScene()
group = m.groups.pop()
if group &lt;> invalid
if group.isSubType("JFGroup")
unregisterOverhangData(group)
else if group.isSubType("JFVideo")
' Stop video to make sure app communicates stop playstate to server
group.control = "stop"
end if
group.visible = false
if group.isSubType("JFScreen")
group.callFunc("OnScreenHidden")
end if
else
' Exit app if for some reason we don't have anything on the stack
m.scene.exit = true
end if
group = m.groups.peek()
if group &lt;> invalid
registerOverhangData(group)
group.visible = true
m.content.replaceChild(group, 0)
if group.isSubType("JFScreen")
group.callFunc("OnScreenShown")
else
' Restore focus
if group.lastFocus &lt;> invalid
group.lastFocus.setFocus(true)
else
if group.focusedChild &lt;> invalid
group.focusedChild.setFocus(true)
else
group.setFocus(true)
end if
end if
end if
else
' Exit app if the stack is empty after removing group
m.scene.exit = true
end if
end sub
'
' Return group at top of stack without removing
function getActiveScene() as object
return m.groups.peek()
end function
'
' Clear all content from group stack
sub clearScenes()
if m.content &lt;> invalid then m.content.removeChildrenIndex(m.content.getChildCount(), 0)
for each group in m.groups
if LCase(group.subtype()) = "jfscreen"
group.callFunc("OnScreenHidden")
end if
end for
m.groups = []
end sub
'
' Clear previous scene from group stack
sub clearPreviousScene()
m.groups.pop()
end sub
'
' Delete scene from group stack at passed index
sub deleteSceneAtIndex(index = 1)
m.groups.Delete(index)
end sub
'
' Display user/device settings screen
sub settings()
settingsScreen = createObject("roSGNode", "Settings")
pushScene(settingsScreen)
end sub
'
' Register observers for overhang data
sub registerOverhangData(group)
if group.isSubType("JFGroup")
if group.overhangTitle &lt;> invalid then m.overhang.title = group.overhangTitle
if group.optionsAvailable
m.overhang.showOptions = true
else
m.overhang.showOptions = false
end if
group.observeField("optionsAvailable", "updateOptions")
group.observeField("overhangTitle", "updateOverhangTitle")
if group.overhangVisible
m.overhang.visible = true
else
m.overhang.visible = false
end if
group.observeField("overhangVisible", "updateOverhangVisible")
else if group.isSubType("JFVideo")
m.overhang.visible = false
else
m.log.error("registerOverhangData(): Unexpected group type.", group, group.subtype())
end if
end sub
'
' Remove observers for overhang data
sub unregisterOverhangData(group)
group.unobserveField("overhangTitle")
end sub
'
' Update overhang title
sub updateOverhangTitle(msg)
m.overhang.title = msg.getData()
end sub
'
' Update options availability
sub updateOptions(msg)
m.overhang.showOptions = msg.getData()
end sub
'
' Update whether the overhang is visible or not
sub updateOverhangVisible(msg)
m.overhang.visible = msg.getData()
end sub
'
' Update username in overhang
sub updateUser()
' Passthrough to overhang
if m.overhang &lt;> invalid then m.overhang.currentUser = m.top.currentUser
end sub
'
' Reset time
sub resetTime()
' Passthrough to overhang
m.overhang.callFunc("resetTime")
end sub
'
' Display dialog to user with an OK button
sub userMessage(title as string, message as string)
dialog = createObject("roSGNode", "StandardMessageDialog")
dialog.title = title
dialog.message = message
dialog.buttons = [tr("OK")]
dialog.observeField("buttonSelected", "dismissDialog")
m.scene.dialog = dialog
end sub
'
' Display dialog to user with an OK button
sub standardDialog(title, message)
dialog = createObject("roSGNode", "StandardDialog")
dlgPalette = createObject("roSGNode", "RSGPalette")
dlgPalette.colors = {
DialogBackgroundColor: "0x262828FF",
DialogFocusColor: "0xcececeFF",
DialogFocusItemColor: "0x202020FF",
DialogSecondaryTextColor: "0xf8f8f8ff",
DialogSecondaryItemColor: "#00a4dcFF",
DialogTextColor: "0xeeeeeeFF"
}
dialog.palette = dlgPalette
dialog.observeField("buttonSelected", "dismissDialog")
dialog.title = title
dialog.contentData = message
dialog.buttons = [tr("OK")]
m.scene.dialog = dialog
end sub
'
' Display dialog to user with an OK button
sub radioDialog(title, message)
dialog = createObject("roSGNode", "RadioDialog")
dlgPalette = createObject("roSGNode", "RSGPalette")
dlgPalette.colors = {
DialogBackgroundColor: "0x262828FF",
DialogFocusColor: "0xcececeFF",
DialogFocusItemColor: "0x202020FF",
DialogSecondaryTextColor: "0xf8f8f8ff",
DialogSecondaryItemColor: "#00a4dcFF",
DialogTextColor: "0xeeeeeeFF"
}
dialog.palette = dlgPalette
dialog.observeField("buttonSelected", "dismissDialog")
dialog.title = title
dialog.contentData = message
dialog.buttons = [tr("OK")]
m.scene.dialog = dialog
end sub
'
' Display dialog to user with an OK button
sub optionDialog(title, message, buttons)
m.top.dataReturned = false
m.top.returnData = invalid
m.userselection = false
dialog = createObject("roSGNode", "StandardMessageDialog")
dlgPalette = createObject("roSGNode", "RSGPalette")
dlgPalette.colors = {
DialogBackgroundColor: "0x262828FF",
DialogFocusColor: "0xcececeFF",
DialogFocusItemColor: "0x202020FF",
DialogSecondaryTextColor: "0xf8f8f8ff",
DialogSecondaryItemColor: "#00a4dcFF",
DialogTextColor: "0xeeeeeeFF"
}
dialog.palette = dlgPalette
dialog.observeField("buttonSelected", "optionSelected")
dialog.observeField("wasClosed", "optionClosed")
dialog.title = title
dialog.message = message
dialog.buttons = buttons
m.scene.dialog = dialog
end sub
'
' Return button the user selected
sub optionClosed()
if m.userselection then return
m.top.returnData = {
indexSelected: -1,
buttonSelected: ""
}
m.top.dataReturned = true
end sub
'
' Return button the user selected
sub optionSelected()
m.userselection = true
m.top.returnData = {
indexSelected: m.scene.dialog.buttonSelected,
buttonSelected: m.scene.dialog.buttons[m.scene.dialog.buttonSelected]
}
m.top.dataReturned = true
dismissDialog()
end sub
'
' Close currently displayed dialog
sub dismissDialog()
m.scene.dialog.close = true
end sub
'
' Returns bool indicating if dialog is currently displayed
function isDialogOpen() as boolean
return m.scene.dialog &lt;> invalid
end function
</pre>
</article>
</section>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/ScheduleProgramData.brs</title>
<title>jellyfin-roku api docs Source: components/data/ScheduleProgramData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,14 +65,14 @@
<div id="main">
<h1 class="page-title">Source: components/data/ScheduleProgramData.brs</h1>
<h1 class="page-title">Source: components/data/ScheduleProgramData.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub setFields()
json = m.top.json

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/SearchData.brs</title>
<title>jellyfin-roku api docs Source: components/data/SearchData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/data/SearchData.brs</h1>
<h1 class="page-title">Source: components/data/SearchData.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/SeriesData.brs</title>
<title>jellyfin-roku api docs Source: components/data/SeriesData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,14 +65,14 @@
<div id="main">
<h1 class="page-title">Source: components/data/SeriesData.brs</h1>
<h1 class="page-title">Source: components/data/SeriesData.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub setFields()
json = m.top.json

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/TVEpisode.brs</title>
<title>jellyfin-roku api docs Source: components/data/TVEpisode.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,14 +65,14 @@
<div id="main">
<h1 class="page-title">Source: components/data/TVEpisode.brs</h1>
<h1 class="page-title">Source: components/data/TVEpisode.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub setFields()
json = m.top.json

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/TVEpisodeData.brs</title>
<title>jellyfin-roku api docs Source: components/data/TVEpisodeData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/data/TVEpisodeData.brs</h1>
<h1 class="page-title">Source: components/data/TVEpisodeData.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/TVSeasonData.brs</title>
<title>jellyfin-roku api docs Source: components/data/TVSeasonData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/data/TVSeasonData.brs</h1>
<h1 class="page-title">Source: components/data/TVSeasonData.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/UserData.brs</title>
<title>jellyfin-roku api docs Source: components/data/UserData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,12 +65,12 @@
<div id="main">
<h1 class="page-title">Source: components/data/UserData.brs</h1>
<h1 class="page-title">Source: components/data/UserData.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.bs"
sub setDataFromJSON()
json = m.top.json

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/data/VideoData.brs</title>
<title>jellyfin-roku api docs Source: components/data/VideoData.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,14 +65,14 @@
<div id="main">
<h1 class="page-title">Source: components/data/VideoData.brs</h1>
<h1 class="page-title">Source: components/data/VideoData.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub setFields()
json = m.top.json

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/extras/ExtrasItem.brs</title>
<title>jellyfin-roku api docs Source: components/extras/ExtrasItem.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/extras/ExtrasItem.brs</h1>
<h1 class="page-title">Source: components/extras/ExtrasItem.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/extras/ExtrasRowList.brs</title>
<title>jellyfin-roku api docs Source: components/extras/ExtrasRowList.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/extras/ExtrasRowList.brs</h1>
<h1 class="page-title">Source: components/extras/ExtrasRowList.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/home/Home.brs</title>
<title>jellyfin-roku api docs Source: components/home/Home.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,15 +65,15 @@
<div id="main">
<h1 class="page-title">Source: components/home/Home.brs</h1>
<h1 class="page-title">Source: components/home/Home.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
import "pkg:/source/utils/misc.brs"
import "pkg:/source/utils/deviceCapabilities.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
import "pkg:/source/utils/misc.bs"
import "pkg:/source/utils/deviceCapabilities.bs"
sub init()
m.isFirstRun = true

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/home/HomeItem.brs</title>
<title>jellyfin-roku api docs Source: components/home/HomeItem.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,15 +65,15 @@
<div id="main">
<h1 class="page-title">Source: components/home/HomeItem.brs</h1>
<h1 class="page-title">Source: components/home/HomeItem.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
import "pkg:/source/utils/misc.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Image.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
import "pkg:/source/utils/misc.bs"
import "pkg:/source/roku_modules/log/LogMixin.brs"
sub init()

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/home/HomeRows.brs</title>
<title>jellyfin-roku api docs Source: components/home/HomeRows.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,12 +65,12 @@
<div id="main">
<h1 class="page-title">Source: components/home/HomeRows.brs</h1>
<h1 class="page-title">Source: components/home/HomeRows.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
sub init()
m.top.itemComponentName = "HomeItem"

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/home/LoadItemsTask.brs</title>
<title>jellyfin-roku api docs Source: components/home/LoadItemsTask.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,17 +65,17 @@
<div id="main">
<h1 class="page-title">Source: components/home/LoadItemsTask.brs</h1>
<h1 class="page-title">Source: components/home/LoadItemsTask.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Items.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
import "pkg:/source/utils/misc.brs"
import "pkg:/source/utils/deviceCapabilities.brs"
import "pkg:/source/api/Image.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/Items.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
import "pkg:/source/utils/misc.bs"
import "pkg:/source/utils/deviceCapabilities.bs"
import "pkg:/source/api/Image.bs"
import "pkg:/source/api/sdk.bs"
sub init()

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/liveTv/LoadChannelsTask.brs</title>
<title>jellyfin-roku api docs Source: components/liveTv/LoadChannelsTask.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,13 +65,13 @@
<div id="main">
<h1 class="page-title">Source: components/liveTv/LoadChannelsTask.brs</h1>
<h1 class="page-title">Source: components/liveTv/LoadChannelsTask.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub init()
m.top.functionName = "loadChannels"

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/liveTv/LoadProgramDetailsTask.brs</title>
<title>jellyfin-roku api docs Source: components/liveTv/LoadProgramDetailsTask.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,13 +65,13 @@
<div id="main">
<h1 class="page-title">Source: components/liveTv/LoadProgramDetailsTask.brs</h1>
<h1 class="page-title">Source: components/liveTv/LoadProgramDetailsTask.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub init()
m.top.functionName = "loadProgramDetails"

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/liveTv/LoadSheduleTask.brs</title>
<title>jellyfin-roku api docs Source: components/liveTv/LoadSheduleTask.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,13 +65,13 @@
<div id="main">
<h1 class="page-title">Source: components/liveTv/LoadSheduleTask.brs</h1>
<h1 class="page-title">Source: components/liveTv/LoadSheduleTask.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub init()
m.top.functionName = "loadSchedule"

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/liveTv/ProgramDetails.brs</title>
<title>jellyfin-roku api docs Source: components/liveTv/ProgramDetails.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,13 +65,13 @@
<div id="main">
<h1 class="page-title">Source: components/liveTv/ProgramDetails.brs</h1>
<h1 class="page-title">Source: components/liveTv/ProgramDetails.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
import "pkg:/source/utils/config.bs"
sub init()

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/liveTv/RecordProgramTask.brs</title>
<title>jellyfin-roku api docs Source: components/liveTv/RecordProgramTask.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,13 +65,13 @@
<div id="main">
<h1 class="page-title">Source: components/liveTv/RecordProgramTask.brs</h1>
<h1 class="page-title">Source: components/liveTv/RecordProgramTask.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
import "pkg:/source/roku_modules/log/LogMixin.brs"
sub init()

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/liveTv/schedule.brs</title>
<title>jellyfin-roku api docs Source: components/liveTv/schedule.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/liveTv/schedule.brs</h1>
<h1 class="page-title">Source: components/liveTv/schedule.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/login/UserItem.brs</title>
<title>jellyfin-roku api docs Source: components/login/UserItem.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/login/UserItem.brs</h1>
<h1 class="page-title">Source: components/login/UserItem.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/login/UserRow.brs</title>
<title>jellyfin-roku api docs Source: components/login/UserRow.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/login/UserRow.brs</h1>
<h1 class="page-title">Source: components/login/UserRow.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/login/UserSelect.brs</title>
<title>jellyfin-roku api docs Source: components/login/UserSelect.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/login/UserSelect.brs</h1>
<h1 class="page-title">Source: components/login/UserSelect.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/manager/QueueManager.brs</title>
<title>jellyfin-roku api docs Source: components/manager/QueueManager.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,18 +65,18 @@
<div id="main">
<h1 class="page-title">Source: components/manager/QueueManager.brs</h1>
<h1 class="page-title">Source: components/manager/QueueManager.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
import "ViewCreator.brs"
import "pkg:/source/api/Items.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
import "pkg:/source/api/Image.brs"
import "pkg:/source/utils/deviceCapabilities.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
import "ViewCreator.bs"
import "pkg:/source/api/Items.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
import "pkg:/source/api/Image.bs"
import "pkg:/source/utils/deviceCapabilities.bs"
sub init()
m.hold = []

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/manager/ViewCreator.brs</title>
<title>jellyfin-roku api docs Source: components/manager/ViewCreator.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/manager/ViewCreator.brs</h1>
<h1 class="page-title">Source: components/manager/ViewCreator.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/mediaPlayers/AudioPlayer.brs</title>
<title>jellyfin-roku api docs Source: components/mediaPlayers/AudioPlayer.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,12 +65,12 @@
<div id="main">
<h1 class="page-title">Source: components/mediaPlayers/AudioPlayer.brs</h1>
<h1 class="page-title">Source: components/mediaPlayers/AudioPlayer.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
sub init()
m.playReported = false

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/movies/AudioTrackListItem.brs</title>
<title>jellyfin-roku api docs Source: components/movies/AudioTrackListItem.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/movies/AudioTrackListItem.brs</h1>
<h1 class="page-title">Source: components/movies/AudioTrackListItem.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/movies/MovieDetails.brs</title>
<title>jellyfin-roku api docs Source: components/movies/MovieDetails.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,13 +65,13 @@
<div id="main">
<h1 class="page-title">Source: components/movies/MovieDetails.brs</h1>
<h1 class="page-title">Source: components/movies/MovieDetails.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
import "pkg:/source/utils/config.bs"
sub init()
m.extrasGrp = m.top.findnode("extrasGrp")

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/movies/MovieOptions.brs</title>
<title>jellyfin-roku api docs Source: components/movies/MovieOptions.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/movies/MovieOptions.brs</h1>
<h1 class="page-title">Source: components/movies/MovieOptions.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/movies/VideoTrackListItem.brs</title>
<title>jellyfin-roku api docs Source: components/movies/VideoTrackListItem.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/movies/VideoTrackListItem.brs</h1>
<h1 class="page-title">Source: components/movies/VideoTrackListItem.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/music/AlbumGrid.brs</title>
<title>jellyfin-roku api docs Source: components/music/AlbumGrid.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,12 +65,12 @@
<div id="main">
<h1 class="page-title">Source: components/music/AlbumGrid.brs</h1>
<h1 class="page-title">Source: components/music/AlbumGrid.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
sub init()
getData()

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/music/AlbumTrackList.brs</title>
<title>jellyfin-roku api docs Source: components/music/AlbumTrackList.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/music/AlbumTrackList.brs</h1>
<h1 class="page-title">Source: components/music/AlbumTrackList.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/music/AlbumView.brs</title>
<title>jellyfin-roku api docs Source: components/music/AlbumView.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,12 +65,12 @@
<div id="main">
<h1 class="page-title">Source: components/music/AlbumView.brs</h1>
<h1 class="page-title">Source: components/music/AlbumView.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
sub init()
m.top.optionsAvailable = false

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/music/ArtistView.brs</title>
<title>jellyfin-roku api docs Source: components/music/ArtistView.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,12 +65,12 @@
<div id="main">
<h1 class="page-title">Source: components/music/ArtistView.brs</h1>
<h1 class="page-title">Source: components/music/ArtistView.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
sub init()
m.top.optionsAvailable = false

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/music/AudioPlayerView.brs</title>
<title>jellyfin-roku api docs Source: components/music/AudioPlayerView.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,15 +65,15 @@
<div id="main">
<h1 class="page-title">Source: components/music/AudioPlayerView.brs</h1>
<h1 class="page-title">Source: components/music/AudioPlayerView.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
import "pkg:/source/api/Image.brs"
import "pkg:/source/api/baserequest.brs"
import "pkg:/source/utils/config.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
import "pkg:/source/api/Image.bs"
import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
sub init()
m.top.optionsAvailable = false

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/music/LoadScreenSaverTimeoutTask.brs</title>
<title>jellyfin-roku api docs Source: components/music/LoadScreenSaverTimeoutTask.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,7 +65,7 @@
<div id="main">
<h1 class="page-title">Source: components/music/LoadScreenSaverTimeoutTask.brs</h1>
<h1 class="page-title">Source: components/music/LoadScreenSaverTimeoutTask.bs</h1>
<section>
<article>

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jellyfin-roku api docs Source: components/music/PlaylistView.brs</title>
<title>jellyfin-roku api docs Source: components/music/PlaylistView.bs</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@ -65,12 +65,12 @@
<div id="main">
<h1 class="page-title">Source: components/music/PlaylistView.brs</h1>
<h1 class="page-title">Source: components/music/PlaylistView.bs</h1>
<section>
<article>
<pre
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.brs"
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/misc.bs"
sub init()
m.top.optionsAvailable = false

Some files were not shown because too many files have changed in this diff Show More