{"id":16686332,"url":"https://github.com/yoheimuta/exoplayermusic","last_synced_at":"2025-07-01T03:37:18.887Z","repository":{"id":84659003,"uuid":"215739512","full_name":"yoheimuta/ExoPlayerMusic","owner":"yoheimuta","description":"This sample shows how to implement a music player app backed by the ExoPlayer.","archived":false,"fork":false,"pushed_at":"2019-10-28T03:42:27.000Z","size":1593,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-10T00:15:42.763Z","etag":null,"topics":["android","android-application","exoplayer","kotlin","music-player","sample-app"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yoheimuta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-17T08:18:19.000Z","updated_at":"2024-01-19T11:03:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"58a60514-42ca-4de3-9beb-5c440edd55f4","html_url":"https://github.com/yoheimuta/ExoPlayerMusic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoheimuta%2FExoPlayerMusic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoheimuta%2FExoPlayerMusic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoheimuta%2FExoPlayerMusic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoheimuta%2FExoPlayerMusic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yoheimuta","download_url":"https://codeload.github.com/yoheimuta/ExoPlayerMusic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131315,"owners_count":21052819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-application","exoplayer","kotlin","music-player","sample-app"],"created_at":"2024-10-12T15:05:27.539Z","updated_at":"2025-04-10T00:15:47.522Z","avatar_url":"https://github.com/yoheimuta.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ExoPlayerMusic\n\nThis sample shows how to implement a music player app backed by the [ExoPlayer](https://exoplayer.dev).\n\nYou can build on this project as a good starting point to release your own music player.\n\n## Demo\n\n\u003cimg src=\"doc/example.gif\" alt=\"example\" width=\"300\"/\u003e\n\n## Features\n\n- Following the official guideline for the audio media apps.\n   - See https://developer.android.com/guide/topics/media-apps/media-apps-overview\n- Elaborated UI like the Apple Music Player\n- Extracting a lyrics from id3 metadata(USLT tag)\n- Background playback\n- Volume control support\n\n## Customize\n\nIf you just want to add your sources in the code directly, look at InMemorySource.kt below.\n\n```kotlin\nclass InMemorySource() : AbstractMusicSource() {\n...\n    private suspend fun getCatalog(): List\u003cMediaMetadataCompat\u003e {\n        return listOf(\n            Pair(\n                \"https://storage.googleapis.com/maison-great-dev/oss/musicplayer/tagmp3_1473200_1.mp3\",\n                \"TEST_1\"\n            ),\n            Pair(\n                \"https://storage.googleapis.com/maison-great-dev/oss/musicplayer/tagmp3_2160166.mp3\",\n                \"TEST_2\"\n            )\n...\n```\n\nYou can switch to other implementations backed by network, database, and so on if needed.\n\n## Music\n\n- Smith, J.O. Physical Audio Signal Processing: https://ccrma.stanford.edu/~jos/waveguide/Sound_Examples.html\n  - This project is using these as sample mp3 files.\n- file-examples.com: https://file-examples.com/index.php/sample-audio-files/sample-mp3-download/\n  - This project is using one as a sample mp3 file.\n\n## License\n\nThe MIT License (MIT)\n\n## Acknowledgement\n\nThank you to the following projects and creators.\n\n- uamp: https://github.com/android/uamp\n  - I referred to this official sample project for the interface and some implementation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoheimuta%2Fexoplayermusic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoheimuta%2Fexoplayermusic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoheimuta%2Fexoplayermusic/lists"}