GithubHelp home page GithubHelp logo

sonoramac / sonora Goto Github PK

View Code? Open in Web Editor NEW
937.0 55.0 135.0 4.08 MB

A minimal, beautifully designed music player for OS X.

Home Page: http://getsonora.com

License: Other

Objective-C 96.76% C 1.54% Ruby 0.03% Objective-C++ 1.67%

sonora's Introduction

Sonora

A minimal, beautifully designed music player for the Mac

Designed by Tyler Murphy

Sonora

Sonora (previously sold on the App Store, now open source) is a relatively new music player for the mac with a clean, minimal design and some awesome features that greatly enhance your every day music listening experience. Some of the highlights of Sonora include:

  • Visually immersive. No more long, boring lists of text. View your albums in a grid with gorgeous artwork.
  • Fast. Almost all of Sonora's UI is built on top of Core Animation, which makes for a super smooth and silky experience.
  • Support for tons of formats. Literally. Sonora supports every format under the sun, thanks to SFBAudioEngine
  • Instant search. Type anywhere inside the app to instantly search through your albums, artists, songs, and mixes. It even has a global search window with a customizable hot key to play and enqueue music without interrupting your workflow.
  • Queue. Sonora utilizes a central queue for all music playback. Easily add, remove, and rearrange songs to customize your listening queue on the fly. Save your queue as a mix with the click of a button.
  • Social. Built in Last.fm scrobbling and sharing to Twitter, iMessage, and Email (via OS X Mountain Lion).

Why was this open sourced?

A lot of reasons. Read this blog post for more information on our decision.

How to compile

Prerequisites

For the next steps, you have two options. There is a fast way to compile Sonora and the best way. The fast way uses a ZIP of external libraries that I've already set up and configured, but these libraries may not be up to date because I don't have the time to update the ZIP every time something little changes. The best way is to set up the dependencies yourself and ensure that you always have the latest versions of the libraries.

Fastest way

  • Download the Libraries.zip file from the Downloads section
  • Unzip it into the Sonora folder, replacing existing directories if necessary

Best way

  • Add the Sonora podspecs repository to CocoaPods:
pod repo add Sonora-Podspecs git://github.com/sonoramac/Podspecs.git master
  • Download and set up all the pods:
cd <project directory>
pod install
  • Download the submodules:
git submodule update --init --recursive
  • SFBAudioEngine requires frameworks that aren't included in the main repository. Download the Frameworks archive here and place the Frameworks folder inside Sonora/External/SFBAudioEngine/.

After you've followed either method:

  • Read instructions in SNRConstants.m to fill in extra information that may be necessary
  • Compile (make sure to open Sonora.xcworkspace and not the xcodeproj)!

State of the Code

The app is very much functional, but there's certainly a lot of bugs to fix. Large parts of Sonora have been rewritten for Sonora 2, but a lot of old code remains. Some of this was written while I was still in the process of fully learning Cocoa and Objective-C, so I may be doing some unspeakably horrible things :)

I could definitely use everyone's help in fixing and improving things.

Looking for Sonora 1.0?

The source code in this repository is for Sonora 2.0. If you're looking for the version of Sonora that used to be sold on the Mac App Store (1.0.x) you can download it here.

You should delete the preferences file for Sonora 2 from ~/Library/Preferences/com.iktm.Sonora.plist before running this version because they both use the same bundle identifier.

Contributing

One of the reasons we open sourced Sonora is because a music player is difficult for one man to maintain, and the community's help is essential in order to keep Sonora in good shape.

If you want to contribute, please take a look at the issues for this repository and see if there are any bugs in there that you want to fix or features you want to implement. If you need a design to implement a particular feature, please create a new issue with the design tag and we'll do our best to supply PSDs.

Once you have made additions, please send us a pull request and we will review and merge your contributions. If you're actively making large contributions to Sonora, we would love to add you to the team and give you push access to the repository so that you won't need to bother with pull requests.

Bugs

If you find a bug, please file an issue with as much information as possible. DO NOT file issues for feature requests. We get too many of these and we will decide what new features are needed.

PSDs

The PSDs for Sonora's design are being cleaned up right now and will be posted in this repository when they are ready.

License

All of Sonora's assets (everything inside the Resources folder) are Copyright (C) 2014 Tyler Murphy and are NOT licensed for any commercial or non-commercial use.

Sonora's code is licensed under the BSD 3-Clause license. See LICENSE file for more info.

In other words:

  1. You can use the code in accordance with the BSD 3-Clause license.
  2. You can not use the design assets for any purpose.
  3. You may not redistribute the application in any form, commercial or non-commercial.

sonora's People

Contributors

indragiek avatar jridgewell avatar jwilling avatar keith avatar nemo157 avatar palaniraja 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

sonora's Issues

Album artwork not showing up

Some artwork that shows up in iTunes and is embedded in the MP3 files (even visible in Finder) does not show up in Sonora, and gets replaced with the artist/album names. Tried deleting and rebuilding ~/Music/Sonora/Library.sndb, changed the tile dimensions (making sure the artwork gets refreshed), and tried to download the artwork from Sonora, all to no avail.

Fix crash in - [SNRManagedObject deleteAndPropagateChanges], line 28

Version: 2.0.0 (200) | com.iktm.Sonora

Stacktrace

SNRManagedObject;deleteAndPropagateChanges;SNRManagedObject.m;28
SNRManagedObject;deleteFromContextAndSearchIndex;SNRManagedObject.m;19
SNRAlbum;deleteFromLibraryAndFromDisk:;SNRAlbum.m;167
SNRAlbumMetadataViewController;done:;SNRAlbumMetadataViewController.m;169
SNRMetadataWindow;sendEvent:;SNRMetadataWindow.m;28
-;start;;

Link to HockeyApp

Fix last.fm API key

After downloading the latest version of sonora (to get rid of the expiry message), last.fm integration has stopped working. Sonora's preferences tab showed I was connected, but the songs would not scrobble.

After clicking on Sign out and then Sign in (which, by the way, is still a Sign Out button) I get taken to last.fm/s homepage and greeted with this warning:

Screen Shot 2012-12-10 at 1.57.20 PM.png

(Check the URL!)

I miss my scrobbling. :( Please bring it back!

Error "-10810" on start

After installing Sonora, importing from iTunes, and adding some flac files, I tried to use the search feature and Sonora immediately crashed. Now whenever I try to start it, I just get a dialog saying "The application could not be opened" and the message is "-10810".

Sonora Can't Read A Large Library File

my music library is 700 gb and Library.sndb file is 1.12 gb in size ,sonora says "The file "library" couldn't be opened." at the startup,and the app crashes instantly after scrolling down the artist list.

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.