Omega Player Google Play

Developers

Extension SDK

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.

Open the SDK on GitHub Full contract (README.html)

What an extension can add

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.

Music recognition

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.

Settings pages

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.

Nothing runs without a gesture

An extension runs inside the app's process, with the app's rights. That is why the app treats it carefully:

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.

What is in the SDK

FileRole
media_plugin.pyThe template: a working offline demo source with a settings page. This becomes your extension.
manifest.jsonIts identity: id, name, version.
media_bridge.pyThe app's side of the contract, for reference. Read it rather than guess.
README.htmlThe 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.

Getting started

  1. Get the template from the GitHub folder or the export in the app.
  2. Import it unchanged first. It works as shipped: zip media_plugin.py with manifest.json, import the zip from the Extensions settings, then open its page.
  3. Edit and re-import. Your code is replaced, your data/ folder is kept.

A real example

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.

Read the Subsonic example

The rules that matter

Open the SDK on GitHub Back to Omega Player