Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .github/workflows/extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,13 @@ jobs:
env:
CROSS_COMPILE: ${{ github.workspace }}/toolchains/rockbox-arm/bin/arm-elf-eabi-
run: |
pipx run ruff==0.12.12 check .
pipx run ruff==0.12.12 format --check themes tools tests
make -j8
make check
python3 tools/catalog.py preview
python3 -m unittest discover -s tests
python3 -m unittest discover -s themes/tests
- name: Select tagged package
if: github.ref_type == 'tag'
shell: bash
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/build/
build/
__pycache__/
.ruff_cache/
.DS_Store
themes/dist/
*.rvt
21 changes: 18 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,38 @@
# SPDX-License-Identifier: GPL-3.0-only
SDK ?= ../osos-lab/rvx-sdk
OUT ?= build
extensions := balance crossfeed dsp night-shift playback-log
extensions := album-artists appearance balance clicker-modes crossfeed dsp equalizer \
eu-volume-limit file-info homebrew iap-auth-bypass night-shift playback-log \
playback-queue

.PHONY: all $(extensions)
all: $(extensions)
all: $(extensions) $(OUT)/assets.json

$(extensions):
$(MAKE) -C extensions/$@ all SDK="$(abspath $(SDK))" OUT="$(abspath $(OUT))/.work/$@"
@mkdir -p "$(OUT)/Extensions"
cp "$(OUT)/.work/$@/$@.rvx" "$(OUT)/Extensions/$@.rvx"

# The bitmap assets of the core and every extension, for the theme tooling
# (themes/docs/catalog.md).
$(OUT)/assets.json: $(extensions)
cat "$(abspath $(SDK))/assets.json" > $@
@for extension in $(extensions); do \
$(PYTHON) "$(abspath $(SDK))/assets.py" extensions/$$extension/manifest.toml \
"$(OUT)/Extensions/$$extension.rvx" >> $@ || exit 1; \
done

.PHONY: check
check:
$(PYTHON) extensions/album-artists/tests/run.py "$(abspath $(SDK))"
$(PYTHON) extensions/appearance/tests/run.py "$(abspath $(SDK))"
$(PYTHON) extensions/balance/tests/run.py "$(abspath $(SDK))"
$(PYTHON) extensions/crossfeed/tests/run.py "$(abspath $(SDK))"
$(PYTHON) extensions/dsp/tests/run.py "$(abspath $(SDK))"
$(PYTHON) extensions/equalizer/tests/run.py "$(abspath $(SDK))"
$(PYTHON) extensions/file-info/tests/run.py "$(abspath $(SDK))"
@mkdir -p "$(OUT)"
$(CC) $(TEST_FLAGS) extensions/night-shift/test.c -o "$(OUT)/test-night-shift"
$(CC) $(TEST_FLAGS) -Iextensions/shared extensions/night-shift/test.c -o "$(OUT)/test-night-shift"
"$(OUT)/test-night-shift"
$(CC) $(TEST_FLAGS) extensions/playback-log/test.c -o "$(OUT)/test-playback-log"
"$(OUT)/test-playback-log"
Expand Down
23 changes: 22 additions & 1 deletion NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,28 @@ Balance, Crossfeed, DSP and the Night Shift scheduling and gamma code are from
RevolaOS extensions, revision 36d197b180e55a304ea0468de4330c0d07fe715f.
Night Shift derives from kayboll’s RepriseOS work. Playback Log derives from
the work of brilliant-alien and lgreitis in osos-lab. Its Settings artwork is
from osos-lab commit 10485fa. The original RevolaOS notice follows.
from osos-lab commit 10485fa. Album Artists, File Info and Playback Queue are
from RevolaOS extensions, revision 900d5c4ea61e31834d85f9b62c353ce48e58419a,
and derive from the RepriseOS core: Album Artists by lgreitis, File Info by
lgreitis and paviro, Play Next and Play Last by lgreitis and brilliant-alien,
and Up Next by Alex Ball. Their Settings icons are Cupertino Icons glyphs
(MIT), see the LICENSE.cupertino-icons beside each. Equalizer, Clicker Modes,
iAP Auth Bypass and EU Volume Limit are from RevolaOS extensions, revision
509cd1630325a53495798541c170e72854bbb17e. Equalizer, Clicker Modes and iAP
Auth Bypass derive from the RepriseOS core: Custom EQ by lgreitis and paviro,
clicker modes by Alex Ball and lgreitis, iAP auth bypass by RaduTek; EU Volume
Limit is by paviro. Equalizer's Settings icon is the core's own settings-eq
art; the other three are Cupertino Icons glyphs (MIT), see the
LICENSE.cupertino-icons beside each. Homebrew is from RevolaOS extensions,
revision 509cd1630325a53495798541c170e72854bbb17e, and derives from the
RepriseOS core's homebrew patch by lgreitis; its catalog icon is a Cupertino
Icons glyph (MIT). Appearance is from RevolaOS extensions, revision
a32d616f5a06, and derives from the RepriseOS core's Dark Mode by lgreitis and
Alex Ball; its Settings icons are Cupertino Icons glyphs (MIT), see the
LICENSE.cupertino-icons beside them, and the Classic theme it carries is built
by the rvt compiler in themes/ (see themes/NOTICE). Night Shift's hosted row and
choice screen are from RevolaOS extensions, revision d04fa7d. The original
RevolaOS notice follows.

RevolaOS
Copyright (C) 2026 The RevolaOS Authors. GPL-3.0-only.
Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,18 @@

This repository hosts the source for these RepriseOS extensions and accepts proposals for the extension catalog.

