Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/src/commit/1ed03b0bb328e4d5c48c560c06aab55b4c75cd46/MediaBrowser.Controller/Entities/GameSystem.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
jellyfin/MediaBrowser.Controller/Entities/GameSystem.cs

50 lines
1.3 KiB

using MediaBrowser.Model.Configuration;
using System;
namespace MediaBrowser.Controller.Entities
{
/// <summary>
/// Class GameSystem
/// </summary>
public class GameSystem : Folder
{
/// <summary>
/// Return the id that should be used to key display prefs for this item.
/// Default is based on the type for everything except actual generic folders.
/// </summary>
/// <value>The display prefs id.</value>
public override Guid DisplayPreferencesId
{
get
{
return Id;
}
}
/// <summary>
/// Gets or sets the game system.
/// </summary>
/// <value>The game system.</value>
public string GameSystemName { get; set; }
/// <summary>
/// Gets the user data key.
/// </summary>
/// <returns>System.String.</returns>
public override string GetUserDataKey()
{
if (!string.IsNullOrEmpty(GameSystemName))
{
return "GameSystem-" + GameSystemName;
}
return base.GetUserDataKey();
}
protected override bool GetBlockUnratedValue(UserConfiguration config)
{
// Don't block. Determine by game
return false;
}
}
}