mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2025-02-02 20:44:56 +00:00
Fix upload script
This commit is contained in:
parent
67b5a6be59
commit
f8130da1d6
@ -35,7 +35,6 @@
|
||||
end sub
|
||||
|
||||
function setData()
|
||||
print "HI"
|
||||
libs = m.top.liblist
|
||||
rowsize = m.top.rowSize
|
||||
|
||||
@ -72,15 +71,13 @@
|
||||
item.labelText = datum.name
|
||||
end for
|
||||
end for
|
||||
print "HI"
|
||||
print m.top.itemSelected
|
||||
return data
|
||||
end function
|
||||
|
||||
function onItemSelected()
|
||||
print "DETECTED THAT SELECTION"
|
||||
x = m.top.rowItemSelected
|
||||
print "row " + x[0] + " col " + x[1]
|
||||
target = m.top.content.getChild(x[0]).getChild(x[1])
|
||||
print "Selected: " + target.labelText
|
||||
end function
|
||||
]]>
|
||||
</script>
|
||||
|
@ -11,7 +11,8 @@ if [ -z "$ROKU_DEV_TARGET" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
zip jellyfin-roku.zip -r ./*
|
||||
[ -f jellyfin-roku.zip ] && rm jellyfin-roku.zip
|
||||
zip jellyfin-roku.zip manifest -r ./components -r ./source -r ./images
|
||||
|
||||
curl -f -sS --user rokudev:$ROKU_DEV_PASSWORD --anyauth -F "mysubmit=Install" -F "archive=@jellyfin-roku.zip" -F "passwd=" http://$ROKU_DEV_TARGET/plugin_install \
|
||||
| python -c 'import sys, re; print("\n".join(re.findall("<font color=\"red\">(.*?)</font>", sys.stdin.read(), re.DOTALL)))'
|
||||
|
Loading…
x
Reference in New Issue
Block a user