public SpotifyPlaybackService( SpotifyHttpClientFactory spotifyApiFactory, UserService userService) { _spotifyApiFactory = spotifyApiFactory; _userService = userService; }
public SongFinishedJob( ILogger <SongFinishedJob> logger, PlaybackSessionRepository sessionRepo, SongPlaybackRepository songRepo, SpotifyHttpClientFactory spotifyApiFactory, UserTokenService tokenService, SpotifyPlaybackService playbackService, IScheduler jobScheduler, IHubContext <DiscordBotHub> botHub) { _logger = logger; _sessionRepo = sessionRepo; _songRepo = songRepo; _spotifyApiFactory = spotifyApiFactory; _playbackService = playbackService; _jobScheduler = jobScheduler; _botHub = botHub; }