mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-01 07:55:22 +02:00
Added Media Provider Interface and XBMC's implementation
This commit is contained in:
35
NzbDrone.Core/Providers/IMediaProvider.cs
Normal file
35
NzbDrone.Core/Providers/IMediaProvider.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NzbDrone.Core.Providers
|
||||
{
|
||||
interface IMediaProvider
|
||||
{
|
||||
void Play();
|
||||
void Play(string Location);
|
||||
void Play(string Location, bool AddToQueue);
|
||||
void Pause();
|
||||
void Stop();
|
||||
|
||||
void Next();
|
||||
void Previous();
|
||||
void Seek(string RawTime);
|
||||
void Seek(int Hour, int Minute, int Second);
|
||||
void Seek(System.TimeSpan SeekTime);
|
||||
|
||||
void Queue(string Location);
|
||||
|
||||
System.Uri Uri { get; }
|
||||
string UniqueDeviceName { get; }
|
||||
OpenSource.UPnP.UPnPDevice Device { get; }
|
||||
OpenSource.UPnP.AV.CpAVTransport Transport { get; }
|
||||
string FriendlyName { get; }
|
||||
|
||||
DateTime FirstSeen { get; }
|
||||
DateTime LastSeen { get; }
|
||||
bool IsActive { get; }
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user