Remove unused fallbacktype code

This commit is contained in:
1hitsong 2022-06-11 09:42:43 -04:00
parent 947b267936
commit b697d26a06
2 changed files with 0 additions and 12 deletions

View File

@ -59,17 +59,6 @@ sub loadItems()
if data.TotalRecordCount <> invalid then m.top.totalRecordCount = data.TotalRecordCount
' When loading a collection, if no results are found, try searching by fallback type
if data.TotalRecordCount = 0
if m.top.FallbackType <> ""
' Ensure we didn't just search by the fallback type - prevent infinite loop
if m.top.ItemType <> m.top.FallbackType
m.top.ItemType = m.top.FallbackType
loadItems()
end if
end if
end if
for each item in data.Items
tmp = invalid
if item.Type = "Movie"

View File

@ -5,7 +5,6 @@
<field id="itemId" type="string" />
<field id="startIndex" type="integer" value="0" />
<field id="itemType" type="string" value="" />
<field id="fallbackType" type="string" value="" />
<field id="limit" type="integer" value="60" />
<field id="metadata" type="assocarray" />
<field id="sortField" type="string" value="SortName" />