mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-22 00:32:13 +00:00
added more options for block unrated
This commit is contained in:
parent
1fe08c083a
commit
a0e6c0422b
15 changed files with 107 additions and 10 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using MediaBrowser.Model.Configuration;
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Controller.Entities
|
||||
{
|
||||
|
|
@ -38,5 +39,11 @@ namespace MediaBrowser.Controller.Entities
|
|||
}
|
||||
return base.GetUserDataKey();
|
||||
}
|
||||
|
||||
protected override bool GetBlockUnratedValue(UserConfiguration config)
|
||||
{
|
||||
// Don't block. Determine by game
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue