mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-03 13:44:33 -04:00
20 lines
481 B
C#
20 lines
481 B
C#
using Kyoo.Models;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Kyoo.InternalAPI
|
|
{
|
|
public interface ILibraryManager
|
|
{
|
|
//Read values
|
|
IEnumerable<Show> QueryShows(string selection);
|
|
|
|
//Check if value exists
|
|
bool IsEpisodeRegistered(string episodePath);
|
|
bool IsShowRegistered(string showPath);
|
|
bool IsShowRegistered(string showPath, out long? showID);
|
|
|
|
//Register values
|
|
long RegisterShow(Show show);
|
|
}
|
|
}
|