mirror of
https://github.com/SEPPDROID/JellyCAT.git
synced 2025-10-23 00:14:28 +00:00
some minor improvements \\ enough work for today
This commit is contained in:
54
app/xml/about.xml
Normal file
54
app/xml/about.xml
Normal file
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<atv>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<scrollingText id="com.jellycat.jcatabout" initialSelection="1">
|
||||
<title>JellyCAT About</title>
|
||||
<text><![CDATA[
|
||||
// /\_/ |
|
||||
// { ' ' } JellyCAT
|
||||
// \____\
|
||||
|
||||
ENGLISH | ABOUT
|
||||
|
||||
JellyCAT $atvcsettings.version
|
||||
|
||||
Thank you for using JellyCAT! A (hacky) Jellyfin client for Apple TV 2 & 3.
|
||||
|
||||
== soon more ==
|
||||
|
||||
-=JellyCAT Server (JCHOST) Information=-
|
||||
|
||||
|
||||
JellyCAT Server Host (fallback):
|
||||
http://jcathost.dns
|
||||
|
||||
ATVCSETTINGS pick-up location:
|
||||
http://jcathost.dns/atvcsettings
|
||||
|
||||
ATVCSETTINGS Hello:
|
||||
$atvcsettings.hello
|
||||
|
||||
ATVCSETTINGS System Information:
|
||||
$atvcsettings.system
|
||||
|
||||
JellyCat Version:
|
||||
$atvcsettings.version
|
||||
|
||||
Hijacked Host App domain
|
||||
$atvcsettings.sighost
|
||||
|
||||
JellyCAT Server Host IP
|
||||
$atvcsettings.hostip
|
||||
|
||||
-=Jellyfin Client settings=-
|
||||
]]></text>
|
||||
<buttons>
|
||||
<actionButton onSelect="atv.unloadPage();" id="close">
|
||||
<title>Close</title>
|
||||
</actionButton>
|
||||
</buttons>
|
||||
</scrollingText>
|
||||
</body>
|
||||
</atv>
|
@@ -3,7 +3,6 @@
|
||||
<head>
|
||||
<script src="http://jcathost.dns/js/jcm.js"/>
|
||||
<script src="http://jcathost.dns/js/jcathostinfo.js"/>
|
||||
<script src="http://jcathost.dns/js/about.js"/>
|
||||
</head>
|
||||
<body>
|
||||
<optionDialog id="com.jellycat.devtools">
|
||||
@@ -16,7 +15,7 @@
|
||||
<description>These options are intended for testing your development environment only. It is crucial to refrain from utilizing these test functions on server hosts that are not under your management, as doing so may inadvertently expose sensitive data to the server's administrator.</description>
|
||||
<menu>
|
||||
<initialSelection>
|
||||
<row>5</row>
|
||||
<row>7</row>
|
||||
</initialSelection>
|
||||
<sections>
|
||||
<menuSection>
|
||||
@@ -36,7 +35,13 @@
|
||||
<oneLineMenuItem id="list_4" accessibilityLabel="Option 5" onSelect="console.log('loading jcathostinfo-page'); generateJCATHOSTInfoXML();">
|
||||
<label>JCATHOST Information</label>
|
||||
</oneLineMenuItem>
|
||||
<oneLineMenuItem id="list_5" accessibilityLabel="Option 6" onSelect="console.log('Unloading page'); atv.unloadPage();">
|
||||
<oneLineMenuItem id="list_5" accessibilityLabel="Option 6" onSelect="console.log('UDID: ' + atv.device.udid);">
|
||||
<label>Print device UDID (log)</label>
|
||||
</oneLineMenuItem>
|
||||
<oneLineMenuItem id="list_6" accessibilityLabel="Option 7" onSelect="console.log('UDID: ' + atv.device.displayName);">
|
||||
<label>Print device DisplayName (log)</label>
|
||||
</oneLineMenuItem>
|
||||
<oneLineMenuItem id="list_7" accessibilityLabel="Option 8" onSelect="console.log('Unloading page'); atv.unloadPage();">
|
||||
<label>Unload Page (go back)</label>
|
||||
</oneLineMenuItem>
|
||||
</items>
|
||||
|
@@ -25,18 +25,18 @@
|
||||
<items>
|
||||
<oneLineMenuItem accessibilityLabel="List item 0" id="list_0" onSelect="setServerAddress();">
|
||||
<label>Server Address</label>
|
||||
<rightLabel>(not set)</rightLabel>
|
||||
<rightLabel>$server_address</rightLabel>
|
||||
</oneLineMenuItem>
|
||||
<oneLineMenuItem accessibilityLabel="List item 1" id="list_1" onSelect="setUsername();">
|
||||
<label>Server Username</label>
|
||||
<rightLabel>(not set)</rightLabel>
|
||||
<rightLabel>$username</rightLabel>
|
||||
</oneLineMenuItem>
|
||||
<oneLineMenuItem accessibilityLabel="List item 2" id="list_2" onSelect="setPassword();">
|
||||
<label>Server Password</label>
|
||||
<rightLabel>(always hidden)</rightLabel>
|
||||
</oneLineMenuItem>
|
||||
<oneLineMenuItem accessibilityLabel="List item 3" id="list_3" onSelect="">
|
||||
<label>Test connection</label>
|
||||
<oneLineMenuItem accessibilityLabel="List item 3" id="list_3" onSelect="testJellyfinConnection();">
|
||||
<label>Test Connection</label>
|
||||
</oneLineMenuItem>
|
||||
<oneLineMenuItem accessibilityLabel="List item 4" id="list_4" onSelect="console.log('Logging out and clearing storage'); atv.localStorage.clear(); atv.sessionStorage.clear(); atv.exitApp();">
|
||||
<label>Remove saved data</label>
|
||||
|
@@ -3,6 +3,7 @@
|
||||
<head>
|
||||
<script src="http://jcathost.dns/js/jcm.js"/>
|
||||
<script src="http://jcathost.dns/js/about.js"/>
|
||||
<script src="http://jcathost.dns/js/settingloader.js"/>
|
||||
</head>
|
||||
<body>
|
||||
<listWithPreview id="com.jellycat.settings">
|
||||
@@ -25,7 +26,7 @@
|
||||
</horizontalDivider>
|
||||
</header>
|
||||
<items>
|
||||
<twoLineMenuItem id="list_center_1" accessibilityLabel="Menu Item 1" onSelect="atvutils.loadURL('https://' + atv.jcathost.SigHost + '/xml/server-settings.xml');">
|
||||
<twoLineMenuItem id="list_center_1" accessibilityLabel="Menu Item 1" onSelect="loadServerSettings();">
|
||||
<label>Jellyfin Server Settings</label>
|
||||
<label2>Set Jellyfin Server and User</label2>
|
||||
<image>http://jcathost.dns/assets/img/jfserver.png</image>
|
||||
@@ -48,7 +49,7 @@
|
||||
<oneLineMenuItem id="list_center_1" accessibilityLabel="tools" onSelect="atvutils.loadURL('https://' + atv.jcathost.SigHost + '/xml/dvt/devtools.xml');">
|
||||
<label>Tools</label>
|
||||
</oneLineMenuItem>
|
||||
<oneLineMenuItem id="list_center_1" accessibilityLabel="about" onSelect="generateJCATAboutXML();">
|
||||
<oneLineMenuItem id="list_center_1" accessibilityLabel="about" onSelect="loadAbout()">
|
||||
<label>About</label>
|
||||
</oneLineMenuItem>
|
||||
<oneLineMenuItem id="list_center_1" accessibilityLabel="about" onSelect="atvutils.loadURL('https://' + atv.jcathost.SigHost + '/xml/help.xml');">
|
||||
|
Reference in New Issue
Block a user