Beispiel #1
0
 public YoutubeUI(ITrackRespository trackRespository, IDownloadService downloadService, IStreamRepository streamRepository)
 {
     _trackRespository = trackRespository;
     _downloadService  = downloadService;
     _streamRepository = streamRepository;
     _trackRespository.InitializeSpotifyAuth("", "");
 }
Beispiel #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")
         );
 }
Beispiel #3
0
 public YoutubeUI(ITrackRespository trackRespository, IDownloadService downloadService, IStreamRepository streamRepository)
 {
     _trackRespository = trackRespository;
     _downloadService  = downloadService;
     _trackRespository.InitializeSpotifyAuth("DO NOT POST", "THIS INFO TO GITHUB");
 }