mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-29 11:58:27 +01:00
update active recordings
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using MediaBrowser.Controller.Devices;
|
||||
using MediaBrowser.Controller.Net;
|
||||
using MediaBrowser.Model.Devices;
|
||||
@@ -143,7 +142,7 @@ namespace MediaBrowser.Api.Devices
|
||||
}
|
||||
else
|
||||
{
|
||||
var file = Request.Files.First();
|
||||
var file = Request.Files.Length == 0 ? null : Request.Files[0];
|
||||
|
||||
var task = _deviceManager.AcceptCameraUpload(deviceId, file.InputStream, new LocalFileInfo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user