Skip to content

Commit ab4918f

Browse files
committed
fix: disable imdbRating from catalogs
1 parent 7e731c7 commit ab4918f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

GelatoStremioProvider.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ private string BuildUrl(string[] segments, IEnumerable<string>? extras = null)
9898
c.Type,
9999
nameof(StremioMediaType.Movie),
100100
StringComparison.CurrentCultureIgnoreCase
101-
)
102-
&& c.IsSearchCapable()
101+
) && c.IsSearchCapable()
103102
)
104103
.OrderBy(c => c.Id.Contains("people", StringComparison.OrdinalIgnoreCase))
105104
.FirstOrDefault();
@@ -110,8 +109,7 @@ private string BuildUrl(string[] segments, IEnumerable<string>? extras = null)
110109
c.Type,
111110
nameof(StremioMediaType.Series),
112111
StringComparison.CurrentCultureIgnoreCase
113-
)
114-
&& c.IsSearchCapable()
112+
) && c.IsSearchCapable()
115113
)
116114
.OrderBy(c => c.Id.Contains("people", StringComparison.OrdinalIgnoreCase))
117115
.FirstOrDefault();
@@ -348,7 +346,9 @@ public class StremioMeta
348346
public string? Title { get; set; }
349347
public string? Poster { get; set; }
350348
public List<string>? Genres { get; set; }
351-
public string? ImdbRating { get; set; }
349+
350+
// sometimes string, sometimes number... disable for now
351+
// public string? ImdbRating { get; set; }
352352
public string? ReleaseInfo { get; set; }
353353
public string? Description { get; set; }
354354
public string? Overview { get; set; }

0 commit comments

Comments
 (0)