moc 2.5.0.3 → 2.5.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/moc/controller/status.rb +4 -0
- data/lib/moc/version.rb +1 -1
- metadata +1 -1
@@ -66,6 +66,8 @@ class Status
|
|
66
66
|
|
67
67
|
%w[title artist album track].each {|name|
|
68
68
|
define_method name do
|
69
|
+
return unless tags
|
70
|
+
|
69
71
|
tags.send name
|
70
72
|
end
|
71
73
|
}
|
@@ -128,6 +130,8 @@ class Status
|
|
128
130
|
|
129
131
|
%w[title artist album track].each {|name|
|
130
132
|
define_method name do
|
133
|
+
return unless tags
|
134
|
+
|
131
135
|
tags.send name
|
132
136
|
end
|
133
137
|
}
|
data/lib/moc/version.rb
CHANGED