mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 09:04:42 +01:00
add dlna channel factory
This commit is contained in:
@@ -542,7 +542,7 @@ namespace MediaBrowser.Server.Implementations.Channels
|
||||
throw new ArgumentException("User not found.");
|
||||
}
|
||||
|
||||
var channels = _channels;
|
||||
var channels = GetAllChannels();
|
||||
|
||||
if (query.ChannelIds.Length > 0)
|
||||
{
|
||||
@@ -696,7 +696,7 @@ namespace MediaBrowser.Server.Implementations.Channels
|
||||
? null
|
||||
: _userManager.GetUserById(new Guid(query.UserId));
|
||||
|
||||
var channels = _channels;
|
||||
var channels = GetAllChannels();
|
||||
|
||||
if (query.ChannelIds.Length > 0)
|
||||
{
|
||||
|
||||
@@ -94,8 +94,9 @@ namespace MediaBrowser.Server.Implementations.Notifications
|
||||
{
|
||||
var config = GetConfiguration();
|
||||
|
||||
return _userManager.Users.Where(i => config.IsEnabledToSendToUser(request.NotificationType, i.Id.ToString("N"), i.Configuration))
|
||||
.Select(i => i.Id.ToString("N"));
|
||||
return _userManager.Users
|
||||
.Where(i => config.IsEnabledToSendToUser(request.NotificationType, i.Id.ToString("N"), i.Configuration))
|
||||
.Select(i => i.Id.ToString("N"));
|
||||
}
|
||||
|
||||
return request.UserIds;
|
||||
|
||||
Reference in New Issue
Block a user