moc 2.5.0.3 → 2.5.0.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.
- 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