mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-15 10:43:30 +01:00
convert programs and channels to new providers
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using MediaBrowser.Common.IO;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
|
||||
namespace MediaBrowser.Providers
|
||||
@@ -24,5 +25,10 @@ namespace MediaBrowser.Providers
|
||||
|
||||
return FileSystem.GetLastWriteTimeUtc(path) > date;
|
||||
}
|
||||
|
||||
public bool HasLocalMetadata(IHasMetadata item)
|
||||
{
|
||||
return File.Exists(GetXmlPath(item.Path));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user