mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2024-11-23 14:19:40 +00:00
16 lines
382 B
Plaintext
16 lines
382 B
Plaintext
import "pkg:/source/api/Items.bs"
|
|
import "pkg:/source/api/baserequest.bs"
|
|
import "pkg:/source/utils/config.bs"
|
|
import "pkg:/source/api/Image.bs"
|
|
import "pkg:/source/utils/deviceCapabilities.bs"
|
|
|
|
sub init()
|
|
m.top.functionName = "search"
|
|
end sub
|
|
|
|
sub search()
|
|
if m.top.query <> invalid and m.top.query <> ""
|
|
m.top.results = searchMedia(m.top.query)
|
|
end if
|
|
end sub
|