4ecb607f45
As per Android policy and internal logic, we stopped the playback foreground service when playback was paused. This made our PlayService elligible for garbage collection by the OS. This had the consequences of not allowing someone to pause playback and resume it after some time. Android would always kill the service after around one minute. This commit, on supported Android version (7.0+) detaches the notification when stopping the foreground service, leaving the notification in place even when the service is killed, allowing the user to resume playback whenever they please. We also had to move the MediaSession out of the service, for it to remain alive between service killing and resurrection. |
||
---|---|---|
.github | ||
app | ||
dist | ||
fastlane/metadata/android | ||
gradle/wrapper | ||
libs | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
README.md | ||
build.gradle.kts | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
settings.gradle.kts |
README.md
Otter for Funkwhale
Otter is a native Android music player for Funkwhale, native to both Android (developed in Kotlin) and to Funkwhale (uses its native API instead of Subsonic).
You can get help and discuss Otter on Matrix on #otter:matrix.org.
State
A beta version of the app can be downloaded on Google Play, on IzzySoft (F-Droid-compatible repository) or through GitHub releases. Please bear with it, there will be bugs, there will be crashes and there will be performance or UX issues.
Otter's features, as of this writing, are the following:
- Basic collection browsing (artists, albums and tracks)
- Playlists listing
- Favorites management (listing and add/remove)
- Track search
- Queue management
- Caching of played tracks (played tracks work offline)
- Download tracks for offline playback
- Radios playback
- Dark mode! 🎉
Otter will try to behave as you would expect a mobile music player to, meaning integrating with the OS's media controls (including headset controls) or pause on incoming calls. If there is anything you would like it to do, please open an issue.
Screenshots
Translation
Otter is being translated by the community through Weblate. If you would like to contribute to its localization or add a new language, you can help out there.
Thanks to the Funkwhale project for hosting us on their instance.