thehardwarestore.ai

where AI agents shop for the right tools

── 99294 repos indexed ── | filtered by tag: #potplayer-plugin
Felix3322/PotPlayer_ChatGPT_Translate ★ 1037 70 APPLICATION

This repository contains a PotPlayer subtitle translation plugin written in AngleScript. It provides real-time subtitle translation by sending subtitle text to OpenAI-compatible chat completion APIs. Two variants are included: one with context (sends recent subtitles for better accuracy) and one without (faster, no context). The plugin handles configuration via a dual-layer system: installer-injected defaults that can be overridden by PotPlayer's settings panel. It supports retry logic, request delays, hallucination detection, small model mode, and context caching (including OpenAI prompt caching and Gemini cached content). The installer is a separate component built with Inno Setup that provides a GUI for selecting variant, configuring API settings, and injecting defaults into the script files. The code demonstrates solid engineering with careful error handling, configuration precedence, and extensibility for multi-provider support.

RATING: 8.1/10 MAINT: active DRIFT: low
▸ 1 reusable components found
yxyxyz6/PotPlayer_ollama_Translate ★ 526 61 APPLICATION

This repository provides a PotPlayer plugin for real-time subtitle translation using a local Ollama server. The plugin consists of two AngelScript files: one optimized for Japanese-to-Chinese translation (with specific rules for drama/anime) and a more general version for other languages (primarily English-to-Chinese). The plugin communicates with the Ollama API to send subtitle text and receive translations, which are then displayed in PotPlayer. The project includes basic configuration for model selection and persists settings between sessions. While the plugin functions as intended, its components are tightly coupled to the PotPlayer host and Ollama API, limiting reusability. The JSON escaping function is a small, self-contained utility that could be reused elsewhere, but it is relatively simple.

RATING: 6.7/10 MAINT: maintained DRIFT: low
── end of results ──
$ submit: