vitunes 0.3.8 → 0.3.9

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -11,7 +11,7 @@ Benefits:
11
11
  * minimalist text-based UI works better on smaller screens than a honkin multi-paned GUI
12
12
  * control iTunes from another computer (via ssh session), across the room or across the world
13
13
  * let multiple people control one instance of iTunes over ssh ([how][multi])
14
- * control iTunes from a GNU/Linux client
14
+ * control iTunes from a GNU/Linux client (I do!)
15
15
 
16
16
  [multi]:https://github.com/danchoi/vitunes/wiki
17
17
 
@@ -38,7 +38,7 @@ If you get an error message saying that vitunes-install is missing, then you
38
38
  probably have a `PATH` issue. Try one of these workarounds:
39
39
 
40
40
  * Put the directory where Rubygems installs executables on your `PATH`
41
- * Try installing with `sudo gem install && vitunes-install`
41
+ * Try installing with `sudo gem install vitunes && vitunes-install`
42
42
 
43
43
  To upgrade ViTunes to a newer version, just repeat the installation procedure.
44
44
  Don't forget to run `vitunes-install` again after you download the new gem.
@@ -88,7 +88,7 @@ More advanced autocompletion tips:
88
88
  * `CTRL-u`: when the match list is active, cycles forward through the match
89
89
  list and what you've typed so far; when the match list is inactive, erases
90
90
  what you've typed.
91
- * `CTRL-x CTRL-u` reactivates autocompletion if it's gone away
91
+ * both `TAB` and `CTRL-x CTRL-u` reactivates autocompletion if it's gone away
92
92
  * `CTRL-y` selects the highlighted match without triggering ENTER
93
93
 
94
94
  To exit the autocompletion or search query mode, press `ENTER` when the query
data/coverage.markdown CHANGED
@@ -1,3 +1,4 @@
1
1
  * [Macworld](http://www.macworld.com/article/160936/2011/07/vitunes.html)
2
2
  * [OSXDaily](http://osxdaily.com/2011/07/05/command-line-tunes-player-vitunes/)
3
+ * [One Thing Well](http://onethingwell.org/post/7341797630/vitunes)
3
4
  * [tweets](http://twitter.com/#!/search/vitunes)
@@ -1,3 +1,3 @@
1
1
  module ViTunes
2
- VERSION = '0.3.8'
2
+ VERSION = '0.3.9'
3
3
  end
Binary file
data/vitunes/main.m CHANGED
@@ -46,7 +46,8 @@ NSString *formatTrackForDisplay(iTunesTrack *track) {
46
46
  NSString *artist = [track.artist stringByPaddingToLength:ARTIST_COL withString:@" " startingAtIndex:0];
47
47
  NSString *name = [track.name stringByPaddingToLength:TRACK_NAME_COL withString:@" " startingAtIndex:0];
48
48
  NSString *genre = [track.genre stringByPaddingToLength:GENRE_COL withString:@" " startingAtIndex:0];
49
- NSString *time = [track.time stringByPaddingToLength:TIME_COL withString:@" " startingAtIndex:0];
49
+ NSString *timeValue = track.time != nil ? track.time : @" ";
50
+ NSString *time = [timeValue stringByPaddingToLength:TIME_COL withString:@" " startingAtIndex:0];
50
51
  NSString *kind = [track.kind stringByPaddingToLength:KIND_COL withString:@" " startingAtIndex:0];
51
52
  NSString *year;
52
53
  if (track.year != 0) {
metadata CHANGED
@@ -1,8 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vitunes
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.3.8
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 3
8
+ - 9
9
+ version: 0.3.9
6
10
  platform: ruby
7
11
  authors:
8
12
  - Daniel Choi
@@ -10,7 +14,7 @@ autorequire:
10
14
  bindir: bin
11
15
  cert_chain: []
12
16
 
13
- date: 2011-07-06 00:00:00 -04:00
17
+ date: 2011-07-07 00:00:00 -04:00
14
18
  default_executable:
15
19
  dependencies: []
16
20
 
@@ -65,17 +69,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
69
  requirements:
66
70
  - - ">="
67
71
  - !ruby/object:Gem::Version
72
+ segments:
73
+ - 1
74
+ - 8
75
+ - 6
68
76
  version: 1.8.6
69
77
  required_rubygems_version: !ruby/object:Gem::Requirement
70
78
  none: false
71
79
  requirements:
72
80
  - - ">="
73
81
  - !ruby/object:Gem::Version
82
+ segments:
83
+ - 0
74
84
  version: "0"
75
85
  requirements: []
76
86
 
77
87
  rubyforge_project: vitunes
78
- rubygems_version: 1.6.1
88
+ rubygems_version: 1.3.7
79
89
  signing_key:
80
90
  specification_version: 3
81
91
  summary: A Vim interface to iTunes