A search source
Search results in the Search tab, plus the stream and download behind each result. One source at a time, picked by the user.
Developers
Omega Player plays the files already on the phone and ships with no extension. An extension is a small Python module that you write, the user installs, and the app loads only after the user confirms it.
Search results in the Search tab, plus the stream and download behind each result. One source at a time, picked by the user.
The app records a few seconds from the microphone when the user presses the button and hands the raw audio to the extension, which does everything after that.
Text fields, secrets, choices, switches, buttons and lists, drawn by the app inside a fixed frame that names the extension.
Several extensions can be enabled at once. Capabilities are detected from the functions a module actually defines, not from what its manifest claims.
An extension runs inside the app's process, with the app's rights. That is why the app treats it carefully:
data/ folder, which survives re-imports and is erased with the extension.Apart from the template and the example below, published as code to read, Omega Player does not write, review, approve, host or distribute extensions. Whoever installs one is responsible for it, including how it is used under the laws that apply to them.
| File | Role |
|---|---|
media_plugin.py | The template: a working offline demo source with a settings page. This becomes your extension. |
manifest.json | Its identity: id, name, version. |
media_bridge.py | The app's side of the contract, for reference. Read it rather than guess. |
README.html | The full guide: functions, return formats, errors, pages and actions, common mistakes. |
The same folder can be exported from the app itself, from the Extensions section of the settings.
media_plugin.py with manifest.json, import the zip from the Extensions settings, then open its page.data/ folder is kept.Subsonic server searches the music on your own Navidrome, Airsonic or Gonic server and downloads tracks into the library, with a settings page and a connection test. Under 300 lines of plain Python, MIT licensed, with its tests: read it before writing your own.
numpy, requests and beautifulsoup4 are bundled with the app.search, stream_info, fetch_audio and playlist_meta. An extension without search is fine; one with search but missing the others fails to load.recognize(pcm, sample_rate): raw 16-bit mono audio in, a title and artist out.data_dir().