Skip to content

Android library that helps you focusing on your audio UI and manages independently media player under the hood

Notifications You must be signed in to change notification settings

LouisDuboscq/Jukebox

Repository files navigation

What is Jukebox

A lighweight android library that helps you focusing on your audio UI and manages independently media player under the hood.

It’s built on top of jetpack compose and media player.

The focus is on flexibility to change loading, error and audio views.

Setup

Gradle dependencies

maven { url 'https://jitpack.io' }
implementation("com.github.LouisDuboscq:Jukebox:0.5")

What can I do with Jukebox

Launch the Jukebox composable with the minimal parameters and get ready to use slider and audio player.

jukebox simple

slider

Customize audio view :

jukebox custom

circular and actions

custom_style

Customize loading view :

loading

Customize error view :

custom_error error_404

Call play and pause, the commands understood by Jukebox

commands

Set play when ready

By default, Jukebox does not play your audio when the media player has finished preparing it. You can force him to play when it's ready :

Jukebox(
    uri = uri,
    playWhenReady = true,
    commands = commands.receiveAsFlow()
)

Sample

There's a sample to show you how to use Jukebox:

sample

About

Android library that helps you focusing on your audio UI and manages independently media player under the hood

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages