dramsay-streamtagger 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/README.rdoc +2 -0
  2. data/bin/stag +7 -3
  3. metadata +1 -1
data/README.rdoc CHANGED
@@ -19,6 +19,8 @@ With streamtagger installed, all I have to do is type 'stag' from the command li
19
19
  The storage file defaults to /Users/<your username>/Desktop/streamtagger.txt, but can be changed by adding a TAGGER_FILE environment variable with the value of your
20
20
  preferred path.
21
21
 
22
+ If you'd like to quickly see your tagged songs, you can use "stag list" to print out your song file.
23
+
22
24
  (By the way, I recommend Groove Salad on http://soma.fm.)
23
25
 
24
26
  == REQUIREMENTS:
data/bin/stag CHANGED
@@ -9,8 +9,12 @@ else
9
9
  tagger_file = File.expand_path("~/Desktop/streamtagger.txt")
10
10
  end
11
11
 
12
- itunes = OSA.app("iTunes")
12
+ if ARGV[0] == 'list'
13
+ print `cat #{tagger_file}`
14
+ else
15
+ itunes = OSA.app("iTunes")
13
16
 
14
- File.open(tagger_file, "a") do |f|
15
- f.puts itunes.current_stream_title
17
+ File.open(tagger_file, "a") do |f|
18
+ f.puts itunes.current_stream_title
19
+ end
16
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dramsay-streamtagger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Ramsay