搜索分类、插件与代码仓

GitHub 代码仓o-ifeanyi/musicPlayer

Flutter 音乐

一个Flutter音乐播放器,用于播放歌曲(mp3)。

Flutter 音乐 项目封面
星标
153
复刻
22
最近推送(UTC)
2023年2月19日
项目状态
未归档

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

Image

🎧🎧 Flutter Music PRs Welcome

A Flutter music player to play songs (mp3).


Please star⭐ the repo if you like what you see😉.

Twitter Follow

💻 Requirements

  • Any Operating System (ie. MacOS X, Linux, Windows)
  • Any IDE with Flutter SDK installed (ie. IntelliJ, Android Studio, VSCode etc)
  • A little knowledge of Dart and Flutter

🛠 Setup

  • Create a secrets.dart file under lib/services folder and add the following

    • const String kTag0 = 'azlyrics';
    • const String kTag1 = 'absolutelyrics';
    • const String kLyricsLink0 = 'www.azlyrics.com';
    • const String kLyricsLink1 = 'www.absolutelyrics.com';
  • To fetch song info you'll need an API key from deezer

    • const String kApiKey = 'DEEZER API KEY';
  • For song recognition feature, sign up on acrcloud and create a project

    • const String kHost = 'ACRCLOUD PROJECT HOST';
    • const String kAccessKey = 'ACRCLOUD ACCESS KEY';
    • const String kAccessSecret = 'ACRCLOUD SECRET KEY';

✨ Features

  • [x] Play.
  • [x] Pause.
  • [x] Skip.
  • [x] Seek.
  • [x] Shuffle.
  • [x] Repeate.
  • [x] Delete.
  • [x] Search.
  • [x] Share music.
  • [x] Create playlist.
  • [x] Delete playlist.
  • [x] Add to playlist.
  • [x] Remove from playlist.
  • [x] Edit song info.
  • [x] Search song lyrics.
  • [x] Identify music from background.
  • [x] Dark Mode.

📸 ScreenShots

Light Dark

🔌 Plugins

Name Usage
Provider State Management
Hive NoSQL database
Just audio Play audio
Audiotagger Get mp3 metadata
Path & Path provider Access storage folders
Share Share songs across devices
Identify Identify songs from background
Shared preferences Store certain preference e.g dark mode

🤓 Author(s)

Onuoha ifeanyi. Twitter Follow

🔖 LICENCE

Copyright 2020 Onuoha Ifeanyi

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Ifeanyi GitHub avatar
GitHub 作者

Ifeanyi ↗

Mobile developer

Abuja, Nigeria
语言DartSwiftKotlinObjective-C

依赖Flutter组件

使用的依赖

依赖清单 20 项

App 分类

如何选择适合项目的代码仓?

先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。

  1. 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
  2. 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
  3. 使用前在 GitHub 核对 README、许可证与 Issues。

来源与维护

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