All Projects → DoubleSymmetry → react-native-track-player

DoubleSymmetry / react-native-track-player

Licence: Apache-2.0 license
A fully fledged audio module created for music apps. Provides audio playback, external media controls, chromecast support, background mode and more!

Programming Languages

C++
36643 projects - #6 most used programming language
kotlin
9241 projects
swift
15916 projects
typescript
32286 projects
java
68154 projects - #9 most used programming language
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to react-native-track-player

React Native Track Player
A fully fledged audio module created for music apps. Provides audio playback, external media controls, chromecast support, background mode and more!
Stars: ✭ 2,175 (-7.37%)
Mutual labels:  music-player, music-library, media-control
Jetpack Musicplayer
即使不用云音乐听曲儿,也请务必收藏好该库!🔥 一行代码即可接入,音乐播放控制组件 - Even if you don't listen to the music by Spotify, be sure to collect this library, please! 🔥 This music player component can be accessed by only one line of code. Supporting by LiveData & AndroidX.
Stars: ✭ 577 (-75.43%)
Mutual labels:  music-player, music-library
Diffuse
A music player that connects to your cloud/distributed storage.
Stars: ✭ 517 (-77.98%)
Mutual labels:  music-player, music-library
Guayadeque
Guayadeque is a music management program designed for all music enthusiasts. It is Full Featured Linux media player that can easily manage large collections and uses the Gstreamer media framework.
Stars: ✭ 87 (-96.29%)
Mutual labels:  music-player, music-library
Simple Netease Cloud Music
🎵A simple netease music api lib. 简单、统一、轻巧的 Node.js 版网易云音乐 API
Stars: ✭ 268 (-88.59%)
Mutual labels:  music-player, music-library
Hyperamp
🎛 Humble music player
Stars: ✭ 293 (-87.52%)
Mutual labels:  music-player, music-library
Starrysky
🔥A Powerful and Streamline MusicLibrary(一个丰富的音乐播放封装库,支持多种音频格式,完美解决你的问题。)
Stars: ✭ 1,022 (-56.47%)
Mutual labels:  music-player, music-library
flutter-tunein
Dynamically themed Music Player built with flutter
Stars: ✭ 108 (-95.4%)
Mutual labels:  music-player, music-library
Nicemusic
A Nice MusicPlayer Powered by StarrySky
Stars: ✭ 107 (-95.44%)
Mutual labels:  music-player, music-library
Rompr
Web client for Mopidy and MPD
Stars: ✭ 115 (-95.1%)
Mutual labels:  music-player, music-library
Olivia
Elegant music player for LINUX
Stars: ✭ 261 (-88.88%)
Mutual labels:  music-player, music-library
vue-music-player
🎵 basic music player, keeps your favorite musics
Stars: ✭ 77 (-96.72%)
Mutual labels:  music-player, music-library
ManaZeak
ManaZeak is a self-hostable web app that give you the ability to listen, edit and share your musical library over the internet.
Stars: ✭ 16 (-99.32%)
Mutual labels:  music-player, music-library
Tauonmusicbox
The Linux desktop music player from the future! 🌆
Stars: ✭ 494 (-78.96%)
Mutual labels:  music-player, music-library
ytqck.github.io
YouTube quick ⚡ Search and Download Music for Free.
Stars: ✭ 18 (-99.23%)
Mutual labels:  music-player, music-library
Quodlibet
Music player and music library manager for Linux, Windows, and macOS
Stars: ✭ 918 (-60.9%)
Mutual labels:  music-player, music-library
Musicott
JavaFX application that manages and plays music files.
Stars: ✭ 97 (-95.87%)
Mutual labels:  music-player, music-library
Musikcube
a cross-platform, terminal-based music player, audio engine, metadata indexer, and server in c++
Stars: ✭ 2,663 (+13.42%)
Mutual labels:  music-player, music-library
HypnosMusicPlayer
A Lightweight, Clean, and Powerful Music Player and Library.
Stars: ✭ 21 (-99.11%)
Mutual labels:  music-player, music-library
cloud-music-mobile
This is a music player
Stars: ✭ 22 (-99.06%)
Mutual labels:  music-player

downloads npm discord

📢 The Android side of RN track player is currently being rewritten with Kotlin and KotlinAudio. Help us test! More information here.


A fully-fledged audio module created for music apps. Provides audio playback, external media controls, background mode and more!

Not sure where to start?

  1. Try Getting Started.
  2. Peruse the API Docs.
  3. Run the Example Project.

Sponsors

