mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 17:59:14 +00:00
35 lines
887 B
C#
35 lines
887 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace NzbDrone.Core.Providers
|
|
{
|
|
public 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; }
|
|
|
|
}
|
|
}
|