Skip to content

About

An application for Roku devices that connects to your local Stash App server.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Stash for Roku

A Roku channel that turns your self-hosted StashApp server into a native, 10-foot media browsing experience — similar in spirit to Plex or Jellyfin clients, built specifically against Stash's GraphQL/REST API.

Status: Alpha (v0.1.0-alpha). Core browsing and playback are working end-to-end, but this is early software built for a single household setup and tested on a limited set of devices. Expect rough edges. See Known Limitations below.

This is an unofficial, community client. It is not affiliated with, endorsed by, or supported by the Stash project.


Features

  • Home dashboard with live counts for Scenes, Performers, Tags, and Studios, each a quick-nav shortcut into its browser
  • Scene browser — paginated grid with sort and filter options
  • Performer / Tag / Studio browsers — shared grid component, drill-through to filtered scene lists
  • Scene detail screen with full metadata, description scrolling, and a resume-playback prompt
  • Video playback via HLS transcoding, with:
    • Custom seek handling and sprite-sheet thumbnail scrubbing (using Stash's VTT sprite files)
    • Selectable stream quality (480p → Original), which forces Stash's ?resolution= transcode parameter — useful for lower-powered players (e.g. Roku Stick) that can't decode high-bitrate 4K/HEVC natively
    • One-time automatic retry on silent playback failures
    • Resume playback: position is saved periodically and on exit, with a "resume or start over" prompt on return
  • Watchlist / Favorites
  • Dark, violet-accented UI with animated focus states and screen transitions

Requirements

  • A running StashApp server (developed against v0.31.x) reachable from your Roku on the local network
  • A Roku device with developer mode enabled (instructions)
  • Stash's API key, if your instance requires authentication

Installation (sideload)

Roku channels in development are installed via sideloading — there is no public Channel Store listing for this app.

  1. Enable developer mode on your Roku and note the device IP address it gives you.
  2. Download the latest .zip from this repo (or build one yourself — see Building below).
  3. Open http://<roku-ip-address> in a browser. Log in with the developer credentials you set during setup.
  4. Under Upload, choose the .zip file and click Install.
  5. Launch "Stash" from your Roku home screen.

On first launch, go to Settings and enter your Stash server URL (e.g. http://192.168.1.50:9999) and API key if applicable.

Building

The channel is plain BrightScript/SceneGraph — no build tooling is required beyond zipping the package contents:

zip -r stash.zip manifest components images source -x '.*'

Then sideload the resulting stash.zip as described above.

Project structure

manifest              Roku channel manifest (name, version, icons)
components/           SceneGraph XML + BrightScript components
  MainScene.*          Root scene; owns the screen stack and transitions
  HomeScreen.*          Landing dashboard
  SceneGrid.*           Scene browser
  EntityGrid.*          Shared Performer/Tag/Studio browser
  ScenePosterItem.*     Scene grid card
  EntityPosterItem.*    Performer/Tag/Studio grid card
  SceneDetailScreen.*   Scene metadata + resume/play entry point
  VideoPlayer.*         Playback, HLS, seek, sprite scrubbing, resume
  SettingsScreen.*      Server URL / API key / stream quality config
  ApiTask.*             Async GraphQL/REST calls to the Stash server
  utils.brs             Shared helpers
images/               Channel icons and splash screen
source/main.brs        Channel entry point

Known limitations

This is an alpha build from an actively-iterated personal project:

  • Tested primarily on a 4K Roku TV and a Roku Stick; other models are untested
  • Some Stash library configurations or large libraries may not be fully exercised yet
  • Error handling is defensive but not exhaustive — please open an issue with logs if you hit a crash or freeze
  • No automated test suite yet

Contributing

Issues and pull requests are welcome — see CONTRIBUTING.md.

License

This project is licensed under the MIT License.

Stash itself is a separate project licensed under AGPL-3.0; this repository contains no Stash source code and communicates with a Stash server only over its published API.

About

An application for Roku devices that connects to your local Stash App server.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors