mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-27 10:58:44 +01:00
update translations
This commit is contained in:
@@ -26,5 +26,11 @@ namespace MediaBrowser.Controller.Configuration
|
||||
/// </summary>
|
||||
/// <value>The configuration.</value>
|
||||
ServerConfiguration Configuration { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Sets the preferred metadata service.
|
||||
/// </summary>
|
||||
/// <param name="service">The service.</param>
|
||||
void SetPreferredMetadataService(string service);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1526,6 +1526,11 @@ namespace MediaBrowser.Controller.Entities
|
||||
|
||||
public virtual bool IsUnplayed(User user)
|
||||
{
|
||||
if (user == null)
|
||||
{
|
||||
throw new ArgumentNullException("user");
|
||||
}
|
||||
|
||||
var userdata = UserDataManager.GetUserData(user.Id, GetUserDataKey());
|
||||
|
||||
return userdata == null || !userdata.Played;
|
||||
|
||||
@@ -281,6 +281,6 @@ namespace MediaBrowser.Controller.Session
|
||||
/// </summary>
|
||||
/// <param name="remoteEndpoint">The remote endpoint.</param>
|
||||
/// <returns><c>true</c> if the specified remote endpoint is local; otherwise, <c>false</c>.</returns>
|
||||
bool IsLocal(string remoteEndpoint);
|
||||
bool IsInLocalNetwork(string remoteEndpoint);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user