Giter Site home page Giter Site logo

estmusicplayer's Introduction

GA

ESTMusicPlayer is an elegant and simple iOS music player based on DOUAudioStreamer.

Other wonderful project by our team

Requirements

  • An iPhone/iPad running iOS 8.0+
  • Xcode 7.0 or above

Screenshots

Build Instructions

CocoaPods is a dependency manager for Cocoa projects, If you're not install the Cocoapods on your machine, Run:

$ gem install cocoapods

$ pod setup

Download the source code

$ git clone https://github.com/Aufree/ESTMusicPlayer

Now you'll need to build the dependencies

$ pod install

then open Enesco.xcworkspace

That's it, have fun! 🍻

Who made this

I'm Aufree, A passionate engineer, leading member of The EST Group, and while I am college dropout, I want to make some cool stuff in GitHub, That's why I'm here, you can ping me on Twitter or follow me on Weibo if you find an issue.

Contributing

Thank you for your interest in contributing to ESTMusicPlayer! Your ideas for improving this app are greatly appreciated. The best way to contribute is by submitting a pull request. I'll do my best to respond to you as soon as possible. You can also submit a new GitHub issue if you find bugs or have questions.

Thanks for

License

Copyright (c) 2015 Paul King


Released under the MIT license

中文文档

ESTMusicPlayer 是基于 DOUAudioStreamer 开发的一款优雅简洁的音乐播放器.

开源自 The EST Group 团队.

我们团队的其它开源项目

要求

  • 运行在 iOS 8.0 及以上的 iPhone/iPad.
  • Xcode 7.0 及以上版本.

截屏

编译配置

CocoaPods 是一款 Cocoa 项目包管理工具, 如果你尚未安装 Cocoapods, 运行以下命令进行安装:

$ gem install cocoapods

$ pod setup

下载源代码

$ git clone https://github.com/Aufree/ESTMusicPlayer

安装依赖

$ pod install

打开 Enesco.xcworkspace

这就完了, 祝你玩得愉快! 🍻

关于我

我是李锦发, 一名富有激情的工程师, The EST Group 成员之一, 你若有其它需要帮助的地方, 可通过 Twitter微博 联系我.

参与贡献

感谢您有兴趣参与 ESTMusicPlayer 的开发, 您可以在本地修改此项目, 经测试后无任何问题即可给我提交 Pull Request, 我会定期查看并 Merge, 若有其它问题, 可通过提交 issue 来让我知道.

由衷感谢

许可证

Copyright (c) 2015 Paul King


使用 MIT 许可证 发行.

estmusicplayer's People

Contributors

aufree avatar fesnake avatar jaredchu avatar summerblue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

estmusicplayer's Issues

MusicHandler.m Line50 image name typo

there is no image named "music_lock_screen_placeholder" in project,,it will lead to crash because image is also null.
fix this typo:
UIImage *placeholderImage = [UIImage imageNamed:@"music_placeholder"];

Cannot install pod

Saravanas-MacBook-Pro:ESTMusicPlayer-master saravanakumar$ pod install
Re-creating CocoaPods due to major version update.
Setting up CocoaPods master repo
$ /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --progress
Cloning into 'master'...
remote: Counting objects: 1505739, done.
remote: Compressing objects: 100% (255/255), done.
error: RPC failed; curl 56 SSLRead() return error -9806 33.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
[!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named master.
You can try adding it manually in ~/.cocoapods/repos or via pod repo add.

Misspell cover with covor in MusicHandler.h/m

In MusicHandler.h/m, you misspelled cover with covor, so the correct method name should be
+ (void)cacheMusicCoverWithMusicEntities: currentIndex: ,
rather than
+ (void)cacheMusicCovorWithMusicEntities: currentIndex:.

MusicListViewControllerDelegate协议的问题

定义在MusicListViewController.h中的协议
MusicListViewControllerDelegate,有一个名为playMusicWithSpecialIndex:的方法。

MusicListViewController遵循了此协议,但是在类的实现中没有实现这个方法(是因为协议中的方法是可选的吗?);
MusicViewController没有遵循此协议(无论是代码中还是Storyboard),但是却实现了此方法。

这里让人有些疑惑。希望各位朋友不吝赐教。

Logo proposal

Hello @Aufree, today while exploring GitHub looking for interesting projects found yours and I would love to contribute by designing a logo for it. I'm a designer in development and an open source enthusiast. We would be working together to create the design that fits best. Of course it's totally free and you can quit whenever you want. In case you agree, please let me know any preferences you may have about colors, shapes, etc.

Kind regards.

Podfile issue

I had to fix the Podfile as follows in order to run pod update without errors:

target 'Enesco' do

    pod 'DOUAudioStreamer', '0.2.11'
    pod 'SDWebImage'
    pod 'GVUserDefaults'
    pod 'MBProgressHUD'
    pod 'Mantle', '1.5.5'
    pod 'AFNetworking', '~> 2.0'
end

install from cocoapods

Please tell me how to install estmusicplayer using a Podfile.
Here is my podfile:
platform :ios, '8.0'
use_frameworks!

pod 'SwiftyDropbox', '~> 2.0.2'
pod 'ESTMusicPlayer', :git => 'https://github.com/Aufree/ESTMusicPlayer.git'

and here is error that I get:
Unable to find a specification for 'ESTMusicPlayer'.
thanks.

Play Offline Mode

track.audioFileURL = [NSURL fileURLWithPath:_musicEntity.musicUrl];
track.audioFileURL = [NSURL URLWithString:_musicEntity.musicUrl];

musicURL is local path : /Users/x/Library/Developer/CoreSimulator/Devices/FC1721B2-7D61-4B31-BFC9-AEFA250AAAF9/data/Containers/Data/Application/9152DA85-8804-4E6E-8070-416B763B9D97/Documents/demo.mp3

-> Does this framework support play in offline mode ?

关于首次进入的问题

首次进入点了第一首歌没有modal出播放界面,然后点击别的歌曲没反应,再次运行没怎么出现这个问题了

MusicHandler中 AVURLAsset 造成 内存泄漏

你好,你的播放器写得很好。
我在测试的时候发现一个问题:

在 ESTMusicPlayer/Enesco/Handlers/MusicHandler.m 40行代码处:
AVURLAsset *audioAsset = [AVURLAsset URLAssetWithURL:[NSURL URLWithString:music.musicUrl] options:nil];

这句,造成,内存没法释放。

测试方法:

  • 在MusicHandler.m 40行后添加return,只测试这句。
AVURLAsset *audioAsset = [AVURLAsset URLAssetWithURL:[NSURL URLWithString:music.musicUrl] options:nil];
return;
  • 在MusicViewController.m 中的 - (void)createStreamer
    将原来 这句
    [MusicHandler configNowPlayingInfoCenter];

修改成

for (int i = 0; i < 1000; i++) {
        [MusicHandler configNowPlayingInfoCenter];
    }

发现内存泄露了。
Google很久,没发现解决的办法,请教下!

泄漏图:
qq20160205-0

列表点击崩溃,及解决方案

MusicHandle 56行sdwebimageview回调,MPMediaItemArtwork的image为空就会崩溃,建议

if (!image) {
image = [UIImage new];
}
MPMediaItemArtwork *artwork = [[MPMediaItemArtwork alloc] initWithImage:image];

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.