sonarr-repo-only/NzbDrone.Core/Providers/IMediaProvider.cs

36 lines
872 B
C#

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; }
}
}