Skip to content

Instantly share code, notes, and snippets.

View cewert's full-sized avatar

Charles Ewert cewert

  • Detroit, Michigan
  • 07:25 (UTC -04:00)
View GitHub Profile
@cewert
cewert / roku-chatbot-expert-rag-example.md
Last active September 2, 2025 03:10
example prompt and response

I'm coding custom subtitles for a jellyfin client roku app. I'm currently using a timer of .1 seconds and i was thinking about decreasing it further. whats the shortest timer duration I can set? will using such a short timer cause my app to lag? if so tell me why i.e. CPU, RAM, etc is there an industry standard timer for custom subtitles? think hard about these questions and give me a brief report <timer id="captionTimer" repeat="true" duration="0.1" />

I'll help you analyze timer performance and best practices for your Jellyfin Roku app subtitles. Let me consult the official Roku documentation first.Based on the official Roku documentation, here's a comprehensive report on timer performance for your custom subtitle implementation:

Timer Duration Limits

Minimum Duration: You can set timers as low as 0.001 seconds (1 millisecond) using float values. The documentation states: "To specify time values down to millisecond granularity, use a float type (0.001 equals one millisecond)."

Your

@cewert
cewert / roku-chatbot-expert-rag-instructions.md
Last active September 2, 2025 02:39
Roku BrightScript and Scenegraph chatbot expert using RAG
  1. Scrape 'reference' docs (brightscript/scenegraph) and save as markdown files
  2. Scrape the markdown files for metadata and add it to the markdown files as frontmatter
  3. Pay for Claude Pro ($20 for a month) - https://claude.ai/upgrade
  4. Install ClaudeSync - https://github.com/jahwag/ClaudeSync
sudo apt install -y pipx
pipx install claudesync
cd reference/docs/with/frontmatter
claudesync auth login # oauth
claudesync project create