- [Appearance](extensions/appearance/) adds Dark Mode with Auto, accent colours and themes from `/Reprise/Themes` that recolour the screens and replace the artwork.
- [Balance](extensions/balance/) adjusts the volume of the left and right channels independently of the main volume.
- [Night Shift](extensions/night-shift/) warms the display manually or automatically from sunset to sunrise.
- [Night Shift](extensions/night-shift/) warms the display manually or automatically from sunset to sunrise; its row joins the Appearance menu when that extension runs.
- [Playback Log](extensions/playback-log/) records listening history for scrobbling and optional detailed reports.
- [Album Artists](extensions/album-artists/) lists the library by Album Artist, with the Artist as the fallback.
- [File Info](extensions/file-info/) shows an item's tags and file properties from its context menu.
- [Playback Queue](extensions/playback-queue/) adds Play Next, Play Last and an Up Next screen to edit the queue.
- [Crossfeed](extensions/crossfeed/) blends a little of each stereo channel into the other for headphone listening. It uses the included [DSP library](extensions/dsp/).
- [Equalizer](extensions/equalizer/) runs the EQ presets without distortion and adds a Custom preset with five bands. It uses the included [DSP library](extensions/dsp/).
- [Clicker Modes](extensions/clicker-modes/) lets Settings > Clicker choose the speaker, the headphones, both or off.
- [iAP Auth Bypass](extensions/iap-auth-bypass/) lets accessories use authentication-gated iAP commands without an Apple authentication chip.
- [EU Volume Limit](extensions/eu-volume-limit/) gives an EU iPod the volume behaviour of a non-EU one when its limit switch is off.
- [Homebrew](extensions/homebrew/) lists apps and games from `/Reprise/Apps` and `/Reprise/Games` under Extras and starts them without an Apple signature.

To add your extension to the catalog, open a PR following the [submission guide](catalog/README.md). Later releases are picked up automatically.
45 changes: 45 additions & 0 deletions catalog/sources.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ repo = "RepriseOS/repriseos-extensions"
path = "extensions/crossfeed"
tag_prefix = "crossfeed/v"

[appearance]
repo = "RepriseOS/repriseos-extensions"
path = "extensions/appearance"
tag_prefix = "appearance/v"

[night-shift]
repo = "RepriseOS/repriseos-extensions"
path = "extensions/night-shift"
Expand All @@ -22,3 +27,43 @@ tag_prefix = "playback-log/v"
repo = "RepriseOS/repriseos-extensions"
path = "extensions/dsp"
tag_prefix = "dsp/v"

[album-artists]
repo = "RepriseOS/repriseos-extensions"
path = "extensions/album-artists"
tag_prefix = "album-artists/v"

[file-info]
repo = "RepriseOS/repriseos-extensions"
path = "extensions/file-info"
tag_prefix = "file-info/v"

[playback-queue]
repo = "RepriseOS/repriseos-extensions"
path = "extensions/playback-queue"
tag_prefix = "playback-queue/v"

[equalizer]
repo = "RepriseOS/repriseos-extensions"
path = "extensions/equalizer"
tag_prefix = "equalizer/v"

[clicker-modes]
repo = "RepriseOS/repriseos-extensions"
path = "extensions/clicker-modes"
tag_prefix = "clicker-modes/v"

[iap-auth-bypass]
repo = "RepriseOS/repriseos-extensions"
path = "extensions/iap-auth-bypass"
tag_prefix = "iap-auth-bypass/v"

[eu-volume-limit]
repo = "RepriseOS/repriseos-extensions"
path = "extensions/eu-volume-limit"
tag_prefix = "eu-volume-limit/v"

[homebrew]
repo = "RepriseOS/repriseos-extensions"
path = "extensions/homebrew"
tag_prefix = "homebrew/v"
3 changes: 3 additions & 0 deletions extensions/album-artists/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# SPDX-License-Identifier: GPL-3.0-only
main_SOURCES := main.c fields.c browser.c
include $(SDK)/rv.mk
21 changes: 21 additions & 0 deletions extensions/album-artists/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Album Artists

Partly adapted from the RepriseOS core's [Album Artists](https://github.com/RepriseOS/repriseos/blob/bfedd72/payload/album_artists.c) and its [index](https://github.com/RepriseOS/repriseos/blob/bfedd72/payload/album_artists_index.h), by lgreitis.

Adds Album Artists after Artists in Music, and optionally to the main menu, listing the library by the iTunes Album Artist tag with the Artist as the fallback. Opening a group shows its albums with their artists as subtitles and their artwork, on the stock Artists and Albums screens. Settings > Music Menu and Main Menu show or hide the two rows.

| | |
|---|---|
| Sort | the Sort Album Artist or Sort Artist tag when iTunes set one; otherwise the name, with Apple's rules for leading articles |
| Jump letters | from the Sort As text, "#" for digits and symbols |
| No artist | one "Unknown" group |

Apple's importer discards the Album Artist, Sort Artist and Sort Album Artist tags, so the extension keeps them while the library loads. A song whose Album Artist is its Artist and that carries no Sort As tag is not kept: it lands in the same group either way. File Info shows an Album Artist row for the songs whose Album Artist differs from their Artist.

On first start the two rows take over the Music Menu and Main Menu checkboxes of the Album Artists row that earlier RepriseOS releases built in.

| | |
|---|---|
| Default | on |
| Memory | 20 bytes per song whose Album Artist differs from its Artist or that carries a Sort As tag, plus those strings in Apple's artist cache; up to twice that as the load finishes; the list's rows while the list is open and until Apple's selection and artwork cache let it go |
| Settings | the two menu visibility flags |
20 changes: 20 additions & 0 deletions extensions/album-artists/assets/LICENSE.cupertino-icons
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2016 Vladimir Kharlampidi

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions extensions/album-artists/assets/settings-album-artists.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading