mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2024-11-23 14:19:40 +00:00
Run format script
This commit is contained in:
parent
d01a477bb3
commit
cc4f6ef3a6
@ -11,7 +11,7 @@ function getData()
|
||||
|
||||
albumData = m.top.MusicArtistAlbumData
|
||||
data = CreateObject("roSGNode", "ContentNode")
|
||||
|
||||
|
||||
for each song in albumData.items
|
||||
songcontent = data.createChild("ContentNode")
|
||||
songcontent.title = song.title
|
||||
|
@ -18,7 +18,7 @@ sub updateSize()
|
||||
|
||||
' size of the whole row
|
||||
m.top.itemSize = [1700, (itemHeight + 40)]
|
||||
|
||||
|
||||
' spacing between rows
|
||||
m.top.itemSpacing = [0, 0]
|
||||
|
||||
|
@ -185,7 +185,7 @@ sub Main (args as dynamic) as void
|
||||
node = albums.musicArtistAlbumData.items[ptr[1]]
|
||||
group = CreateMusicAlbumDetailsGroup(node)
|
||||
else if isNodeEvent(msg, "musicSongSelected")
|
||||
|
||||
|
||||
' Bypass for now
|
||||
if false
|
||||
|
||||
@ -202,7 +202,7 @@ sub Main (args as dynamic) as void
|
||||
if audio <> invalid
|
||||
sceneManager.callFunc("pushScene", audio)
|
||||
end if
|
||||
|
||||
|
||||
end if
|
||||
|
||||
else if isNodeEvent(msg, "episodeSelected")
|
||||
@ -394,7 +394,7 @@ sub Main (args as dynamic) as void
|
||||
end sub
|
||||
|
||||
sub controlaudioplay()
|
||||
if (m.audio.state = "finished")
|
||||
if (m.audio.state = "finished")
|
||||
m.audio.control = "stop"
|
||||
m.audio.control = "none"
|
||||
end if
|
||||
|
@ -142,7 +142,7 @@ end function
|
||||
' Get list of albums belonging to an artist
|
||||
function MusicAlbumList(id as string)
|
||||
url = Substitute("Users/{0}/Items", get_setting("active_user"), id)
|
||||
resp = APIRequest(url, {
|
||||
resp = APIRequest(url, {
|
||||
"UserId": get_setting("active_user"),
|
||||
"parentId": id,
|
||||
"includeitemtypes": "MusicAlbum",
|
||||
@ -164,7 +164,7 @@ end function
|
||||
' Get Songs that are on an Album
|
||||
function MusicSongList(id as string)
|
||||
url = Substitute("Users/{0}/Items", get_setting("active_user"), id)
|
||||
resp = APIRequest(url, {
|
||||
resp = APIRequest(url, {
|
||||
"UserId": get_setting("active_user"),
|
||||
"parentId": id,
|
||||
"includeitemtypes": "Audio"
|
||||
|
Loading…
Reference in New Issue
Block a user