def olthread_set_torrent_collecting_rate(self, value): from freestream.Core.Overlay.MetadataHandler import MetadataHandler mh = MetadataHandler.getInstance() mh.set_rate(value)
def olthread_set_stop_collecting_threshold(self, value): from freestream.Core.Overlay.MetadataHandler import MetadataHandler mh = MetadataHandler.getInstance() mh.set_min_free_space(value) mh.delayed_check_free_space(2)
def olthread_set_torrent_collecting_max_torrents(self, value): from freestream.Core.Overlay.MetadataHandler import MetadataHandler mh = MetadataHandler.getInstance() mh.set_overflow(value) mh.delayed_check_overflow(2)