diff options
Diffstat (limited to 'MediaBrowser.Model')
| -rw-r--r-- | MediaBrowser.Model/Configuration/ServerConfiguration.cs | 13 | ||||
| -rw-r--r-- | MediaBrowser.Model/Dto/BaseItemDto.cs | 6 |
2 files changed, 17 insertions, 2 deletions
diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.cs index 4e981fa3e..eef6f0f2f 100644 --- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs +++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs @@ -1,4 +1,5 @@ -using MediaBrowser.Model.Weather; +using System.Collections.Generic; +using MediaBrowser.Model.Weather; using System; namespace MediaBrowser.Model.Configuration @@ -228,7 +229,8 @@ namespace MediaBrowser.Model.Configuration public LiveTvOptions LiveTvOptions { get; set; } public bool EnableRealtimeMonitor { get; set; } - + public PathSubstitution[] PathSubstitutions { get; set; } + /// <summary> /// Initializes a new instance of the <see cref="ServerConfiguration" /> class. /// </summary> @@ -259,6 +261,7 @@ namespace MediaBrowser.Model.Configuration EnableInternetProviders = true; //initial installs will need these ManualLoginClients = new ManualLoginCategory[] { }; + PathSubstitutions = new PathSubstitution[] { }; MetadataRefreshDays = 30; PreferredMetadataLanguage = "en"; @@ -352,4 +355,10 @@ namespace MediaBrowser.Model.Configuration SeasonZeroFolderName = "Season 0"; } } + + public class PathSubstitution + { + public string From { get; set; } + public string To { get; set; } + } } diff --git a/MediaBrowser.Model/Dto/BaseItemDto.cs b/MediaBrowser.Model/Dto/BaseItemDto.cs index 1a90e75d9..4d409ff7d 100644 --- a/MediaBrowser.Model/Dto/BaseItemDto.cs +++ b/MediaBrowser.Model/Dto/BaseItemDto.cs @@ -135,6 +135,12 @@ namespace MediaBrowser.Model.Dto public List<string> Genres { get; set; } /// <summary> + /// Gets or sets the mapped paths. + /// </summary> + /// <value>The mapped paths.</value> + public List<string> MappedPaths { get; set; } + + /// <summary> /// Gets or sets the community rating. /// </summary> /// <value>The community rating.</value> |
