mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-24 16:40:25 +01:00
add connect linking
This commit is contained in:
@@ -81,7 +81,7 @@ namespace MediaBrowser.Dlna.ContentDirectory
|
||||
{
|
||||
if (!string.IsNullOrEmpty(profile.UserId))
|
||||
{
|
||||
var user = _userManager.GetUserById(new Guid(profile.UserId));
|
||||
var user = _userManager.GetUserById(profile.UserId);
|
||||
|
||||
if (user != null)
|
||||
{
|
||||
@@ -93,7 +93,7 @@ namespace MediaBrowser.Dlna.ContentDirectory
|
||||
|
||||
if (!string.IsNullOrEmpty(userId))
|
||||
{
|
||||
var user = _userManager.GetUserById(new Guid(userId));
|
||||
var user = _userManager.GetUserById(userId);
|
||||
|
||||
if (user != null)
|
||||
{
|
||||
|
||||
@@ -281,7 +281,7 @@ namespace MediaBrowser.Dlna.PlayTo
|
||||
{
|
||||
_logger.Debug("{0} - Received PlayRequest: {1}", this._session.DeviceName, command.PlayCommand);
|
||||
|
||||
var user = String.IsNullOrEmpty(command.ControllingUserId) ? null : _userManager.GetUserById(new Guid(command.ControllingUserId));
|
||||
var user = String.IsNullOrEmpty(command.ControllingUserId) ? null : _userManager.GetUserById(command.ControllingUserId);
|
||||
|
||||
var items = new List<BaseItem>();
|
||||
foreach (string id in command.ItemIds)
|
||||
|
||||
Reference in New Issue
Block a user