Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/5d0effa591e938252d6950fbd7b4290541d78454
You should set ROOT_URL correctly, otherwise the web may not work correctly.
5 changed files with
8 additions and
7 deletions
@ -8,10 +8,10 @@ namespace NzbDrone.Core.Test.MediaFiles.MediaInfo.MediaInfoFormatterTests
[TestFixture]
public class FormatVideoCodecFixture : TestBase
{
[TestCase("AVC", null, " h 264")]
[TestCase("AVC", null, " x 264")]
[TestCase("AVC", "source.title.x264.720p-Sonarr", "x264")]
[TestCase("AVC", "source.title.h264.720p-Sonarr", "h264")]
[TestCase("V_MPEGH/ISO/HEVC", null, " h 265")]
[TestCase("V_MPEGH/ISO/HEVC", null, " x 265")]
[TestCase("V_MPEGH/ISO/HEVC", "source.title.x265.720p-Sonarr", "x265")]
[TestCase("V_MPEGH/ISO/HEVC", "source.title.h265.720p-Sonarr", "h265")]
[TestCase("MPEG-2 Video", null, "MPEG2")]
@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.MediaFiles.MediaInfo.MediaInfoFormatterTests
{
var mediaInfoModel = new MediaInfoModel
{
Video Format = videoCodec
Video Codec = videoCodec
} ;
MediaInfoFormatter . FormatVideoCodec ( mediaInfoModel , sceneName ) . Should ( ) . Be ( expectedFormat ) ;
@ -331,7 +331,7 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
public static string FormatVideoCodecLegacy ( MediaInfoModel mediaInfo , string sceneName )
{
var videoCodec = mediaInfo . Video Format ;
var videoCodec = mediaInfo . Video Codec ;
if ( videoCodec . IsNullOrWhiteSpace ( ) )
{
@ -10,6 +10,7 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
public class MediaInfoModel : IEmbeddedDocument
{
public string ContainerFormat { get ; set ; }
public string VideoCodec { get ; set ; }
public string VideoFormat { get ; set ; }
public string VideoCodecID { get ; set ; }
public string VideoProfile { get ; set ; }
@ -17,8 +17,8 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
private readonly IDiskProvider _diskProvider ;
private readonly Logger _logger ;
public const int MINIMUM_MEDIA_INFO_SCHEMA_REVISION = 3 ;
public const int CURRENT_MEDIA_INFO_SCHEMA_REVISION = 4 ;
public const int MINIMUM_MEDIA_INFO_SCHEMA_REVISION = 4 ;
public const int CURRENT_MEDIA_INFO_SCHEMA_REVISION = 5 ;
public VideoFileInfoReader ( IDiskProvider diskProvider , Logger logger )
{
@ -12,7 +12,7 @@ module.exports = NzbDroneCell.extend({
if ( runtime ) {
runtime = runtime . split ( "." ) [ 0 ] ;
}
var video = "{0} ({1}x{2}) ({3})" . format ( info . videoFormat , info . width , info . height , runtime ) ;
var video = "{0} ({1}x{2}) ({3})" . format ( info . videoFormat || info . videoCodec , info . width , info . height , runtime ) ;
var audio = "{0} ({1})" . format ( info . audioFormat , info . audioLanguages ) ;
this . $el . html ( video + " " + audio ) ;
}