private void SetShowItem() { int code = codeFinder.SelectedCode(); ShowItem.TvdbCode = code; ShowItem.AutoAddFolderBase = cbDirectory.Text + lblDirectoryName.Text; ShowItem.AutoAddType = ShowItem.AutomaticFolderType.libraryDefault; //Set Default Timezone based on Network ShowItem.ShowTimeZone = TimeZone.TimeZoneForNetwork(codeFinder.SelectedShow()?.GetNetwork()); if (!originalHint.Contains(codeFinder.SelectedShow().Name, StringComparison.OrdinalIgnoreCase)) { ShowItem.AliasNames.Add(originalHint); } }
private void SetShowItem() { int code = this.mTCCF.SelectedCode(); this.mSI.TVDBCode = code; this.mSI.AutoAdd_FolderBase = this.cbDirectory.Text + this.lblDirectoryName.Text; this.mSI.PadSeasonToTwoDigits = true; //Set Default Timezone based on Network this.mSI.ShowTimeZone = TimeZone.TimeZoneForNetwork(this.mTCCF.SelectedShow()?.getNetwork()); if (!this.originalHint.Contains(this.mTCCF.SelectedShow().Name, StringComparison.OrdinalIgnoreCase)) { this.mSI.AliasNames.Add(this.originalHint); } }