mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
Fixed: Webhook fails due to Frames/Analysis property serialization on MediaInfo
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text.Json.Serialization;
|
|
||||||
using FFMpegCore;
|
using FFMpegCore;
|
||||||
using NzbDrone.Core.Datastore;
|
using NzbDrone.Core.Datastore;
|
||||||
|
|
||||||
@@ -12,12 +11,6 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
|
|||||||
public string RawFrameData { get; set; }
|
public string RawFrameData { get; set; }
|
||||||
public int SchemaRevision { get; set; }
|
public int SchemaRevision { get; set; }
|
||||||
|
|
||||||
[JsonIgnore]
|
|
||||||
public IMediaAnalysis Analysis => FFProbe.Analyse(RawStreamData);
|
|
||||||
|
|
||||||
[JsonIgnore]
|
|
||||||
public IMediaAnalysis Frames => FFProbe.Analyse(RawFrameData);
|
|
||||||
|
|
||||||
public string ContainerFormat { get; set; }
|
public string ContainerFormat { get; set; }
|
||||||
public string VideoFormat { get; set; }
|
public string VideoFormat { get; set; }
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Collections.Specialized;
|
using System.Collections.Specialized;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using FluentValidation.Results;
|
using FluentValidation.Results;
|
||||||
using NLog;
|
using NLog;
|
||||||
using NzbDrone.Common.EnvironmentInfo;
|
|
||||||
using NzbDrone.Common.Http;
|
using NzbDrone.Common.Http;
|
||||||
|
|
||||||
namespace NzbDrone.Core.Notifications.Notifiarr
|
namespace NzbDrone.Core.Notifications.Notifiarr
|
||||||
|
|||||||
Reference in New Issue
Block a user