public ChannelVideoService( IConnectionFactory connectionFactory, IYoutubeService youtubeService) { _connectionFactory = connectionFactory; _youtubeService = youtubeService; }
public YoutubeCommands(IAudioService audioService, IYoutubeService youtubeService, IVideoToAudioConverter videoToAudioConverter) { _audioService = audioService; _youtubeService = youtubeService; _videoToAudioConverter = videoToAudioConverter; _tokenSource = new CancellationTokenSource(); }
public DeltaAudio(IAudioService audioService, IDECTalkService dECTalkService, IDataService dataService, IYoutubeService YTServ) { _audserv = audioService; _DECserv = dECTalkService; _dataserv = dataService; _ytserv = YTServ; }
public SearchController(IYoutubeService youtubeService, IVkService vkService, IUserPostService userPostService) { _youtubeService = youtubeService; _userPostService = userPostService; _vkService = vkService; // Telegram api (TLSharp) does not work in ASP MVC, but it work through WCF Service _telegramService = new TelegramServiceClient(); }
public static void Start(TestContext testContext) { using (var ctxF = new ServicesStart()) ctxF.Create(ref service); youtubeApiService = (IYoutubeApiService)service.GetService(typeof(IYoutubeApiService)); youtubeService = (IYoutubeService)service.GetService(typeof(IYoutubeService)); }
public YoutubeController(IYoutubeService service) { Service = service; if (Service.Count() == 0) { Task.Run(async() => await Service.LoadChannel("UC4V3oCikXeSqYQr0hBMARwg")); } }
public WyspaBotService(string channel, string botName, IMarkovService markovService, IYoutubeService youtubeService, ITaskService taskService) { this.channel = channel; this.botName = botName; this.markovService = markovService; this.youtubeService = youtubeService; this.taskService = taskService; this.user = $"USER {this.botName} 0 * :{this.botName}"; }
public MainViewModel(IYoutubeService service) { _service = service; #if DEBUG if (ViewModelLocator.UseDesignTimeData) { Refresh(); } #endif }
public StartService(ILogger <StartService> log, IConfiguration config, ILyricScraperService lyricScraper, ITweetService tweetService, IYoutubeService youtubeService) { _log = log; _config = config; _lyricScaper = lyricScraper; _tweetService = tweetService; _youtubeService = youtubeService; }
public RunnerService(ILogger <RunnerService> logger, IHostApplicationLifetime applicationLifetime, IYoutubeService youtubeService, ISpotifyService spotifyService) { _logger = logger; _applicationLifetime = applicationLifetime; _youtubeService = youtubeService; _spotifyService = spotifyService; _taskCompletionSource = new TaskCompletionSource <bool>(); _cancellationTokenSource = new CancellationTokenSource(); }
public void BrowseOnlyChannels(IYoutubeService service) { //var oldChannelsInDb = Sql.Execute<string>("select Id from Channels"); var channelId = "UCjsdYhMIQ0-fJPqEjiHYlzA"; //efe aydal //channelId = "UCv6jcPwFujuTIwFQ11jt1Yw"; _queue.Add(new KeyValuePair <string, string>(channelId, channelId)); new Thread(WorkerThread).Start(); YoutubeChannelInfo channel; //browse channels for popular categories //returns pairs as following: category name and list of channels var channels = service.BrowseChannels().ToArray(); foreach (var keyValuePair in channels) { foreach (var channelInfo in keyValuePair.Value) { channel = service.GetChannelInfo(channelInfo.Id); SqlStorage.Save(channel); } } }
public SearchVideoUseCase(IYoutubeService youtubeService) { this.youtubeService = youtubeService; }
public UpdateJob(IYoutubeService ytService, IRulesRepository rulesRepository) { this.ytService = ytService; this.rulesRepository = rulesRepository; }
public AggregationService(IYoutubeService youtubeService, IOmdbService omdbService, IGuideboxService guideboxService) { _youtubeService = youtubeService; _omdbService = omdbService; _guideboxService = guideboxService; }
public PlaylistsController(IYoutubeService youtubeService) { this._youtubeService = youtubeService; }
public YoutubeAppService(IYoutubeService youtubeService, IMapper mapper) { _youtubeService = youtubeService; _mapper = mapper; }
public KaraokeService(KaraokeContext context, IYoutubeService youtubeService, YoutubeHub hub) { this.context = context; this.youtubeService = youtubeService; this.hub = hub; }
public YoutubeController(IYoutubeService youtubeService, IMapper mapper) { this.youtubeService = youtubeService; this.mapper = mapper; }
public MainViewModel(IYoutubeService service) { _service = service; }
public BlogController(IBlogService blogService, IYoutubeService youtubeService) { this.blogService = blogService; this.youtubeService = youtubeService; }
public YoutubeController(IYoutubeService service) { this.service = service; }
public YoutubeApplication(IYoutubeService youtubeService, IYoutubeApiService youtubeApiService) { this.youtubeService = youtubeService; this.youtubeApiService = youtubeApiService; }
public AuthController(IYoutubeService ytService) { this.ytService = ytService; }
public MovieService(IImdbService imdbService, IYoutubeService youtubeService) { this.imdbService = imdbService; this.youtubeService = youtubeService; }
public YoutubeController(IYoutubeService youtubeService, INotifier notifier) : base(notifier) { _youtubeService = youtubeService; }
public YoutubeController(IYoutubeService youtubeService) { _youtubeService = youtubeService; }
public SearchController(IYoutubeService service) { _service = service; }
public IndexModel(ILogger <IndexModel> logger, IYoutubeService youtubeService, IMemoryCache cache) { _logger = logger; _youtubeService = youtubeService; _cache = cache; }
public VideosController(IYoutubeService youtubeService) { this._youtubeService = youtubeService; }
/// <summary>Construct a new instance of this object.</summary> public VoicechatModule(IYoutubeService youtubeService, ILogger <VoicechatModule> logger) { _youtubeService = youtubeService; _logger = logger; }