mr_eko 0.2.3 → 0.2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +23 -2
- data/Rakefile +2 -2
- data/lib/mr_eko.rb +1 -1
- data/mr_eko.gemspec +1 -1
- metadata +4 -3
data/README.md
CHANGED
@@ -1,2 +1,23 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
MrEko
|
2
|
+
=====
|
3
|
+
MrEko analyzes your music and lets you ask him in-depth questions about it. He answers in playlists.
|
4
|
+
|
5
|
+
Example:
|
6
|
+
--------
|
7
|
+
# Scan all your music
|
8
|
+
mreko scan ~/Music/*.mp3
|
9
|
+
|
10
|
+
# Output a PLS playlist of mid-tempo, minor-key music
|
11
|
+
mreko playlist --min-tempo 100 --max-tempo 120 --mode minor --format pls > rainy_day_suicidal_playlist.pls
|
12
|
+
|
13
|
+
# Output a playlist of shorter, up-tempo, danceable, major-keyed songs
|
14
|
+
mreko playlist --preset gym --format pls > sweaty_playlist.pls
|
15
|
+
|
16
|
+
Requirements:
|
17
|
+
-------------
|
18
|
+
* [ffmpeg](http://www.ffmpeg.org/download.htmlr) in your path.
|
19
|
+
* an [Echonest API token](http://developer.echonest.com/) which goes here: ~/.mr_eko/echonest_api.key
|
20
|
+
|
21
|
+
Notes:
|
22
|
+
------
|
23
|
+
MrEko will make an audio fingerprint of a music file and attempt to use it to identify the song. This is faster but not always successful (due to Echonest limitations) so some songs must be uploaded to Echonest. This means that scanning a large and/or somewhat eclectic library **could take a good while**.
|
data/Rakefile
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'rake'
|
3
3
|
require 'date'
|
4
|
-
require "bundler"
|
5
|
-
Bundler::GemHelper.install_tasks
|
4
|
+
# require "bundler"
|
6
5
|
#############################################################################
|
7
6
|
#
|
8
7
|
# Helper functions
|
@@ -96,6 +95,7 @@ task :release => :build do
|
|
96
95
|
sh "git tag v#{version}"
|
97
96
|
sh "git push origin master"
|
98
97
|
sh "git push origin v#{version}"
|
98
|
+
sh "gem push #{File.join('pkg', gem_file)}"
|
99
99
|
end
|
100
100
|
|
101
101
|
desc "Build #{gem_file} into the pkg directory"
|
data/lib/mr_eko.rb
CHANGED
@@ -15,7 +15,7 @@ EKO_ENV = ENV['EKO_ENV'] || 'development'
|
|
15
15
|
Sequel.default_timezone = :utc
|
16
16
|
|
17
17
|
module MrEko
|
18
|
-
VERSION = '0.2.
|
18
|
+
VERSION = '0.2.4.1'
|
19
19
|
USER_DIR = File.join(ENV['HOME'], ".mreko")
|
20
20
|
FINGERPRINTS_DIR = File.join(USER_DIR, 'fingerprints')
|
21
21
|
HOME_DIR = File.join(File.dirname(__FILE__), '..')
|
data/mr_eko.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'mr_eko'
|
16
|
-
s.version = '0.2.
|
16
|
+
s.version = '0.2.4.1'
|
17
17
|
s.date = '2011-02-08'
|
18
18
|
s.rubyforge_project = 'mr_eko'
|
19
19
|
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mr_eko
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 77
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
|
9
|
+
- 4
|
10
|
+
- 1
|
11
|
+
version: 0.2.4.1
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- Ed Hickey
|