react-native-track-player is made possible by the generosity of the sponsors below, and many other individual backers. Sponsoring directly impacts the longevity of this project.

🥇 Gold sponsors ($2000+ total contributions)

Radio Garden
Radio Garden

🥈 Silver sponsors ($200+ per month)

Voxist
Voxist
Evergrace
Evergrace

🥉 Bronze sponsors ($500+ total contributions)

Become the first bronze sponsor!

Contributing sponsors ($25+ per month)

Podverse
Podverse

Features

  • Lightweight - Optimized to use the least amount of resources according to your needs
  • Feels native - As everything is built together, it follows the same design principles as real music apps do
  • Multi-platform - Supports Android, iOS and Windows
  • Media Controls support - Provides events for controlling the app from a Bluetooth device, the lock screen, a notification, a smartwatch or even a car
  • Local or network, files or streams - It doesn't matter where the media belongs, we've got you covered
  • Adaptive bitrate streaming support - Support for DASH, HLS or SmoothStreaming
  • Caching support - Cache media files to play them again without an internet connection
  • Background support - Keep playing audio even after the app is in background
  • Fully Customizable - Even the notification icons are customizable!
  • Supports React Hooks 🎣 - Includes React Hooks for common use-cases so you don't have to write them

Why another music module?

After trying to team up modules like react-native-sound, react-native-music-controls and react-native-google-cast, I've noticed, that their structure and the way should be tied together can cause a lot of problems (mainly on Android). Those can heavily affect the app stability and user experience.

All audio modules (like react-native-sound) don't play in a separated service on Android, which should only be used for simple audio tracks in the foreground (such as sound effects, voice messages, etc.)

react-native-music-controls is meant for apps using those audio modules, but it has a few problems: the audio isn't tied directly to the controls. It can be pretty useful for casting (such as Chromecast).

react-native-google-cast works pretty well and also supports custom receivers, but it has fewer player controls, it's harder to integrate and still uses the Cast SDK v2.

Example Setup

First please take a look at the Getting Started guide, but a basic example of how to play a track:

import TrackPlayer from 'react-native-track-player';

const start = async () => {
    // Set up the player
    await TrackPlayer.setupPlayer();

    // Add a track to the queue
    await TrackPlayer.add({
        id: 'trackId',
        url: require('track.mp3'),
        title: 'Track Title',
        artist: 'Track Artist',
        artwork: require('track.png')
    });

    // Start playing it
    await TrackPlayer.play();
};
start();

Core Team


David Chavez


Milen Pivchev


Jacob Spizziri

Special Thanks


Guilherme Chaguri


Dustin Bahr

Contributing

You want this package to be awesome and we want to deliver on that. As you know already you can just File A Ticket, but thats not actually the best way for you to get what you need (read on to see why). The best way is for you to Be A Champion and dive into the code.

File A Ticket

The reality is that filing a ticket isn't always enough. This is probably only going to work if your issue aligns with both the interests and the resources available to the core team. Here are the things that align with our interests in order of priority.

  1. Fixing widespread, common, and critical Bugs.
  2. Fixing uncommon but necessary Bugs.
  3. Introducing new Features that have broad value.

Now keep in mind available resources. Long story short, the thing you care about needs to be cared about by either a lot of other people, or by us.

BUT! There's another and, arguably even better way that helps you get what you need faster: Be A Champion.

Be A Champion

Being a champion makes it easy for us to help you. Which is what we all want! So how can you be a champion? Sponsor the Project or be willing to write some code.

If you're willing to write some code we're willing to:

  • Open a design discussion, give feedback, and approve something that works.
  • Provide guidance in the implementation journey.

So, in a nutshell, let us know you're willing to do the work and ask for a little guidance, and watch the things you care about get done faster than anyone else. The best help will be given to those who are willing to help themselves.

You don't have experience you say? It's OK!

You may be thinking that you can't help because you know nothing about native iOS or Android or maybe even React code. But we're willing to help guide you.

If you're up for that task then we can help you understand native code and how React Native works.

The only way you go from not-knowing to knowing is by learning. Learning isn't something you should be ashamed of nor is it something you should be scared of.

Where Do You Start?

Our goal is to make it as easy as possible for you to make changes to the library. All the documentation on how to work on the library and it's dependencies is located in this Guide

Community

You can find us as part of the React Native Track Player:

  • # introductions - Come greet the newest members of this group!
  • # support - Ask members of the community to trouble shoot issues with your app and make recommendations.
  • # app-anouncements - Tell the community about the app you made with this project!
  • # releases - Stay updated about the latest releases and dev efforts on the project.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].