mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Make sure item has a place to store local meta before trying to store there
This commit is contained in:
parent
51e11eb3e3
commit
6ebab4a965
@ -368,7 +368,7 @@ namespace MediaBrowser.Server.Implementations.Providers
|
||||
}
|
||||
|
||||
//download and save locally
|
||||
var localPath = ConfigurationManager.Configuration.SaveLocalMeta ?
|
||||
var localPath = (ConfigurationManager.Configuration.SaveLocalMeta && item.MetaLocation != null) ?
|
||||
Path.Combine(item.MetaLocation, targetName) :
|
||||
_remoteImageCache.GetResourcePath(item.GetType().FullName + item.Path.ToLower(), targetName);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user