def car_test_provider(): lis = [46] #providers = [VideoProvider(i, 'TV%d' %(l)) for i,l in enumerate(lis)] providers = [ VideoProvider(i, '/media/assests/CarVideo/TV46_output.mp4') for i, l in enumerate(lis) ] for i in providers: manager.add_provider(i)
def build_provider(): providers = [VideoProvider(i, tv) for i, tv in enumerate(tvs)] #providers = [VideoProvider(i, 'TV%d' %(57+i)) for i in range(7)] for i in providers: manager.add_provider(i)
def build_provider(): providers = [VideoProvider(i, 'TV%d' % (i)) for i in vislist] for i in providers: manager.add_provider(i)