Giter Club home page Giter Club logo

musify's Introduction

Music Player

A Music Player built with Jetpack compose and media3/Exoplayer

Features

  • Load/Play Songs from External/Shared Storage
  • Foreground Service to play the music, when the app is in Background.
  • Recommended Music Player Lifecycle Handling
  • MediaSessions from Jetpack Media3 artifact.
  • Styled Notification for music playback control.

PlayerNotificationManager Integration

This Music Player integrates with PlayerNotificationManager from ExoPlayer to provide a seamless music playback experience and manage notifications for music control. Here's how it works using Media3 Android API:

  1. Notification Channel Setup: Before displaying any notifications, a notification channel is created using the NotificationManager. This channel is essential for managing and customizing notifications for the music player.

  2. MediaStyle Notification: The Music Player utilizes MediaStyle notifications, which provide a rich interface for controlling music playback, including play, pause, skip, and stop actions. These notifications are designed to be interactive and offer a consistent user experience across different Android versions.

  3. Updating Notification: As the playback state changes (e.g., song changes, play/pause actions), the Music Player updates the notification to reflect the current playback status. This ensures that users can always see the current song information and control playback without needing to open the app.

  4. Foreground Service: The music playback functionality runs as a foreground service, ensuring that the system prioritizes its execution, even when memory is low or the device is under heavy load. This allows the music player to continue playing music seamlessly in the background while users interact with other apps or the device.

Future Updates

  • PlayList
  • Favourites/Liked Songs
  • Detailing Mini Player to Different Screen

Technologies

  • Kotlin
  • Jetpack Compose
  • Koin for Dependency Injection
  • Glide/Coil for Image Loading/Showing
  • Exoplayer etc.,

ScreenShots

image

image

image

musify's People

Contributors

myofficework000 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.