feat(remote-control): add setup guide wizard and experimental badge

- Add RemoteControlSetupGuide component with step-by-step instructions
- Include certificate installation guides for iOS, macOS, Windows, Android
- Mark remote control section as "Experimental" with red badge
- Add Setup Guide button to open the wizard
- Add translations for wizard (en/es)
This commit is contained in:
vicrodh committed 2026-02-03 05:38:20 -06:00
1 parent 4972c76746
commit da93c746cf
4 files changed
+1026 -1

No files matched your search

+112
View File
@@ -613,7 +613,9 @@
"musicbrainzCache": "MusicBrainz Cache",
"listenbrainz": "ListenBrainz",
"remoteControl": "Remote Control",
"remoteControlExperimental": "Experimental",
"remoteControlDesc": "Control QBZ from another device on the same network.",
"remoteControlSetupGuide": "Setup Guide",
"remoteControlEnable": "Enable Remote Control",
"remoteControlPort": "Port",
"remoteControlPortDesc": "Default is 8182.",
@@ -1194,5 +1196,115 @@
"verify": "Verify",
"done": "Done"
}
},
"remoteControlWizard": {
"steps": {
"welcome": "Welcome",
"enable": "Enable",
"https": "HTTPS",
"certificate": "Certificate",
"pair": "Pair",
"done": "Done"
},
"welcome": {
"title": "Remote Control Setup",
"subtitle": "Control QBZ from another device",
"intro": "This guide will help you set up remote control so you can control QBZ from your phone, tablet, or another device on the same network.",
"feature1": "Control playback (play, pause, skip)",
"feature2": "Manage your queue",
"feature3": "Search and add tracks",
"feature4": "Install as PWA on your device",
"start": "Get Started",
"screenshot": "[Screenshot: Remote control PWA on mobile]"
},
"enable": {
"title": "Enable Remote Control",
"subtitle": "Turn on the local API server",
"step1": "Go to Settings → Remote Control",
"step2": "Toggle \"Enable Remote Control\" ON",
"step3": "Note the port number (default: 8182)",
"portNote": "The default port is 8182. You can change it if needed, but you'll need to update it during pairing.",
"screenshot": "[Screenshot: Settings > Remote Control toggle]"
},
"https": {
"title": "Enable Secure Connection",
"subtitle": "Required for PWA installation",
"intro": "HTTPS is required to install the remote control as a Progressive Web App (PWA) on your phone or tablet.",
"step1": "Enable \"Secure Connection (HTTPS)\"",
"step2": "QBZ will generate a self-signed certificate",
"step3": "A certificate URL will appear",
"whyRequired": "Why HTTPS?",
"whyReason1": "Modern browsers require HTTPS for PWA installation",
"whyReason2": "Secure connection protects your pairing token",
"whyReason3": "Required for service workers and offline features",
"screenshot": "[Screenshot: HTTPS toggle enabled]"
},
"certificate": {
"title": "Install Certificate",
"subtitle": "Trust the QBZ certificate on your device",
"intro": "Since QBZ uses a self-signed certificate, you need to install and trust it on your controlling device.",
"step1": "Copy the certificate URL from QBZ settings",
"step2": "Open the URL on your controlling device's browser",
"step3": "Download and install the certificate",
"step4": "Trust the certificate for web browsing",
"iosTitle": "iOS (iPhone/iPad)",
"iosStep1": "Open the certificate URL in Safari",
"iosStep2": "Tap \"Allow\" to download the profile",
"iosStep3": "Go to Settings → Profile Downloaded → Install",
"iosStep4": "Go to Settings → General → About → Certificate Trust Settings",
"iosStep5": "Enable full trust for the QBZ certificate",
"macosTitle": "macOS",
"macosStep1": "Open the certificate URL in Safari",
"macosStep2": "Open the downloaded .crt file",
"macosStep3": "Keychain Access will open - add to login keychain",
"macosStep4": "Double-click the certificate, expand Trust",
"macosStep5": "Set \"When using this certificate\" to \"Always Trust\"",
"windowsTitle": "Windows",
"windowsStep1": "Open the certificate URL in any browser",
"windowsStep2": "Open the downloaded .crt file",
"windowsStep3": "Click \"Install Certificate...\"",
"windowsStep4": "Select \"Local Machine\" then \"Next\"",
"windowsStep5": "Select \"Place all certificates in: Trusted Root Certification Authorities\"",
"windowsStep6": "Finish the wizard and confirm",
"androidTitle": "Android",
"androidStep1": "Open the certificate URL in Chrome",
"androidStep2": "Open the downloaded .crt file",
"androidStep3": "Enter a name (e.g., \"QBZ\")",
"androidStep4": "Select \"VPN and apps\" or \"Wi-Fi\" as usage type",
"androidStep5": "Tap OK to install",
"screenshot": "[Screenshot: Certificate URL in QBZ settings]"
},
"pair": {
"title": "Pair Your Device",
"subtitle": "Connect to QBZ",
"intro": "Now connect your controlling device to QBZ using the QR code or manual entry.",
"qrMethod": "QR Code (Recommended)",
"qrStep1": "Click \"Show QR\" in QBZ settings",
"qrStep2": "Open the QBZ Control URL on your device",
"qrStep3": "Scan the QR code to auto-fill connection details",
"manualMethod": "Manual Entry",
"manualStep1": "Note the Local URL shown in QBZ",
"manualStep2": "Open this URL on your controlling device",
"manualStep3": "Enter the URL and token manually",
"troubleshooting": "If connection fails:",
"trouble1": "Make sure both devices are on the same network",
"trouble2": "Check that the firewall allows port 8182",
"trouble3": "Verify HTTPS is enabled and certificate is trusted",
"screenshot": "[Screenshot: QR code pairing screen]"
},
"done": {
"title": "Setup Complete!",
"subtitle": "You can now control QBZ remotely",
"pwaHint": "For the best experience, install QBZ Control as a PWA:",
"pwaStep1": "Open the control URL on your device",
"pwaStep2": "Use \"Add to Home Screen\" or \"Install App\"",
"pwaStep3": "Launch from your home screen for fullscreen experience",
"close": "Close"
},
"buttons": {
"next": "Next",
"back": "Back",
"close": "Close"
}
}
}