code: def percentage_played(self):
      '''returns played percentage [0,1] of item'''
      played = self.object_dict.get('UserData', {}).get('PlaybackPositionTicks')
      total  = self.object_dict.get('RunTimeTicks') or 1
      return (played or 0)/totaf percentage_played(self):
      '''returns played percentage [0,1] of item'''
      played = self.object_dict.get('UserData', {}).get('PlaybackPositionTicks')
      total  = self.object_dict.get('RunTimeTicks') or 1
      return (played or 0)/total
docs: returns played percentage [0,1] of item