mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-20 15:55:25 +03:00
more work on channel downloading
This commit is contained in:
@@ -1549,5 +1549,18 @@ namespace MediaBrowser.Controller.Entities
|
||||
|
||||
return hasChanges;
|
||||
}
|
||||
|
||||
protected static string GetMappedPath(string path, LocationType locationType)
|
||||
{
|
||||
if (locationType == LocationType.FileSystem || locationType == LocationType.Offline)
|
||||
{
|
||||
foreach (var map in ConfigurationManager.Configuration.PathSubstitutions)
|
||||
{
|
||||
path = FileSystem.SubstitutePath(path, map.From, map.To);
|
||||
}
|
||||
}
|
||||
|
||||
return path;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user