mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-17 21:26:22 -04:00
Compare commits
20 Commits
sonarr-pul
...
v4.2.3.657
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c5616c5ba1 | ||
|
|
61979bff7a | ||
|
|
90d0d8bec8 | ||
|
|
2d814ecd20 | ||
|
|
6542119402 | ||
|
|
b9185574f3 | ||
|
|
99e0d42b71 | ||
|
|
d01fa5e6a4 | ||
|
|
2ce9d099e1 | ||
|
|
12829580e5 | ||
|
|
dadd796737 | ||
|
|
a3f508b8d4 | ||
|
|
1ab3df03a3 | ||
|
|
5558e10711 | ||
|
|
573405bae7 | ||
|
|
43d77308f9 | ||
|
|
b3c3f7ddae | ||
|
|
dd5bc41eda | ||
|
|
c8ab4f8c68 | ||
|
|
a4ddae0ccc |
6
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
6
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -5,9 +5,9 @@ body:
|
|||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
attributes:
|
attributes:
|
||||||
label: Is there an existing issue for this?
|
label: Is there an existing issue for this?
|
||||||
description: Please search to see if an issue already exists for the bug you encountered.
|
description: Please search to see if an open or closed issue already exists for the bug you encountered. If a bug exists and is closed note that it may only be fixed in an unstable branch.
|
||||||
options:
|
options:
|
||||||
- label: I have searched the existing issues
|
- label: I have searched the existing open and closed issues
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
@@ -42,12 +42,14 @@ body:
|
|||||||
- **Docker Install**: Yes
|
- **Docker Install**: Yes
|
||||||
- **Using Reverse Proxy**: No
|
- **Using Reverse Proxy**: No
|
||||||
- **Browser**: Firefox 90 (If UI related)
|
- **Browser**: Firefox 90 (If UI related)
|
||||||
|
- **Database**: Sqlite 3.36.0
|
||||||
value: |
|
value: |
|
||||||
- OS:
|
- OS:
|
||||||
- Radarr:
|
- Radarr:
|
||||||
- Docker Install:
|
- Docker Install:
|
||||||
- Using Reverse Proxy:
|
- Using Reverse Proxy:
|
||||||
- Browser:
|
- Browser:
|
||||||
|
- Database:
|
||||||
render: markdown
|
render: markdown
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ variables:
|
|||||||
testsFolder: './_tests'
|
testsFolder: './_tests'
|
||||||
yarnCacheFolder: $(Pipeline.Workspace)/.yarn
|
yarnCacheFolder: $(Pipeline.Workspace)/.yarn
|
||||||
nugetCacheFolder: $(Pipeline.Workspace)/.nuget/packages
|
nugetCacheFolder: $(Pipeline.Workspace)/.nuget/packages
|
||||||
majorVersion: '4.2.2'
|
majorVersion: '4.2.3'
|
||||||
minorVersion: $[counter('minorVersion', 2000)]
|
minorVersion: $[counter('minorVersion', 2000)]
|
||||||
radarrVersion: '$(majorVersion).$(minorVersion)'
|
radarrVersion: '$(majorVersion).$(minorVersion)'
|
||||||
buildName: '$(Build.SourceBranchName).$(radarrVersion)'
|
buildName: '$(Build.SourceBranchName).$(radarrVersion)'
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ function HostSettings(props) {
|
|||||||
port,
|
port,
|
||||||
urlBase,
|
urlBase,
|
||||||
instanceName,
|
instanceName,
|
||||||
|
applicationUrl,
|
||||||
enableSsl,
|
enableSsl,
|
||||||
sslPort,
|
sslPort,
|
||||||
sslCertPath,
|
sslCertPath,
|
||||||
@@ -90,6 +91,21 @@ function HostSettings(props) {
|
|||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
|
<FormGroup
|
||||||
|
advancedSettings={advancedSettings}
|
||||||
|
isAdvanced={true}
|
||||||
|
>
|
||||||
|
<FormLabel>{translate('ApplicationURL')}</FormLabel>
|
||||||
|
|
||||||
|
<FormInputGroup
|
||||||
|
type={inputTypes.TEXT}
|
||||||
|
name="applicationUrl"
|
||||||
|
helpText={translate('ApplicationUrlHelpText')}
|
||||||
|
onChange={onInputChange}
|
||||||
|
{...applicationUrl}
|
||||||
|
/>
|
||||||
|
</FormGroup>
|
||||||
|
|
||||||
<FormGroup
|
<FormGroup
|
||||||
advancedSettings={advancedSettings}
|
advancedSettings={advancedSettings}
|
||||||
isAdvanced={true}
|
isAdvanced={true}
|
||||||
|
|||||||
@@ -262,10 +262,10 @@ export const defaultState = {
|
|||||||
type: filterBuilderTypes.ARRAY,
|
type: filterBuilderTypes.ARRAY,
|
||||||
optionsSelector: function(items) {
|
optionsSelector: function(items) {
|
||||||
const collectionList = items.reduce((acc, movie) => {
|
const collectionList = items.reduce((acc, movie) => {
|
||||||
if (movie.collection) {
|
if (movie.collection && movie.collection.title) {
|
||||||
acc.push({
|
acc.push({
|
||||||
id: movie.collection.name,
|
id: movie.collection.title,
|
||||||
name: movie.collection.name
|
name: movie.collection.title
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ export const filterPredicates = {
|
|||||||
const predicate = filterTypePredicates[type];
|
const predicate = filterTypePredicates[type];
|
||||||
const { collection } = item;
|
const { collection } = item;
|
||||||
|
|
||||||
return predicate(collection ? collection.title : '', filterValue);
|
return predicate(collection && collection.title ? collection.title : '', filterValue);
|
||||||
},
|
},
|
||||||
|
|
||||||
originalLanguage: function(item, filterValue, type) {
|
originalLanguage: function(item, filterValue, type) {
|
||||||
|
|||||||
@@ -227,7 +227,7 @@ export const defaultState = {
|
|||||||
collection: function(item) {
|
collection: function(item) {
|
||||||
const { collection ={} } = item;
|
const { collection ={} } = item;
|
||||||
|
|
||||||
return collection.name;
|
return collection.title;
|
||||||
},
|
},
|
||||||
|
|
||||||
originalLanguage: function(item) {
|
originalLanguage: function(item) {
|
||||||
@@ -339,7 +339,7 @@ export const defaultState = {
|
|||||||
type: filterBuilderTypes.ARRAY,
|
type: filterBuilderTypes.ARRAY,
|
||||||
optionsSelector: function(items) {
|
optionsSelector: function(items) {
|
||||||
const collectionList = items.reduce((acc, movie) => {
|
const collectionList = items.reduce((acc, movie) => {
|
||||||
if (movie.collection) {
|
if (movie.collection && movie.collection.title) {
|
||||||
acc.push({
|
acc.push({
|
||||||
id: movie.collection.title,
|
id: movie.collection.title,
|
||||||
name: movie.collection.title
|
name: movie.collection.title
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ namespace NzbDrone.Common.Test.InstrumentationTests
|
|||||||
[TestCase("https://notifiarr.com/notifier.php: api=1234530f-422f-4aac-b6b3-01233210aaaa&radarr_health_issue_message=Download")]
|
[TestCase("https://notifiarr.com/notifier.php: api=1234530f-422f-4aac-b6b3-01233210aaaa&radarr_health_issue_message=Download")]
|
||||||
[TestCase("/readarr/signalr/messages/negotiate?access_token=1234530f422f4aacb6b301233210aaaa&negotiateVersion=1")]
|
[TestCase("/readarr/signalr/messages/negotiate?access_token=1234530f422f4aacb6b301233210aaaa&negotiateVersion=1")]
|
||||||
[TestCase(@"[Info] MigrationController: *** Migrating Database=radarr-main;Host=postgres14;Username=mySecret;Password=mySecret;Port=5432;Enlist=False ***")]
|
[TestCase(@"[Info] MigrationController: *** Migrating Database=radarr-main;Host=postgres14;Username=mySecret;Password=mySecret;Port=5432;Enlist=False ***")]
|
||||||
|
[TestCase(@"[Info] MigrationController: *** Migrating Database=radarr-main;Host=postgres14;Username=mySecret;Password=mySecret;Port=5432;token=mySecret;Enlist=False&username=mySecret;mypassword=mySecret;mypass=shouldkeep1;test_token=mySecret;password=123%@%_@!#^#@;use_password=mySecret;get_token=shouldkeep2;usetoken=shouldkeep3;passwrd=mySecret;")]
|
||||||
|
|
||||||
// Announce URLs (passkeys) Magnet & Tracker
|
// Announce URLs (passkeys) Magnet & Tracker
|
||||||
[TestCase(@"magnet_uri"":""magnet:?xt=urn:btih:9pr04sgkillroyimaveql2tyu8xyui&dn=&tr=https%3a%2f%2fxxx.yyy%2f9pr04sg601233210imaveql2tyu8xyui%2fannounce""}")]
|
[TestCase(@"magnet_uri"":""magnet:?xt=urn:btih:9pr04sgkillroyimaveql2tyu8xyui&dn=&tr=https%3a%2f%2fxxx.yyy%2f9pr04sg601233210imaveql2tyu8xyui%2fannounce""}")]
|
||||||
@@ -84,9 +85,24 @@ namespace NzbDrone.Common.Test.InstrumentationTests
|
|||||||
var cleansedMessage = CleanseLogMessage.Cleanse(message);
|
var cleansedMessage = CleanseLogMessage.Cleanse(message);
|
||||||
|
|
||||||
cleansedMessage.Should().NotContain("mySecret");
|
cleansedMessage.Should().NotContain("mySecret");
|
||||||
|
cleansedMessage.Should().NotContain("123%@%_@!#^#@");
|
||||||
cleansedMessage.Should().NotContain("01233210");
|
cleansedMessage.Should().NotContain("01233210");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[TestCase(@"[Info] MigrationController: *** Migrating Database=radarr-main;Host=postgres14;Username=mySecret;Password=mySecret;Port=5432;token=mySecret;Enlist=False&username=mySecret;mypassword=mySecret;mypass=shouldkeep1;test_token=mySecret;password=123%@%_@!#^#@;use_password=mySecret;get_token=shouldkeep2;usetoken=shouldkeep3;passwrd=mySecret;")]
|
||||||
|
public void should_keep_message(string message)
|
||||||
|
{
|
||||||
|
var cleansedMessage = CleanseLogMessage.Cleanse(message);
|
||||||
|
|
||||||
|
cleansedMessage.Should().NotContain("mySecret");
|
||||||
|
cleansedMessage.Should().NotContain("123%@%_@!#^#@");
|
||||||
|
cleansedMessage.Should().NotContain("01233210");
|
||||||
|
|
||||||
|
cleansedMessage.Should().Contain("shouldkeep1");
|
||||||
|
cleansedMessage.Should().Contain("shouldkeep2");
|
||||||
|
cleansedMessage.Should().Contain("shouldkeep3");
|
||||||
|
}
|
||||||
|
|
||||||
[TestCase(@"Some message (from 32.2.3.5 user agent)")]
|
[TestCase(@"Some message (from 32.2.3.5 user agent)")]
|
||||||
[TestCase(@"Auth-Invalidated ip 32.2.3.5")]
|
[TestCase(@"Auth-Invalidated ip 32.2.3.5")]
|
||||||
[TestCase(@"Auth-Success ip 32.2.3.5")]
|
[TestCase(@"Auth-Success ip 32.2.3.5")]
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ namespace NzbDrone.Common.Instrumentation
|
|||||||
new Regex(@"iptorrents\.com/[/a-z0-9?&;]*?(?:[?&;](u|tp)=(?<secret>[^&=;]+?))+(?= |;|&|$)", RegexOptions.Compiled | RegexOptions.IgnoreCase),
|
new Regex(@"iptorrents\.com/[/a-z0-9?&;]*?(?:[?&;](u|tp)=(?<secret>[^&=;]+?))+(?= |;|&|$)", RegexOptions.Compiled | RegexOptions.IgnoreCase),
|
||||||
new Regex(@"/fetch/[a-z0-9]{32}/(?<secret>[a-z0-9]{32})", RegexOptions.Compiled),
|
new Regex(@"/fetch/[a-z0-9]{32}/(?<secret>[a-z0-9]{32})", RegexOptions.Compiled),
|
||||||
new Regex(@"getnzb.*?(?<=\?|&)(r)=(?<secret>[^&=]+?)(?= |&|$)", RegexOptions.Compiled | RegexOptions.IgnoreCase),
|
new Regex(@"getnzb.*?(?<=\?|&)(r)=(?<secret>[^&=]+?)(?= |&|$)", RegexOptions.Compiled | RegexOptions.IgnoreCase),
|
||||||
new Regex(@"\b[^;=]*?(_?(?<!use|get_)token|username|passwo?rd)=(?<secret>[^&=]+?)(?= |&|$|;)", RegexOptions.Compiled | RegexOptions.IgnoreCase),
|
new Regex(@"\b(\w*)?(_?(?<!use|get_)token|username|passwo?rd)=(?<secret>[^&=]+?)(?= |&|$|;)", RegexOptions.Compiled | RegexOptions.IgnoreCase),
|
||||||
|
|
||||||
// Trackers Announce Keys; Designed for Qbit Json; should work for all in theory
|
// Trackers Announce Keys; Designed for Qbit Json; should work for all in theory
|
||||||
new Regex(@"announce(\.php)?(/|%2f|%3fpasskey%3d)(?<secret>[a-z0-9]{16,})|(?<secret>[a-z0-9]{16,})(/|%2f)announce"),
|
new Regex(@"announce(\.php)?(/|%2f|%3fpasskey%3d)(?<secret>[a-z0-9]{16,})|(?<secret>[a-z0-9]{16,})(/|%2f)announce"),
|
||||||
|
|||||||
245
src/NzbDrone.Core.Test/Extras/ExtraServiceFixture.cs
Normal file
245
src/NzbDrone.Core.Test/Extras/ExtraServiceFixture.cs
Normal file
@@ -0,0 +1,245 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using FizzWare.NBuilder;
|
||||||
|
using Moq;
|
||||||
|
using NUnit.Framework;
|
||||||
|
using NzbDrone.Common.Disk;
|
||||||
|
using NzbDrone.Common.Extensions;
|
||||||
|
using NzbDrone.Core.Configuration;
|
||||||
|
using NzbDrone.Core.Extras;
|
||||||
|
using NzbDrone.Core.Extras.Files;
|
||||||
|
using NzbDrone.Core.MediaFiles;
|
||||||
|
using NzbDrone.Core.Movies;
|
||||||
|
using NzbDrone.Core.Parser.Model;
|
||||||
|
using NzbDrone.Core.Test.Framework;
|
||||||
|
using NzbDrone.Test.Common;
|
||||||
|
|
||||||
|
namespace NzbDrone.Core.Test.Extras
|
||||||
|
{
|
||||||
|
[TestFixture]
|
||||||
|
public class ExtraServiceFixture : CoreTest<ExtraService>
|
||||||
|
{
|
||||||
|
private Movie _movie;
|
||||||
|
private MovieFile _movieFile;
|
||||||
|
private LocalMovie _localMovie;
|
||||||
|
|
||||||
|
private string _movieFolder;
|
||||||
|
private string _releaseFolder;
|
||||||
|
|
||||||
|
private Mock<IManageExtraFiles> _subtitleService;
|
||||||
|
private Mock<IManageExtraFiles> _otherExtraService;
|
||||||
|
|
||||||
|
[SetUp]
|
||||||
|
public void Setup()
|
||||||
|
{
|
||||||
|
_movieFolder = @"C:\Test\Movies\Movie Title".AsOsAgnostic();
|
||||||
|
_releaseFolder = @"C:\Test\Unsorted TV\Movie.Title.2022".AsOsAgnostic();
|
||||||
|
|
||||||
|
_movie = Builder<Movie>.CreateNew()
|
||||||
|
.With(s => s.Path = _movieFolder)
|
||||||
|
.Build();
|
||||||
|
|
||||||
|
_movieFile = Builder<MovieFile>.CreateNew()
|
||||||
|
.With(f => f.Path = Path.Combine(_movie.Path, "Movie Title - 2022.mkv").AsOsAgnostic())
|
||||||
|
.With(f => f.RelativePath = @"Movie Title - 2022.mkv".AsOsAgnostic())
|
||||||
|
.Build();
|
||||||
|
|
||||||
|
_localMovie = Builder<LocalMovie>.CreateNew()
|
||||||
|
.With(l => l.Movie = _movie)
|
||||||
|
.With(l => l.Path = Path.Combine(_releaseFolder, "Movie.Title.2022.mkv").AsOsAgnostic())
|
||||||
|
.Build();
|
||||||
|
|
||||||
|
_subtitleService = new Mock<IManageExtraFiles>();
|
||||||
|
_subtitleService.SetupGet(s => s.Order).Returns(0);
|
||||||
|
_subtitleService.Setup(s => s.CanImportFile(It.IsAny<LocalMovie>(), It.IsAny<MovieFile>(), It.IsAny<string>(), It.IsAny<string>(), It.IsAny<bool>()))
|
||||||
|
.Returns(false);
|
||||||
|
_subtitleService.Setup(s => s.CanImportFile(It.IsAny<LocalMovie>(), It.IsAny<MovieFile>(), It.IsAny<string>(), ".srt", It.IsAny<bool>()))
|
||||||
|
.Returns(true);
|
||||||
|
|
||||||
|
_otherExtraService = new Mock<IManageExtraFiles>();
|
||||||
|
_otherExtraService.SetupGet(s => s.Order).Returns(1);
|
||||||
|
_otherExtraService.Setup(s => s.CanImportFile(It.IsAny<LocalMovie>(), It.IsAny<MovieFile>(), It.IsAny<string>(), It.IsAny<string>(), It.IsAny<bool>()))
|
||||||
|
.Returns(true);
|
||||||
|
|
||||||
|
Mocker.SetConstant<IEnumerable<IManageExtraFiles>>(new[]
|
||||||
|
{
|
||||||
|
_subtitleService.Object,
|
||||||
|
_otherExtraService.Object
|
||||||
|
});
|
||||||
|
|
||||||
|
Mocker.GetMock<IDiskProvider>().Setup(s => s.FolderExists(It.IsAny<string>()))
|
||||||
|
.Returns(false);
|
||||||
|
|
||||||
|
Mocker.GetMock<IDiskProvider>().Setup(s => s.GetParentFolder(It.IsAny<string>()))
|
||||||
|
.Returns((string path) => Directory.GetParent(path).FullName);
|
||||||
|
|
||||||
|
WithExistingFolder(_movie.Path);
|
||||||
|
WithExistingFile(_movieFile.Path);
|
||||||
|
WithExistingFile(_localMovie.Path);
|
||||||
|
|
||||||
|
Mocker.GetMock<IConfigService>().Setup(v => v.ImportExtraFiles).Returns(true);
|
||||||
|
Mocker.GetMock<IConfigService>().Setup(v => v.ExtraFileExtensions).Returns("nfo,srt");
|
||||||
|
}
|
||||||
|
|
||||||
|
private void WithExistingFolder(string path, bool exists = true)
|
||||||
|
{
|
||||||
|
var dir = Path.GetDirectoryName(path);
|
||||||
|
|
||||||
|
if (exists && dir.IsNotNullOrWhiteSpace())
|
||||||
|
{
|
||||||
|
WithExistingFolder(dir);
|
||||||
|
}
|
||||||
|
|
||||||
|
Mocker.GetMock<IDiskProvider>().Setup(v => v.FolderExists(path)).Returns(exists);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void WithExistingFile(string path, bool exists = true, int size = 1000)
|
||||||
|
{
|
||||||
|
var dir = Path.GetDirectoryName(path);
|
||||||
|
|
||||||
|
if (exists && dir.IsNotNullOrWhiteSpace())
|
||||||
|
{
|
||||||
|
WithExistingFolder(dir);
|
||||||
|
}
|
||||||
|
|
||||||
|
Mocker.GetMock<IDiskProvider>().Setup(v => v.FileExists(path)).Returns(exists);
|
||||||
|
Mocker.GetMock<IDiskProvider>().Setup(v => v.GetFileSize(path)).Returns(size);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void WithExistingFiles(List<string> files)
|
||||||
|
{
|
||||||
|
foreach (string file in files)
|
||||||
|
{
|
||||||
|
WithExistingFile(file);
|
||||||
|
}
|
||||||
|
|
||||||
|
Mocker.GetMock<IDiskProvider>().Setup(s => s.GetFiles(_releaseFolder, It.IsAny<SearchOption>()))
|
||||||
|
.Returns(files.ToArray());
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void should_not_pass_file_if_import_disabled()
|
||||||
|
{
|
||||||
|
Mocker.GetMock<IConfigService>().Setup(v => v.ImportExtraFiles).Returns(false);
|
||||||
|
|
||||||
|
var nfofile = Path.Combine(_releaseFolder, "Movie.Title.2022.nfo").AsOsAgnostic();
|
||||||
|
|
||||||
|
var files = new List<string>
|
||||||
|
{
|
||||||
|
_localMovie.Path,
|
||||||
|
nfofile
|
||||||
|
};
|
||||||
|
|
||||||
|
WithExistingFiles(files);
|
||||||
|
|
||||||
|
Subject.ImportMovie(_localMovie, _movieFile, true);
|
||||||
|
|
||||||
|
_subtitleService.Verify(v => v.CanImportFile(_localMovie, _movieFile, It.IsAny<string>(), It.IsAny<string>(), true), Times.Never());
|
||||||
|
_otherExtraService.Verify(v => v.CanImportFile(_localMovie, _movieFile, It.IsAny<string>(), It.IsAny<string>(), true), Times.Never());
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
[TestCase("Movie Title - 2022.sub")]
|
||||||
|
[TestCase("Movie Title - 2022.ass")]
|
||||||
|
public void should_not_pass_unwanted_file(string filePath)
|
||||||
|
{
|
||||||
|
Mocker.GetMock<IConfigService>().Setup(v => v.ImportExtraFiles).Returns(false);
|
||||||
|
|
||||||
|
var nfofile = Path.Combine(_releaseFolder, filePath).AsOsAgnostic();
|
||||||
|
|
||||||
|
var files = new List<string>
|
||||||
|
{
|
||||||
|
_localMovie.Path,
|
||||||
|
nfofile
|
||||||
|
};
|
||||||
|
|
||||||
|
WithExistingFiles(files);
|
||||||
|
|
||||||
|
Subject.ImportMovie(_localMovie, _movieFile, true);
|
||||||
|
|
||||||
|
_subtitleService.Verify(v => v.CanImportFile(_localMovie, _movieFile, It.IsAny<string>(), It.IsAny<string>(), true), Times.Never());
|
||||||
|
_otherExtraService.Verify(v => v.CanImportFile(_localMovie, _movieFile, It.IsAny<string>(), It.IsAny<string>(), true), Times.Never());
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void should_pass_subtitle_file_to_subtitle_service()
|
||||||
|
{
|
||||||
|
var subtitleFile = Path.Combine(_releaseFolder, "Movie.Title.2022.en.srt").AsOsAgnostic();
|
||||||
|
|
||||||
|
var files = new List<string>
|
||||||
|
{
|
||||||
|
_localMovie.Path,
|
||||||
|
subtitleFile
|
||||||
|
};
|
||||||
|
|
||||||
|
WithExistingFiles(files);
|
||||||
|
|
||||||
|
Subject.ImportMovie(_localMovie, _movieFile, true);
|
||||||
|
|
||||||
|
_subtitleService.Verify(v => v.ImportFiles(_localMovie, _movieFile, new List<string> { subtitleFile }, true), Times.Once());
|
||||||
|
_otherExtraService.Verify(v => v.ImportFiles(_localMovie, _movieFile, new List<string> { subtitleFile }, true), Times.Never());
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void should_pass_nfo_file_to_other_service()
|
||||||
|
{
|
||||||
|
var nfofile = Path.Combine(_releaseFolder, "Movie.Title.2022.nfo").AsOsAgnostic();
|
||||||
|
|
||||||
|
var files = new List<string>
|
||||||
|
{
|
||||||
|
_localMovie.Path,
|
||||||
|
nfofile
|
||||||
|
};
|
||||||
|
|
||||||
|
WithExistingFiles(files);
|
||||||
|
|
||||||
|
Subject.ImportMovie(_localMovie, _movieFile, true);
|
||||||
|
|
||||||
|
_subtitleService.Verify(v => v.ImportFiles(_localMovie, _movieFile, new List<string> { nfofile }, true), Times.Never());
|
||||||
|
_otherExtraService.Verify(v => v.ImportFiles(_localMovie, _movieFile, new List<string> { nfofile }, true), Times.Once());
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void should_search_subtitles_when_importing_from_job_folder()
|
||||||
|
{
|
||||||
|
_localMovie.FolderMovieInfo = new ParsedMovieInfo();
|
||||||
|
|
||||||
|
var subtitleFile = Path.Combine(_releaseFolder, "Movie.Title.2022.en.srt").AsOsAgnostic();
|
||||||
|
|
||||||
|
var files = new List<string>
|
||||||
|
{
|
||||||
|
_localMovie.Path,
|
||||||
|
subtitleFile
|
||||||
|
};
|
||||||
|
|
||||||
|
WithExistingFiles(files);
|
||||||
|
|
||||||
|
Subject.ImportMovie(_localMovie, _movieFile, true);
|
||||||
|
|
||||||
|
Mocker.GetMock<IDiskProvider>().Verify(v => v.GetFiles(_releaseFolder, SearchOption.AllDirectories), Times.Once);
|
||||||
|
Mocker.GetMock<IDiskProvider>().Verify(v => v.GetFiles(_releaseFolder, SearchOption.TopDirectoryOnly), Times.Never);
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void should_not_search_subtitles_when_not_importing_from_job_folder()
|
||||||
|
{
|
||||||
|
_localMovie.FolderMovieInfo = null;
|
||||||
|
|
||||||
|
var subtitleFile = Path.Combine(_releaseFolder, "Movie.Title.2022.en.srt").AsOsAgnostic();
|
||||||
|
|
||||||
|
var files = new List<string>
|
||||||
|
{
|
||||||
|
_localMovie.Path,
|
||||||
|
subtitleFile
|
||||||
|
};
|
||||||
|
|
||||||
|
WithExistingFiles(files);
|
||||||
|
|
||||||
|
Subject.ImportMovie(_localMovie, _movieFile, true);
|
||||||
|
|
||||||
|
Mocker.GetMock<IDiskProvider>().Verify(v => v.GetFiles(_releaseFolder, SearchOption.AllDirectories), Times.Never);
|
||||||
|
Mocker.GetMock<IDiskProvider>().Verify(v => v.GetFiles(_releaseFolder, SearchOption.TopDirectoryOnly), Times.Once);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using FizzWare.NBuilder;
|
||||||
|
using FluentAssertions;
|
||||||
|
using NUnit.Framework;
|
||||||
|
using NzbDrone.Common.Extensions;
|
||||||
|
using NzbDrone.Core.Extras.Others;
|
||||||
|
using NzbDrone.Core.MediaFiles;
|
||||||
|
using NzbDrone.Core.Movies;
|
||||||
|
using NzbDrone.Core.Parser.Model;
|
||||||
|
using NzbDrone.Core.Test.Framework;
|
||||||
|
using NzbDrone.Test.Common;
|
||||||
|
|
||||||
|
namespace NzbDrone.Core.Test.Extras.Others
|
||||||
|
{
|
||||||
|
[TestFixture]
|
||||||
|
public class OtherExtraServiceFixture : CoreTest<OtherExtraService>
|
||||||
|
{
|
||||||
|
private Movie _movie;
|
||||||
|
private MovieFile _movieFile;
|
||||||
|
private LocalMovie _localMovie;
|
||||||
|
|
||||||
|
private string _movieFolder;
|
||||||
|
private string _releaseFolder;
|
||||||
|
|
||||||
|
[SetUp]
|
||||||
|
public void Setup()
|
||||||
|
{
|
||||||
|
_movieFolder = @"C:\Test\Movies\Movie Title".AsOsAgnostic();
|
||||||
|
_releaseFolder = @"C:\Test\Unsorted Movies\Movie.Title.2022".AsOsAgnostic();
|
||||||
|
|
||||||
|
_movie = Builder<Movie>.CreateNew()
|
||||||
|
.With(s => s.Path = _movieFolder)
|
||||||
|
.Build();
|
||||||
|
|
||||||
|
_movieFile = Builder<MovieFile>.CreateNew()
|
||||||
|
.With(f => f.Path = Path.Combine(_movie.Path, "Movie Title - 2022.mkv").AsOsAgnostic())
|
||||||
|
.With(f => f.RelativePath = @"Movie Title - 2022.mkv")
|
||||||
|
.Build();
|
||||||
|
|
||||||
|
_localMovie = Builder<LocalMovie>.CreateNew()
|
||||||
|
.With(l => l.Movie = _movie)
|
||||||
|
.With(l => l.Path = Path.Combine(_releaseFolder, "Movie.Title.2022.mkv").AsOsAgnostic())
|
||||||
|
.With(l => l.FileMovieInfo = new ParsedMovieInfo
|
||||||
|
{
|
||||||
|
MovieTitles = new List<string> { "Movie Title" },
|
||||||
|
Year = 2022
|
||||||
|
})
|
||||||
|
.Build();
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
[TestCase("Movie Title - 2022.nfo", "Movie Title - 2022.nfo")]
|
||||||
|
[TestCase("Movie.Title.2022.nfo", "Movie Title - 2022.nfo")]
|
||||||
|
[TestCase("Movie Title 2022.nfo", "Movie Title - 2022.nfo")]
|
||||||
|
[TestCase("Movie_Title_2022.nfo", "Movie Title - 2022.nfo")]
|
||||||
|
[TestCase(@"Movie.Title.2022\thumb.jpg", "Movie Title - 2022.jpg")]
|
||||||
|
public void should_import_matching_file(string filePath, string expectedOutputPath)
|
||||||
|
{
|
||||||
|
var files = new List<string> { Path.Combine(_releaseFolder, filePath).AsOsAgnostic() };
|
||||||
|
|
||||||
|
var results = Subject.ImportFiles(_localMovie, _movieFile, files, true).ToList();
|
||||||
|
|
||||||
|
results.Count().Should().Be(1);
|
||||||
|
|
||||||
|
results[0].RelativePath.AsOsAgnostic().PathEquals(expectedOutputPath.AsOsAgnostic()).Should().Be(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void should_not_import_multiple_nfo_files()
|
||||||
|
{
|
||||||
|
var files = new List<string>
|
||||||
|
{
|
||||||
|
Path.Combine(_releaseFolder, "Movie.Title.2022.nfo").AsOsAgnostic(),
|
||||||
|
Path.Combine(_releaseFolder, "Movie_Title_2022.nfo").AsOsAgnostic(),
|
||||||
|
};
|
||||||
|
|
||||||
|
var results = Subject.ImportFiles(_localMovie, _movieFile, files, true).ToList();
|
||||||
|
|
||||||
|
results.Count().Should().Be(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,179 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using FizzWare.NBuilder;
|
||||||
|
using FluentAssertions;
|
||||||
|
using Moq;
|
||||||
|
using NUnit.Framework;
|
||||||
|
using NzbDrone.Common.Disk;
|
||||||
|
using NzbDrone.Common.Extensions;
|
||||||
|
using NzbDrone.Core.Extras.Subtitles;
|
||||||
|
using NzbDrone.Core.MediaFiles;
|
||||||
|
using NzbDrone.Core.MediaFiles.MovieImport;
|
||||||
|
using NzbDrone.Core.Movies;
|
||||||
|
using NzbDrone.Core.Parser.Model;
|
||||||
|
using NzbDrone.Core.Test.Framework;
|
||||||
|
using NzbDrone.Test.Common;
|
||||||
|
|
||||||
|
namespace NzbDrone.Core.Test.Extras.Subtitles
|
||||||
|
{
|
||||||
|
[TestFixture]
|
||||||
|
public class SubtitleServiceFixture : CoreTest<SubtitleService>
|
||||||
|
{
|
||||||
|
private Movie _movie;
|
||||||
|
private MovieFile _movieFile;
|
||||||
|
private LocalMovie _localMovie;
|
||||||
|
|
||||||
|
private string _MovieFolder;
|
||||||
|
private string _releaseFolder;
|
||||||
|
|
||||||
|
[SetUp]
|
||||||
|
public void Setup()
|
||||||
|
{
|
||||||
|
_MovieFolder = @"C:\Test\Movies\Movie Title".AsOsAgnostic();
|
||||||
|
_releaseFolder = @"C:\Test\Unsorted Movies\Movie.Title.2022".AsOsAgnostic();
|
||||||
|
|
||||||
|
_movie = Builder<Movie>.CreateNew()
|
||||||
|
.With(s => s.Path = _MovieFolder)
|
||||||
|
.Build();
|
||||||
|
|
||||||
|
_movieFile = Builder<MovieFile>.CreateNew()
|
||||||
|
.With(f => f.Path = Path.Combine(_movie.Path, "Movie Title - 2022.mkv").AsOsAgnostic())
|
||||||
|
.With(f => f.RelativePath = @"Movie Title - 2022.mkv".AsOsAgnostic())
|
||||||
|
.Build();
|
||||||
|
|
||||||
|
_localMovie = Builder<LocalMovie>.CreateNew()
|
||||||
|
.With(l => l.Movie = _movie)
|
||||||
|
.With(l => l.Path = Path.Combine(_releaseFolder, "Movie.Title.2022.mkv").AsOsAgnostic())
|
||||||
|
.With(l => l.FileMovieInfo = new ParsedMovieInfo
|
||||||
|
{
|
||||||
|
MovieTitles = new List<string> { "Movie Title" },
|
||||||
|
Year = 2022
|
||||||
|
})
|
||||||
|
.Build();
|
||||||
|
|
||||||
|
Mocker.GetMock<IDiskProvider>().Setup(s => s.GetParentFolder(It.IsAny<string>()))
|
||||||
|
.Returns((string path) => Directory.GetParent(path).FullName);
|
||||||
|
|
||||||
|
Mocker.GetMock<IDetectSample>().Setup(s => s.IsSample(It.IsAny<MovieMetadata>(), It.IsAny<string>()))
|
||||||
|
.Returns(DetectSampleResult.NotSample);
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
[TestCase("Movie.Title.2022.en.nfo")]
|
||||||
|
public void should_not_import_non_subtitle_file(string filePath)
|
||||||
|
{
|
||||||
|
var files = new List<string> { Path.Combine(_releaseFolder, filePath).AsOsAgnostic() };
|
||||||
|
|
||||||
|
var results = Subject.ImportFiles(_localMovie, _movieFile, files, true).ToList();
|
||||||
|
|
||||||
|
results.Count().Should().Be(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
[TestCase("Movie Title - 2022.srt", "Movie Title - 2022.srt")]
|
||||||
|
[TestCase("Movie.Title.2022.en.srt", "Movie Title - 2022.en.srt")]
|
||||||
|
[TestCase("Movie.Title.2022.english.srt", "Movie Title - 2022.en.srt")]
|
||||||
|
[TestCase("Movie Title 2022_en_sdh_forced.srt", "Movie Title - 2022.en.sdh.forced.srt")]
|
||||||
|
[TestCase("Movie_Title_2022 en.srt", "Movie Title - 2022.en.srt")]
|
||||||
|
[TestCase(@"Subs\Movie.Title.2022\2_en.srt", "Movie Title - 2022.en.srt")]
|
||||||
|
[TestCase("sub.srt", "Movie Title - 2022.srt")]
|
||||||
|
public void should_import_matching_subtitle_file(string filePath, string expectedOutputPath)
|
||||||
|
{
|
||||||
|
var files = new List<string> { Path.Combine(_releaseFolder, filePath).AsOsAgnostic() };
|
||||||
|
|
||||||
|
var results = Subject.ImportFiles(_localMovie, _movieFile, files, true).ToList();
|
||||||
|
|
||||||
|
results.Count().Should().Be(1);
|
||||||
|
|
||||||
|
results[0].RelativePath.AsOsAgnostic().PathEquals(expectedOutputPath.AsOsAgnostic()).Should().Be(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void should_import_multiple_subtitle_files_per_language()
|
||||||
|
{
|
||||||
|
var files = new List<string>
|
||||||
|
{
|
||||||
|
Path.Combine(_releaseFolder, "Movie.Title.2022.en.srt").AsOsAgnostic(),
|
||||||
|
Path.Combine(_releaseFolder, "Movie.Title.2022.eng.srt").AsOsAgnostic(),
|
||||||
|
Path.Combine(_releaseFolder, "Subs", "Movie_Title_2022_en_forced.srt").AsOsAgnostic(),
|
||||||
|
Path.Combine(_releaseFolder, "Subs", "Movie.Title.2022", "2_fr.srt").AsOsAgnostic()
|
||||||
|
};
|
||||||
|
|
||||||
|
var expectedOutputs = new string[]
|
||||||
|
{
|
||||||
|
"Movie Title - 2022.1.en.srt",
|
||||||
|
"Movie Title - 2022.2.en.srt",
|
||||||
|
"Movie Title - 2022.en.forced.srt",
|
||||||
|
"Movie Title - 2022.fr.srt",
|
||||||
|
};
|
||||||
|
|
||||||
|
var results = Subject.ImportFiles(_localMovie, _movieFile, files, true).ToList();
|
||||||
|
|
||||||
|
results.Count().Should().Be(expectedOutputs.Length);
|
||||||
|
|
||||||
|
for (int i = 0; i < expectedOutputs.Length; i++)
|
||||||
|
{
|
||||||
|
results[i].RelativePath.AsOsAgnostic().PathEquals(expectedOutputs[i].AsOsAgnostic()).Should().Be(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void should_import_multiple_subtitle_files_per_language_with_tags()
|
||||||
|
{
|
||||||
|
var files = new List<string>
|
||||||
|
{
|
||||||
|
Path.Combine(_releaseFolder, "Movie.Title.2022.en.forced.cc.srt").AsOsAgnostic(),
|
||||||
|
Path.Combine(_releaseFolder, "Movie.Title.2022.other.en.forced.cc.srt").AsOsAgnostic(),
|
||||||
|
Path.Combine(_releaseFolder, "Movie.Title.2022.en.forced.sdh.srt").AsOsAgnostic(),
|
||||||
|
Path.Combine(_releaseFolder, "Movie.Title.2022.en.forced.default.srt").AsOsAgnostic(),
|
||||||
|
};
|
||||||
|
|
||||||
|
var expectedOutputs = new[]
|
||||||
|
{
|
||||||
|
"Movie Title - 2022.1.en.forced.cc.srt",
|
||||||
|
"Movie Title - 2022.2.en.forced.cc.srt",
|
||||||
|
"Movie Title - 2022.en.forced.sdh.srt",
|
||||||
|
"Movie Title - 2022.en.forced.default.srt"
|
||||||
|
};
|
||||||
|
|
||||||
|
var results = Subject.ImportFiles(_localMovie, _movieFile, files, true).ToList();
|
||||||
|
|
||||||
|
results.Count().Should().Be(expectedOutputs.Length);
|
||||||
|
|
||||||
|
for (int i = 0; i < expectedOutputs.Length; i++)
|
||||||
|
{
|
||||||
|
results[i].RelativePath.AsOsAgnostic().PathEquals(expectedOutputs[i].AsOsAgnostic()).Should().Be(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
[TestCase(@"Subs\2_en.srt", "Movie Title - 2022.en.srt")]
|
||||||
|
public void should_import_unmatching_subtitle_file_if_only_episode(string filePath, string expectedOutputPath)
|
||||||
|
{
|
||||||
|
var subtitleFile = Path.Combine(_releaseFolder, filePath).AsOsAgnostic();
|
||||||
|
|
||||||
|
var sampleFile = Path.Combine(_movie.Path, "Movie Title - 2022.sample.mkv").AsOsAgnostic();
|
||||||
|
|
||||||
|
var videoFiles = new string[]
|
||||||
|
{
|
||||||
|
_localMovie.Path,
|
||||||
|
sampleFile
|
||||||
|
};
|
||||||
|
|
||||||
|
Mocker.GetMock<IDiskProvider>().Setup(s => s.GetFiles(It.IsAny<string>(), SearchOption.AllDirectories))
|
||||||
|
.Returns(videoFiles);
|
||||||
|
|
||||||
|
Mocker.GetMock<IDetectSample>().Setup(s => s.IsSample(It.IsAny<MovieMetadata>(), sampleFile))
|
||||||
|
.Returns(DetectSampleResult.Sample);
|
||||||
|
|
||||||
|
var results = Subject.ImportFiles(_localMovie, _movieFile, new List<string> { subtitleFile }, true).ToList();
|
||||||
|
|
||||||
|
results.Count().Should().Be(1);
|
||||||
|
|
||||||
|
results[0].RelativePath.AsOsAgnostic().PathEquals(expectedOutputPath.AsOsAgnostic()).Should().Be(true);
|
||||||
|
|
||||||
|
ExceptionVerification.ExpectedWarns(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -47,6 +47,8 @@ namespace NzbDrone.Core.Test.Languages
|
|||||||
new object[] { 32, Language.Ukrainian },
|
new object[] { 32, Language.Ukrainian },
|
||||||
new object[] { 33, Language.Persian },
|
new object[] { 33, Language.Persian },
|
||||||
new object[] { 34, Language.Bengali },
|
new object[] { 34, Language.Bengali },
|
||||||
|
new object[] { 35, Language.Slovak },
|
||||||
|
new object[] { 36, Language.Latvian },
|
||||||
};
|
};
|
||||||
|
|
||||||
public static object[] ToIntCases =
|
public static object[] ToIntCases =
|
||||||
@@ -88,6 +90,8 @@ namespace NzbDrone.Core.Test.Languages
|
|||||||
new object[] { Language.Ukrainian, 32 },
|
new object[] { Language.Ukrainian, 32 },
|
||||||
new object[] { Language.Persian, 33 },
|
new object[] { Language.Persian, 33 },
|
||||||
new object[] { Language.Bengali, 34 },
|
new object[] { Language.Bengali, 34 },
|
||||||
|
new object[] { Language.Slovak, 35 },
|
||||||
|
new object[] { Language.Latvian, 36 },
|
||||||
};
|
};
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
|||||||
@@ -20,9 +20,7 @@ using NzbDrone.Core.Test.Framework;
|
|||||||
|
|
||||||
namespace NzbDrone.Core.Test.OrganizerTests.FileNameBuilderTests
|
namespace NzbDrone.Core.Test.OrganizerTests.FileNameBuilderTests
|
||||||
{
|
{
|
||||||
[Platform(Exclude = "Win")]
|
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
|
|
||||||
public class FileNameBuilderFixture : CoreTest<FileNameBuilder>
|
public class FileNameBuilderFixture : CoreTest<FileNameBuilder>
|
||||||
{
|
{
|
||||||
private Movie _movie;
|
private Movie _movie;
|
||||||
|
|||||||
@@ -27,6 +27,22 @@ namespace NzbDrone.Core.Test.ParserTests
|
|||||||
result.Languages.Should().BeEquivalentTo(Language.Unknown);
|
result.Languages.Should().BeEquivalentTo(Language.Unknown);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[TestCase("Movie Title - 2022.en.sub")]
|
||||||
|
[TestCase("Movie Title - 2022.EN.sub")]
|
||||||
|
[TestCase("Movie Title - 2022.eng.sub")]
|
||||||
|
[TestCase("Movie Title - 2022.ENG.sub")]
|
||||||
|
[TestCase("Movie Title - 2022.English.sub")]
|
||||||
|
[TestCase("Movie Title - 2022.english.sub")]
|
||||||
|
[TestCase("Movie Title - 2022.en.cc.sub")]
|
||||||
|
[TestCase("Movie Title - 2022.en.sdh.sub")]
|
||||||
|
[TestCase("Movie Title - 2022.en.forced.sub")]
|
||||||
|
[TestCase("Movie Title - 2022.en.sdh.forced.sub")]
|
||||||
|
public void should_parse_subtitle_language_english(string fileName)
|
||||||
|
{
|
||||||
|
var result = LanguageParser.ParseSubtitleLanguage(fileName);
|
||||||
|
result.Should().Be(Language.English);
|
||||||
|
}
|
||||||
|
|
||||||
[TestCase("Movie.Title.1994.French.1080p.XviD-LOL")]
|
[TestCase("Movie.Title.1994.French.1080p.XviD-LOL")]
|
||||||
[TestCase("Movie Title : Other Title 2011 AVC.1080p.Blu-ray HD.VOSTFR.VFF")]
|
[TestCase("Movie Title : Other Title 2011 AVC.1080p.Blu-ray HD.VOSTFR.VFF")]
|
||||||
[TestCase("Movie Title - Other Title 2011 Bluray 4k HDR HEVC AC3 VFF")]
|
[TestCase("Movie Title - Other Title 2011 Bluray 4k HDR HEVC AC3 VFF")]
|
||||||
@@ -352,6 +368,16 @@ namespace NzbDrone.Core.Test.ParserTests
|
|||||||
result.Languages.Should().BeEquivalentTo(Language.Slovak);
|
result.Languages.Should().BeEquivalentTo(Language.Slovak);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[TestCase("Movie.Title.2022.LV.WEBRip.XviD-LOL")]
|
||||||
|
[TestCase("Movie.Title.2022.lv.WEBRip.XviD-LOL")]
|
||||||
|
[TestCase("Movie.Title.2022.LATVIAN.WEBRip.XviD-LOL")]
|
||||||
|
[TestCase("Movie.Title.2022.Latvian.WEBRip.XviD-LOL")]
|
||||||
|
public void should_parse_language_latvian(string postTitle)
|
||||||
|
{
|
||||||
|
var result = Parser.Parser.ParseMovieTitle(postTitle);
|
||||||
|
result.Languages.Should().BeEquivalentTo(Language.Latvian);
|
||||||
|
}
|
||||||
|
|
||||||
[TestCase("Movie.Title.en.sub")]
|
[TestCase("Movie.Title.en.sub")]
|
||||||
[TestCase("Movie Title.eng.sub")]
|
[TestCase("Movie Title.eng.sub")]
|
||||||
[TestCase("Movie.Title.eng.forced.sub")]
|
[TestCase("Movie.Title.eng.forced.sub")]
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ namespace NzbDrone.Core.Test.ParserTests
|
|||||||
[TestCase("A.I.Artificial.Movie.(2001)", "A.I. Artificial Movie")]
|
[TestCase("A.I.Artificial.Movie.(2001)", "A.I. Artificial Movie")]
|
||||||
[TestCase("A.Movie.Name.(1998)", "A Movie Name")]
|
[TestCase("A.Movie.Name.(1998)", "A Movie Name")]
|
||||||
[TestCase("www.Torrenting.com - Movie.2008.720p.X264-DIMENSION", "Movie")]
|
[TestCase("www.Torrenting.com - Movie.2008.720p.X264-DIMENSION", "Movie")]
|
||||||
|
[TestCase("www.5MovieRulz.tc - Movie (2000) Malayalam HQ HDRip - x264 - AAC - 700MB.mkv", "Movie")]
|
||||||
[TestCase("Movie: The Movie World 2013", "Movie: The Movie World")]
|
[TestCase("Movie: The Movie World 2013", "Movie: The Movie World")]
|
||||||
[TestCase("Movie.The.Final.Chapter.2016", "Movie The Final Chapter")]
|
[TestCase("Movie.The.Final.Chapter.2016", "Movie The Final Chapter")]
|
||||||
[TestCase("Der.Movie.James.German.Bluray.FuckYou.Pso.Why.cant.you.follow.scene.rules.1998", "Der Movie James")]
|
[TestCase("Der.Movie.James.German.Bluray.FuckYou.Pso.Why.cant.you.follow.scene.rules.1998", "Der Movie James")]
|
||||||
|
|||||||
@@ -428,6 +428,8 @@ namespace NzbDrone.Core.Configuration
|
|||||||
public CertificateValidationType CertificateValidation =>
|
public CertificateValidationType CertificateValidation =>
|
||||||
GetValueEnum("CertificateValidation", CertificateValidationType.Enabled);
|
GetValueEnum("CertificateValidation", CertificateValidationType.Enabled);
|
||||||
|
|
||||||
|
public string ApplicationUrl => GetValue("ApplicationUrl", string.Empty);
|
||||||
|
|
||||||
private string GetValue(string key)
|
private string GetValue(string key)
|
||||||
{
|
{
|
||||||
return GetValue(key, string.Empty);
|
return GetValue(key, string.Empty);
|
||||||
|
|||||||
@@ -104,5 +104,6 @@ namespace NzbDrone.Core.Configuration
|
|||||||
int BackupRetention { get; }
|
int BackupRetention { get; }
|
||||||
|
|
||||||
CertificateValidationType CertificateValidation { get; }
|
CertificateValidationType CertificateValidation { get; }
|
||||||
|
string ApplicationUrl { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ namespace NzbDrone.Core.CustomFormats
|
|||||||
protected Regex _regex;
|
protected Regex _regex;
|
||||||
protected string _raw;
|
protected string _raw;
|
||||||
|
|
||||||
[FieldDefinition(1, Label = "Regular Expression")]
|
[FieldDefinition(1, Label = "Regular Expression", HelpText = "Custom Format RegEx is Case Insensitive")]
|
||||||
public string Value
|
public string Value
|
||||||
{
|
{
|
||||||
get => _raw;
|
get => _raw;
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
using FluentMigrator;
|
||||||
|
using NzbDrone.Core.Datastore.Migration.Framework;
|
||||||
|
|
||||||
|
namespace NzbDrone.Core.Datastore.Migration
|
||||||
|
{
|
||||||
|
[Migration(214)]
|
||||||
|
public class add_language_tags_to_subtitle_files : NzbDroneMigrationBase
|
||||||
|
{
|
||||||
|
protected override void MainDbUpgrade()
|
||||||
|
{
|
||||||
|
Alter.Table("SubtitleFiles").AddColumn("LanguageTags").AsString().Nullable();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -3,7 +3,6 @@ using System.IO;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using NLog;
|
using NLog;
|
||||||
using NzbDrone.Common.Disk;
|
using NzbDrone.Common.Disk;
|
||||||
using NzbDrone.Core.Extras.Files;
|
|
||||||
using NzbDrone.Core.MediaFiles;
|
using NzbDrone.Core.MediaFiles;
|
||||||
using NzbDrone.Core.MediaFiles.Events;
|
using NzbDrone.Core.MediaFiles.Events;
|
||||||
using NzbDrone.Core.Messaging.Events;
|
using NzbDrone.Core.Messaging.Events;
|
||||||
@@ -31,7 +30,6 @@ namespace NzbDrone.Core.Extras
|
|||||||
public void Handle(MovieScannedEvent message)
|
public void Handle(MovieScannedEvent message)
|
||||||
{
|
{
|
||||||
var movie = message.Movie;
|
var movie = message.Movie;
|
||||||
var extraFiles = new List<ExtraFile>();
|
|
||||||
|
|
||||||
if (!_diskProvider.FolderExists(movie.Path))
|
if (!_diskProvider.FolderExists(movie.Path))
|
||||||
{
|
{
|
||||||
@@ -43,17 +41,16 @@ namespace NzbDrone.Core.Extras
|
|||||||
var filesOnDisk = _diskScanService.GetNonVideoFiles(movie.Path);
|
var filesOnDisk = _diskScanService.GetNonVideoFiles(movie.Path);
|
||||||
var possibleExtraFiles = _diskScanService.FilterPaths(movie.Path, filesOnDisk, false);
|
var possibleExtraFiles = _diskScanService.FilterPaths(movie.Path, filesOnDisk, false);
|
||||||
|
|
||||||
var filteredFiles = possibleExtraFiles;
|
|
||||||
var importedFiles = new List<string>();
|
var importedFiles = new List<string>();
|
||||||
|
|
||||||
foreach (var existingExtraFileImporter in _existingExtraFileImporters)
|
foreach (var existingExtraFileImporter in _existingExtraFileImporters)
|
||||||
{
|
{
|
||||||
var imported = existingExtraFileImporter.ProcessFiles(movie, filteredFiles, importedFiles);
|
var imported = existingExtraFileImporter.ProcessFiles(movie, possibleExtraFiles, importedFiles);
|
||||||
|
|
||||||
importedFiles.AddRange(imported.Select(f => Path.Combine(movie.Path, f.RelativePath)));
|
importedFiles.AddRange(imported.Select(f => Path.Combine(movie.Path, f.RelativePath)));
|
||||||
}
|
}
|
||||||
|
|
||||||
_logger.Info("Found {0} extra files", extraFiles.Count);
|
_logger.Info("Found {0} possible extra files, imported {1} files.", possibleExtraFiles.Count, importedFiles.Count);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ namespace NzbDrone.Core.Extras
|
|||||||
private readonly IDiskProvider _diskProvider;
|
private readonly IDiskProvider _diskProvider;
|
||||||
private readonly IConfigService _configService;
|
private readonly IConfigService _configService;
|
||||||
private readonly List<IManageExtraFiles> _extraFileManagers;
|
private readonly List<IManageExtraFiles> _extraFileManagers;
|
||||||
private readonly Logger _logger;
|
|
||||||
|
|
||||||
public ExtraService(IMediaFileService mediaFileService,
|
public ExtraService(IMediaFileService mediaFileService,
|
||||||
IMovieService movieService,
|
IMovieService movieService,
|
||||||
@@ -45,7 +44,6 @@ namespace NzbDrone.Core.Extras
|
|||||||
_diskProvider = diskProvider;
|
_diskProvider = diskProvider;
|
||||||
_configService = configService;
|
_configService = configService;
|
||||||
_extraFileManagers = extraFileManagers.OrderBy(e => e.Order).ToList();
|
_extraFileManagers = extraFileManagers.OrderBy(e => e.Order).ToList();
|
||||||
_logger = logger;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ImportMovie(LocalMovie localMovie, MovieFile movieFile, bool isReadOnly)
|
public void ImportMovie(LocalMovie localMovie, MovieFile movieFile, bool isReadOnly)
|
||||||
@@ -62,61 +60,42 @@ namespace NzbDrone.Core.Extras
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var sourcePath = localMovie.Path;
|
var folderSearchOption = localMovie.FolderMovieInfo == null
|
||||||
var sourceFolder = _diskProvider.GetParentFolder(sourcePath);
|
? SearchOption.TopDirectoryOnly
|
||||||
var sourceFileName = Path.GetFileNameWithoutExtension(sourcePath);
|
: SearchOption.AllDirectories;
|
||||||
var files = _diskProvider.GetFiles(sourceFolder, SearchOption.AllDirectories).Where(f => f != localMovie.Path);
|
|
||||||
|
|
||||||
var wantedExtensions = _configService.ExtraFileExtensions.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries)
|
var wantedExtensions = _configService.ExtraFileExtensions.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries)
|
||||||
.Select(e => e.Trim(' ', '.'))
|
.Select(e => e.Trim(' ', '.')
|
||||||
|
.Insert(0, "."))
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
var matchingFilenames = files.Where(f => Path.GetFileNameWithoutExtension(f).StartsWith(sourceFileName, StringComparison.InvariantCultureIgnoreCase)).ToList();
|
var sourceFolder = _diskProvider.GetParentFolder(localMovie.Path);
|
||||||
var filteredFilenames = new List<string>();
|
var files = _diskProvider.GetFiles(sourceFolder, folderSearchOption);
|
||||||
var hasNfo = false;
|
var managedFiles = _extraFileManagers.Select((i) => new List<string>()).ToArray();
|
||||||
|
|
||||||
foreach (var matchingFilename in matchingFilenames)
|
foreach (var file in files)
|
||||||
{
|
{
|
||||||
// Filter out duplicate NFO files
|
var extension = Path.GetExtension(file);
|
||||||
if (matchingFilename.EndsWith(".nfo", StringComparison.InvariantCultureIgnoreCase))
|
var matchingExtension = wantedExtensions.FirstOrDefault(e => e.Equals(extension));
|
||||||
{
|
|
||||||
if (hasNfo)
|
|
||||||
{
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
hasNfo = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
filteredFilenames.Add(matchingFilename);
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (var matchingFilename in filteredFilenames)
|
|
||||||
{
|
|
||||||
var matchingExtension = wantedExtensions.FirstOrDefault(e => matchingFilename.EndsWith(e));
|
|
||||||
|
|
||||||
if (matchingExtension == null)
|
if (matchingExtension == null)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
for (int i = 0; i < _extraFileManagers.Count; i++)
|
||||||
{
|
{
|
||||||
foreach (var extraFileManager in _extraFileManagers)
|
if (_extraFileManagers[i].CanImportFile(localMovie, movieFile, file, extension, isReadOnly))
|
||||||
{
|
{
|
||||||
var extension = Path.GetExtension(matchingFilename);
|
managedFiles[i].Add(file);
|
||||||
var extraFile = extraFileManager.Import(localMovie.Movie, movieFile, matchingFilename, extension, isReadOnly);
|
break;
|
||||||
|
|
||||||
if (extraFile != null)
|
|
||||||
{
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
}
|
||||||
{
|
|
||||||
_logger.Warn(ex, "Failed to import extra file: {0}", matchingFilename);
|
for (int i = 0; i < _extraFileManagers.Count; i++)
|
||||||
}
|
{
|
||||||
|
_extraFileManagers[i].ImportFiles(localMovie, movieFile, managedFiles[i], isReadOnly);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ using NzbDrone.Common.Extensions;
|
|||||||
using NzbDrone.Core.Configuration;
|
using NzbDrone.Core.Configuration;
|
||||||
using NzbDrone.Core.MediaFiles;
|
using NzbDrone.Core.MediaFiles;
|
||||||
using NzbDrone.Core.Movies;
|
using NzbDrone.Core.Movies;
|
||||||
|
using NzbDrone.Core.Parser.Model;
|
||||||
|
|
||||||
namespace NzbDrone.Core.Extras.Files
|
namespace NzbDrone.Core.Extras.Files
|
||||||
{
|
{
|
||||||
@@ -19,7 +20,8 @@ namespace NzbDrone.Core.Extras.Files
|
|||||||
IEnumerable<ExtraFile> CreateAfterMovieImport(Movie movie, MovieFile movieFile);
|
IEnumerable<ExtraFile> CreateAfterMovieImport(Movie movie, MovieFile movieFile);
|
||||||
IEnumerable<ExtraFile> CreateAfterMovieFolder(Movie movie, string movieFolder);
|
IEnumerable<ExtraFile> CreateAfterMovieFolder(Movie movie, string movieFolder);
|
||||||
IEnumerable<ExtraFile> MoveFilesAfterRename(Movie movie, List<MovieFile> movieFiles);
|
IEnumerable<ExtraFile> MoveFilesAfterRename(Movie movie, List<MovieFile> movieFiles);
|
||||||
ExtraFile Import(Movie movie, MovieFile movieFile, string path, string extension, bool readOnly);
|
bool CanImportFile(LocalMovie localMovie, MovieFile movieFile, string path, string extension, bool readOnly);
|
||||||
|
IEnumerable<ExtraFile> ImportFiles(LocalMovie localMovie, MovieFile movieFile, List<string> files, bool isReadOnly);
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract class ExtraFileManager<TExtraFile> : IManageExtraFiles
|
public abstract class ExtraFileManager<TExtraFile> : IManageExtraFiles
|
||||||
@@ -47,7 +49,8 @@ namespace NzbDrone.Core.Extras.Files
|
|||||||
public abstract IEnumerable<ExtraFile> CreateAfterMovieImport(Movie movie, MovieFile movieFile);
|
public abstract IEnumerable<ExtraFile> CreateAfterMovieImport(Movie movie, MovieFile movieFile);
|
||||||
public abstract IEnumerable<ExtraFile> CreateAfterMovieFolder(Movie movie, string movieFolder);
|
public abstract IEnumerable<ExtraFile> CreateAfterMovieFolder(Movie movie, string movieFolder);
|
||||||
public abstract IEnumerable<ExtraFile> MoveFilesAfterRename(Movie movie, List<MovieFile> movieFiles);
|
public abstract IEnumerable<ExtraFile> MoveFilesAfterRename(Movie movie, List<MovieFile> movieFiles);
|
||||||
public abstract ExtraFile Import(Movie movie, MovieFile movieFile, string path, string extension, bool readOnly);
|
public abstract bool CanImportFile(LocalMovie localMovie, MovieFile movieFile, string path, string extension, bool readOnly);
|
||||||
|
public abstract IEnumerable<ExtraFile> ImportFiles(LocalMovie localMovie, MovieFile movieFile, List<string> files, bool isReadOnly);
|
||||||
|
|
||||||
protected TExtraFile ImportFile(Movie movie, MovieFile movieFile, string path, bool readOnly, string extension, string fileNameSuffix = null)
|
protected TExtraFile ImportFile(Movie movie, MovieFile movieFile, string path, bool readOnly, string extension, string fileNameSuffix = null)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -261,7 +261,7 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Xbmc
|
|||||||
|
|
||||||
details.Add(new XElement("country"));
|
details.Add(new XElement("country"));
|
||||||
|
|
||||||
if (movie.MovieMetadata.Value.CollectionTitle != null)
|
if (Settings.AddCollectionName && movie.MovieMetadata.Value.CollectionTitle != null)
|
||||||
{
|
{
|
||||||
var setElement = new XElement("set");
|
var setElement = new XElement("set");
|
||||||
|
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Xbmc
|
|||||||
MovieMetadataLanguage = (int)Language.English;
|
MovieMetadataLanguage = (int)Language.English;
|
||||||
MovieImages = true;
|
MovieImages = true;
|
||||||
UseMovieNfo = false;
|
UseMovieNfo = false;
|
||||||
|
AddCollectionName = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
[FieldDefinition(0, Label = "Movie Metadata", Type = FieldType.Checkbox)]
|
[FieldDefinition(0, Label = "Movie Metadata", Type = FieldType.Checkbox)]
|
||||||
@@ -41,6 +42,9 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Xbmc
|
|||||||
[FieldDefinition(4, Label = "Use Movie.nfo", Type = FieldType.Checkbox, HelpText = "Radarr will write metadata to movie.nfo instead of the default <movie-filename>.nfo")]
|
[FieldDefinition(4, Label = "Use Movie.nfo", Type = FieldType.Checkbox, HelpText = "Radarr will write metadata to movie.nfo instead of the default <movie-filename>.nfo")]
|
||||||
public bool UseMovieNfo { get; set; }
|
public bool UseMovieNfo { get; set; }
|
||||||
|
|
||||||
|
[FieldDefinition(5, Label = "Collection Name", Type = FieldType.Checkbox, HelpText = "Radarr will write the collection name to the .nfo file", Advanced = true)]
|
||||||
|
public bool AddCollectionName { get; set; }
|
||||||
|
|
||||||
public bool IsValid => true;
|
public bool IsValid => true;
|
||||||
|
|
||||||
public NzbDroneValidationResult Validate()
|
public NzbDroneValidationResult Validate()
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ using NzbDrone.Core.Extras.Metadata.Files;
|
|||||||
using NzbDrone.Core.Extras.Others;
|
using NzbDrone.Core.Extras.Others;
|
||||||
using NzbDrone.Core.MediaFiles;
|
using NzbDrone.Core.MediaFiles;
|
||||||
using NzbDrone.Core.Movies;
|
using NzbDrone.Core.Movies;
|
||||||
|
using NzbDrone.Core.Parser.Model;
|
||||||
|
|
||||||
namespace NzbDrone.Core.Extras.Metadata
|
namespace NzbDrone.Core.Extras.Metadata
|
||||||
{
|
{
|
||||||
@@ -191,9 +192,14 @@ namespace NzbDrone.Core.Extras.Metadata
|
|||||||
return movedFiles;
|
return movedFiles;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override ExtraFile Import(Movie movie, MovieFile movieFile, string path, string extension, bool readOnly)
|
public override bool CanImportFile(LocalMovie localMovie, MovieFile movieFile, string path, string extension, bool readOnly)
|
||||||
{
|
{
|
||||||
return null;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override IEnumerable<ExtraFile> ImportFiles(LocalMovie localMovie, MovieFile movieFile, List<string> files, bool isReadOnly)
|
||||||
|
{
|
||||||
|
return Enumerable.Empty<ExtraFile>();
|
||||||
}
|
}
|
||||||
|
|
||||||
private List<MetadataFile> GetMetadataFilesForConsumer(IMetadata consumer, List<MetadataFile> movieMetadata)
|
private List<MetadataFile> GetMetadataFilesForConsumer(IMetadata consumer, List<MetadataFile> movieMetadata)
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using NLog;
|
using NLog;
|
||||||
using NzbDrone.Common.Disk;
|
using NzbDrone.Common.Disk;
|
||||||
@@ -7,13 +9,16 @@ using NzbDrone.Core.Configuration;
|
|||||||
using NzbDrone.Core.Extras.Files;
|
using NzbDrone.Core.Extras.Files;
|
||||||
using NzbDrone.Core.MediaFiles;
|
using NzbDrone.Core.MediaFiles;
|
||||||
using NzbDrone.Core.Movies;
|
using NzbDrone.Core.Movies;
|
||||||
|
using NzbDrone.Core.Parser.Model;
|
||||||
|
|
||||||
namespace NzbDrone.Core.Extras.Others
|
namespace NzbDrone.Core.Extras.Others
|
||||||
{
|
{
|
||||||
public class OtherExtraService : ExtraFileManager<OtherExtraFile>
|
public class OtherExtraService : ExtraFileManager<OtherExtraFile>
|
||||||
{
|
{
|
||||||
|
private readonly IDiskProvider _diskProvider;
|
||||||
private readonly IOtherExtraFileService _otherExtraFileService;
|
private readonly IOtherExtraFileService _otherExtraFileService;
|
||||||
private readonly IMediaFileAttributeService _mediaFileAttributeService;
|
private readonly IMediaFileAttributeService _mediaFileAttributeService;
|
||||||
|
private readonly Logger _logger;
|
||||||
|
|
||||||
public OtherExtraService(IConfigService configService,
|
public OtherExtraService(IConfigService configService,
|
||||||
IDiskProvider diskProvider,
|
IDiskProvider diskProvider,
|
||||||
@@ -23,8 +28,10 @@ namespace NzbDrone.Core.Extras.Others
|
|||||||
Logger logger)
|
Logger logger)
|
||||||
: base(configService, diskProvider, diskTransferService, logger)
|
: base(configService, diskProvider, diskTransferService, logger)
|
||||||
{
|
{
|
||||||
|
_diskProvider = diskProvider;
|
||||||
_otherExtraFileService = otherExtraFileService;
|
_otherExtraFileService = otherExtraFileService;
|
||||||
_mediaFileAttributeService = mediaFileAttributeService;
|
_mediaFileAttributeService = mediaFileAttributeService;
|
||||||
|
_logger = logger;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override int Order => 2;
|
public override int Order => 2;
|
||||||
@@ -69,17 +76,79 @@ namespace NzbDrone.Core.Extras.Others
|
|||||||
return movedFiles;
|
return movedFiles;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override ExtraFile Import(Movie movie, MovieFile movieFile, string path, string extension, bool readOnly)
|
public override bool CanImportFile(LocalMovie localMovie, MovieFile movieFile, string path, string extension, bool readOnly)
|
||||||
{
|
{
|
||||||
var extraFile = ImportFile(movie, movieFile, path, readOnly, extension, null);
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (extraFile != null)
|
public override IEnumerable<ExtraFile> ImportFiles(LocalMovie localMovie, MovieFile movieFile, List<string> files, bool isReadOnly)
|
||||||
|
{
|
||||||
|
var importedFiles = new List<ExtraFile>();
|
||||||
|
var filteredFiles = files.Where(f => CanImportFile(localMovie, movieFile, f, Path.GetExtension(f), isReadOnly)).ToList();
|
||||||
|
var sourcePath = localMovie.Path;
|
||||||
|
var sourceFolder = _diskProvider.GetParentFolder(sourcePath);
|
||||||
|
var sourceFileName = Path.GetFileNameWithoutExtension(sourcePath);
|
||||||
|
var matchingFiles = new List<string>();
|
||||||
|
var hasNfo = false;
|
||||||
|
|
||||||
|
foreach (var file in filteredFiles)
|
||||||
{
|
{
|
||||||
_mediaFileAttributeService.SetFilePermissions(path);
|
try
|
||||||
_otherExtraFileService.Upsert(extraFile);
|
{
|
||||||
|
// Filter out duplicate NFO files
|
||||||
|
if (file.EndsWith(".nfo", StringComparison.InvariantCultureIgnoreCase))
|
||||||
|
{
|
||||||
|
if (hasNfo)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
hasNfo = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Filename match
|
||||||
|
if (Path.GetFileNameWithoutExtension(file).StartsWith(sourceFileName, StringComparison.InvariantCultureIgnoreCase))
|
||||||
|
{
|
||||||
|
matchingFiles.Add(file);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Movie match
|
||||||
|
var fileMovieInfo = Parser.Parser.ParseMoviePath(file) ?? new ParsedMovieInfo();
|
||||||
|
|
||||||
|
if (fileMovieInfo.MovieTitle == null)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (fileMovieInfo.MovieTitle == localMovie.FileMovieInfo.MovieTitle &&
|
||||||
|
fileMovieInfo.Year.Equals(localMovie.FileMovieInfo.Year))
|
||||||
|
{
|
||||||
|
matchingFiles.Add(file);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
_logger.Warn(ex, "Failed to import extra file: {0}", file);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return extraFile;
|
foreach (string file in matchingFiles)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var extraFile = ImportFile(localMovie.Movie, movieFile, file, isReadOnly, Path.GetExtension(file), null);
|
||||||
|
_mediaFileAttributeService.SetFilePermissions(file);
|
||||||
|
_otherExtraFileService.Upsert(extraFile);
|
||||||
|
importedFiles.Add(extraFile);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
_logger.Warn(ex, "Failed to import extra file: {0}", file);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return importedFiles;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
using NzbDrone.Core.Extras.Files;
|
using NzbDrone.Core.Extras.Files;
|
||||||
using NzbDrone.Core.Languages;
|
using NzbDrone.Core.Languages;
|
||||||
|
|
||||||
@@ -5,6 +6,17 @@ namespace NzbDrone.Core.Extras.Subtitles
|
|||||||
{
|
{
|
||||||
public class SubtitleFile : ExtraFile
|
public class SubtitleFile : ExtraFile
|
||||||
{
|
{
|
||||||
|
public SubtitleFile()
|
||||||
|
{
|
||||||
|
LanguageTags = new List<string>();
|
||||||
|
}
|
||||||
|
|
||||||
public Language Language { get; set; }
|
public Language Language { get; set; }
|
||||||
|
|
||||||
|
public string AggregateString => Language + LanguageTagsAsString + Extension;
|
||||||
|
|
||||||
|
public List<string> LanguageTags { get; set; }
|
||||||
|
|
||||||
|
private string LanguageTagsAsString => string.Join(".", LanguageTags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
@@ -9,13 +10,17 @@ using NzbDrone.Core.Configuration;
|
|||||||
using NzbDrone.Core.Extras.Files;
|
using NzbDrone.Core.Extras.Files;
|
||||||
using NzbDrone.Core.Languages;
|
using NzbDrone.Core.Languages;
|
||||||
using NzbDrone.Core.MediaFiles;
|
using NzbDrone.Core.MediaFiles;
|
||||||
|
using NzbDrone.Core.MediaFiles.MovieImport;
|
||||||
using NzbDrone.Core.Movies;
|
using NzbDrone.Core.Movies;
|
||||||
using NzbDrone.Core.Parser;
|
using NzbDrone.Core.Parser;
|
||||||
|
using NzbDrone.Core.Parser.Model;
|
||||||
|
|
||||||
namespace NzbDrone.Core.Extras.Subtitles
|
namespace NzbDrone.Core.Extras.Subtitles
|
||||||
{
|
{
|
||||||
public class SubtitleService : ExtraFileManager<SubtitleFile>
|
public class SubtitleService : ExtraFileManager<SubtitleFile>
|
||||||
{
|
{
|
||||||
|
private readonly IDiskProvider _diskProvider;
|
||||||
|
private readonly IDetectSample _detectSample;
|
||||||
private readonly ISubtitleFileService _subtitleFileService;
|
private readonly ISubtitleFileService _subtitleFileService;
|
||||||
private readonly IMediaFileAttributeService _mediaFileAttributeService;
|
private readonly IMediaFileAttributeService _mediaFileAttributeService;
|
||||||
private readonly Logger _logger;
|
private readonly Logger _logger;
|
||||||
@@ -23,11 +28,14 @@ namespace NzbDrone.Core.Extras.Subtitles
|
|||||||
public SubtitleService(IConfigService configService,
|
public SubtitleService(IConfigService configService,
|
||||||
IDiskProvider diskProvider,
|
IDiskProvider diskProvider,
|
||||||
IDiskTransferService diskTransferService,
|
IDiskTransferService diskTransferService,
|
||||||
|
IDetectSample detectSample,
|
||||||
ISubtitleFileService subtitleFileService,
|
ISubtitleFileService subtitleFileService,
|
||||||
IMediaFileAttributeService mediaFileAttributeService,
|
IMediaFileAttributeService mediaFileAttributeService,
|
||||||
Logger logger)
|
Logger logger)
|
||||||
: base(configService, diskProvider, diskTransferService, logger)
|
: base(configService, diskProvider, diskTransferService, logger)
|
||||||
{
|
{
|
||||||
|
_diskProvider = diskProvider;
|
||||||
|
_detectSample = detectSample;
|
||||||
_subtitleFileService = subtitleFileService;
|
_subtitleFileService = subtitleFileService;
|
||||||
_mediaFileAttributeService = mediaFileAttributeService;
|
_mediaFileAttributeService = mediaFileAttributeService;
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
@@ -64,21 +72,16 @@ namespace NzbDrone.Core.Extras.Subtitles
|
|||||||
foreach (var movieFile in movieFiles)
|
foreach (var movieFile in movieFiles)
|
||||||
{
|
{
|
||||||
var groupedExtraFilesForMovieFile = subtitleFiles.Where(m => m.MovieFileId == movieFile.Id)
|
var groupedExtraFilesForMovieFile = subtitleFiles.Where(m => m.MovieFileId == movieFile.Id)
|
||||||
.GroupBy(s => s.Language + s.Extension).ToList();
|
.GroupBy(s => s.AggregateString).ToList();
|
||||||
|
|
||||||
foreach (var group in groupedExtraFilesForMovieFile)
|
foreach (var group in groupedExtraFilesForMovieFile)
|
||||||
{
|
{
|
||||||
var groupCount = group.Count();
|
var groupCount = group.Count();
|
||||||
var copy = 1;
|
var copy = 1;
|
||||||
|
|
||||||
if (groupCount > 1)
|
|
||||||
{
|
|
||||||
_logger.Warn("Multiple subtitle files found with the same language and extension for {0}", Path.Combine(movie.Path, movieFile.RelativePath));
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (var subtitleFile in group)
|
foreach (var subtitleFile in group)
|
||||||
{
|
{
|
||||||
var suffix = GetSuffix(subtitleFile.Language, copy, groupCount > 1);
|
var suffix = GetSuffix(subtitleFile.Language, copy, subtitleFile.LanguageTags, groupCount > 1);
|
||||||
movedFiles.AddIfNotNull(MoveFile(movie, movieFile, subtitleFile, suffix));
|
movedFiles.AddIfNotNull(MoveFile(movie, movieFile, subtitleFile, suffix));
|
||||||
|
|
||||||
copy++;
|
copy++;
|
||||||
@@ -91,25 +94,141 @@ namespace NzbDrone.Core.Extras.Subtitles
|
|||||||
return movedFiles;
|
return movedFiles;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override ExtraFile Import(Movie movie, MovieFile movieFile, string path, string extension, bool readOnly)
|
public override bool CanImportFile(LocalMovie localEpisode, MovieFile movieFile, string path, string extension, bool readOnly)
|
||||||
{
|
{
|
||||||
if (SubtitleFileExtensions.Extensions.Contains(Path.GetExtension(path)))
|
return SubtitleFileExtensions.Extensions.Contains(extension.ToLowerInvariant());
|
||||||
{
|
|
||||||
var language = LanguageParser.ParseSubtitleLanguage(path);
|
|
||||||
var suffix = GetSuffix(language, 1, false);
|
|
||||||
var subtitleFile = ImportFile(movie, movieFile, path, readOnly, extension, suffix);
|
|
||||||
subtitleFile.Language = language;
|
|
||||||
|
|
||||||
_mediaFileAttributeService.SetFilePermissions(path);
|
|
||||||
_subtitleFileService.Upsert(subtitleFile);
|
|
||||||
|
|
||||||
return subtitleFile;
|
|
||||||
}
|
|
||||||
|
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private string GetSuffix(Language language, int copy, bool multipleCopies = false)
|
public override IEnumerable<ExtraFile> ImportFiles(LocalMovie localMovie, MovieFile movieFile, List<string> files, bool isReadOnly)
|
||||||
|
{
|
||||||
|
var importedFiles = new List<SubtitleFile>();
|
||||||
|
|
||||||
|
var filteredFiles = files.Where(f => CanImportFile(localMovie, movieFile, f, Path.GetExtension(f), isReadOnly)).ToList();
|
||||||
|
|
||||||
|
var sourcePath = localMovie.Path;
|
||||||
|
var sourceFolder = _diskProvider.GetParentFolder(sourcePath);
|
||||||
|
var sourceFileName = Path.GetFileNameWithoutExtension(sourcePath);
|
||||||
|
|
||||||
|
var matchingFiles = new List<string>();
|
||||||
|
|
||||||
|
foreach (var file in filteredFiles)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
// Filename match
|
||||||
|
if (Path.GetFileNameWithoutExtension(file).StartsWithIgnoreCase(sourceFileName))
|
||||||
|
{
|
||||||
|
matchingFiles.Add(file);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Movie match
|
||||||
|
var fileMovieInfo = Parser.Parser.ParseMoviePath(file) ?? new ParsedMovieInfo();
|
||||||
|
|
||||||
|
if (fileMovieInfo.MovieTitle == null)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (fileMovieInfo.MovieTitle == localMovie.FileMovieInfo.MovieTitle &&
|
||||||
|
fileMovieInfo.Year.Equals(localMovie.FileMovieInfo.Year))
|
||||||
|
{
|
||||||
|
matchingFiles.Add(file);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
_logger.Warn(ex, "Failed to import subtitle file: {0}", file);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Use any sub if only episode in folder
|
||||||
|
if (matchingFiles.Count == 0 && filteredFiles.Count > 0)
|
||||||
|
{
|
||||||
|
var videoFiles = _diskProvider.GetFiles(sourceFolder, SearchOption.AllDirectories)
|
||||||
|
.Where(file => MediaFileExtensions.Extensions.Contains(Path.GetExtension(file)))
|
||||||
|
.ToList();
|
||||||
|
|
||||||
|
if (videoFiles.Count() > 2)
|
||||||
|
{
|
||||||
|
return importedFiles;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Filter out samples
|
||||||
|
videoFiles = videoFiles.Where(file =>
|
||||||
|
{
|
||||||
|
var sample = _detectSample.IsSample(localMovie.Movie.MovieMetadata, file);
|
||||||
|
|
||||||
|
if (sample == DetectSampleResult.Sample)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}).ToList();
|
||||||
|
|
||||||
|
if (videoFiles.Count == 1)
|
||||||
|
{
|
||||||
|
matchingFiles.AddRange(filteredFiles);
|
||||||
|
|
||||||
|
_logger.Warn("Imported any available subtitle file for movie: {0}", localMovie);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var subtitleFiles = new List<SubtitleFile>();
|
||||||
|
|
||||||
|
foreach (string file in matchingFiles)
|
||||||
|
{
|
||||||
|
var language = LanguageParser.ParseSubtitleLanguage(file);
|
||||||
|
var extension = Path.GetExtension(file);
|
||||||
|
var languageTags = LanguageParser.ParseLanguageTags(file);
|
||||||
|
var subFile = new SubtitleFile
|
||||||
|
{
|
||||||
|
Language = language,
|
||||||
|
Extension = extension
|
||||||
|
};
|
||||||
|
subFile.LanguageTags = languageTags.ToList();
|
||||||
|
subFile.RelativePath = PathExtensions.GetRelativePath(sourceFolder, file);
|
||||||
|
subtitleFiles.Add(subFile);
|
||||||
|
}
|
||||||
|
|
||||||
|
var groupedSubtitleFiles = subtitleFiles.GroupBy(s => s.AggregateString).ToList();
|
||||||
|
|
||||||
|
foreach (var group in groupedSubtitleFiles)
|
||||||
|
{
|
||||||
|
var groupCount = group.Count();
|
||||||
|
var copy = 1;
|
||||||
|
|
||||||
|
foreach (var file in group)
|
||||||
|
{
|
||||||
|
var path = Path.Combine(sourceFolder, file.RelativePath);
|
||||||
|
var language = file.Language;
|
||||||
|
var extension = file.Extension;
|
||||||
|
var suffix = GetSuffix(language, copy, file.LanguageTags, groupCount > 1);
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var subtitleFile = ImportFile(localMovie.Movie, movieFile, path, isReadOnly, extension, suffix);
|
||||||
|
subtitleFile.Language = language;
|
||||||
|
subtitleFile.LanguageTags = file.LanguageTags;
|
||||||
|
|
||||||
|
_mediaFileAttributeService.SetFilePermissions(path);
|
||||||
|
_subtitleFileService.Upsert(subtitleFile);
|
||||||
|
|
||||||
|
importedFiles.Add(subtitleFile);
|
||||||
|
|
||||||
|
copy++;
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
_logger.Warn(ex, "Failed to import subtitle file: {0}", path);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return importedFiles;
|
||||||
|
}
|
||||||
|
|
||||||
|
private string GetSuffix(Language language, int copy, List<string> languageTags, bool multipleCopies = false)
|
||||||
{
|
{
|
||||||
var suffixBuilder = new StringBuilder();
|
var suffixBuilder = new StringBuilder();
|
||||||
|
|
||||||
@@ -125,6 +244,12 @@ namespace NzbDrone.Core.Extras.Subtitles
|
|||||||
suffixBuilder.Append(IsoLanguages.Get(language).TwoLetterCode);
|
suffixBuilder.Append(IsoLanguages.Get(language).TwoLetterCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (languageTags.Any())
|
||||||
|
{
|
||||||
|
suffixBuilder.Append(".");
|
||||||
|
suffixBuilder.Append(string.Join(".", languageTags));
|
||||||
|
}
|
||||||
|
|
||||||
return suffixBuilder.ToString();
|
return suffixBuilder.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,6 +39,10 @@ namespace NzbDrone.Core.ImportLists.Trakt.Popular
|
|||||||
public TraktPopularSettings()
|
public TraktPopularSettings()
|
||||||
{
|
{
|
||||||
TraktListType = (int)TraktPopularListType.Popular;
|
TraktListType = (int)TraktPopularListType.Popular;
|
||||||
|
Rating = "0-100";
|
||||||
|
Certification = "NR,G,PG,PG-13,R,NC-17";
|
||||||
|
Genres = "";
|
||||||
|
Years = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
[FieldDefinition(1, Label = "List Type", Type = FieldType.Select, SelectOptions = typeof(TraktPopularListType), HelpText = "Type of list you're seeking to import from")]
|
[FieldDefinition(1, Label = "List Type", Type = FieldType.Select, SelectOptions = typeof(TraktPopularListType), HelpText = "Type of list you're seeking to import from")]
|
||||||
|
|||||||
@@ -106,6 +106,7 @@ namespace NzbDrone.Core.Languages
|
|||||||
public static Language Persian => new Language(33, "Persian");
|
public static Language Persian => new Language(33, "Persian");
|
||||||
public static Language Bengali => new Language(34, "Bengali");
|
public static Language Bengali => new Language(34, "Bengali");
|
||||||
public static Language Slovak => new Language(35, "Slovak");
|
public static Language Slovak => new Language(35, "Slovak");
|
||||||
|
public static Language Latvian => new Language(36, "Latvian");
|
||||||
public static Language Any => new Language(-1, "Any");
|
public static Language Any => new Language(-1, "Any");
|
||||||
public static Language Original => new Language(-2, "Original");
|
public static Language Original => new Language(-2, "Original");
|
||||||
|
|
||||||
@@ -151,6 +152,7 @@ namespace NzbDrone.Core.Languages
|
|||||||
Persian,
|
Persian,
|
||||||
Bengali,
|
Bengali,
|
||||||
Slovak,
|
Slovak,
|
||||||
|
Latvian,
|
||||||
Any,
|
Any,
|
||||||
Original
|
Original
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -639,7 +639,7 @@
|
|||||||
"RetryingDownloadInterp": "Herunterladen nochmal versuchen {0} um {1}",
|
"RetryingDownloadInterp": "Herunterladen nochmal versuchen {0} um {1}",
|
||||||
"RemovingTag": "Tag entfernen",
|
"RemovingTag": "Tag entfernen",
|
||||||
"ReleaseWillBeProcessedInterp": "Release wird verarbeitet {0}",
|
"ReleaseWillBeProcessedInterp": "Release wird verarbeitet {0}",
|
||||||
"Queued": "Eingereiht",
|
"Queued": "In der Warteschlange",
|
||||||
"QualityProfileDeleteConfirm": "Qualitätsprofil '{0}' wirklich löschen",
|
"QualityProfileDeleteConfirm": "Qualitätsprofil '{0}' wirklich löschen",
|
||||||
"Pending": "Ausstehend",
|
"Pending": "Ausstehend",
|
||||||
"Paused": "Pausiert",
|
"Paused": "Pausiert",
|
||||||
@@ -653,7 +653,7 @@
|
|||||||
"MarkAsFailedMessageText": "'{0}' wirklich als fehlgeschlagen markieren?",
|
"MarkAsFailedMessageText": "'{0}' wirklich als fehlgeschlagen markieren?",
|
||||||
"Manual": "Manuell",
|
"Manual": "Manuell",
|
||||||
"LogLevelTraceHelpTextWarning": "Trace logging sollte nur kurzzeitig aktiviert werden",
|
"LogLevelTraceHelpTextWarning": "Trace logging sollte nur kurzzeitig aktiviert werden",
|
||||||
"LastDuration": "Letzte Laufzeit",
|
"LastDuration": "Letzte Dauer",
|
||||||
"IncludeRecommendationsHelpText": "Radarrs Empfehlungen in der Entdeckungsansicht mit einbeziehen",
|
"IncludeRecommendationsHelpText": "Radarrs Empfehlungen in der Entdeckungsansicht mit einbeziehen",
|
||||||
"IncludeRadarrRecommendations": "Radarr Empfehlungen einbeziehen",
|
"IncludeRadarrRecommendations": "Radarr Empfehlungen einbeziehen",
|
||||||
"ImportFailedInterp": "Import fehlgeschlagen: {0}",
|
"ImportFailedInterp": "Import fehlgeschlagen: {0}",
|
||||||
@@ -1142,5 +1142,6 @@
|
|||||||
"UnableToLoadCollections": "Sammlungen können nicht geladen werden",
|
"UnableToLoadCollections": "Sammlungen können nicht geladen werden",
|
||||||
"InstanceName": "Instanzname",
|
"InstanceName": "Instanzname",
|
||||||
"InstanceNameHelpText": "Instanzname im Browser-Tab und für Syslog-Anwendungsname",
|
"InstanceNameHelpText": "Instanzname im Browser-Tab und für Syslog-Anwendungsname",
|
||||||
"RottenTomatoesRating": "Tomato Bewertung"
|
"RottenTomatoesRating": "Tomato Bewertung",
|
||||||
|
"TotalMovies": "Filme insgesamt"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,6 +50,8 @@
|
|||||||
"ApiKey": "API Key",
|
"ApiKey": "API Key",
|
||||||
"AppDataDirectory": "AppData directory",
|
"AppDataDirectory": "AppData directory",
|
||||||
"AppDataLocationHealthCheckMessage": "Updating will not be possible to prevent deleting AppData on Update",
|
"AppDataLocationHealthCheckMessage": "Updating will not be possible to prevent deleting AppData on Update",
|
||||||
|
"ApplicationURL": "Application URL",
|
||||||
|
"ApplicationUrlHelpText": "This application's external URL including http(s)://, port and URL base",
|
||||||
"Apply": "Apply",
|
"Apply": "Apply",
|
||||||
"ApplyTags": "Apply Tags",
|
"ApplyTags": "Apply Tags",
|
||||||
"ApplyTagsHelpTexts1": "How to apply tags to the selected movies",
|
"ApplyTagsHelpTexts1": "How to apply tags to the selected movies",
|
||||||
|
|||||||
@@ -91,7 +91,7 @@
|
|||||||
"Search": "Buscar",
|
"Search": "Buscar",
|
||||||
"Scheduled": "Programado",
|
"Scheduled": "Programado",
|
||||||
"SaveChanges": "Guardar Cambios",
|
"SaveChanges": "Guardar Cambios",
|
||||||
"RSSSync": "Sincronización RSS",
|
"RSSSync": "Sincronizar RSS",
|
||||||
"RootFolders": "Carpetas de Origen",
|
"RootFolders": "Carpetas de Origen",
|
||||||
"RootFolderCheckSingleMessage": "La carpeta de origen no existe: {0}",
|
"RootFolderCheckSingleMessage": "La carpeta de origen no existe: {0}",
|
||||||
"RootFolderCheckMultipleMessage": "Varias carpetas de origen no existen: {0}",
|
"RootFolderCheckMultipleMessage": "Varias carpetas de origen no existen: {0}",
|
||||||
@@ -232,7 +232,7 @@
|
|||||||
"OAuthPopupMessage": "Pop-ups bloqueados por su navegador",
|
"OAuthPopupMessage": "Pop-ups bloqueados por su navegador",
|
||||||
"Name": "Nombre",
|
"Name": "Nombre",
|
||||||
"MoveFiles": "Mover Archivos",
|
"MoveFiles": "Mover Archivos",
|
||||||
"Monitored": "Monitoreadas",
|
"Monitored": "Monitoreada",
|
||||||
"Message": "Mensaje",
|
"Message": "Mensaje",
|
||||||
"Location": "Localización",
|
"Location": "Localización",
|
||||||
"Level": "Nivel",
|
"Level": "Nivel",
|
||||||
@@ -461,7 +461,7 @@
|
|||||||
"ShowMonitoredHelpText": "Mostrar el estado de monitoreo debajo del poster",
|
"ShowMonitoredHelpText": "Mostrar el estado de monitoreo debajo del poster",
|
||||||
"ShowCutoffUnmetIconHelpText": "Mostrar el icono para los ficheros cuando no se ha alcanzado el corte",
|
"ShowCutoffUnmetIconHelpText": "Mostrar el icono para los ficheros cuando no se ha alcanzado el corte",
|
||||||
"ShowAsAllDayEvents": "Mostrar como Eventos de Todo el Día",
|
"ShowAsAllDayEvents": "Mostrar como Eventos de Todo el Día",
|
||||||
"ShouldMonitorHelpText": "Si se habilita, las películas añadidas desde esta lista serán también monitoreadas",
|
"ShouldMonitorHelpText": "Si las películas o colecciones en esta lista deberían ser agregadas como monitoreadas",
|
||||||
"SetPermissionsLinuxHelpTextWarning": "Si no estas seguro de lo que hacen estos ajustes, no los modifiques.",
|
"SetPermissionsLinuxHelpTextWarning": "Si no estas seguro de lo que hacen estos ajustes, no los modifiques.",
|
||||||
"SetPermissionsLinuxHelpText": "Debe chmod ser ejecutado una vez los archivos hayan sido importados/renombrados?",
|
"SetPermissionsLinuxHelpText": "Debe chmod ser ejecutado una vez los archivos hayan sido importados/renombrados?",
|
||||||
"SetPermissions": "Ajustar Permisos",
|
"SetPermissions": "Ajustar Permisos",
|
||||||
@@ -614,8 +614,8 @@
|
|||||||
"CleanLibraryLevel": "Limpiar el Nivel de la Librería",
|
"CleanLibraryLevel": "Limpiar el Nivel de la Librería",
|
||||||
"BindAddress": "Dirección de Ligado",
|
"BindAddress": "Dirección de Ligado",
|
||||||
"OpenBrowserOnStart": "Abrir navegador al arrancar",
|
"OpenBrowserOnStart": "Abrir navegador al arrancar",
|
||||||
"OnUpgradeHelpText": "Al Actualizar",
|
"OnUpgradeHelpText": "Al Mejorar La Calidad",
|
||||||
"OnRenameHelpText": "En Renombrado",
|
"OnRenameHelpText": "Al Renombrar",
|
||||||
"OnHealthIssueHelpText": "En Problema de Salud",
|
"OnHealthIssueHelpText": "En Problema de Salud",
|
||||||
"OnGrabHelpText": "Al Capturar",
|
"OnGrabHelpText": "Al Capturar",
|
||||||
"SettingsRuntimeFormat": "Formato de Tiempo de ejecución",
|
"SettingsRuntimeFormat": "Formato de Tiempo de ejecución",
|
||||||
@@ -633,7 +633,7 @@
|
|||||||
"ShownClickToHide": "Mostrado, clic para ocultar",
|
"ShownClickToHide": "Mostrado, clic para ocultar",
|
||||||
"ShowGenres": "Mostrar Géneros",
|
"ShowGenres": "Mostrar Géneros",
|
||||||
"ShowCertification": "Mostrar Certificación",
|
"ShowCertification": "Mostrar Certificación",
|
||||||
"SearchOnAddHelpText": "Buscar películas en esta lista cuando se añadan a Radarr",
|
"SearchOnAddHelpText": "Buscar películas en esta lista cuando se añada a la biblioteca",
|
||||||
"RSSSyncIntervalHelpTextWarning": "Se aplicará a todos los indexers, por favor sigue las reglas de los mismos",
|
"RSSSyncIntervalHelpTextWarning": "Se aplicará a todos los indexers, por favor sigue las reglas de los mismos",
|
||||||
"RSSIsNotSupportedWithThisIndexer": "RSS no son soportadas por este indexer",
|
"RSSIsNotSupportedWithThisIndexer": "RSS no son soportadas por este indexer",
|
||||||
"RetryingDownloadInterp": "Re-intentando descarga {0} en {1}",
|
"RetryingDownloadInterp": "Re-intentando descarga {0} en {1}",
|
||||||
@@ -874,11 +874,11 @@
|
|||||||
"MovieFilesTotaling": "Totalización de archivos de película",
|
"MovieFilesTotaling": "Totalización de archivos de película",
|
||||||
"OnGrab": "Al Capturar",
|
"OnGrab": "Al Capturar",
|
||||||
"OnHealthIssue": "En Problema de Salud",
|
"OnHealthIssue": "En Problema de Salud",
|
||||||
"OnImport": "Al importar",
|
"OnImport": "Al Importar",
|
||||||
"OnLatestVersion": "La última versión de Radarr ya está instalada",
|
"OnLatestVersion": "La última versión de Radarr ya está instalada",
|
||||||
"OnlyTorrent": "Solo Torrent",
|
"OnlyTorrent": "Solo Torrent",
|
||||||
"OnlyUsenet": "Solo Usenet",
|
"OnlyUsenet": "Solo Usenet",
|
||||||
"OnRename": "En Renombrado",
|
"OnRename": "Al Renombrar",
|
||||||
"PreferTorrent": "Prefiero Torrent",
|
"PreferTorrent": "Prefiero Torrent",
|
||||||
"PreferUsenet": "Prefiero Usenet",
|
"PreferUsenet": "Prefiero Usenet",
|
||||||
"Presets": "Preajustes",
|
"Presets": "Preajustes",
|
||||||
@@ -988,12 +988,12 @@
|
|||||||
"Score": "Puntuación",
|
"Score": "Puntuación",
|
||||||
"Script": "Guión",
|
"Script": "Guión",
|
||||||
"SearchCutoffUnmet": "Corte de búsqueda no alcanzado",
|
"SearchCutoffUnmet": "Corte de búsqueda no alcanzado",
|
||||||
"SearchMissing": "Búsqueda que falta",
|
"SearchMissing": "Buscar Faltantes",
|
||||||
"Seconds": "Segundos",
|
"Seconds": "Segundos",
|
||||||
"SelectDotDot": "Seleccione...",
|
"SelectDotDot": "Seleccione...",
|
||||||
"SelectLanguage": "Seleccione el idioma",
|
"SelectLanguage": "Seleccionar Idioma",
|
||||||
"SelectMovie": "Seleccionar película",
|
"SelectMovie": "Seleccionar Película",
|
||||||
"SelectQuality": "Seleccionar calidad",
|
"SelectQuality": "Seleccionar Calidad",
|
||||||
"Small": "Pequeña",
|
"Small": "Pequeña",
|
||||||
"Socks4": "Calcetines4",
|
"Socks4": "Calcetines4",
|
||||||
"Socks5": "Socks5 (soporte TOR)",
|
"Socks5": "Socks5 (soporte TOR)",
|
||||||
@@ -1031,13 +1031,13 @@
|
|||||||
"showCinemaReleaseHelpText": "Mostrar la fecha de estreno en el cine debajo del cartel",
|
"showCinemaReleaseHelpText": "Mostrar la fecha de estreno en el cine debajo del cartel",
|
||||||
"ShowReleaseDate": "Mostrar fecha de lanzamiento",
|
"ShowReleaseDate": "Mostrar fecha de lanzamiento",
|
||||||
"ShowReleaseDateHelpText": "Mostrar la fecha de lanzamiento debajo del cartel",
|
"ShowReleaseDateHelpText": "Mostrar la fecha de lanzamiento debajo del cartel",
|
||||||
"OnMovieDelete": "Al eliminar la película",
|
"OnMovieDelete": "Al Eliminar Película",
|
||||||
"OnMovieDeleteHelpText": "Al eliminar la película",
|
"OnMovieDeleteHelpText": "Al Eliminar Película",
|
||||||
"OnMovieFileDelete": "Al eliminar archivo de película",
|
"OnMovieFileDelete": "Al Eliminar Archivo De Película",
|
||||||
"OnMovieFileDeleteHelpText": "Al eliminar archivo de película",
|
"OnMovieFileDeleteHelpText": "Al Eliminar Archivo De Película",
|
||||||
"OnMovieFileDeleteForUpgrade": "En archivo de película Eliminar para actualizar",
|
"OnMovieFileDeleteForUpgrade": "Al Eliminar Archivo De Pelicula Para Mejorar La Calidad",
|
||||||
"OnMovieFileDeleteForUpgradeHelpText": "En archivo de película Eliminar para actualizar",
|
"OnMovieFileDeleteForUpgradeHelpText": "Al Eliminar Archivo De Pelicula Para Mejorar La Calidad",
|
||||||
"OnUpgrade": "Al Actualizar",
|
"OnUpgrade": "Al Mejorar La Calidad",
|
||||||
"Reddit": "Reddit",
|
"Reddit": "Reddit",
|
||||||
"More": "Más",
|
"More": "Más",
|
||||||
"Download": "Descargar",
|
"Download": "Descargar",
|
||||||
@@ -1064,7 +1064,7 @@
|
|||||||
"List": "Lista",
|
"List": "Lista",
|
||||||
"ManualImportSetReleaseGroup": "Importación manual - Configurar el grupo de lanzamiento",
|
"ManualImportSetReleaseGroup": "Importación manual - Configurar el grupo de lanzamiento",
|
||||||
"NotificationTriggersHelpText": "Seleccione qué eventos deben activar esta notificación",
|
"NotificationTriggersHelpText": "Seleccione qué eventos deben activar esta notificación",
|
||||||
"OnApplicationUpdate": "Al actualizar la aplicación",
|
"OnApplicationUpdate": "Al Actualizar La Aplicación",
|
||||||
"RemotePathMappingCheckFileRemoved": "El archivo {0} fue eliminado a mitad del proceso.",
|
"RemotePathMappingCheckFileRemoved": "El archivo {0} fue eliminado a mitad del proceso.",
|
||||||
"RemotePath": "Ruta remota",
|
"RemotePath": "Ruta remota",
|
||||||
"RemotePathMappingCheckBadDockerPath": "Está utilizando docker; el cliente de descarga {0} coloca las descargas en {1} pero esta no es una ruta válida {2}. Revisa tus mapeos de rutas remotas y la configuración del cliente de descarga.",
|
"RemotePathMappingCheckBadDockerPath": "Está utilizando docker; el cliente de descarga {0} coloca las descargas en {1} pero esta no es una ruta válida {2}. Revisa tus mapeos de rutas remotas y la configuración del cliente de descarga.",
|
||||||
@@ -1072,7 +1072,7 @@
|
|||||||
"RemotePathMappingCheckFilesBadDockerPath": "Está utilizando docker; el cliente de descarga {0} informó de archivos en {1} pero esta no es una ruta válida {2}. Revise sus mapeos de rutas remotas y la configuración del cliente de descarga.",
|
"RemotePathMappingCheckFilesBadDockerPath": "Está utilizando docker; el cliente de descarga {0} informó de archivos en {1} pero esta no es una ruta válida {2}. Revise sus mapeos de rutas remotas y la configuración del cliente de descarga.",
|
||||||
"RemotePathMappingCheckLocalWrongOSPath": "El cliente de descarga local {0} coloca las descargas en {1} pero ésta no es una ruta válida {2}. Revise la configuración de su cliente de descarga.",
|
"RemotePathMappingCheckLocalWrongOSPath": "El cliente de descarga local {0} coloca las descargas en {1} pero ésta no es una ruta válida {2}. Revise la configuración de su cliente de descarga.",
|
||||||
"RemotePathMappingCheckRemoteDownloadClient": "El cliente de descarga remota {0} informó de la existencia de archivos en {1} pero este directorio no parece existir. Probablemente falta mapear la ruta remota.",
|
"RemotePathMappingCheckRemoteDownloadClient": "El cliente de descarga remota {0} informó de la existencia de archivos en {1} pero este directorio no parece existir. Probablemente falta mapear la ruta remota.",
|
||||||
"SelectLanguages": "Seleccionar idiomas",
|
"SelectLanguages": "Seleccionar Idiomas",
|
||||||
"IndexerDownloadClientHelpText": "Especifica qué cliente de descargas se utiliza para las descargas de este indexador",
|
"IndexerDownloadClientHelpText": "Especifica qué cliente de descargas se utiliza para las descargas de este indexador",
|
||||||
"AnnouncedMsg": "Película anunciada",
|
"AnnouncedMsg": "Película anunciada",
|
||||||
"Auto": "Auto",
|
"Auto": "Auto",
|
||||||
@@ -1097,7 +1097,7 @@
|
|||||||
"TmdbRating": "TMDb valoración",
|
"TmdbRating": "TMDb valoración",
|
||||||
"TmdbVotes": "Votos en TMDb",
|
"TmdbVotes": "Votos en TMDb",
|
||||||
"Filters": "Filtros",
|
"Filters": "Filtros",
|
||||||
"OnApplicationUpdateHelpText": "Al actualizar la aplicación",
|
"OnApplicationUpdateHelpText": "Al Actualizar La Aplicación",
|
||||||
"OriginalTitle": "Título original",
|
"OriginalTitle": "Título original",
|
||||||
"OriginalLanguage": "Idioma original",
|
"OriginalLanguage": "Idioma original",
|
||||||
"Rating": "Puntuación",
|
"Rating": "Puntuación",
|
||||||
@@ -1108,7 +1108,7 @@
|
|||||||
"RemotePathMappingCheckFilesLocalWrongOSPath": "El cliente de descarga local {0} informó de la existencia de archivos en {1}, pero no es una ruta válida {2}. Revise la configuración de su cliente de descarga.",
|
"RemotePathMappingCheckFilesLocalWrongOSPath": "El cliente de descarga local {0} informó de la existencia de archivos en {1}, pero no es una ruta válida {2}. Revise la configuración de su cliente de descarga.",
|
||||||
"RemoveSelectedItem": "Eliminar el elemento seleccionado",
|
"RemoveSelectedItem": "Eliminar el elemento seleccionado",
|
||||||
"RemoveSelectedItems": "Eliminar los elementos seleccionados",
|
"RemoveSelectedItems": "Eliminar los elementos seleccionados",
|
||||||
"SelectReleaseGroup": "Seleccionar el grupo de lanzamiento",
|
"SelectReleaseGroup": "Seleccionar Grupo De Lanzamiento",
|
||||||
"SetReleaseGroup": "Configurar el grupo de lanzamiento",
|
"SetReleaseGroup": "Configurar el grupo de lanzamiento",
|
||||||
"TaskUserAgentTooltip": "User-Agent proporcionado por la aplicación llamó a la API",
|
"TaskUserAgentTooltip": "User-Agent proporcionado por la aplicación llamó a la API",
|
||||||
"RssSyncHelpText": "Intervalo en minutos. Ajustar a cero para inhabilitar (esto dentendrá toda captura de estrenos automática)",
|
"RssSyncHelpText": "Intervalo en minutos. Ajustar a cero para inhabilitar (esto dentendrá toda captura de estrenos automática)",
|
||||||
@@ -1120,5 +1120,27 @@
|
|||||||
"CollectionOptions": "Opciones de la Colección",
|
"CollectionOptions": "Opciones de la Colección",
|
||||||
"CollectionShowDetailsHelpText": "Mostrar el estado y propiedades de la colección",
|
"CollectionShowDetailsHelpText": "Mostrar el estado y propiedades de la colección",
|
||||||
"CollectionShowOverviewsHelpText": "Mostrar resumenes de la colección",
|
"CollectionShowOverviewsHelpText": "Mostrar resumenes de la colección",
|
||||||
"CollectionShowPostersHelpText": "Mostrar póster de artículos de colección"
|
"CollectionShowPostersHelpText": "Mostrar póster de artículos de colección",
|
||||||
|
"RefreshMonitoredIntervalHelpText": "Cada cuánto actualizar las descargas monitoreadeas desde los clientes de descarga, mínimo 1 minuto",
|
||||||
|
"SearchOnAddCollectionHelpText": "Buscar películas en esta colección cuando se añada a la biblioteca",
|
||||||
|
"TotalMovies": "Películas Totales",
|
||||||
|
"CollectionsSelectedInterp": "{0} Colecciones Seleccionadas",
|
||||||
|
"EditCollection": "Editar Colección",
|
||||||
|
"MonitorCollection": "Monitorear Colección",
|
||||||
|
"MonitoredCollectionHelpText": "Monitorear para que las películas de esta colección se añadan automáticamente a la biblioteca",
|
||||||
|
"MovieAndCollection": "Película y Colección",
|
||||||
|
"MovieCollectionMultipleMissingRoots": "Múltiples carpetas raices faltantes para colecciones de películas: {0}",
|
||||||
|
"OnMovieAdded": "Al Agregar Pelicula",
|
||||||
|
"OnMovieAddedHelpText": "Al Agregar Película",
|
||||||
|
"RefreshCollections": "Actualizar Colecciones",
|
||||||
|
"ShowCollectionDetails": "Mostrar Estado De Colección",
|
||||||
|
"InstanceName": "Nombre de Instancia",
|
||||||
|
"InstanceNameHelpText": "Nombre de instancia en pestaña y para nombre de aplicación en Syslog",
|
||||||
|
"RottenTomatoesRating": "Tomato Rating",
|
||||||
|
"ScrollMovies": "Desplazar Películas",
|
||||||
|
"ShowPosters": "Mostrar Posters",
|
||||||
|
"UnableToLoadCollections": "No se han podido cargar las colecciones",
|
||||||
|
"MovieCollectionMissingRoot": "Carpeta raíz faltante para colección de películas: {0}",
|
||||||
|
"MovieOnly": "Solo Película",
|
||||||
|
"Database": "Base de Datos"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1143,5 +1143,7 @@
|
|||||||
"CollectionShowDetailsHelpText": "Näytä kokoelmien tila ja ominaisuudet",
|
"CollectionShowDetailsHelpText": "Näytä kokoelmien tila ja ominaisuudet",
|
||||||
"CollectionShowPostersHelpText": "Näytä kokoelmien julisteet",
|
"CollectionShowPostersHelpText": "Näytä kokoelmien julisteet",
|
||||||
"RottenTomatoesRating": "Tomaattiarvio",
|
"RottenTomatoesRating": "Tomaattiarvio",
|
||||||
"TotalMovies": "Elokuvia yhteensä"
|
"TotalMovies": "Elokuvia yhteensä",
|
||||||
|
"ApplicationURL": "Sovelluksen URL-osoite",
|
||||||
|
"ApplicationUrlHelpText": "Sovelluksen ulkoinen URL-osoite, johon sisältyy http(s)://, portti ja URL-perusta."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1137,5 +1137,10 @@
|
|||||||
"UnableToLoadCollections": "Impossible de charger les collections",
|
"UnableToLoadCollections": "Impossible de charger les collections",
|
||||||
"RottenTomatoesRating": "Classement Rotten Tomatoes",
|
"RottenTomatoesRating": "Classement Rotten Tomatoes",
|
||||||
"ShowCollectionDetails": "Afficher l'état de la collection",
|
"ShowCollectionDetails": "Afficher l'état de la collection",
|
||||||
"EditCollection": "Modifier la collection"
|
"EditCollection": "Modifier la collection",
|
||||||
|
"ApplicationURL": "URL de l'application",
|
||||||
|
"ApplicationUrlHelpText": "URL externe de cette application, y compris http(s)://, le port et l'URL de base",
|
||||||
|
"InstanceName": "Nom de l'instance",
|
||||||
|
"InstanceNameHelpText": "Nom de l'instance dans l'onglet du navigateur et pour le nom d'application dans Syslog",
|
||||||
|
"CollectionShowPostersHelpText": "Afficher les affiches des éléments de la collection"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1143,5 +1143,7 @@
|
|||||||
"ShowPosters": "Poszterek megjelenítése",
|
"ShowPosters": "Poszterek megjelenítése",
|
||||||
"InstanceNameHelpText": "Példánynév a böngésző lapon és a syslog alkalmazás neve",
|
"InstanceNameHelpText": "Példánynév a böngésző lapon és a syslog alkalmazás neve",
|
||||||
"RottenTomatoesRating": "Tomato Értékelés",
|
"RottenTomatoesRating": "Tomato Értékelés",
|
||||||
"TotalMovies": "Összes film"
|
"TotalMovies": "Összes film",
|
||||||
|
"ApplicationUrlHelpText": "Az alkalmazás külső URL-címe, beleértve a \"http(s)://\"-t, a \"Portot\" és az \"URL-alapot\" is",
|
||||||
|
"ApplicationURL": "Alkalmazás URL-je"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
"IndexerStatusCheckAllClientMessage": "Todos os indexadores estão indisponíveis devido a falhas",
|
"IndexerStatusCheckAllClientMessage": "Todos os indexadores estão indisponíveis devido a falhas",
|
||||||
"IndexersSettingsSummary": "Indexadores e restrições de lançamento",
|
"IndexersSettingsSummary": "Indexadores e restrições de lançamento",
|
||||||
"IndexerSettings": "Configurações do indexador",
|
"IndexerSettings": "Configurações do indexador",
|
||||||
"IndexerSearchCheckNoInteractiveMessage": "Nenhum indexador disponível com a Pesquisa interativa ativada, o Radarr não fornecerá nenhum resultado de pesquisa interativo",
|
"IndexerSearchCheckNoInteractiveMessage": "Nenhum indexador disponível com a Pesquisa Interativa habilitada, Radarr não irá prover quaisquer resultados para pesquisa interativa",
|
||||||
"IndexerSearchCheckNoAvailableIndexersMessage": "Todos os indexadores com capacidade de pesquisa estão temporariamente indisponíveis devido a erros recentes do indexador",
|
"IndexerSearchCheckNoAvailableIndexersMessage": "Todos os indexadores com capacidade de pesquisa estão temporariamente indisponíveis devido a erros recentes do indexador",
|
||||||
"IndexerSearchCheckNoAutomaticMessage": "Nenhum indexador disponível com a Pesquisa automática habilitada, o Radarr não fornecerá nenhum resultado de pesquisa automática",
|
"IndexerSearchCheckNoAutomaticMessage": "Nenhum indexador disponível com a Pesquisa automática habilitada, o Radarr não fornecerá nenhum resultado de pesquisa automática",
|
||||||
"Indexers": "Indexadores",
|
"Indexers": "Indexadores",
|
||||||
@@ -928,8 +928,8 @@
|
|||||||
"OnImport": "Ao importar",
|
"OnImport": "Ao importar",
|
||||||
"OnHealthIssueHelpText": "Ao ter problema de integridade",
|
"OnHealthIssueHelpText": "Ao ter problema de integridade",
|
||||||
"OnHealthIssue": "Em Problema de Saúde",
|
"OnHealthIssue": "Em Problema de Saúde",
|
||||||
"OnGrabHelpText": "Ao obter",
|
"OnGrabHelpText": "Em Espera",
|
||||||
"OnGrab": "Ao Baixar",
|
"OnGrab": "Em Espera",
|
||||||
"OnDownloadHelpText": "Ao importar",
|
"OnDownloadHelpText": "Ao importar",
|
||||||
"Ok": "Ok",
|
"Ok": "Ok",
|
||||||
"OAuthPopupMessage": "Os pop-ups estão bloqueados em seu navegador",
|
"OAuthPopupMessage": "Os pop-ups estão bloqueados em seu navegador",
|
||||||
@@ -1117,8 +1117,8 @@
|
|||||||
"InstanceName": "Nome da instância",
|
"InstanceName": "Nome da instância",
|
||||||
"InstanceNameHelpText": "Nome da instância na guia e para o nome do aplicativo Syslog",
|
"InstanceNameHelpText": "Nome da instância na guia e para o nome do aplicativo Syslog",
|
||||||
"AllCollectionsHiddenDueToFilter": "Todos os filmes estão ocultos devido ao filtro aplicado.",
|
"AllCollectionsHiddenDueToFilter": "Todos os filmes estão ocultos devido ao filtro aplicado.",
|
||||||
"Collections": "Coleção",
|
"Collections": "Coleções",
|
||||||
"MonitorMovies": "Monitorar filme",
|
"MonitorMovies": "Monitorar Filmes",
|
||||||
"NoCollections": "Nenhum filme encontrado. Para começar, adicione um novo filme ou importe alguns existentes",
|
"NoCollections": "Nenhum filme encontrado. Para começar, adicione um novo filme ou importe alguns existentes",
|
||||||
"MovieOnly": "Somente Filme",
|
"MovieOnly": "Somente Filme",
|
||||||
"UnableToLoadCollections": "Não foi possível carregar as coleções",
|
"UnableToLoadCollections": "Não foi possível carregar as coleções",
|
||||||
@@ -1143,5 +1143,7 @@
|
|||||||
"CollectionShowOverviewsHelpText": "Mostrar visão geral da coleção",
|
"CollectionShowOverviewsHelpText": "Mostrar visão geral da coleção",
|
||||||
"CollectionShowPostersHelpText": "Mostrar pôsteres de itens da coleção",
|
"CollectionShowPostersHelpText": "Mostrar pôsteres de itens da coleção",
|
||||||
"RottenTomatoesRating": "Avaliação Tomato",
|
"RottenTomatoesRating": "Avaliação Tomato",
|
||||||
"TotalMovies": "Total de Filmes"
|
"TotalMovies": "Total de Filmes",
|
||||||
|
"ApplicationURL": "URL da Aplicação",
|
||||||
|
"ApplicationUrlHelpText": "O URL externa deste aplicativo, incluindo http(s)://, porta e base de URL"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
"Activity": "Activitate",
|
"Activity": "Activitate",
|
||||||
"Actions": "Acțiuni",
|
"Actions": "Acțiuni",
|
||||||
"About": "Despre",
|
"About": "Despre",
|
||||||
"IndexerStatusCheckAllClientMessage": "Niciun indexator nu este disponibil datorită eșuărilor",
|
"IndexerStatusCheckAllClientMessage": "Niciun indexator nu este disponibil datorită erorilor",
|
||||||
"IndexersSettingsSummary": "Restricții pentru indexatori și apariții",
|
"IndexersSettingsSummary": "Restricții pentru indexatori și apariții",
|
||||||
"IndexerSearchCheckNoInteractiveMessage": "Niciun indexator cu Căutare interactivă nu este activ, Radarr nu va afișa niciun rezultat de căutare interactivă",
|
"IndexerSearchCheckNoInteractiveMessage": "Niciun indexator cu Căutare interactivă nu este activ, Radarr nu va afișa niciun rezultat de căutare interactivă",
|
||||||
"IndexerSearchCheckNoAvailableIndexersMessage": "Toți indexatorii ce suportă căutare sunt indisponibili temporar datorită erorilor",
|
"IndexerSearchCheckNoAvailableIndexersMessage": "Toți indexatorii ce suportă căutare sunt indisponibili temporar datorită erorilor",
|
||||||
@@ -62,11 +62,11 @@
|
|||||||
"Ignored": "Ignorat",
|
"Ignored": "Ignorat",
|
||||||
"iCalLink": "Legătură iCal",
|
"iCalLink": "Legătură iCal",
|
||||||
"Host": "Gazdă",
|
"Host": "Gazdă",
|
||||||
"History": "Istorie",
|
"History": "Istoric",
|
||||||
"HideAdvanced": "Ascunde Avansat",
|
"HideAdvanced": "Ascunde Avansat",
|
||||||
"Health": "Sănătate",
|
"Health": "Sănătate",
|
||||||
"GrabSelected": "Prinderea selectată",
|
"GrabSelected": "Prinderea selectată",
|
||||||
"Grabbed": "Prins",
|
"Grabbed": "În curs de descărcare",
|
||||||
"Genres": "Genuri",
|
"Genres": "Genuri",
|
||||||
"GeneralSettingsSummary": "Port, SSL, utilizator/parolă, proxy, statistici și actualizări",
|
"GeneralSettingsSummary": "Port, SSL, utilizator/parolă, proxy, statistici și actualizări",
|
||||||
"General": "General",
|
"General": "General",
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
"Folder": "Dosar",
|
"Folder": "Dosar",
|
||||||
"Filter": "Filtru",
|
"Filter": "Filtru",
|
||||||
"Files": "Fișiere",
|
"Files": "Fișiere",
|
||||||
"Filename": "Numele Fișierului",
|
"Filename": "Numele fișierului",
|
||||||
"FileManagement": "Administrarea de fișiere",
|
"FileManagement": "Administrarea de fișiere",
|
||||||
"FailedDownloadHandling": "Procesarea descărcării a eșuat",
|
"FailedDownloadHandling": "Procesarea descărcării a eșuat",
|
||||||
"Failed": "Eșuat",
|
"Failed": "Eșuat",
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
"Events": "Evenimente",
|
"Events": "Evenimente",
|
||||||
"Edit": "Editează",
|
"Edit": "Editează",
|
||||||
"Downloaded": "Descărcat",
|
"Downloaded": "Descărcat",
|
||||||
"DownloadClientStatusCheckSingleClientMessage": "Clienții de descărcare sunt indisponibili datorită erorii: {0}",
|
"DownloadClientStatusCheckSingleClientMessage": "Clienții de descărcare sunt indisponibili datorită erorilor: {0}",
|
||||||
"DownloadClientStatusCheckAllClientMessage": "Toți clienții de descărcare sunt indisponibili datorită erorilor",
|
"DownloadClientStatusCheckAllClientMessage": "Toți clienții de descărcare sunt indisponibili datorită erorilor",
|
||||||
"ProfilesSettingsSummary": "Calitate, Limbă și Profile de Întârziere",
|
"ProfilesSettingsSummary": "Calitate, Limbă și Profile de Întârziere",
|
||||||
"Profiles": "Profile",
|
"Profiles": "Profile",
|
||||||
@@ -143,9 +143,9 @@
|
|||||||
"Language": "Limbă",
|
"Language": "Limbă",
|
||||||
"KeyboardShortcuts": "Scurtături din tastatură",
|
"KeyboardShortcuts": "Scurtături din tastatură",
|
||||||
"Info": "Info",
|
"Info": "Info",
|
||||||
"IndexerStatusCheckSingleClientMessage": "Indexator indisponibil datorită erorilor: {0}",
|
"IndexerStatusCheckSingleClientMessage": "Indexatoare indisponibile datorită erorilor: {0}",
|
||||||
"ImportExistingMovies": "Importă Filme Existente",
|
"ImportExistingMovies": "Importă Filme Existente",
|
||||||
"HealthNoIssues": "Nicio problemă în configurare",
|
"HealthNoIssues": "Nicio problemă de configurare",
|
||||||
"HardlinkCopyFiles": "Hardlink/Copiază Fișiere",
|
"HardlinkCopyFiles": "Hardlink/Copiază Fișiere",
|
||||||
"Extension": "Extensie",
|
"Extension": "Extensie",
|
||||||
"Error": "Eroare",
|
"Error": "Eroare",
|
||||||
@@ -168,7 +168,7 @@
|
|||||||
"QualityProfile": "Profil de Calitate",
|
"QualityProfile": "Profil de Calitate",
|
||||||
"QualityDefinitions": "Definiții de calitate",
|
"QualityDefinitions": "Definiții de calitate",
|
||||||
"Quality": "Calitate",
|
"Quality": "Calitate",
|
||||||
"PtpOldSettingsCheckMessage": "Următorul indexer PassThePopcorn are setări depreciate și ar trebui actualizate: {0}",
|
"PtpOldSettingsCheckMessage": "Următoarele indexatoare PassThePopcorn au setări depreciate și ar trebui actualizate: {0}",
|
||||||
"ProxyCheckResolveIpMessage": "Nu am putut găsi adresa IP pentru Hostul Proxy Configurat {0}",
|
"ProxyCheckResolveIpMessage": "Nu am putut găsi adresa IP pentru Hostul Proxy Configurat {0}",
|
||||||
"ProxyCheckFailedToTestMessage": "Nu am putut testa proxy: {0}",
|
"ProxyCheckFailedToTestMessage": "Nu am putut testa proxy: {0}",
|
||||||
"ProxyCheckBadRequestMessage": "Testul proxy a eșuat. StatusCode: {0}",
|
"ProxyCheckBadRequestMessage": "Testul proxy a eșuat. StatusCode: {0}",
|
||||||
@@ -260,7 +260,7 @@
|
|||||||
"Queue": "Coadă",
|
"Queue": "Coadă",
|
||||||
"QualitySettingsSummary": "Calitate - mărimi și denumiri",
|
"QualitySettingsSummary": "Calitate - mărimi și denumiri",
|
||||||
"AutoRedownloadFailedHelpText": "Căutați automat și încercați să descărcați o versiune diferită",
|
"AutoRedownloadFailedHelpText": "Căutați automat și încercați să descărcați o versiune diferită",
|
||||||
"BackupIntervalHelpText": "Interval între copiile de rezervă automate",
|
"BackupIntervalHelpText": "Interval între crearea copiile de siguranță automate",
|
||||||
"ApplyTagsHelpTexts1": "Cum se aplică etichete filmelor selectate",
|
"ApplyTagsHelpTexts1": "Cum se aplică etichete filmelor selectate",
|
||||||
"CustomFormatUnknownCondition": "Stare necunoscută pentru formatul personalizat „{0}”",
|
"CustomFormatUnknownCondition": "Stare necunoscută pentru formatul personalizat „{0}”",
|
||||||
"QualitySettings": "Setări de calitate",
|
"QualitySettings": "Setări de calitate",
|
||||||
@@ -337,7 +337,7 @@
|
|||||||
"ThisCannotBeCancelled": "Acest lucru nu poate fi anulat odată pornit fără a reporni Radarr.",
|
"ThisCannotBeCancelled": "Acest lucru nu poate fi anulat odată pornit fără a reporni Radarr.",
|
||||||
"TorrentDelayHelpText": "Întârziați în câteva minute pentru a aștepta înainte de a apuca un torent",
|
"TorrentDelayHelpText": "Întârziați în câteva minute pentru a aștepta înainte de a apuca un torent",
|
||||||
"Trigger": "Declanșator",
|
"Trigger": "Declanșator",
|
||||||
"UnableToAddANewIndexerPleaseTryAgain": "Imposibil de adăugat un nou indexer, încercați din nou.",
|
"UnableToAddANewIndexerPleaseTryAgain": "Nu se poate adăuga un nou indexator, vă rugăm să încercați din nou.",
|
||||||
"UnableToAddANewNotificationPleaseTryAgain": "Imposibil de adăugat o nouă notificare, încercați din nou.",
|
"UnableToAddANewNotificationPleaseTryAgain": "Imposibil de adăugat o nouă notificare, încercați din nou.",
|
||||||
"UnableToAddANewRemotePathMappingPleaseTryAgain": "Imposibil de adăugat o nouă mapare a căilor la distanță, încercați din nou.",
|
"UnableToAddANewRemotePathMappingPleaseTryAgain": "Imposibil de adăugat o nouă mapare a căilor la distanță, încercați din nou.",
|
||||||
"UnableToImportCheckLogs": "Descărcat - Imposibil de importat: verificați jurnalele pentru detalii",
|
"UnableToImportCheckLogs": "Descărcat - Imposibil de importat: verificați jurnalele pentru detalii",
|
||||||
@@ -369,7 +369,7 @@
|
|||||||
"Importing": "Importând",
|
"Importing": "Importând",
|
||||||
"AcceptConfirmationModal": "Acceptați Modul de confirmare",
|
"AcceptConfirmationModal": "Acceptați Modul de confirmare",
|
||||||
"LastExecution": "Ultima executare",
|
"LastExecution": "Ultima executare",
|
||||||
"DBMigration": "Migrarea DB",
|
"DBMigration": "Migrarea BD",
|
||||||
"Manual": "Manual",
|
"Manual": "Manual",
|
||||||
"OnHealthIssue": "Cu privire la problema sănătății",
|
"OnHealthIssue": "Cu privire la problema sănătății",
|
||||||
"OnImport": "La import",
|
"OnImport": "La import",
|
||||||
@@ -388,8 +388,8 @@
|
|||||||
"AvailabilityDelayHelpText": "Suma de timp înainte sau după data disponibilă pentru căutarea filmului",
|
"AvailabilityDelayHelpText": "Suma de timp înainte sau după data disponibilă pentru căutarea filmului",
|
||||||
"Announced": "Anunțat",
|
"Announced": "Anunțat",
|
||||||
"AddRemotePathMapping": "Adăugați maparea căilor la distanță",
|
"AddRemotePathMapping": "Adăugați maparea căilor la distanță",
|
||||||
"BackupRetentionHelpText": "Copiile de rezervă automate mai vechi de perioada de păstrare vor fi curățate automat",
|
"BackupRetentionHelpText": "Copiile de siguranță automate mai vechi decât perioada de păstrare vor fi curățate automat",
|
||||||
"Backups": "Copii de rezervă",
|
"Backups": "Copii de siguranță",
|
||||||
"BeforeUpdate": "Înainte de actualizare",
|
"BeforeUpdate": "Înainte de actualizare",
|
||||||
"BindAddress": "Adresa de legare",
|
"BindAddress": "Adresa de legare",
|
||||||
"CancelProcessing": "Anulați procesarea",
|
"CancelProcessing": "Anulați procesarea",
|
||||||
@@ -404,7 +404,7 @@
|
|||||||
"DeleteMovieFolderLabel": "Ștergeți dosarul filmului",
|
"DeleteMovieFolderLabel": "Ștergeți dosarul filmului",
|
||||||
"DockerUpdater": "actualizați containerul de andocare pentru a primi actualizarea",
|
"DockerUpdater": "actualizați containerul de andocare pentru a primi actualizarea",
|
||||||
"EditGroups": "Editați grupurile",
|
"EditGroups": "Editați grupurile",
|
||||||
"EditIndexer": "Editați Indexer",
|
"EditIndexer": "Editați indexator",
|
||||||
"Enabled": "Activat",
|
"Enabled": "Activat",
|
||||||
"ExcludeMovie": "Excludeți filmul",
|
"ExcludeMovie": "Excludeți filmul",
|
||||||
"ExcludeTitle": "Excludeți {0}? Acest lucru îl va împiedica pe Radarr să adauge automat prin sincronizarea listei.",
|
"ExcludeTitle": "Excludeți {0}? Acest lucru îl va împiedica pe Radarr să adauge automat prin sincronizarea listei.",
|
||||||
@@ -413,7 +413,7 @@
|
|||||||
"HttpHttps": "HTTP (S)",
|
"HttpHttps": "HTTP (S)",
|
||||||
"ICalFeed": "Feed iCal",
|
"ICalFeed": "Feed iCal",
|
||||||
"ICalHttpUrlHelpText": "Copiați această adresă URL către clienții dvs. sau faceți clic pentru a vă abona dacă browserul dvs. acceptă webcal",
|
"ICalHttpUrlHelpText": "Copiați această adresă URL către clienții dvs. sau faceți clic pentru a vă abona dacă browserul dvs. acceptă webcal",
|
||||||
"Add": "Adăuga",
|
"Add": "Adaugă",
|
||||||
"AddCustomFormat": "Adăugați format personalizat",
|
"AddCustomFormat": "Adăugați format personalizat",
|
||||||
"AddDelayProfile": "Adăugați un profil de întârziere",
|
"AddDelayProfile": "Adăugați un profil de întârziere",
|
||||||
"AddDownloadClient": "Adăugați client de descărcare",
|
"AddDownloadClient": "Adăugați client de descărcare",
|
||||||
@@ -440,7 +440,7 @@
|
|||||||
"ChmodFolderHelpTextWarning": "Acest lucru funcționează numai dacă utilizatorul care rulează Radarr este proprietarul fișierului. Este mai bine să vă asigurați că clientul de descărcare setează corect permisiunile.",
|
"ChmodFolderHelpTextWarning": "Acest lucru funcționează numai dacă utilizatorul care rulează Radarr este proprietarul fișierului. Este mai bine să vă asigurați că clientul de descărcare setează corect permisiunile.",
|
||||||
"ChmodGroup": "chmod Group",
|
"ChmodGroup": "chmod Group",
|
||||||
"ChmodGroupHelpText": "Numele grupului sau gid. Utilizați gid pentru sistemele de fișiere la distanță.",
|
"ChmodGroupHelpText": "Numele grupului sau gid. Utilizați gid pentru sistemele de fișiere la distanță.",
|
||||||
"DeleteBackup": "Ștergeți Backup",
|
"DeleteBackup": "Ștergeți copie de siguranță",
|
||||||
"DeleteCustomFormat": "Ștergeți formatul personalizat",
|
"DeleteCustomFormat": "Ștergeți formatul personalizat",
|
||||||
"DeletedMsg": "Filmul a fost șters din TMDb",
|
"DeletedMsg": "Filmul a fost șters din TMDb",
|
||||||
"DeleteDownloadClient": "Ștergeți clientul de descărcare",
|
"DeleteDownloadClient": "Ștergeți clientul de descărcare",
|
||||||
@@ -448,12 +448,12 @@
|
|||||||
"Connection": "Conexiuni",
|
"Connection": "Conexiuni",
|
||||||
"CantFindMovie": "De ce nu-mi găsesc filmul?",
|
"CantFindMovie": "De ce nu-mi găsesc filmul?",
|
||||||
"CertificateValidationHelpText": "Modificați cât de strictă este validarea certificării HTTPS",
|
"CertificateValidationHelpText": "Modificați cât de strictă este validarea certificării HTTPS",
|
||||||
"AddIndexer": "Adăugați Indexer",
|
"AddIndexer": "Adăugați Indexator",
|
||||||
"AutomaticSearch": "Căutare automată",
|
"AutomaticSearch": "Căutare automată",
|
||||||
"ClientPriority": "Prioritatea clientului",
|
"ClientPriority": "Prioritatea clientului",
|
||||||
"CertificationCountry": "Țara certificării",
|
"CertificationCountry": "Țara certificării",
|
||||||
"CertificationCountryHelpText": "Selectați Țara pentru certificări de film",
|
"CertificationCountryHelpText": "Selectați Țara pentru certificări de film",
|
||||||
"HomePage": "Pagina principala",
|
"HomePage": "Pagina principală",
|
||||||
"IncludeHealthWarningsHelpText": "Includeți avertismente de sănătate",
|
"IncludeHealthWarningsHelpText": "Includeți avertismente de sănătate",
|
||||||
"InvalidFormat": "Format invalid",
|
"InvalidFormat": "Format invalid",
|
||||||
"LastDuration": "lastDuration",
|
"LastDuration": "lastDuration",
|
||||||
@@ -508,7 +508,7 @@
|
|||||||
"ShowGenres": "Afișați genurile",
|
"ShowGenres": "Afișați genurile",
|
||||||
"SuggestTranslationChange": "Sugerează modificarea traducerii",
|
"SuggestTranslationChange": "Sugerează modificarea traducerii",
|
||||||
"TestAllClients": "Testați toți clienții",
|
"TestAllClients": "Testați toți clienții",
|
||||||
"TestAllIndexers": "Testați toți indexatorii",
|
"TestAllIndexers": "Testați toate indexatoarele",
|
||||||
"TestAllLists": "Testați toate listele",
|
"TestAllLists": "Testați toate listele",
|
||||||
"Queued": "În așteptare",
|
"Queued": "În așteptare",
|
||||||
"TMDb": "TMDb",
|
"TMDb": "TMDb",
|
||||||
@@ -524,8 +524,8 @@
|
|||||||
"DetailedProgressBarHelpText": "Afișați textul pe bara de progres",
|
"DetailedProgressBarHelpText": "Afișați textul pe bara de progres",
|
||||||
"EnableSSL": "Activați SSL",
|
"EnableSSL": "Activați SSL",
|
||||||
"IncludeCustomFormatWhenRenaming": "Includeți format personalizat la redenumire",
|
"IncludeCustomFormatWhenRenaming": "Includeți format personalizat la redenumire",
|
||||||
"IndexerLongTermStatusCheckAllClientMessage": "Toți indexatorii nu sunt disponibili din cauza unor eșecuri de mai mult de 6 ore",
|
"IndexerLongTermStatusCheckAllClientMessage": "Toți indexatorii sunt indisponibili datorită erorilor de mai mult de 6 ore",
|
||||||
"IndexerLongTermStatusCheckSingleClientMessage": "Indexatori indisponibili din cauza unor eșecuri de mai mult de 6 ore: {0}",
|
"IndexerLongTermStatusCheckSingleClientMessage": "Indexatori indisponibili datorită erorilor de mai mult de 6 ore: {0}",
|
||||||
"LoadingMovieCreditsFailed": "Încărcarea creditelor filmului nu a reușit",
|
"LoadingMovieCreditsFailed": "Încărcarea creditelor filmului nu a reușit",
|
||||||
"LoadingMovieExtraFilesFailed": "Încărcarea fișierelor suplimentare ale filmului nu a reușit",
|
"LoadingMovieExtraFilesFailed": "Încărcarea fișierelor suplimentare ale filmului nu a reușit",
|
||||||
"LoadingMovieFilesFailed": "Încărcarea fișierelor film a eșuat",
|
"LoadingMovieFilesFailed": "Încărcarea fișierelor film a eșuat",
|
||||||
@@ -559,7 +559,7 @@
|
|||||||
"CleanLibraryLevel": "Nivel de bibliotecă curat",
|
"CleanLibraryLevel": "Nivel de bibliotecă curat",
|
||||||
"BranchUpdate": "Sucursală de utilizat pentru actualizarea Radarr",
|
"BranchUpdate": "Sucursală de utilizat pentru actualizarea Radarr",
|
||||||
"BranchUpdateMechanism": "Ramură utilizată de mecanismul extern de actualizare",
|
"BranchUpdateMechanism": "Ramură utilizată de mecanismul extern de actualizare",
|
||||||
"BypassProxyForLocalAddresses": "Bypass Proxy pentru adrese locale",
|
"BypassProxyForLocalAddresses": "Nu folosiți Proxy pentru adrese locale",
|
||||||
"MovieTitleHelpText": "Titlul filmului de exclus (poate avea orice sens)",
|
"MovieTitleHelpText": "Titlul filmului de exclus (poate avea orice sens)",
|
||||||
"Local": "Local",
|
"Local": "Local",
|
||||||
"MovieYear": "Anul filmului",
|
"MovieYear": "Anul filmului",
|
||||||
@@ -641,7 +641,7 @@
|
|||||||
"ClickToChangeQuality": "Faceți clic pentru a schimba calitatea",
|
"ClickToChangeQuality": "Faceți clic pentru a schimba calitatea",
|
||||||
"CloneFormatTag": "Etichetă de format clonare",
|
"CloneFormatTag": "Etichetă de format clonare",
|
||||||
"CloneIndexer": "Clonă Indexer",
|
"CloneIndexer": "Clonă Indexer",
|
||||||
"CloneProfile": "Profil de clonare",
|
"CloneProfile": "Clonați profil",
|
||||||
"CloseCurrentModal": "Închideți modul curent",
|
"CloseCurrentModal": "Închideți modul curent",
|
||||||
"ColonReplacement": "Înlocuirea colonului",
|
"ColonReplacement": "Înlocuirea colonului",
|
||||||
"ColonReplacementFormatHelpText": "Schimbați modul în care Radarr gestionează înlocuirea colonului",
|
"ColonReplacementFormatHelpText": "Schimbați modul în care Radarr gestionează înlocuirea colonului",
|
||||||
@@ -666,7 +666,7 @@
|
|||||||
"DefaultDelayProfile": "Acesta este profilul implicit. Se aplică tuturor filmelor care nu au un profil explicit.",
|
"DefaultDelayProfile": "Acesta este profilul implicit. Se aplică tuturor filmelor care nu au un profil explicit.",
|
||||||
"DelayingDownloadUntilInterp": "Întârzierea descărcării până la {0} la {1}",
|
"DelayingDownloadUntilInterp": "Întârzierea descărcării până la {0} la {1}",
|
||||||
"DelayProfile": "Profile de întârziere",
|
"DelayProfile": "Profile de întârziere",
|
||||||
"DeleteBackupMessageText": "Sigur doriți să ștergeți copia de rezervă „{0}”?",
|
"DeleteBackupMessageText": "Sigur doriți să ștergeți copia de siguranță „{0}”?",
|
||||||
"DeleteDelayProfile": "Ștergeți profilul de întârziere",
|
"DeleteDelayProfile": "Ștergeți profilul de întârziere",
|
||||||
"DeleteDownloadClientMessageText": "Sigur doriți să ștergeți clientul de descărcare „{0}”?",
|
"DeleteDownloadClientMessageText": "Sigur doriți să ștergeți clientul de descărcare „{0}”?",
|
||||||
"DeleteEmptyFolders": "Ștergeți folderele goale",
|
"DeleteEmptyFolders": "Ștergeți folderele goale",
|
||||||
@@ -686,13 +686,13 @@
|
|||||||
"DestinationPath": "Calea de destinație",
|
"DestinationPath": "Calea de destinație",
|
||||||
"DestinationRelativePath": "Calea relativă a destinației",
|
"DestinationRelativePath": "Calea relativă a destinației",
|
||||||
"DetailedProgressBar": "Bara de progres detaliată",
|
"DetailedProgressBar": "Bara de progres detaliată",
|
||||||
"Discord": "Discordie",
|
"Discord": "Discord",
|
||||||
"Docker": "Docher",
|
"Docker": "Docker",
|
||||||
"Donations": "Donații",
|
"Donations": "Donații",
|
||||||
"DoneEditingGroups": "Efectuat editarea grupurilor",
|
"DoneEditingGroups": "Efectuat editarea grupurilor",
|
||||||
"DoNotPrefer": "Nu preferați",
|
"DoNotPrefer": "Nu preferați",
|
||||||
"DoNotUpgradeAutomatically": "Nu faceți upgrade automat",
|
"DoNotUpgradeAutomatically": "Nu faceți upgrade automat",
|
||||||
"DownloadClientSettings": "Descărcați setările clientului",
|
"DownloadClientSettings": "Setări client de descărcare",
|
||||||
"DownloadClientUnavailable": "Clientul de descărcare nu este disponibil",
|
"DownloadClientUnavailable": "Clientul de descărcare nu este disponibil",
|
||||||
"DownloadedAndMonitored": "Descărcat (monitorizat)",
|
"DownloadedAndMonitored": "Descărcat (monitorizat)",
|
||||||
"DownloadedButNotMonitored": "Descărcat (fără monitorizare)",
|
"DownloadedButNotMonitored": "Descărcat (fără monitorizare)",
|
||||||
@@ -708,10 +708,10 @@
|
|||||||
"EditPerson": "Editați persoana",
|
"EditPerson": "Editați persoana",
|
||||||
"EditQualityProfile": "Editați profilul de calitate",
|
"EditQualityProfile": "Editați profilul de calitate",
|
||||||
"EditRestriction": "Editați restricția",
|
"EditRestriction": "Editați restricția",
|
||||||
"Enable": "Permite",
|
"Enable": "Activați",
|
||||||
"EnableAutoHelpText": "Dacă este activată, Filme vor fi adăugate automat la Radarr din această listă",
|
"EnableAutoHelpText": "Dacă este activată, Filme vor fi adăugate automat la Radarr din această listă",
|
||||||
"EnableAutomaticAdd": "Activați adăugarea automată",
|
"EnableAutomaticAdd": "Activați adăugarea automată",
|
||||||
"EnableAutomaticSearch": "Activați Căutarea automată",
|
"EnableAutomaticSearch": "Activați căutarea automată",
|
||||||
"EnableAutomaticSearchHelpText": "Va fi utilizat atunci când căutările automate sunt efectuate prin interfața de utilizare sau de către Radarr",
|
"EnableAutomaticSearchHelpText": "Va fi utilizat atunci când căutările automate sunt efectuate prin interfața de utilizare sau de către Radarr",
|
||||||
"EnableColorImpairedMode": "Activați modul afectat de culoare",
|
"EnableColorImpairedMode": "Activați modul afectat de culoare",
|
||||||
"EnableColorImpairedModeHelpText": "Stil modificat pentru a permite utilizatorilor cu deficiențe de culoare să distingă mai bine informațiile codificate prin culoare",
|
"EnableColorImpairedModeHelpText": "Stil modificat pentru a permite utilizatorilor cu deficiențe de culoare să distingă mai bine informațiile codificate prin culoare",
|
||||||
@@ -722,7 +722,7 @@
|
|||||||
"EnableMediaInfoHelpText": "Extrageți informații video, cum ar fi rezoluția, runtime și informații despre codec din fișiere. Acest lucru necesită ca Radarr să citească părți ale fișierului care pot provoca activitate ridicată pe disc sau rețea în timpul scanărilor.",
|
"EnableMediaInfoHelpText": "Extrageți informații video, cum ar fi rezoluția, runtime și informații despre codec din fișiere. Acest lucru necesită ca Radarr să citească părți ale fișierului care pot provoca activitate ridicată pe disc sau rețea în timpul scanărilor.",
|
||||||
"EnableRSS": "Activați RSS",
|
"EnableRSS": "Activați RSS",
|
||||||
"EnableSslHelpText": " Necesită repornirea în funcție de administrator pentru a intra în vigoare",
|
"EnableSslHelpText": " Necesită repornirea în funcție de administrator pentru a intra în vigoare",
|
||||||
"Ended": "Încheiat",
|
"Ended": "Finalizat",
|
||||||
"ErrorLoadingContents": "Eroare la încărcarea conținutului",
|
"ErrorLoadingContents": "Eroare la încărcarea conținutului",
|
||||||
"ErrorLoadingPreviews": "Eroare la încărcarea previzualizărilor",
|
"ErrorLoadingPreviews": "Eroare la încărcarea previzualizărilor",
|
||||||
"ErrorRestoringBackup": "Eroare la restaurarea copiei de rezervă",
|
"ErrorRestoringBackup": "Eroare la restaurarea copiei de rezervă",
|
||||||
@@ -751,7 +751,7 @@
|
|||||||
"FollowPerson": "Urmărește persoana",
|
"FollowPerson": "Urmărește persoana",
|
||||||
"ForMoreInformationOnTheIndividualDownloadClients": "Pentru mai multe informații despre clienții individuali de descărcare, faceți clic pe butoanele de informații.",
|
"ForMoreInformationOnTheIndividualDownloadClients": "Pentru mai multe informații despre clienții individuali de descărcare, faceți clic pe butoanele de informații.",
|
||||||
"ForMoreInformationOnTheIndividualIndexers": "Pentru mai multe informații despre indexatorii individuali, faceți clic pe butoanele de informații.",
|
"ForMoreInformationOnTheIndividualIndexers": "Pentru mai multe informații despre indexatorii individuali, faceți clic pe butoanele de informații.",
|
||||||
"GeneralSettings": "setari generale",
|
"GeneralSettings": "Setări generale",
|
||||||
"Global": "Global",
|
"Global": "Global",
|
||||||
"GoToInterp": "Accesați {0}",
|
"GoToInterp": "Accesați {0}",
|
||||||
"Grab": "Apuca",
|
"Grab": "Apuca",
|
||||||
@@ -776,7 +776,7 @@
|
|||||||
"IncludeRecommendationsHelpText": "Includeți filmele recomandate de Radarr în vizualizarea descoperire",
|
"IncludeRecommendationsHelpText": "Includeți filmele recomandate de Radarr în vizualizarea descoperire",
|
||||||
"IncludeUnmonitored": "Includeți Unmonitored",
|
"IncludeUnmonitored": "Includeți Unmonitored",
|
||||||
"ImportMovies": "Importați filme",
|
"ImportMovies": "Importați filme",
|
||||||
"IndexerPriority": "Prioritatea indexerului",
|
"IndexerPriority": "Prioritatea indexatorului",
|
||||||
"IndexerPriorityHelpText": "Prioritatea indexerului de la 1 (cea mai mare) la 50 (cea mai mică). Implicit: 25.",
|
"IndexerPriorityHelpText": "Prioritatea indexerului de la 1 (cea mai mare) la 50 (cea mai mică). Implicit: 25.",
|
||||||
"IndexerSettings": "Setări Indexer",
|
"IndexerSettings": "Setări Indexer",
|
||||||
"InstallLatest": "Instalați cele mai recente",
|
"InstallLatest": "Instalați cele mai recente",
|
||||||
@@ -875,7 +875,7 @@
|
|||||||
"Retention": "Retenţie",
|
"Retention": "Retenţie",
|
||||||
"RetentionHelpText": "Numai Usenet: Setați la zero pentru a seta pentru păstrarea nelimitată",
|
"RetentionHelpText": "Numai Usenet: Setați la zero pentru a seta pentru păstrarea nelimitată",
|
||||||
"RSS": "RSS",
|
"RSS": "RSS",
|
||||||
"RSSIsNotSupportedWithThisIndexer": "RSS nu este acceptat cu acest indexer",
|
"RSSIsNotSupportedWithThisIndexer": "RSS nu este suportat de acest indexator",
|
||||||
"RSSSyncInterval": "Interval de sincronizare RSS",
|
"RSSSyncInterval": "Interval de sincronizare RSS",
|
||||||
"RSSSyncIntervalHelpTextWarning": "Acest lucru se va aplica tuturor indexatorilor, vă rugăm să urmați regulile stabilite de aceștia",
|
"RSSSyncIntervalHelpTextWarning": "Acest lucru se va aplica tuturor indexatorilor, vă rugăm să urmați regulile stabilite de aceștia",
|
||||||
"SaveSettings": "Salvează setările",
|
"SaveSettings": "Salvează setările",
|
||||||
@@ -974,7 +974,7 @@
|
|||||||
"UnableToLoadGeneralSettings": "Nu se pot încărca setările generale",
|
"UnableToLoadGeneralSettings": "Nu se pot încărca setările generale",
|
||||||
"UnableToLoadHistory": "Istoricul nu poate fi încărcat",
|
"UnableToLoadHistory": "Istoricul nu poate fi încărcat",
|
||||||
"UnableToLoadIndexerOptions": "Nu se pot încărca opțiunile indexerului",
|
"UnableToLoadIndexerOptions": "Nu se pot încărca opțiunile indexerului",
|
||||||
"UnableToLoadIndexers": "Imposibil de încărcat indexatori",
|
"UnableToLoadIndexers": "Nu se pot încărca indexatoarele",
|
||||||
"UnableToLoadLanguages": "Nu se pot încărca limbile",
|
"UnableToLoadLanguages": "Nu se pot încărca limbile",
|
||||||
"UnableToLoadListExclusions": "Imposibil de încărcat excluderile din listă",
|
"UnableToLoadListExclusions": "Imposibil de încărcat excluderile din listă",
|
||||||
"UnableToLoadManualImportItems": "Imposibil de încărcat articole de import manual",
|
"UnableToLoadManualImportItems": "Imposibil de încărcat articole de import manual",
|
||||||
@@ -1052,7 +1052,7 @@
|
|||||||
"Blocklisted": "Listă Neagră",
|
"Blocklisted": "Listă Neagră",
|
||||||
"AreYouSureYouWantToRemoveSelectedItemFromQueue": "Sigur doriți să eliminați {0} elementul {1} din coadă?",
|
"AreYouSureYouWantToRemoveSelectedItemFromQueue": "Sigur doriți să eliminați {0} elementul {1} din coadă?",
|
||||||
"BlocklistReleases": "Lansare pe lista neagră",
|
"BlocklistReleases": "Lansare pe lista neagră",
|
||||||
"Filters": "Filtru",
|
"Filters": "Filtre",
|
||||||
"List": "Liste",
|
"List": "Liste",
|
||||||
"LocalPath": "Calea locală",
|
"LocalPath": "Calea locală",
|
||||||
"RemotePath": "Calea la distanță",
|
"RemotePath": "Calea la distanță",
|
||||||
|
|||||||
@@ -170,7 +170,7 @@
|
|||||||
"ExcludeTitle": "Исключить {0}? Radarr не будет автоматически добавлять сканируя лист.",
|
"ExcludeTitle": "Исключить {0}? Radarr не будет автоматически добавлять сканируя лист.",
|
||||||
"InCinemasMsg": "Фильмы в кинотеатрах",
|
"InCinemasMsg": "Фильмы в кинотеатрах",
|
||||||
"IncludeRecommendationsHelpText": "Включить в отображении найденного фильмы рекомендованные Radar",
|
"IncludeRecommendationsHelpText": "Включить в отображении найденного фильмы рекомендованные Radar",
|
||||||
"IndexerPriorityHelpText": "Приоритет индексаторов от 1 (наивысший) до 50 (низший). По-умолчанию: 25.",
|
"IndexerPriorityHelpText": "Приоритет индексатора от 1 (самый высокий) до 50 (самый низкий). По умолчанию: 25. Используется при захвате выпусков в качестве средства разрешения конфликтов для равных в остальном выпусков, Radarr по-прежнему будет использовать все включенные индексаторы для синхронизации и поиска RSS.",
|
||||||
"IndexerSearchCheckNoAvailableIndexersMessage": "Все индексаторы с возможностью поиска временно выключены из-за ошибок",
|
"IndexerSearchCheckNoAvailableIndexersMessage": "Все индексаторы с возможностью поиска временно выключены из-за ошибок",
|
||||||
"KeyboardShortcuts": "Горячие клавиши",
|
"KeyboardShortcuts": "Горячие клавиши",
|
||||||
"CantFindMovie": "Почему я не могу найти фильм?",
|
"CantFindMovie": "Почему я не могу найти фильм?",
|
||||||
@@ -244,7 +244,7 @@
|
|||||||
"ApplyTagsHelpTexts2": "Добавить: добавить ярлыки к существующему списку",
|
"ApplyTagsHelpTexts2": "Добавить: добавить ярлыки к существующему списку",
|
||||||
"AptUpdater": "Используйте apt для установки обновления",
|
"AptUpdater": "Используйте apt для установки обновления",
|
||||||
"AuthForm": "Формы (Страница авторизации)",
|
"AuthForm": "Формы (Страница авторизации)",
|
||||||
"AreYouSureYouWantToRemoveSelectedItemsFromQueue": "Вы уверены, что хотите удалить {0} элемент{1} из очереди?",
|
"AreYouSureYouWantToRemoveSelectedItemsFromQueue": "Вы уверены, что хотите удалить {0} элемент из очереди?",
|
||||||
"BeforeUpdate": "До обновления",
|
"BeforeUpdate": "До обновления",
|
||||||
"BuiltIn": "Встроено",
|
"BuiltIn": "Встроено",
|
||||||
"CalendarOptions": "Настройки календаря",
|
"CalendarOptions": "Настройки календаря",
|
||||||
@@ -742,12 +742,12 @@
|
|||||||
"ChmodFolderHelpText": "Восьмеричный, применяется при импорте / переименовании к медиа-папкам и файлам (без битов выполнения)",
|
"ChmodFolderHelpText": "Восьмеричный, применяется при импорте / переименовании к медиа-папкам и файлам (без битов выполнения)",
|
||||||
"CheckDownloadClientForDetails": "проверьте клиент загрузки для более подробной информации",
|
"CheckDownloadClientForDetails": "проверьте клиент загрузки для более подробной информации",
|
||||||
"CertValidationNoLocal": "Отключено для локальных адресов",
|
"CertValidationNoLocal": "Отключено для локальных адресов",
|
||||||
"CertificateValidationHelpText": "Изменить строгое подтверждение сертификации НТТР",
|
"CertificateValidationHelpText": "Измените строгую проверку сертификации HTTPS. Не меняйте, если вы не понимаете риски.",
|
||||||
"BypassProxyForLocalAddresses": "Обход прокси для локальных адресов",
|
"BypassProxyForLocalAddresses": "Обход прокси для локальных адресов",
|
||||||
"BranchUpdateMechanism": "Ветвь, используемая внешним механизмом обновления",
|
"BranchUpdateMechanism": "Ветвь, используемая внешним механизмом обновления",
|
||||||
"BranchUpdate": "Ветвь для обновления Radarr",
|
"BranchUpdate": "Ветвь для обновления Radarr",
|
||||||
"Branch": "Ветка",
|
"Branch": "Ветка",
|
||||||
"BindAddressHelpText": "Действительный IP4-адрес или '*' для всех интерфейсов",
|
"BindAddressHelpText": "Действительный IPv4-адрес или '*' для всех интерфейсов",
|
||||||
"BackupFolderHelpText": "Относительные пути будут в каталоге AppData Radarr",
|
"BackupFolderHelpText": "Относительные пути будут в каталоге AppData Radarr",
|
||||||
"AvailabilityDelayHelpText": "Время до или после доступной даты для поиска фильма",
|
"AvailabilityDelayHelpText": "Время до или после доступной даты для поиска фильма",
|
||||||
"AvailabilityDelay": "Задержка доступности",
|
"AvailabilityDelay": "Задержка доступности",
|
||||||
@@ -908,7 +908,7 @@
|
|||||||
"TimeFormat": "Формат времени",
|
"TimeFormat": "Формат времени",
|
||||||
"Time": "Время",
|
"Time": "Время",
|
||||||
"ThisConditionMatchesUsingRegularExpressions": "Это условие соответствует использованию регулярных выражений. Обратите внимание, что символы {0} имеют особое значение и требуют экранирования с помощью {1}",
|
"ThisConditionMatchesUsingRegularExpressions": "Это условие соответствует использованию регулярных выражений. Обратите внимание, что символы {0} имеют особое значение и требуют экранирования с помощью {1}",
|
||||||
"ThisCannotBeCancelled": "Нельзя отменить после запуска без перезапуска Radarr.",
|
"ThisCannotBeCancelled": "Это действие нельзя отменить после запуска без отключения всех ваших индексаторов.",
|
||||||
"TheLogLevelDefault": "Уровень журнала по умолчанию - «Информация» и может быть изменен в",
|
"TheLogLevelDefault": "Уровень журнала по умолчанию - «Информация» и может быть изменен в",
|
||||||
"TestAllLists": "Тестировать все листы",
|
"TestAllLists": "Тестировать все листы",
|
||||||
"TestAllIndexers": "Тестировать все индексаторы",
|
"TestAllIndexers": "Тестировать все индексаторы",
|
||||||
@@ -982,7 +982,7 @@
|
|||||||
"ShowCertification": "Показать сертификаты",
|
"ShowCertification": "Показать сертификаты",
|
||||||
"ShowAsAllDayEvents": "Показывать как мероприятия на весь день",
|
"ShowAsAllDayEvents": "Показывать как мероприятия на весь день",
|
||||||
"ShowAdvanced": "Показать расширенные",
|
"ShowAdvanced": "Показать расширенные",
|
||||||
"ShouldMonitorHelpText": "Если включено, фильмы, добавленные в этот список, добавляются и отслеживаются",
|
"ShouldMonitorHelpText": "Если включено, фильмы или коллекции, добавленные в этот список, будут добавлены, как отслеживаемые",
|
||||||
"SettingsWeekColumnHeaderHelpText": "Отображается над каждым столбцом, когда неделя активна",
|
"SettingsWeekColumnHeaderHelpText": "Отображается над каждым столбцом, когда неделя активна",
|
||||||
"SettingsWeekColumnHeader": "Заголовок столбца недели",
|
"SettingsWeekColumnHeader": "Заголовок столбца недели",
|
||||||
"SettingsTimeFormat": "Формат времени",
|
"SettingsTimeFormat": "Формат времени",
|
||||||
@@ -1015,7 +1015,7 @@
|
|||||||
"Security": "Безопасность",
|
"Security": "Безопасность",
|
||||||
"Seconds": "Секунды",
|
"Seconds": "Секунды",
|
||||||
"SearchSelected": "Искать выделенные",
|
"SearchSelected": "Искать выделенные",
|
||||||
"SearchOnAddHelpText": "Искать фильмы в этом списке при добавлении в Radarr",
|
"SearchOnAddHelpText": "Искать фильмы в этом списке при добавлении в библиотеку",
|
||||||
"SearchOnAdd": "Искать при добавлении",
|
"SearchOnAdd": "Искать при добавлении",
|
||||||
"SearchMovie": "Поиск фильма",
|
"SearchMovie": "Поиск фильма",
|
||||||
"SearchMissing": "Поиск пропавших",
|
"SearchMissing": "Поиск пропавших",
|
||||||
@@ -1103,10 +1103,44 @@
|
|||||||
"ImdbVotes": "IMDb оценок",
|
"ImdbVotes": "IMDb оценок",
|
||||||
"Duration": "Длительность",
|
"Duration": "Длительность",
|
||||||
"Rating": "Рейтинг",
|
"Rating": "Рейтинг",
|
||||||
"List": "Списки",
|
"List": "Список",
|
||||||
"RssSyncHelpText": "Интервал в минутах. Установите 0 чтобы выключить (остановит все автоматические захваты релизов)",
|
"RssSyncHelpText": "Интервал в минутах. Установите 0, чтобы выключить (остановит все автоматические захваты релизов)",
|
||||||
"AllCollectionsHiddenDueToFilter": "Все фильмы спрятаны в соответствии с фильтром.",
|
"AllCollectionsHiddenDueToFilter": "Все фильмы скрыты в соответствии с фильтром.",
|
||||||
"Collections": "Коллекция",
|
"Collections": "Коллекции",
|
||||||
"MonitorMovies": "Отслеживать фильм",
|
"MonitorMovies": "Отслеживать фильм",
|
||||||
"NoCollections": "Фильмов не найдено. Для начала вам нужно добавить новый фильм или импортировать уже существующие."
|
"NoCollections": "Коллекции не найдены. Для начала вам нужно добавить новый фильм или импортировать несколько существующих.",
|
||||||
|
"CollectionOptions": "Параметры коллекции",
|
||||||
|
"CollectionShowDetailsHelpText": "Показать статус и свойства коллекции",
|
||||||
|
"CollectionShowOverviewsHelpText": "Показать обзоры коллекций",
|
||||||
|
"CollectionShowPostersHelpText": "Показать постеры предметов коллекции",
|
||||||
|
"EditCollection": "Редактировать коллекцию",
|
||||||
|
"Auto": "Авто",
|
||||||
|
"MonitorCollection": "Отслеживание коллекции",
|
||||||
|
"MonitoredCollectionHelpText": "Контролировать, чтобы фильмы из этой коллекции автоматически добавлялись в библиотеку",
|
||||||
|
"MovieAndCollection": "Фильм и коллекция",
|
||||||
|
"MovieCollectionMissingRoot": "Отсутствует корневая папка для коллекции фильмов: {0}",
|
||||||
|
"MovieCollectionMultipleMissingRoots": "Для коллекций фильмов отсутствуют несколько корневых папок: {0}",
|
||||||
|
"MovieOnly": "Только фильм",
|
||||||
|
"ShowCollectionDetails": "Показать статус коллекции",
|
||||||
|
"OnMovieAddedHelpText": "Добавлено в фильм",
|
||||||
|
"RefreshCollections": "Обновить коллекции",
|
||||||
|
"RefreshMonitoredIntervalHelpText": "Как часто обновлять отслеживаемые загрузки с клиентов загрузки, минимум 1 минута",
|
||||||
|
"Never": "Никогда",
|
||||||
|
"OriginalTitle": "Оригинальное название",
|
||||||
|
"CollectionsSelectedInterp": "{0} коллекций выбрано",
|
||||||
|
"UnableToLoadCollections": "Не удалось загрузить коллекции",
|
||||||
|
"OnMovieAdded": "Добавлено в фильм",
|
||||||
|
"OriginalLanguage": "Язык оригинала",
|
||||||
|
"SearchOnAddCollectionHelpText": "Поиск фильмов в этой коллекции при добавлении в библиотеку",
|
||||||
|
"ShowOverview": "Показать обзор",
|
||||||
|
"ShowPosters": "Показать постеры",
|
||||||
|
"TotalMovies": "Всего фильмов",
|
||||||
|
"Waiting": "Ожидание",
|
||||||
|
"ChooseImportMode": "Выберите режим импорта",
|
||||||
|
"InstanceName": "Имя экземпляра",
|
||||||
|
"InstanceNameHelpText": "Имя экземпляра на вкладке и для имени приложения системного журнала",
|
||||||
|
"RottenTomatoesRating": "Tomato рейтинг",
|
||||||
|
"Started": "Запущено",
|
||||||
|
"Database": "База данных",
|
||||||
|
"From": "из"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -637,7 +637,7 @@
|
|||||||
"InstallLatest": "安装最新版",
|
"InstallLatest": "安装最新版",
|
||||||
"IndexerStatusCheckSingleClientMessage": "搜刮器因错误不可用:{0}",
|
"IndexerStatusCheckSingleClientMessage": "搜刮器因错误不可用:{0}",
|
||||||
"IndexerStatusCheckAllClientMessage": "所有搜刮器都因错误不可用",
|
"IndexerStatusCheckAllClientMessage": "所有搜刮器都因错误不可用",
|
||||||
"IndexerSearchCheckNoInteractiveMessage": "没有任何索引器开启了手动搜索,Radarr 不会提供任何手动搜索的结果",
|
"IndexerSearchCheckNoInteractiveMessage": "没有任何索引器开启了手动搜索,因此Radarr 不会提供任何手动搜索的结果",
|
||||||
"IndexerRssHealthCheckNoIndexers": "没有任何索引器开启了RSS同步,Radarr不会自动抓取新发布的影片",
|
"IndexerRssHealthCheckNoIndexers": "没有任何索引器开启了RSS同步,Radarr不会自动抓取新发布的影片",
|
||||||
"IndexerLongTermStatusCheckSingleClientMessage": "由于故障6小时,下列索引器都已不可用:{0}",
|
"IndexerLongTermStatusCheckSingleClientMessage": "由于故障6小时,下列索引器都已不可用:{0}",
|
||||||
"IndexerLongTermStatusCheckAllClientMessage": "由于故障超过6小时,所有索引器均不可用",
|
"IndexerLongTermStatusCheckAllClientMessage": "由于故障超过6小时,所有索引器均不可用",
|
||||||
@@ -1142,5 +1142,6 @@
|
|||||||
"RottenTomatoesRating": "烂番茄指数",
|
"RottenTomatoesRating": "烂番茄指数",
|
||||||
"ShowPosters": "显示海报",
|
"ShowPosters": "显示海报",
|
||||||
"OnMovieAdded": "电影添加时",
|
"OnMovieAdded": "电影添加时",
|
||||||
"OnMovieAddedHelpText": "电影添加时"
|
"OnMovieAddedHelpText": "电影添加时",
|
||||||
|
"TotalMovies": "电影总数"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,8 @@ namespace NzbDrone.Core.Parser
|
|||||||
new IsoLanguage("fa", "", "fas", "Persian", Language.Persian),
|
new IsoLanguage("fa", "", "fas", "Persian", Language.Persian),
|
||||||
new IsoLanguage("be", "", "ben", "Bengali", Language.Bengali),
|
new IsoLanguage("be", "", "ben", "Bengali", Language.Bengali),
|
||||||
new IsoLanguage("lt", "", "lit", "Lithuanian", Language.Lithuanian),
|
new IsoLanguage("lt", "", "lit", "Lithuanian", Language.Lithuanian),
|
||||||
new IsoLanguage("sk", "", "slk", "Slovak", Language.Slovak)
|
new IsoLanguage("sk", "", "slk", "Slovak", Language.Slovak),
|
||||||
|
new IsoLanguage("lv", "", "lav", "Latvian", Language.Latvian)
|
||||||
};
|
};
|
||||||
|
|
||||||
public static IsoLanguage Find(string isoCode)
|
public static IsoLanguage Find(string isoCode)
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ using System.IO;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using NLog;
|
using NLog;
|
||||||
|
using NzbDrone.Common.Extensions;
|
||||||
using NzbDrone.Common.Instrumentation;
|
using NzbDrone.Common.Instrumentation;
|
||||||
using NzbDrone.Core.Languages;
|
using NzbDrone.Core.Languages;
|
||||||
|
|
||||||
@@ -26,7 +27,8 @@ namespace NzbDrone.Core.Parser
|
|||||||
(?<hebrew>\bHebDub\b)|
|
(?<hebrew>\bHebDub\b)|
|
||||||
(?<polish>\b(?:PL\W?DUB|DUB\W?PL|LEK\W?PL|PL\W?LEK)\b)|
|
(?<polish>\b(?:PL\W?DUB|DUB\W?PL|LEK\W?PL|PL\W?LEK)\b)|
|
||||||
(?<chinese>\[(?:CH[ST]|BIG5|GB)\]|简|繁|字幕)|
|
(?<chinese>\[(?:CH[ST]|BIG5|GB)\]|简|繁|字幕)|
|
||||||
(?<ukrainian>(?:(?:\dx)?UKR))",
|
(?<ukrainian>(?:(?:\dx)?UKR))|
|
||||||
|
(?<latvian>\bLV\b)",
|
||||||
RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.IgnorePatternWhitespace);
|
RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.IgnorePatternWhitespace);
|
||||||
|
|
||||||
private static readonly Regex CaseSensitiveLanguageRegex = new Regex(@"(?:(?i)(?<!SUB[\W|_|^]))(?:(?<lithuanian>\bLT\b)|
|
private static readonly Regex CaseSensitiveLanguageRegex = new Regex(@"(?:(?i)(?<!SUB[\W|_|^]))(?:(?<lithuanian>\bLT\b)|
|
||||||
@@ -36,7 +38,7 @@ namespace NzbDrone.Core.Parser
|
|||||||
(?<slovak>\bSK\b)",
|
(?<slovak>\bSK\b)",
|
||||||
RegexOptions.Compiled | RegexOptions.IgnorePatternWhitespace);
|
RegexOptions.Compiled | RegexOptions.IgnorePatternWhitespace);
|
||||||
|
|
||||||
private static readonly Regex SubtitleLanguageRegex = new Regex(".+?[-_. ](?<iso_code>[a-z]{2,3})(?:[-_. ]forced)?$", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
private static readonly Regex SubtitleLanguageRegex = new Regex(".+?[-_. ](?<iso_code>[a-z]{2,3})([-_. ](?<tags>full|forced|foreign|default|cc|psdh|sdh))*$", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||||
|
|
||||||
public static List<Language> ParseLanguages(string title)
|
public static List<Language> ParseLanguages(string title)
|
||||||
{
|
{
|
||||||
@@ -188,6 +190,11 @@ namespace NzbDrone.Core.Parser
|
|||||||
languages.Add(Language.Slovak);
|
languages.Add(Language.Slovak);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (lowerTitle.Contains("latvian"))
|
||||||
|
{
|
||||||
|
languages.Add(Language.Latvian);
|
||||||
|
}
|
||||||
|
|
||||||
// Case sensitive
|
// Case sensitive
|
||||||
var caseSensitiveMatch = CaseSensitiveLanguageRegex.Match(title);
|
var caseSensitiveMatch = CaseSensitiveLanguageRegex.Match(title);
|
||||||
|
|
||||||
@@ -294,6 +301,11 @@ namespace NzbDrone.Core.Parser
|
|||||||
{
|
{
|
||||||
languages.Add(Language.Ukrainian);
|
languages.Add(Language.Ukrainian);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (match.Groups["latvian"].Success)
|
||||||
|
{
|
||||||
|
languages.Add(Language.Latvian);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!languages.Any())
|
if (!languages.Any())
|
||||||
@@ -304,6 +316,25 @@ namespace NzbDrone.Core.Parser
|
|||||||
return languages.DistinctBy(l => (int)l).ToList();
|
return languages.DistinctBy(l => (int)l).ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static IEnumerable<string> ParseLanguageTags(string fileName)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var simpleFilename = Path.GetFileNameWithoutExtension(fileName);
|
||||||
|
var match = SubtitleLanguageRegex.Match(simpleFilename);
|
||||||
|
var languageTags = match.Groups["tags"].Captures.Cast<Capture>()
|
||||||
|
.Where(tag => !tag.Value.Empty())
|
||||||
|
.Select(tag => tag.Value.ToLower());
|
||||||
|
return languageTags;
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Logger.Debug(ex, "Failed parsing language tags from subtitle file: {0}", fileName);
|
||||||
|
}
|
||||||
|
|
||||||
|
return Enumerable.Empty<string>();
|
||||||
|
}
|
||||||
|
|
||||||
public static Language ParseSubtitleLanguage(string fileName)
|
public static Language ParseSubtitleLanguage(string fileName)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
@@ -316,11 +347,19 @@ namespace NzbDrone.Core.Parser
|
|||||||
if (languageMatch.Success)
|
if (languageMatch.Success)
|
||||||
{
|
{
|
||||||
var isoCode = languageMatch.Groups["iso_code"].Value;
|
var isoCode = languageMatch.Groups["iso_code"].Value;
|
||||||
var isoLanguage = IsoLanguages.Find(isoCode);
|
var isoLanguage = IsoLanguages.Find(isoCode.ToLower());
|
||||||
|
|
||||||
return isoLanguage?.Language ?? Language.Unknown;
|
return isoLanguage?.Language ?? Language.Unknown;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach (Language language in Language.All)
|
||||||
|
{
|
||||||
|
if (simpleFilename.EndsWith(language.ToString(), StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
return language;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Logger.Debug("Unable to parse langauge from subtitle file: {0}", fileName);
|
Logger.Debug("Unable to parse langauge from subtitle file: {0}", fileName);
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ namespace NzbDrone.Core.Parser
|
|||||||
|
|
||||||
private static readonly Regex SimpleReleaseTitleRegex = new Regex(@"\s*(?:[<>?*:|])", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
private static readonly Regex SimpleReleaseTitleRegex = new Regex(@"\s*(?:[<>?*:|])", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||||
|
|
||||||
private static readonly RegexReplace WebsitePrefixRegex = new RegexReplace(@"^\[\s*[-a-z]+(\.[a-z]+)+\s*\][- ]*|^www\.[a-z]+\.(?:com|net|org)[ -]*",
|
private static readonly RegexReplace WebsitePrefixRegex = new RegexReplace(@"^\[\s*[-a-z]+(\.[a-z]+)+\s*\][- ]*|^www\.[a-z0-9]+\.(?:com|net|org|casa|pics|tc)[ -]*",
|
||||||
string.Empty,
|
string.Empty,
|
||||||
RegexOptions.IgnoreCase | RegexOptions.Compiled);
|
RegexOptions.IgnoreCase | RegexOptions.Compiled);
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ namespace Radarr.Api.V3.Config
|
|||||||
public string SslCertPassword { get; set; }
|
public string SslCertPassword { get; set; }
|
||||||
public string UrlBase { get; set; }
|
public string UrlBase { get; set; }
|
||||||
public string InstanceName { get; set; }
|
public string InstanceName { get; set; }
|
||||||
|
public string ApplicationUrl { get; set; }
|
||||||
public bool UpdateAutomatically { get; set; }
|
public bool UpdateAutomatically { get; set; }
|
||||||
public UpdateMechanism UpdateMechanism { get; set; }
|
public UpdateMechanism UpdateMechanism { get; set; }
|
||||||
public string UpdateScriptPath { get; set; }
|
public string UpdateScriptPath { get; set; }
|
||||||
@@ -82,7 +83,8 @@ namespace Radarr.Api.V3.Config
|
|||||||
CertificateValidation = configService.CertificateValidation,
|
CertificateValidation = configService.CertificateValidation,
|
||||||
BackupFolder = configService.BackupFolder,
|
BackupFolder = configService.BackupFolder,
|
||||||
BackupInterval = configService.BackupInterval,
|
BackupInterval = configService.BackupInterval,
|
||||||
BackupRetention = configService.BackupRetention
|
BackupRetention = configService.BackupRetention,
|
||||||
|
ApplicationUrl = configService.ApplicationUrl
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9594,6 +9594,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"nullable": true
|
"nullable": true
|
||||||
},
|
},
|
||||||
|
"applicationUrl": {
|
||||||
|
"type": "string",
|
||||||
|
"nullable": true
|
||||||
|
},
|
||||||
"updateAutomatically": {
|
"updateAutomatically": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user