fixes #672 - Support path mapping

This commit is contained in:
Luke Pulverenti
2014-01-30 00:20:18 -05:00
parent 1f6918117c
commit 7d23dea414
4 changed files with 62 additions and 4 deletions

View File

@@ -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; }
}
}