You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.2 KiB
34 lines
1.2 KiB
6 years ago
|
using System;
|
||
6 years ago
|
using System.Collections.Generic;
|
||
|
using System.Threading;
|
||
|
using System.Threading.Tasks;
|
||
|
using MediaBrowser.Common.Net;
|
||
11 years ago
|
using MediaBrowser.Controller.Entities;
|
||
11 years ago
|
using MediaBrowser.Controller.Providers;
|
||
11 years ago
|
using MediaBrowser.Model.Providers;
|
||
11 years ago
|
using MediaBrowser.Providers.Movies;
|
||
5 years ago
|
using MediaBrowser.Providers.Tmdb.Movies;
|
||
11 years ago
|
|
||
5 years ago
|
namespace MediaBrowser.Providers.Tmdb.Music
|
||
11 years ago
|
{
|
||
5 years ago
|
public class TmdbMusicVideoProvider : IRemoteMetadataProvider<MusicVideo, MusicVideoInfo>
|
||
11 years ago
|
{
|
||
|
public Task<MetadataResult<MusicVideo>> GetMetadata(MusicVideoInfo info, CancellationToken cancellationToken)
|
||
|
{
|
||
5 years ago
|
return TmdbMovieProvider.Current.GetItemMetadata<MusicVideo>(info, cancellationToken);
|
||
11 years ago
|
}
|
||
|
|
||
8 years ago
|
public Task<IEnumerable<RemoteSearchResult>> GetSearchResults(MusicVideoInfo searchInfo, CancellationToken cancellationToken)
|
||
11 years ago
|
{
|
||
8 years ago
|
return Task.FromResult((IEnumerable<RemoteSearchResult>)new List<RemoteSearchResult>());
|
||
11 years ago
|
}
|
||
|
|
||
5 years ago
|
public string Name => TmdbMovieProvider.Current.Name;
|
||
11 years ago
|
|
||
11 years ago
|
public Task<HttpResponseInfo> GetImageResponse(string url, CancellationToken cancellationToken)
|
||
|
{
|
||
|
throw new NotImplementedException();
|
||
|
}
|
||
11 years ago
|
}
|
||
|
}
|