itunes_video 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/itunes_video.rb +1 -0
- metadata +1 -1
data/lib/itunes_video.rb
CHANGED
@@ -79,6 +79,7 @@ class Itunes_video
|
|
79
79
|
end
|
80
80
|
|
81
81
|
def unplayed=(unplayed)
|
82
|
+
unplayed = unplayed.downcase
|
82
83
|
if !["true", "false"].include? unplayed
|
83
84
|
raise TypeError, "unplayed must be 'true' or 'false'"
|
84
85
|
elsif `osascript -e 'tell application \"iTunes\" to set unplayed of file track id #{@id} to \"#{unplayed}\"'`
|