Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/4500f1d11bac97d553af74a5053aa42ac00f6ff7
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
15 additions and
7 deletions
@ -21,15 +21,10 @@ namespace MediaBrowser.Api.HttpHandlers
Name = p . Name ,
Enabled = p . Enabled ,
DownloadToUI = p . DownloadToUI ,
Version = p . Version
Version = p . Version . ToString ( )
} ;
} ) ;
if ( QueryString [ "uionly" ] = = "1" )
{
plugins = plugins . Where ( p = > p . DownloadToUI ) ;
}
return Task . FromResult < IEnumerable < PluginInfo > > ( plugins ) ;
}
}
@ -566,6 +566,19 @@ namespace MediaBrowser.ApiInteraction
}
}
/// <summary>
/// Gets a list of plugins installed on the server
/// </summary>
public async Task < PluginInfo [ ] > GetInstalledPlugins ( )
{
string url = ApiUrl + "/plugins" ;
using ( Stream stream = await GetSerializedStreamAsync ( url ) . ConfigureAwait ( false ) )
{
return DeserializeFromStream < PluginInfo [ ] > ( stream ) ;
}
}
/// <summary>
/// Gets weather information for the default location as set in configuration
/// </summary>
@ -22,6 +22,6 @@ namespace MediaBrowser.Model.DTO
public DateTime ConfigurationDateLastModified { get ; set ; }
[ProtoMember(5)]
public Version Version { get ; set ; }
public string Version { get ; set ; }
}
}