mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 18:14:42 +01:00
updated servicestack to 3.9.44
This commit is contained in:
@@ -975,8 +975,8 @@ namespace MediaBrowser.Controller.Providers.Movies
|
||||
boxset.OfficialRating = firstChild != null ? firstChild.OfficialRating : null;
|
||||
}
|
||||
|
||||
if (movie.RunTimeTicks == null && movieData.runtime > 0)
|
||||
movie.RunTimeTicks = TimeSpan.FromMinutes(movieData.runtime).Ticks;
|
||||
//if (movie.RunTimeTicks == null && movieData.runtime > 0)
|
||||
// movie.RunTimeTicks = TimeSpan.FromMinutes(movieData.runtime).Ticks;
|
||||
|
||||
//studios
|
||||
if (movieData.production_companies != null)
|
||||
|
||||
@@ -55,15 +55,18 @@ namespace MediaBrowser.Controller.Providers.Music
|
||||
// Try to find the id using last fm
|
||||
var result = await FindIdFromLastFm(item, cancellationToken).ConfigureAwait(false);
|
||||
|
||||
if (!string.IsNullOrEmpty(result.Item1))
|
||||
if (result != null)
|
||||
{
|
||||
return result.Item1;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(result.Item1))
|
||||
{
|
||||
return result.Item1;
|
||||
}
|
||||
|
||||
// If there were no artists returned at all, then don't bother with musicbrainz
|
||||
if (!result.Item2)
|
||||
{
|
||||
return null;
|
||||
// If there were no artists returned at all, then don't bother with musicbrainz
|
||||
if (!result.Item2)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
try
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace MediaBrowser.Controller.Providers.Music
|
||||
/// </summary>
|
||||
public abstract class LastfmBaseProvider : BaseMetadataProvider
|
||||
{
|
||||
protected static readonly SemaphoreSlim LastfmResourcePool = new SemaphoreSlim(5, 5);
|
||||
protected static readonly SemaphoreSlim LastfmResourcePool = new SemaphoreSlim(4, 4);
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="LastfmBaseProvider" /> class.
|
||||
|
||||
Reference in New Issue
Block a user