Esempio n. 1
0
 public ItemDownloading(IDownloadInformation dl, ProcessedEpisode pe, string desiredLocationNoExt, DownloadingFinder.DownloadApp tApp)
 {
     Episode = pe;
     DesiredLocationNoExt = desiredLocationNoExt;
     entry      = dl;
     IconNumber = tApp == DownloadingFinder.DownloadApp.uTorrent ? 2 :
                  tApp == DownloadingFinder.DownloadApp.SABnzbd  ? 8 :
                  tApp == DownloadingFinder.DownloadApp.qBitTorrent ? 10 : 0;
 }
Esempio n. 2
0
 public ItemDownloading(IDownloadInformation dl, ProcessedEpisode pe, string desiredLocationNoExt, DownloadingFinder.DownloadApp tApp, ItemMissing me) : this(dl, desiredLocationNoExt, tApp, me)
 {
     Episode = pe;
 }
Esempio n. 3
0
 public ItemDownloading(IDownloadInformation dl, MovieConfiguration mc, string desiredLocationNoExt, DownloadingFinder.DownloadApp tApp, ItemMissing me) : this(dl, desiredLocationNoExt, tApp, me)
 {
     Episode = null;
     Movie   = mc;
 }
Esempio n. 4
0
 private ItemDownloading(IDownloadInformation dl, string desiredLocationNoExt, DownloadingFinder.DownloadApp tApp, ItemMissing undoItem)
 {
     DesiredLocationNoExt = desiredLocationNoExt;
     entry           = dl;
     UndoItemMissing = undoItem;
     IconNumber      = tApp switch
     {
         DownloadingFinder.DownloadApp.uTorrent => 2,
         DownloadingFinder.DownloadApp.SABnzbd => 8,
         DownloadingFinder.DownloadApp.qBitTorrent => 10,
         _ => 0
     };
 }