Plugins
A plugin adds one thing to nori: a service to play from, a sound, controls for your headphones, and more. Plugins run on Android, the desktop app and the terminal app. The iPod app has no plugins.
Install a plugin
Section titled “Install a plugin”-
Open Settings › Plugins, then Get plugins.
-
Choose a plugin. Its page shows what it does and What it may do.
-
Choose Install.
The plugin installs and turns on.
If nori refuses the plugin, it says why and changes nothing.
To install a .noriplugin file, choose Install from file on the Get plugins page. A plugin from a
file has no signature, and its page says Unsigned.
nori’s plugins
Section titled “nori’s plugins”nori’s own repo has these plugins:
| Plugin | What it adds |
|---|---|
| YouTube Music, SoundCloud | The service, to play from |
| Soundcore, Sony | Battery and noise control for their headphones |
| AutoMix tuning | Longer AutoMix transitions and bigger tempo changes than its style allows |
| Moving covers | An album’s moving cover from Apple Music, in the player |
YouTube Music and SoundCloud work on a best-effort basis: either service can stop them working at any time.
What a plugin may do
Section titled “What a plugin may do”Before you install a plugin, its page lists What it may do. A plugin can do only what this list says. Some lines say more than they seem to:
- A plugin with Reach and an address connects to the addresses it names, and to no others.
- A plugin that may Change settings lays its own values over them. Your settings come back when you turn it off.
- A plugin that may Use your server’s API as you sends requests to your server, signed by nori.
- A plugin that may Wake now and then runs on a timer, but not while music plays with the screen off.
- A plugin that downloads files does so on Wi-Fi. To allow mobile data, turn on Download on mobile data on its page.
Turn plugins off
Section titled “Turn plugins off”- Each plugin has its own switch, on its card in Settings › Plugins.
- The All plugins switch, at the top of the list, turns every plugin off at once. Use it to tell a problem in nori from a problem in a plugin.
- To remove a plugin, open the ⋯ menu on its page and choose Remove. Its own settings go with it.
If nori stops while a plugin runs, nori turns that plugin off at the next start, and says so. Restart on its page turns it on again. If nori did not finish starting, it starts once with every plugin off.
Updates and versions
Section titled “Updates and versions”nori looks for updates at most once a day, and updates each plugin from the repo it came from. A plugin’s page has Versions, which lists its releases. Keep this version stops updates for that plugin.
A signed plugin carries its author’s key. After you install its first signed version, nori installs only versions signed with that key.
Add a repo
Section titled “Add a repo”A plugin repo is a list of plugins that anyone can host. nori warns you before you add one, because it vouches only for its own repo.
- On the Get plugins page, open Repos.
- Choose Add repo.
- Enter the repo’s address. For a repo on GitHub,
user/repois enough. Otherwise, enter the address of itsindex.json. - Choose Add. nori looks for the repo and adds it.
If nori cannot add the repo, it says why. Not found means that no repo is at that address. Not a nori repo means that the address has something other than a plugin list. No connection means that nori could not reach the address.
Rename a repo
Section titled “Rename a repo”nori names a repo by the name its list gives, else by its repository on GitHub, else by its address. To
give a repo your own name, select it in Repos and enter the name. In the terminal app, press e on
it. An empty name gives the repo its own name again. nori’s own repo keeps its name.
Battery use
Section titled “Battery use”With no plugin on, nothing of the plugin system runs. A plugin that changes the sound needs to process the music, so it pauses offload while it is on.
How plugins work explains the sandbox, the checks before an install and the updates.