예제 #1
0
 public SyncUtils(bool createPlaylists, ManifestUtils manifestUtil, DownloadUtils downloadUtil, PlaylistUtils playlistUtil)
 {
     PlaylistUtil     = playlistUtil;
     DownloadUtil     = downloadUtil;
     ManifestUtil     = manifestUtil;
     _createPlaylists = createPlaylists;
 }
예제 #2
0
 public SyncUtils(bool createPlaylists, ManifestUtils manifestUtil, DownloadUtils downloadUtil, PlaylistUtils playlistUtil, CancellationTokenSource syncCancellationSource)
 {
     PlaylistUtil           = playlistUtil;
     DownloadUtil           = downloadUtil;
     ManifestUtil           = manifestUtil;
     _createPlaylists       = createPlaylists;
     SyncCancellationSource = syncCancellationSource;
 }
 public DownloadUtils(ClientIDsUtils clientIDsUtil, bool excludeM4A, bool excludeAac, bool convertToMp3, ManifestUtils manifestUtil, bool highqualitysong, int concurrentDownloads)
 {
     ExcludeM4A          = excludeM4A;
     ExcludeAac          = excludeAac;
     Highqualitysong     = highqualitysong;
     ManifestUtil        = manifestUtil;
     ConvertToMp3        = convertToMp3;
     ClientIDsUtil       = clientIDsUtil;
     ConcurrentDownloads = concurrentDownloads;
 }
예제 #4
0
 public JsonUtils(ManifestUtils manifestUtil, string clientID)
 {
     _manifestUtil = manifestUtil;
     _clientID     = clientID;
 }
예제 #5
0
 public PlaylistUtils(ManifestUtils manifestUtil)
 {
     _manifestUtil = manifestUtil;
 }
예제 #6
0
 public JsonUtils(ManifestUtils manifestUtil, ClientIDsUtils ClientIDsUtil)
 {
     _manifestUtil = manifestUtil;
     _clientID     = ClientIDsUtil.ClientIdCurrentValue;
     _oauthToken   = ClientIDsUtil.OAuthToken;
 }