Update API docs

This commit is contained in:
jellyfin-bot 2023-12-07 18:39:51 +00:00
parent 0a05b9bb9b
commit adee9280c6

View File

@ -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()