PageRenderTime 72ms CodeModel.GetById 61ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 1ms

/Structures/TvShowBatchWizard.vb

#
Visual Basic | 132 lines | 129 code | 3 blank | 0 comment | 0 complexity | 2c3439fa9acb2d8c932623055c2600fa MD5 | raw file
  1
  2Public Structure str_TvShowBatchWizard
  3    Dim RewriteAllNFOs As Boolean
  4    Dim shYear As Boolean
  5    Dim shRating As Boolean
  6    Dim shPlot As Boolean
  7    Dim shRuntime As Boolean
  8    Dim shMpaa As Boolean
  9    Dim shGenre As Boolean
 10    Dim shStudio As Boolean
 11    Dim shActor As Boolean
 12    Dim shStatus As Boolean
 13    Dim shSeries As Boolean
 14    Dim shPosters As Boolean
 15    Dim shFanart As Boolean
 16    Dim shSeason As Boolean
 17    Dim shBannerMain As Boolean
 18    Dim shXtraFanart As Boolean
 19    Dim shFanartTvArt As Boolean
 20    Dim shDelArtwork As Boolean
 21    Dim epStreamDetails As Boolean
 22    Dim epAired As Boolean
 23    Dim epPlot As Boolean
 24    Dim epDirector As Boolean
 25    Dim epCredits As Boolean
 26    Dim epRating As Boolean
 27    Dim epVotes As Boolean
 28    Dim epRuntime As Boolean
 29    Dim epTitle As Boolean
 30    Dim epActor As Boolean
 31    Dim epScreenshot As Boolean
 32    Dim epCreateScreenshot As Boolean
 33    Dim includeLocked As Boolean
 34    Dim activate As Boolean
 35    Dim doEpisodes As Boolean
 36    Dim doShows As Boolean
 37    Dim doShowBody As Boolean
 38    Dim doShowArt As Boolean
 39    Dim doShowActors As Boolean
 40    Dim doEpisodeBody As Boolean
 41    Dim doEpisodeArt As Boolean
 42    Dim doEpisodeActors As Boolean
 43    Dim doEpisodeMediaTags As Boolean
 44
 45    Sub New(SetDefaults As Boolean) 'When called with new keyword & boolean constant SetDefault (either T or F), initialises all values to defaults to avoid having some variables left as 'nothing'
 46        RewriteAllNFOs = False
 47        shYear = False
 48        shRating = False
 49        shPlot = False
 50        shRuntime = False
 51        shMpaa = False
 52        shGenre = False
 53        shStudio = False
 54        shActor = False
 55        shStatus = False
 56        shSeries = False
 57        shPosters = False
 58        shFanart = False
 59        shSeason = False
 60        shBannerMain = False
 61        shXtraFanart = False
 62        shFanartTvArt = False
 63        shDelArtwork = False
 64        epStreamDetails = False
 65        epAired = False
 66        epPlot = False
 67        epDirector = False
 68        epCredits = False
 69        epRating = False
 70        epVotes = False
 71        epRuntime = False
 72        epTitle = False
 73        epActor = False
 74        epScreenshot = False
 75        epCreateScreenshot = False
 76        includeLocked = False
 77        activate = False
 78        doEpisodes = False
 79        doShows = False
 80        doShowBody = False
 81        doShowArt = False
 82        doShowActors = False
 83        doEpisodeBody = False
 84        doEpisodeArt = False
 85        doEpisodeActors = False
 86        doEpisodeMediaTags = False
 87    End Sub
 88
 89    Sub Reset()
 90        RewriteAllNFOs = False
 91        shYear = False
 92        shRating = False
 93        shPlot = False
 94        shRuntime = False
 95        shMpaa = False
 96        shGenre = False
 97        shStudio = False
 98        shActor = False
 99        shStatus = False
100        shSeries = False
101        shPosters = False
102        shFanart = False
103        shSeason = False
104        shBannerMain = False
105        shXtraFanart = False
106        shFanartTvArt = False
107        shDelArtwork = False
108        epStreamDetails = False
109        epAired = False
110        epPlot = False
111        epDirector = False
112        epCredits = False
113        epRating = False
114        epVotes = False
115        epRuntime = False
116        epTitle = False
117        epActor = False
118        epScreenshot = False
119        epCreateScreenshot = False
120        includeLocked = False
121        activate = False
122        doEpisodes = False
123        doShows = False
124        doShowBody = False
125        doShowArt = False
126        doShowActors = False
127        doEpisodeBody = False
128        doEpisodeArt = False
129        doEpisodeActors = False
130        doEpisodeMediaTags = False
131    End Sub
132End Structure