mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-20 15:55:25 +03:00
fixes #672 - Support path mapping
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user