예제 #1
0
 public YoutubeUI(ITrackRespository trackRespository, IDownloadService downloadService, IStreamRepository streamRepository)
 {
     _trackRespository = trackRespository;
     _downloadService  = downloadService;
     _streamRepository = streamRepository;
     _trackRespository.InitializeSpotifyAuth("", "");
 }
예제 #2
0
 public YoutubeUI(ITrackRespository trackRespository, IDownloadService downloadService, IStreamRepository streamRepository)
 {
     _trackRespository = trackRespository;
     _downloadService  = downloadService;
     _streamRepository = streamRepository;
     _trackRespository.InitializeSpotifyAuth(
         Environment.GetEnvironmentVariable("SPOTIFY_CLIENT_ID"),
         Environment.GetEnvironmentVariable("SPOTIFY_CLIENT_SECRET")
         );
 }
예제 #3
0
 public YoutubeUI(ITrackRespository trackRespository, IDownloadService downloadService, IStreamRepository streamRepository)
 {
     _trackRespository = trackRespository;
     _downloadService  = downloadService;
     _trackRespository.InitializeSpotifyAuth("DO NOT POST", "THIS INFO TO GITHUB");
 }