         let time = coder.decodeDouble(forKey: k.time)
         let rank = coder.decodeInteger(forKey: k.rank)
         let rect = NSRectFromString(coder.decodeObject(forKey: k.rect) as! String)
-        let runs = coder.decodeInteger(forKey: k.runs)
+        let plays = coder.decodeInteger(forKey: k.plays)
         let label = coder.decodeBool(forKey: k.label)
         let hover = coder.decodeBool(forKey: k.hover)
         let alpha = coder.decodeInteger(forKey: k.alpha)
         let trans = coder.decodeInteger(forKey: k.trans)
         self.init(name: name, link: link!, date: date, time: time, rank: rank, rect: rect,
-                  runs: runs, label: label, hover: hover, alpha: alpha, trans: trans)
+                  plays: plays, label: label, hover: hover, alpha: alpha, trans: trans)
     }
     
     func encode(with coder: NSCoder) {

    var date : TimeInterval
    var rank : Int
    var rect : NSRect
    var runs : Int
    var label: Bool
    var hover: Bool
    var alpha: Int

        dict[k.time] = settings.time.value
        dict[k.rank] = settings.rank.value
        dict[k.rect] = NSStringFromRect(settings.rect.value)
        dict[k.plays] = settings.plays.value
        dict[k.label] = settings.autoHideTitle.value
        dict[k.hover] = settings.disabledFullScreenFloat.value
        dict[k.alpha] = settings.opacityPercentage.value
