mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2024-11-23 14:19:40 +00:00
Update API docs
This commit is contained in:
parent
0a05b9bb9b
commit
adee9280c6
@ -269,6 +269,11 @@ sub createLibraryRow()
|
||||
|
||||
sectionName = tr("My Media")
|
||||
|
||||
' We don't refresh library data, so if section already exists, exit
|
||||
if sectionExists(sectionName)
|
||||
return
|
||||
end if
|
||||
|
||||
row = CreateObject("roSGNode", "HomeRow")
|
||||
row.title = sectionName
|
||||
row.imageWidth = homeRowItemSizes.WIDE_POSTER[0]
|
||||
@ -279,13 +284,6 @@ sub createLibraryRow()
|
||||
row.appendChild(item)
|
||||
end for
|
||||
|
||||
' Row already exists, replace it with new content
|
||||
if sectionExists(sectionName)
|
||||
m.top.content.replaceChild(row, getSectionIndex(sectionName))
|
||||
setRowItemSize()
|
||||
return
|
||||
end if
|
||||
|
||||
' Row does not exist, insert it into the home view
|
||||
m.top.content.insertChild(row, getOriginalSectionIndex("smalllibrarytiles"))
|
||||
setRowItemSize()
|
||||
|
Loading…
Reference in New Issue
Block a user