| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 | 
							- using System.Runtime.Serialization;
 
- using MediaBrowser.Controller.Providers;
 
- using MediaBrowser.Model.Configuration;
 
- using System;
 
- namespace MediaBrowser.Controller.Entities
 
- {
 
-     /// <summary>
 
-     /// Class GameSystem
 
-     /// </summary>
 
-     public class GameSystem : Folder, IHasLookupInfo<GameSystemInfo>
 
-     {
 
-         /// <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>
 
-         [IgnoreDataMember]
 
-         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;
 
-         }
 
-         public GameSystemInfo GetLookupInfo()
 
-         {
 
-             var id = GetItemLookupInfo<GameSystemInfo>();
 
-             id.Path = Path;
 
-             return id;
 
-         }
 
-     }
 
- }
 
 
  |