2023-10-27 02:19:51 +00:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width" >
< title > jellyfin-roku api docs Module: misc< / title >
<!-- [if lt IE 9]>
< script src = "//html5shiv.googlecode.com/svn/trunk/html5.js" > < / script >
<![endif]-->
< link type = "text/css" rel = "stylesheet" href = "styles/sunlight.dark.css" >
< link type = "text/css" rel = "stylesheet" href = "styles/site.darkly.css" >
< / head >
< body >
< div class = "navbar navbar-default navbar-fixed-top " >
< div class = "container" >
< div class = "navbar-header" >
< a class = "navbar-brand" href = "index.html" > jellyfin-roku api docs< / a >
< button class = "navbar-toggle" type = "button" data-toggle = "collapse" data-target = "#topNavigation" >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< / button >
< / div >
< div class = "navbar-collapse collapse" id = "topNavigation" >
< ul class = "nav navbar-nav" >
< li class = "dropdown" >
< a href = "modules.list.html" class = "dropdown-toggle" data-toggle = "dropdown" > Modules< b class = "caret" > < / b > < / a >
< ul class = "dropdown-menu " >
2023-10-28 21:26:12 +00:00
< li > < a href = "module-AlbumData.html" > AlbumData< / a > < / li > < li > < a href = "module-AlbumGrid.html" > AlbumGrid< / a > < / li > < li > < a href = "module-AlbumTrackList.html" > AlbumTrackList< / a > < / li > < li > < a href = "module-AlbumView.html" > AlbumView< / a > < / li > < li > < a href = "module-Alpha.html" > Alpha< / a > < / li > < li > < a href = "module-ArtistView.html" > ArtistView< / a > < / li > < li > < a href = "module-AudioPlayer.html" > AudioPlayer< / a > < / li > < li > < a href = "module-AudioPlayerView.html" > AudioPlayerView< / a > < / li > < li > < a href = "module-AudioTrackListItem.html" > AudioTrackListItem< / a > < / li > < li > < a href = "module-ButtonGroupHoriz.html" > ButtonGroupHoriz< / a > < / li > < li > < a href = "module-ChannelData.html" > ChannelData< / a > < / li > < li > < a href = "module-CollectionData.html" > CollectionData< / a > < / li > < li > < a href = "module-ConfigData.html" > ConfigData< / a > < / li > < li > < a href = "module-ConfigItem.html" > ConfigItem< / a > < / li > < li > < a href = "module-ConfigList.html" > ConfigList< / a > < / li > < li > < a href = "module-ExtrasItem.html" > ExtrasItem< / a > < / li > < li > < a href = "module-ExtrasRowList.html" > ExtrasRowList< / a > < / li > < li > < a href = "module-FavoriteItemsTask.html" > FavoriteItemsTask< / a > < / li > < li > < a href = "module-FolderData.html" > FolderData< / a > < / li > < li > < a href = "module-GetFiltersTask.html" > GetFiltersTask< / a > < / li > < li > < a href = "module-GetNextEpisodeTask.html" > GetNextEpisodeTask< / a > < / li > < li > < a href = "module-GetPlaybackInfoTask.html" > GetPlaybackInfoTask< / a > < / li > < li > < a href = "module-GetShuffleEpisodesTask.html" > GetShuffleEpisodesTask< / a > < / li > < li > < a href = "module-GridItem.html" > GridItem< / a > < / li > < li > < a href = "module-GridItemSmall.html" > GridItemSmall< / a > < / li > < li > < a href = "module-Home.html" > Home< / a > < / li > < li > < a href = "module-HomeData.html" > HomeData< / a > < / li > < li > < a href = "module-HomeItem.html" > HomeItem< / a > < / li > < li > < a href = "module-HomeRows.html" > HomeRows< / a > < / li > < li > < a href = "module-IconButton.html" > IconButton< / a > < / li > < li > < a href = "module-Image.html" > Image< / a > < / li > < li > < a href = "module-ImageData.html" > ImageData< / a > < / li > < li > < a href = "module-ItemGrid.html" > ItemGrid< / a > < / li > < li > < a href = "module-ItemGridOptions.html" > ItemGridOptions< / a > < / li > < li > < a href = "module-Items.html" > Items< / a > < / li > < li > < a href = "module-JFButton.html" > JFButton< / a > < / li > < li > < a href = "module-JFButtons.html" > JFButtons< / a > < / li > < li > < a href = "module-JFGroup.html" > JFGroup< / a > < / li > < li > < a href = "module-JFMessageDialog.html" > JFMessageDialog< / a > < / li > < li > < a href = "module-JFOverhang.html" > JFOverhang< / a > < / li > < li > < a href = "module-JFScene.html" > JFScene< / a > < / li > < li > < a href = "module-JFScreen.html" > JFScreen< / a > < / li > < li > < a href = "module-JFServer.html" > JFServer< / a > < / li > < li > < a href = "module-JFVideo.html" > JFVideo< / a > < / li > < li > < a href = "module-ListPoster.html" > ListPoster< / a > < / li > < li > < a href = "module-LoadChannelsTask.html" > LoadChannelsTask< / a > < / li > < li > < a href = "module-LoadItemsTask.html" > LoadItemsTask< / a > < / li > < li > < a href = "module-LoadItemsTask2.html" > LoadItemsTask2< / a > < / li > < li > < a href = "module-LoadPhotoTask.html" > LoadPhotoTask< / a > < / li > < li > < a href = "module-LoadProgramDetailsTask.html" > LoadProgramDetailsTask< / a > < / li > < li > < a href = "module-LoadScreenSaverTimeoutTask.html" > LoadScreenSaverTimeoutTask< / a > < / li > < li > < a href = "module-LoadSheduleTask.html" > LoadSheduleTask< / a > < / li > < li > < a href = "module-LoadVideoContentTask.html" > LoadVideoContentTask< / a > < / li > < li > < a href = "module-LoginScene.html" > LoginScene< / a > < / li > < li > < a href = "module-Main.html" > Main< / a > < / li > < li > < a href = "module-MovieData.html" > MovieData< / a > < / li > < li > < a href = "module-MovieDetails.html" > MovieDetails< / a > < / li > < li > < a href = "module-MovieLibraryView.html" > MovieLibraryView< / a > < / li > < li > < a href = "module-MovieOptions.html" > MovieOptions< / a > < / li > < li > < a href = "module-MusicAlbumData.html" > MusicAlbumData< / a > < / li > < li > < a href = "module-MusicAlbumSongListData.html" > MusicAlbumSongListData< / a > < / li > < li > < a href = "module-MusicArtistData.html" > MusicArtistData< / a > < / li > < li > < a href = "module-MusicArtistGridItem.html" > MusicArtistGridItem< / a > < / li > < li > < a href = "module-MusicLibraryView.html" > MusicLibraryView< / a > < / li > < li > < a href = "module-MusicSongData.html" > MusicSongData< / a > < / li > < li > < a href = "module-OptionNode.html" > OptionNode< / a > < / li > < li > < a href = "module-OptionsButton.html" > OptionsButton< / a > < / li > < li > < a href = "module-OptionsData.html" > OptionsData< / a > < / li > < li >
2023-10-27 02:19:51 +00:00
< / ul >
< / li >
< / ul >
< div class = "col-sm-3 col-md-3" >
< form class = "navbar-form" role = "search" >
< div class = "input-group" >
< input type = "text" class = "form-control" placeholder = "Search" name = "q" id = "search-input" >
< div class = "input-group-btn" >
< button class = "btn btn-default" id = "search-submit" > < i class = "glyphicon glyphicon-search" > < / i > < / button >
< / div >
< / div >
< / form >
< / div >
< / div >
< / div >
< / div >
< div class = "container" id = "toc-content" >
< div class = "row" >
< div class = "col-md-8" >
< div id = "main" >
< h1 class = "page-title" > Module: misc< / h1 >
< section >
< header >
< / header >
< article >
< div class = "container-overview" >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-1" > line 1< / a >
< / li >
< / ul >
< / dd >
< / dl >
< / div >
< h3 class = "subsection-title" > Methods< / h3 >
< dl >
< hr >
< dt >
< h4 class = "name" id = ".AssocArrayEqual" > < span class = "type-signature" > < static> < / span > AssocArrayEqual(Array1, Array2)< / h4 >
< / dt >
< dd >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > Array1< / code > < / td >
< td class = "type" >
< span class = "param-type" > object< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > Array2< / code > < / td >
< td class = "type" >
< span class = "param-type" > object< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-203" > line 203< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > boolean< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".arrayHasValue" > < span class = "type-signature" > < static> < / span > arrayHasValue(arr, value)< / h4 >
< / dt >
< dd >
< div class = "description" >
< p > Check if a specific value is inside of an array< / p >
< / div >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > arr< / code > < / td >
< td class = "type" >
< span class = "param-type" > object< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > value< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-246" > line 246< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > boolean< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".div_ceiling" > < span class = "type-signature" > < static> < / span > div_ceiling(a, b)< / h4 >
< / dt >
< dd >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > a< / code > < / td >
< td class = "type" >
< span class = "param-type" > integer< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > b< / code > < / td >
< td class = "type" >
< span class = "param-type" > integer< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-65" > line 65< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > integer< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".findNodeBySubtype" > < span class = "type-signature" > < static> < / span > findNodeBySubtype(node, subtype)< / h4 >
< / dt >
< dd >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > node< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > subtype< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-195" > line 195< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > dynamic< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".formatTime" > < span class = "type-signature" > < static> < / span > formatTime(time)< / h4 >
< / dt >
< dd >
< div class = "description" >
< p > Format time as 12 or 24 hour format based on system clock setting< / p >
< / div >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > time< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-57" > line 57< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > string< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".getButton" > < span class = "type-signature" > < static> < / span > getButton(msg [, subnode])< / h4 >
< / dt >
< dd >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th > Argument< / th >
< th > Default< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > msg< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "attributes" >
< / td >
< td class = "default" >
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > subnode< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "attributes" >
< optional>< br >
< / td >
< td class = "default" >
"buttons"
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-26" > line 26< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > object< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".getMinutes" > < span class = "type-signature" > < static> < / span > getMinutes(ticks)< / h4 >
< / dt >
< dd >
< div class = "description" >
< p > Converts ticks to minutes< / p >
< / div >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > ticks< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-176" > line 176< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > integer< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".getMsgPicker" > < span class = "type-signature" > < static> < / span > getMsgPicker(msg [, subnode])< / h4 >
< / dt >
< dd >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th > Argument< / th >
< th > Default< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > msg< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "attributes" >
< / td >
< td class = "default" >
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > subnode< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "attributes" >
< optional>< br >
< / td >
< td class = "default" >
""
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-18" > line 18< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > object< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".get_dialog_result" > < span class = "type-signature" > < static> < / span > get_dialog_result(dialog, port)< / h4 >
< / dt >
< dd >
< div class = "description" >
< p > Returns the item selected or -1 on backpress or other unhandled closure of dialog.< / p >
< / div >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > dialog< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > port< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-74" > line 74< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > dynamic< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".inArray" > < span class = "type-signature" > < static> < / span > inArray(haystack, needle)< / h4 >
< / dt >
< dd >
< div class = "description" >
< p > Search string array for search value. Return if it's found< / p >
< / div >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > haystack< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > needle< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-212" > line 212< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > boolean< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".isLocalhost" > < span class = "type-signature" > < static> < / span > isLocalhost(url)< / h4 >
< / dt >
< dd >
< div class = "description" >
< p > Returns true if the string is a loopback, such as 'localhost' or '127.0.0.1'< / p >
< / div >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > url< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-160" > line 160< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > boolean< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".isNodeEvent" > < span class = "type-signature" > < static> < / span > isNodeEvent(msg, field)< / h4 >
< / dt >
< dd >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > msg< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > field< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-10" > line 10< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > boolean< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".isValid" > < span class = "type-signature" > < static> < / span > isValid(input)< / h4 >
< / dt >
< dd >
< div class = "description" >
< p > Returns whether or not passed value is valid< / p >
< / div >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > input< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-133" > line 133< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > boolean< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".isValidAndNotEmpty" > < span class = "type-signature" > < static> < / span > isValidAndNotEmpty(input)< / h4 >
< / dt >
< dd >
< div class = "description" >
< p > Returns whether or not passed value is valid and not empty< br >
Accepts a string, or any countable type (arrays and lists)< / p >
< / div >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > input< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-142" > line 142< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > boolean< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".lastFocusedChild" > < span class = "type-signature" > < static> < / span > lastFocusedChild(obj)< / h4 >
< / dt >
< dd >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > obj< / code > < / td >
< td class = "type" >
< span class = "param-type" > object< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-81" > line 81< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > object< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".leftPad" > < span class = "type-signature" > < static> < / span > leftPad(base, fill, length)< / h4 >
< / dt >
< dd >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > base< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > fill< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > length< / code > < / td >
< td class = "type" >
< span class = "param-type" > integer< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-35" > line 35< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > string< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".message_dialog" > < span class = "type-signature" > < static> < / span > message_dialog( [message])< / h4 >
< / dt >
< dd >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th > Argument< / th >
< th > Default< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > message< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "attributes" >
< optional>< br >
< / td >
< td class = "default" >
""
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-97" > line 97< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > dynamic< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".option_dialog" > < span class = "type-signature" > < static> < / span > option_dialog(options [, message] [, defaultSelection])< / h4 >
< / dt >
< dd >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th > Argument< / th >
< th > Default< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > options< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "attributes" >
< / td >
< td class = "default" >
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > message< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "attributes" >
< optional>< br >
< / td >
< td class = "default" >
""
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > defaultSelection< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "attributes" >
< optional>< br >
< / td >
< td class = "default" >
0
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-106" > line 106< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > integer< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".parseUrl" > < span class = "type-signature" > < static> < / span > parseUrl(url)< / h4 >
< / dt >
< dd >
< div class = "description" >
< p > Returns an array from a url - [ url, proto, host, port, subdir/params ]< br >
If port or subdir are not found, an empty string will be added to the array< br >
Proto must be declared or array will be empty< / p >
< / div >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > url< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-152" > line 152< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > object< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".roundNumber" > < span class = "type-signature" > < static> < / span > roundNumber(f)< / h4 >
< / dt >
< dd >
< div class = "description" >
< p > Rounds number to nearest integer< / p >
< / div >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > f< / code > < / td >
< td class = "type" >
< span class = "param-type" > float< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-168" > line 168< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > integer< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".secondsToHuman" > < span class = "type-signature" > < static> < / span > secondsToHuman(totalSeconds)< / h4 >
< / dt >
< dd >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > totalSeconds< / code > < / td >
< td class = "type" >
< span class = "param-type" > integer< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-49" > line 49< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > string< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".setFieldTextValue" > < span class = "type-signature" > < static> < / span > setFieldTextValue(field, value)< / h4 >
< / dt >
< dd >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > field< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > value< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-125" > line 125< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > void< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".show_dialog" > < span class = "type-signature" > < static> < / span > show_dialog(message [, options] [, defaultSelection])< / h4 >
< / dt >
< dd >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th > Argument< / th >
< th > Default< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > message< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "attributes" >
< / td >
< td class = "default" >
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > options< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "attributes" >
< optional>< br >
< / td >
< td class = "default" >
[]
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > defaultSelection< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "attributes" >
< optional>< br >
< / td >
< td class = "default" >
0
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-90" > line 90< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > integer< / span >
< / dd >
< / dl >
2023-10-28 21:26:12 +00:00
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".shuffleArray" > < span class = "type-signature" > < static> < / span > shuffleArray(array)< / h4 >
< / dt >
< dd >
< div class = "description" >
< p > Takes an array of data, shuffles the order, then returns the array< br >
uses the Fisher-Yates shuffling algorithm< / p >
< / div >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > array< / code > < / td >
< td class = "type" >
< span class = "param-type" > object< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-255" > line 255< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > object< / span >
< / dd >
< / dl >
2023-10-27 02:19:51 +00:00
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".standardize_jellyfin_url" > < span class = "type-signature" > < static> < / span > standardize_jellyfin_url(url)< / h4 >
< / dt >
< dd >
< div class = "description" >
< p > Take a jellyfin hostname and ensure it's a full url.< br >
prepend http or https and append default ports, and remove excess slashes< / p >
< / div >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > url< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-117" > line 117< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > dynamic< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".startLoadingSpinner" > < span class = "type-signature" > < static> < / span > startLoadingSpinner()< / h4 >
< / dt >
< dd >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-225" > line 225< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > void< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".startMediaLoadingSpinner" > < span class = "type-signature" > < static> < / span > startMediaLoadingSpinner()< / h4 >
< / dt >
< dd >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-231" > line 231< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > void< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".stopLoadingSpinner" > < span class = "type-signature" > < static> < / span > stopLoadingSpinner()< / h4 >
< / dt >
< dd >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-237" > line 237< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > void< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".ticksToHuman" > < span class = "type-signature" > < static> < / span > ticksToHuman(ticks)< / h4 >
< / dt >
< dd >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > ticks< / code > < / td >
< td class = "type" >
< span class = "param-type" > longinteger< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-42" > line 42< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > string< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".toString" > < span class = "type-signature" > < static> < / span > toString(input)< / h4 >
< / dt >
< dd >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > input< / code > < / td >
< td class = "type" >
< span class = "param-type" > dynamic< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-219" > line 219< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > string< / span >
< / dd >
< / dl >
< / dd >
< hr >
< dt >
< h4 class = "name" id = ".versionChecker" > < span class = "type-signature" > < static> < / span > versionChecker(versionToCheck, minVersionAccepted)< / h4 >
< / dt >
< dd >
< div class = "description" >
< p > Returns whether or not a version number (e.g. 10.7.7) is greater or equal< br >
to some minimum version allowed (e.g. 10.8.0)< / p >
< / div >
< h5 > Parameters:< / h5 >
< table class = "params table table-striped" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > versionToCheck< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > minVersionAccepted< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source method-doc-label method-doc-details-label" > Source:< / dt >
< dd class = "tag-source" >
< ul class = "dummy" >
< li >
< a href = "source_utils_misc.brs.html" > source/utils/misc.brs< / a > ,
< a href = "source_utils_misc.brs.html#sunlight-1-line-187" > line 187< / a >
< / li >
< / ul >
< / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > dynamic< / span >
< / dd >
< / dl >
< / dd >
< / dl >
< / article >
< / section >
< / div >
< / div >
< div class = "clearfix" > < / div >
< div class = "col-md-3" >
< div id = "toc" class = "col-md-3 hidden-xs hidden-sm hidden-md" > < / div >
< / div >
< / div >
< / div >
< div class = "modal fade" id = "searchResults" >
< div class = "modal-dialog" >
< div class = "modal-content" >
< div class = "modal-header" >
< button type = "button" class = "close" data-dismiss = "modal" aria-label = "Close" > < span aria-hidden = "true" > × < / span > < / button >
< h4 class = "modal-title" > Search results< / h4 >
< / div >
< div class = "modal-body" > < / div >
< div class = "modal-footer" >
< button type = "button" class = "btn btn-default" data-dismiss = "modal" > Close< / button >
< / div >
< / div > <!-- /.modal - content -->
< / div > <!-- /.modal - dialog -->
< / div >
< footer >
< span class = "jsdoc-message" > Source code: < a href = "https://github.com/jellyfin/jellyfin-roku" > https://github.com/jellyfin/jellyfin-roku< / a > < / span > < span class = "jsdoc-message" > Jellyfin Roku Development Forum: < a href = "https://forum.jellyfin.org/f-roku-development" > https://forum.jellyfin.org/f-roku-development< / a > < / span >
< span class = "jsdoc-message" >
Documentation generated by < a href = "https://github.com/jsdoc3/jsdoc" > JSDoc 4.0.2< / a >
2023-10-28 01:54:11 +00:00
on Oct 28th 2023
2023-10-27 02:19:51 +00:00
using the < a href = "https://github.com/docstrap/docstrap" > DocStrap template< / a > .
< / span >
< / footer >
< script src = "scripts/docstrap.lib.js" > < / script >
< script src = "scripts/toc.js" > < / script >
< script type = "text/javascript" src = "scripts/fulltext-search-ui.js" > < / script >
< script >
$( function () {
$( "[id*='$']" ).each( function () {
var $this = $( this );
$this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
} );
$( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
var $this = $( this );
var example = $this.find( "code" );
exampleText = example.html();
var lang = /{@lang (.*?)}/.exec( exampleText );
if ( lang & & lang[1] ) {
exampleText = exampleText.replace( lang[0], "" );
example.html( exampleText );
lang = lang[1];
} else {
var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
lang = langClassMatch ? langClassMatch[1] : "javascript";
}
if ( lang ) {
$this
.addClass( "sunlight-highlight-" + lang )
.addClass( "linenums" )
.html( example.html() );
}
} );
Sunlight.highlightAll( {
lineNumbers : true,
showMenu : true,
enableDoclinks : true
} );
$.catchAnchorLinks( {
navbarOffset: 10
} );
$( "#toc" ).toc( {
anchorName : function ( i, heading, prefix ) {
return $( heading ).attr( "id" ) || ( prefix + i );
},
selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
showAndHide : false,
smoothScrolling: true
} );
$( "#main span[id^='toc']" ).addClass( "toc-shim" );
$( '.dropdown-toggle' ).dropdown();
$( "table" ).each( function () {
var $this = $( this );
$this.addClass('table');
} );
} );
< / script >
<!-- Navigation and Symbol Display -->
<!-- Google Analytics -->
< script type = "text/javascript" >
$(document).ready(function() {
SearcherDisplay.init();
});
< / script >
< / body >
< / html >