mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #5088 from Ullmie02/nfo-watched
Fix nfo saving during UserDataSaved event
This commit is contained in:
commit
cfe37474f1
@ -60,17 +60,7 @@ namespace MediaBrowser.XbmcMetadata
|
|||||||
|
|
||||||
private void SaveMetadataForItem(BaseItem item, ItemUpdateType updateReason)
|
private void SaveMetadataForItem(BaseItem item, ItemUpdateType updateReason)
|
||||||
{
|
{
|
||||||
if (!item.IsFileProtocol)
|
if (!item.IsFileProtocol || !item.SupportsLocalMetadata)
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!item.SupportsLocalMetadata)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!item.IsSaveLocalMetadataEnabled())
|
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user