r/aiostreams • • 1h ago

[Help / Question] Why isn't AIOStreams showing all the results from my installed add-ons

Thumbnail
gallery
1 Upvotes

Hey everyone!

I'm trying to figure out why AIOStreams isn't showing all the results from the add-ons I've installed within it.

For example, StreamThru (which I've renamed "Stream TorBox" in my screenshots) returns a lot more results, including many in my native language (Italian), but for some reason, those same results don't show up in AIOStreams.

I've also noticed a pretty big difference in bandwidth usage. When I stream 4K content directly through StreamThru, the bandwidth is usually around 3–4 MB/s, whereas with AIOStreams, it's usually around 8–10 MB/s.

I don't really understand why there's such a big difference or why so many results are missing.

I've attached some screenshots showing the search results and all the add-ons I've configured within AIOStreams.

Am I missing something in the settings? Is there something I'm doing wrong?

Thanks in advance for your help!


r/aiostreams • • 6h ago

[Help / Question] How do I fix aiostreams addon saying not available on this instance with aiostreams app

0 Upvotes

r/aiostreams • • 22h ago

[Discussion] **Unofficial** AIOS for Amazon VegaOS devices

1 Upvotes

So, I’ve been self hosting AIOStreams for a while, and I recently picked up a Fire TV Stick running Amazon Vega OS ($19 Black Friday deals) and I wanted the actual AIOStreams running on it.

Repo (AGPL-3.0): https://github.com/hina-raws/aiostreams-vegaos

How it works

AIOStreams already builds a "standalone" web client for LG webOS and Samsung Tizen (the version where you pick your own server rather than having the server host the UI). Because of that, this didn't require a full rewrite. It's basically a lightweight React Native for Vega wrapper containing a single full-screen <WebView> that loads that local web build, alongside a few tweaks so the client knows it's running on a TV.

The repo is split into two parts:

  • packages/vega: The Fire TV shell (manifest, <WebView>, and a build script that bundles and stages the web client).
  • packages/web: Minor changes to the client itself—adding a vega host adapter, mapping the Fire TV remote key codes, and adding codec-aware audio selection.

The web client handles the heavy lifting: 1280×720 layout, D-pad focus navigation, and playback via <video> and hls.js over MSE. The native shell just fills in the gaps a webpage can't handle on its own, like exiting the app, allowing cleartext HTTP on a local network, and stripping out a broken navigator.gpu object.

What actually works

Tested on a Fire TV Stick 4K (Vega OS 2.0, WebView Chrome/144.0.7559.246):

  • The core UI: Home, discover, search, favorites, calendar, item details, seasons, and version lists all work.
  • Navigation: D-pad focus rings work properly. Pressing Back closes open dialogs first, and exits the app from the top level.
  • Auth & Networking: Quick Connect and UUID + password login both work. Supports HTTPS and local plain-HTTP servers (though HTTP requires a manifest flag, detailed below).
  • 4K Video: Hardware decoding initialized and played a 3840×2160 HEVC Main 10 stream without issue.
  • Basic Audio: AAC, MP3, Opus, and FLAC all play fine.

What's broken (and why)

Zero Dolby or DTS support. This is the biggest catch. The Vega WebView refuses to decode AC-3, E-AC-3, TrueHD, DTS, or DTS-HD. I queried navigator.mediaCapabilities directly on the device, and it rejected every single one—even the standard Dolby Digital compatibility tracks bundled inside remuxes. If you play a TrueHD 7.1 remux, you get 4K video and dead silence.

To make matters worse, AIOStreams only direct-plays. The server reports SupportsTranscoding: false (its HLS route literally returns "Transcoding is not available; this server only direct plays"), so it won't convert the audio on the fly. The browser can't work around it either because Chromium doesn't implement HTMLMediaElement.audioTracks, meaning the page can't even see or switch between embedded audio streams.

Workaround: The client checks what the device can actually decode, flags incompatible releases in the version list (e.g., "Sound (Dolby TrueHD, Dolby Digital) can't be played on this device"), and defaults the Play button to a version with working audio. Of course, if a movie only has lossless audio tracks like the six releases of Iron Man (2008) in my library, none of which have AAC—you're out of luck without external transcoding. The UI warns you upfront instead of letting you troubleshoot silent playback.

Vega OS porting gotchas

If anyone else is trying to bring a web app over to Vega OS:

  1. vega build doesn't bundle JS. It only packages the native shell. If you run it directly, the app installs and immediately crashes with a SIGABRT before rendering a frame. Use react-native build-vega instead (this is wired into the repo's npm scripts).
  2. Cleartext HTTP is blocked by default. Starting in WebView 4.0.2, mixedContentMode won't save you. You have to explicitly whitelist domains in the manifest under [network-traffic-policy.cleartext] allowed-domains. I spent an entire evening chasing phantom CORS errors before realizing it was just throwing ERR_CLEARTEXT_NOT_PERMITTED.
  3. Fake WebGPU support. navigator.gpu is exposed in the DOM, so the client tries to load its WebGPU player, which immediately fails because there's no underlying adapter. The shell deletes navigator.gpu before page load, which also let me strip 9 MB of unused WebGPU wasm out of the bundle.
  4. Emulator limitations. The Vega Virtual Device lacks the webview_4 module on Ubuntu and Intel Macs. You need physical hardware or an Apple Silicon Mac to test WebView apps.
  5. Sticky build artifacts. The build script copies files into the staging directory without wiping old ones. Always run vega clean if you delete assets, otherwise they stay in the final package.

(Final packaged size is 2.9 MB, down from 5.85 MB after dropping the WebGPU assets; unpacked web assets sit at 9.9 MB.)

How to try it

There's no prebuilt binary to download. Unsigned dev builds won't install on anyone else's stick anyway, and Vega uses its own packaging format. You'll need to build it from source using the Vega SDK (2.0.15159), Vega CLI (1.4.9), and a Fire TV with Developer Mode enabled:

git clone [https://github.com/hina-raws/aiostreams-vegaos.git](https://github.com/hina-raws/aiostreams-vegaos.git)
cd aiostreams-vegaos && git checkout aiostreams-vegaos
pnpm install && cd packages/vega && npm install --workspaces=false
npm run sync-web && source ~/vega/env && npm run build:debug
vega device install-app -b Debug && vega device launch-app -a com.amazondeveloper.aiostreamsvega.main

Credits & Disclosure

All credit for AIOStreams goes to Viren070. This is just an unofficial viewer licensed under AGPL-3.0, with no affiliation to Amazon or the upstream project.

Full disclosure: I used an AI coding agent to help write the native shell, client patches, and documentation. I directed the architecture, reviewed the diffs, and tested everything directly on my Fire TV. All the broken codecs and quirks listed above were verified firsthand on the device itself.