spfy 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/{license.txt → LICENSE.txt} +0 -0
- data/README.md +3 -3
- data/lib/spfy.rb +1 -1
- data/lib/spfy/optionreader.rb +1 -1
- data/spfy.gemspec +1 -1
- metadata +3 -3
data/{license.txt → LICENSE.txt}
RENAMED
File without changes
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#Spfy ("spiffy")
|
2
2
|
|
3
3
|
##Overview
|
4
|
-
**Spfy** is a command-line tool for generating [XSPF](http://xspf.org/) playlists from metadata stored in several popular audio formats
|
4
|
+
**Spfy** is a command-line tool for generating [XSPF](http://xspf.org/) playlists from metadata stored in several popular audio formats and is developed entirely in [Ruby](http://www.ruby-lang.org/). It takes one or more local directory paths as input, extracts metadata tags from any audio files that it encounters, and generates a valid XSPF playlist.
|
5
5
|
|
6
6
|
##Prerequisites
|
7
7
|
A working Ruby installation (version 1.9 or greater) is required for Spfy to work, but this is outside the scope of this guide. For more information refer to the [official installation procedure](http://www.ruby-lang.org/en/downloads/).
|
@@ -18,7 +18,7 @@ A working Ruby installation (version 1.9 or greater) is required for Spfy to wor
|
|
18
18
|
##Installation
|
19
19
|
With the prerequisites above taken care of Spfy can be installed with the following command:
|
20
20
|
|
21
|
-
gem install spfy
|
21
|
+
$ gem install spfy
|
22
22
|
|
23
23
|
##Using Spfy
|
24
24
|
By default, Spfy will output a formatted XSPF playlist to the standard output stream that will include _location_, _title_, _creator_, _album_, and _trackNum_ elements for each audio file where available.
|
@@ -27,7 +27,7 @@ The general syntax for Spfy is `spfy [options] dir1 ... dirN`, where _dir1 ... d
|
|
27
27
|
|
28
28
|
For example:
|
29
29
|
|
30
|
-
|
30
|
+
$ spfy ~/music
|
31
31
|
|
32
32
|
..will produce the following output (where ~/music contains one audio file with valid metadata):
|
33
33
|
|
data/lib/spfy.rb
CHANGED
data/lib/spfy/optionreader.rb
CHANGED
@@ -81,7 +81,7 @@ class OptionReader
|
|
81
81
|
puts "#{File.basename($0).capitalize} #{$spfy_version} Copyright (c) 2012 Marc Ransome <marc.ransome@fidgetbox.co.uk>"
|
82
82
|
puts "This program comes with ABSOLUTELY NO WARRANTY, use it at your own risk."
|
83
83
|
puts "This is free software, and you are welcome to redistribute it under"
|
84
|
-
puts "certain conditions;
|
84
|
+
puts "certain conditions; see LICENSE.txt for details."
|
85
85
|
exit
|
86
86
|
end
|
87
87
|
|
data/spfy.gemspec
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
Gem::Specification.new do |s|
|
23
23
|
s.name = 'spfy'
|
24
|
-
s.version = '0.2.
|
24
|
+
s.version = '0.2.1'
|
25
25
|
s.date = '2012-05-06'
|
26
26
|
s.summary = 'XSPF playlist generator'
|
27
27
|
s.description = 'Spfy is a simple command-line tool for generating XSPF playlists from metadata stored in several popular audio formats.'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spfy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -35,11 +35,11 @@ executables:
|
|
35
35
|
extensions: []
|
36
36
|
extra_rdoc_files: []
|
37
37
|
files:
|
38
|
+
- LICENSE.txt
|
38
39
|
- README.md
|
39
40
|
- bin/spfy
|
40
41
|
- lib/spfy.rb
|
41
42
|
- lib/spfy/optionreader.rb
|
42
|
-
- license.txt
|
43
43
|
- spfy.gemspec
|
44
44
|
homepage: http://marcransome.github.com/spfy
|
45
45
|
licenses:
|
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
62
|
version: '0'
|
63
63
|
requirements: []
|
64
64
|
rubyforge_project:
|
65
|
-
rubygems_version: 1.8.
|
65
|
+
rubygems_version: 1.8.24
|
66
66
|
signing_key:
|
67
67
|
specification_version: 3
|
68
68
|
summary: XSPF playlist generator
|