Ground work for invidious instance selection (#11)
* Ground work for invidious instance selection * Display logged in instance * Show instances * Reorder instances * Instance management * Add todos * Changelog * Add instances link, trim trailing slash * Small tweaks
This commit is contained in:
1 parent
1d9dc3ecda
commit
a248318c54
14 files changed
+411
-130
No files matched your search
@@ -1,16 +0,0 @@
|
||||
import "pkg:/source/services/Invidious.bs"
|
||||
|
||||
sub init()
|
||||
m.instructions = m.top.findNode("instructions")
|
||||
|
||||
text = "- Scan the QR Code" + chr(10)
|
||||
text += "- Login (Create account if needed)" + chr(10)
|
||||
text += "- Scan the QR Code again" + chr(10)
|
||||
text += "- Click ""Authorize""" + chr(10)
|
||||
text += "- If the error ""Invalid signature"" shows, press back and ""Authorize"" again" + chr(10)
|
||||
text += "- Your TV should go to home screen automatically" + chr(10)
|
||||
text += chr(10) + chr(10) + chr(10)
|
||||
text += "Invidious instance: " + Invidious.GetCurrentHost()
|
||||
|
||||
m.instructions.text = text
|
||||
end sub
|
||||
@@ -1,30 +0,0 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<component
|
||||
name='QRTestScene'
|
||||
extends='Scene'>
|
||||
<children>
|
||||
<!-- This is example use of QRPoster: show QRCode centered on screen -->
|
||||
<QRPoster
|
||||
id='TestQRPoster'
|
||||
loadWidth='500'
|
||||
loadHeight='500'
|
||||
loadPadding='20'
|
||||
translation='[100, 110]' />
|
||||
<Label
|
||||
id='instructionsTitle'
|
||||
height='50'
|
||||
width='500'
|
||||
text='Instructions'
|
||||
font='font:MediumBoldSystemFont'
|
||||
wrap='true'
|
||||
translation='[650,110]' />
|
||||
<Label
|
||||
id='instructions'
|
||||
height='500'
|
||||
width='500'
|
||||
font='font:MediumSystemFont'
|
||||
wrap='true'
|
||||
translation='[650,160]' />
|
||||
</children>
|
||||
|
||||
</component>
|
||||
Reference in new issue
Block a user