mirror of
https://github.com/metatube-community/jellyfin-plugin-metatube.git
synced 2026-07-17 03:50:42 +08:00
Minor fixes
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#if __EMBY__
|
||||
using Jellyfin.Plugin.JavTube.Extensions;
|
||||
using MediaBrowser.Common.Net;
|
||||
using MediaBrowser.Model.Configuration;
|
||||
using MediaBrowser.Model.Logging;
|
||||
#else
|
||||
using Microsoft.Extensions.Logging;
|
||||
#endif
|
||||
using Jellyfin.Plugin.JavTube.Extensions;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Entities.Movies;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
|
||||
@@ -105,9 +105,9 @@ public class MovieProvider : BaseProvider, IRemoteMetadataProvider<Movie, MovieI
|
||||
LogInfo("Search for movie: {0}", pm.Id);
|
||||
|
||||
var results = new List<RemoteSearchResult>();
|
||||
var movies = await ApiClient.SearchMovie(pm.Id, pm.Provider, cancellationToken);
|
||||
var searchResults = await ApiClient.SearchMovie(pm.Id, pm.Provider, cancellationToken);
|
||||
|
||||
foreach (var m in movies)
|
||||
foreach (var m in searchResults)
|
||||
{
|
||||
var result = new RemoteSearchResult
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user