Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/e88eacab090b279d2847285ec09f30c4885fdc2a
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
22 additions and
6 deletions
@ -31,16 +31,32 @@ namespace MediaBrowser.Controller.Providers.Music
return item is MusicAlbum ;
}
public override async Task < bool > FetchAsync ( BaseItem item , bool force , CancellationToken cancellationToken )
/// <summary>
/// Needses the refresh internal.
/// </summary>
/// <param name="item">The item.</param>
/// <param name="providerInfo">The provider info.</param>
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise</returns>
protected override bool NeedsRefreshInternal ( BaseItem item , BaseProviderInfo providerInfo )
{
var mbid = item . GetProviderId ( MetadataProviders . Musicbrainz ) ;
if ( mbid = = null )
if ( string . IsNullOrEmpty ( item . GetProviderId ( MetadataProviders . Musicbrainz ) ) )
{
return false ;
}
if ( ! ConfigurationManager . Configuration . DownloadMusicAlbumImages . Disc & &
! ConfigurationManager . Configuration . DownloadMusicAlbumImages . Primary )
{
Logger . Warn ( "No Musicbrainz id associated with album {0}" , item . Name ) ;
SetLastRefreshed ( item , DateTime . UtcNow ) ;
return true ;
return false ;
}
return base . NeedsRefreshInternal ( item , providerInfo ) ;
}
public override async Task < bool > FetchAsync ( BaseItem item , bool force , CancellationToken cancellationToken )
{
var mbid = item . GetProviderId ( MetadataProviders . Musicbrainz ) ;
cancellationToken . ThrowIfCancellationRequested ( ) ;
var url = string . Format ( "http://api.fanart.tv/webservice/album/{0}/{1}/xml/all/1/1" , APIKey , item . GetProviderId ( MetadataProviders . Musicbrainz ) ) ;