def set_hostinfo(self, host, attr, val):
        try:
            setattr(self.hosts[host], attr, val)
        except KeyError:
            self.hosts[host] = HostInfo('%s=%s' % (attr, str(val)))
        return True  # USE THIS AS DEFAULT XMLRPC RETURN VALUE
Find index position of List media instance in media list.
dataset/ETHPy150Open cjlee112/pygr/pygr/coordinator.py/ResourceController.set_hostinfo--crossover with--dataset/ETHPy150Open disqus/playa/playa/lib/vlc.py/libvlc_media_list_index_of_item