public DefaultJukebox( IMediaPlayer mediaPlayer, IMusicLibraryFactory musicLibraryFactory, ILibraryRepository libraryRepository, ISongRepository songRepository, IAffinityTracker affinityTracker, IUserRepository userRepository, SongSpider spider) { _mediaPlayer = mediaPlayer; _musicLibraryFactory = musicLibraryFactory; _libraryRepository = libraryRepository; _songRepository = songRepository; _spider = spider; _affinityTracker = affinityTracker; _userRepository = userRepository; _mediaPlayer.SongFinished += _mediaPlayer_SongFinished; UpdateAllLibraries(); MarkAllUsersAsAway(); }
public MostLovedUsers(IAffinityTracker affinityTracker) { _affinityTracker = affinityTracker; }
public MostHatedArtists(IAffinityTracker affinityTracker) { _affinityTracker = affinityTracker; }