Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
08639a3254 | ||
|
|
d430850749 | ||
|
|
82c0ea459b |
@@ -12,8 +12,11 @@ enabled=false
|
|||||||
program=
|
program=
|
||||||
|
|
||||||
[BitTorrent]
|
[BitTorrent]
|
||||||
|
Session\AnonymousModeEnabled=true
|
||||||
|
Session\BTProtocol=TCP
|
||||||
Session\DefaultSavePath=/downloads/
|
Session\DefaultSavePath=/downloads/
|
||||||
Session\ExcludedFileNames=
|
Session\ExcludedFileNames=
|
||||||
|
Session\MaxActiveCheckingTorrents=5
|
||||||
Session\MaxActiveDownloads=10
|
Session\MaxActiveDownloads=10
|
||||||
Session\MaxActiveTorrents=50
|
Session\MaxActiveTorrents=50
|
||||||
Session\MaxActiveUploads=50
|
Session\MaxActiveUploads=50
|
||||||
@@ -50,9 +53,10 @@ MailNotification\req_auth=true
|
|||||||
WebUI\Address=*
|
WebUI\Address=*
|
||||||
WebUI\AuthSubnetWhitelist=0.0.0.0/0
|
WebUI\AuthSubnetWhitelist=0.0.0.0/0
|
||||||
WebUI\AuthSubnetWhitelistEnabled=true
|
WebUI\AuthSubnetWhitelistEnabled=true
|
||||||
|
WebUI\HostHeaderValidation=false
|
||||||
WebUI\LocalHostAuth=false
|
WebUI\LocalHostAuth=false
|
||||||
WebUI\ServerDomains=*
|
WebUI\ServerDomains=*
|
||||||
|
|
||||||
[RSS]
|
[RSS]
|
||||||
AutoDownloader\DownloadRepacks=true
|
AutoDownloader\DownloadRepacks=true
|
||||||
AutoDownloader\SmartEpisodeFilter=s(\\d+)e(\\d+), (\\d+)x(\\d+), "(\\d{4}[.\\-]\\d{1,2}[.\\-]\\d{1,2})", "(\\d{1,2}[.\\-]\\d{1,2}[.\\-]\\d{4})"
|
AutoDownloader\SmartEpisodeFilter=s(\\d+)e(\\d+), (\\d+)x(\\d+), "(\\d{4}[.\\-]\\d{1,2}[.\\-]\\d{1,2})", "(\\d{1,2}[.\\-]\\d{1,2}[.\\-]\\d{4})"
|
||||||
@@ -94,7 +94,7 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
env_file: stack.env
|
env_file: stack.env
|
||||||
hostname: knightcrawler-addon
|
hostname: knightcrawler-addon
|
||||||
image: gabisonfire/knightcrawler-addon:2.0.10
|
image: gabisonfire/knightcrawler-addon:2.0.12
|
||||||
labels:
|
labels:
|
||||||
logging: promtail
|
logging: promtail
|
||||||
networks:
|
networks:
|
||||||
@@ -117,7 +117,7 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
env_file: stack.env
|
env_file: stack.env
|
||||||
image: gabisonfire/knightcrawler-consumer:2.0.10
|
image: gabisonfire/knightcrawler-consumer:2.0.12
|
||||||
labels:
|
labels:
|
||||||
logging: promtail
|
logging: promtail
|
||||||
networks:
|
networks:
|
||||||
@@ -138,7 +138,7 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
env_file: stack.env
|
env_file: stack.env
|
||||||
image: gabisonfire/knightcrawler-debrid-collector:2.0.10
|
image: gabisonfire/knightcrawler-debrid-collector:2.0.12
|
||||||
labels:
|
labels:
|
||||||
logging: promtail
|
logging: promtail
|
||||||
networks:
|
networks:
|
||||||
@@ -152,7 +152,7 @@ services:
|
|||||||
migrator:
|
migrator:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
env_file: stack.env
|
env_file: stack.env
|
||||||
image: gabisonfire/knightcrawler-metadata:2.0.10
|
image: gabisonfire/knightcrawler-metadata:2.0.12
|
||||||
networks:
|
networks:
|
||||||
- knightcrawler-network
|
- knightcrawler-network
|
||||||
restart: "no"
|
restart: "no"
|
||||||
@@ -163,7 +163,7 @@ services:
|
|||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
env_file: stack.env
|
env_file: stack.env
|
||||||
image: gabisonfire/knightcrawler-migrator:2.0.10
|
image: gabisonfire/knightcrawler-migrator:2.0.12
|
||||||
networks:
|
networks:
|
||||||
- knightcrawler-network
|
- knightcrawler-network
|
||||||
restart: "no"
|
restart: "no"
|
||||||
@@ -182,7 +182,7 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
env_file: stack.env
|
env_file: stack.env
|
||||||
image: gabisonfire/knightcrawler-producer:2.0.10
|
image: gabisonfire/knightcrawler-producer:2.0.12
|
||||||
labels:
|
labels:
|
||||||
logging: promtail
|
logging: promtail
|
||||||
networks:
|
networks:
|
||||||
@@ -207,7 +207,7 @@ services:
|
|||||||
deploy:
|
deploy:
|
||||||
replicas: ${QBIT_REPLICAS:-0}
|
replicas: ${QBIT_REPLICAS:-0}
|
||||||
env_file: stack.env
|
env_file: stack.env
|
||||||
image: gabisonfire/knightcrawler-qbit-collector:2.0.10
|
image: gabisonfire/knightcrawler-qbit-collector:2.0.12
|
||||||
labels:
|
labels:
|
||||||
logging: promtail
|
logging: promtail
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ x-depends: &knightcrawler-app-depends
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
metadata:
|
metadata:
|
||||||
image: gabisonfire/knightcrawler-metadata:2.0.10
|
image: gabisonfire/knightcrawler-metadata:2.0.12
|
||||||
env_file: ../../.env
|
env_file: ../../.env
|
||||||
networks:
|
networks:
|
||||||
- knightcrawler-network
|
- knightcrawler-network
|
||||||
@@ -30,7 +30,7 @@ services:
|
|||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
|
|
||||||
migrator:
|
migrator:
|
||||||
image: gabisonfire/knightcrawler-migrator:2.0.10
|
image: gabisonfire/knightcrawler-migrator:2.0.12
|
||||||
env_file: ../../.env
|
env_file: ../../.env
|
||||||
networks:
|
networks:
|
||||||
- knightcrawler-network
|
- knightcrawler-network
|
||||||
@@ -40,7 +40,7 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
||||||
addon:
|
addon:
|
||||||
image: gabisonfire/knightcrawler-addon:2.0.10
|
image: gabisonfire/knightcrawler-addon:2.0.12
|
||||||
<<: [*knightcrawler-app, *knightcrawler-app-depends]
|
<<: [*knightcrawler-app, *knightcrawler-app-depends]
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
hostname: knightcrawler-addon
|
hostname: knightcrawler-addon
|
||||||
@@ -48,22 +48,22 @@ services:
|
|||||||
- "7000:7000"
|
- "7000:7000"
|
||||||
|
|
||||||
consumer:
|
consumer:
|
||||||
image: gabisonfire/knightcrawler-consumer:2.0.10
|
image: gabisonfire/knightcrawler-consumer:2.0.12
|
||||||
<<: [*knightcrawler-app, *knightcrawler-app-depends]
|
<<: [*knightcrawler-app, *knightcrawler-app-depends]
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
debridcollector:
|
debridcollector:
|
||||||
image: gabisonfire/knightcrawler-debrid-collector:2.0.10
|
image: gabisonfire/knightcrawler-debrid-collector:2.0.12
|
||||||
<<: [*knightcrawler-app, *knightcrawler-app-depends]
|
<<: [*knightcrawler-app, *knightcrawler-app-depends]
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
producer:
|
producer:
|
||||||
image: gabisonfire/knightcrawler-producer:2.0.10
|
image: gabisonfire/knightcrawler-producer:2.0.12
|
||||||
<<: [*knightcrawler-app, *knightcrawler-app-depends]
|
<<: [*knightcrawler-app, *knightcrawler-app-depends]
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
qbitcollector:
|
qbitcollector:
|
||||||
image: gabisonfire/knightcrawler-qbit-collector:2.0.10
|
image: gabisonfire/knightcrawler-qbit-collector:2.0.12
|
||||||
<<: [*knightcrawler-app, *knightcrawler-app-depends]
|
<<: [*knightcrawler-app, *knightcrawler-app-depends]
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
@@ -1,21 +1,21 @@
|
|||||||
namespace DebridCollector.Features.Worker;
|
namespace DebridCollector.Features.Worker;
|
||||||
|
|
||||||
[EntityName("perform-metadata-request")]
|
[EntityName("perform-metadata-request-debrid-collector")]
|
||||||
public record PerformMetadataRequest(Guid CorrelationId, string InfoHash) : CorrelatedBy<Guid>;
|
public record PerformMetadataRequest(Guid CorrelationId, string InfoHash) : CorrelatedBy<Guid>;
|
||||||
|
|
||||||
[EntityName("torrent-metadata-response")]
|
[EntityName("torrent-metadata-response-debrid-collector")]
|
||||||
public record GotMetadata(TorrentMetadataResponse Metadata) : CorrelatedBy<Guid>
|
public record GotMetadata(TorrentMetadataResponse Metadata) : CorrelatedBy<Guid>
|
||||||
{
|
{
|
||||||
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
||||||
}
|
}
|
||||||
|
|
||||||
[EntityName("write-metadata")]
|
[EntityName("write-metadata-debrid-collector")]
|
||||||
public record WriteMetadata(Torrent Torrent, TorrentMetadataResponse Metadata, string ImdbId) : CorrelatedBy<Guid>
|
public record WriteMetadata(Torrent Torrent, TorrentMetadataResponse Metadata, string ImdbId) : CorrelatedBy<Guid>
|
||||||
{
|
{
|
||||||
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
||||||
}
|
}
|
||||||
|
|
||||||
[EntityName("metadata-written")]
|
[EntityName("metadata-written-debrid-colloctor")]
|
||||||
public record MetadataWritten(TorrentMetadataResponse Metadata) : CorrelatedBy<Guid>
|
public record MetadataWritten(TorrentMetadataResponse Metadata) : CorrelatedBy<Guid>
|
||||||
{
|
{
|
||||||
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
||||||
|
|||||||
@@ -1,22 +1,24 @@
|
|||||||
namespace QBitCollector.Features.Worker;
|
namespace QBitCollector.Features.Worker;
|
||||||
|
|
||||||
[EntityName("perform-metadata-request")]
|
[EntityName("perform-metadata-request-qbit-collector")]
|
||||||
public record PerformQbitMetadataRequest(Guid CorrelationId, string InfoHash) : CorrelatedBy<Guid>;
|
public record PerformQbitMetadataRequest(Guid CorrelationId, string InfoHash) : CorrelatedBy<Guid>;
|
||||||
|
|
||||||
[EntityName("torrent-metadata-response")]
|
[EntityName("torrent-metadata-response-qbit-collector")]
|
||||||
public record GotQbitMetadata(QBitMetadataResponse Metadata) : CorrelatedBy<Guid>
|
public record GotQbitMetadata(QBitMetadataResponse Metadata) : CorrelatedBy<Guid>
|
||||||
{
|
{
|
||||||
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
||||||
}
|
}
|
||||||
|
|
||||||
[EntityName("write-metadata")]
|
[EntityName("write-metadata-qbit-collector")]
|
||||||
public record WriteQbitMetadata(Torrent Torrent, QBitMetadataResponse Metadata, string ImdbId) : CorrelatedBy<Guid>
|
public record WriteQbitMetadata(Torrent Torrent, QBitMetadataResponse Metadata, string ImdbId) : CorrelatedBy<Guid>
|
||||||
{
|
{
|
||||||
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
||||||
}
|
}
|
||||||
|
|
||||||
[EntityName("metadata-written")]
|
[EntityName("metadata-written-qbit-collector")]
|
||||||
public record QbitMetadataWritten(QBitMetadataResponse Metadata) : CorrelatedBy<Guid>
|
public record QbitMetadataWritten(QBitMetadataResponse Metadata) : CorrelatedBy<Guid>
|
||||||
{
|
{
|
||||||
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
||||||
|
|
||||||
|
public QBitMetadataResponse Metadata { get; init; } = Metadata;
|
||||||
}
|
}
|
||||||
@@ -77,7 +77,7 @@ public class RtnResponse
|
|||||||
[JsonPropertyName("extended")]
|
[JsonPropertyName("extended")]
|
||||||
public bool Extended { get; set; }
|
public bool Extended { get; set; }
|
||||||
|
|
||||||
public bool IsMovie => Season == null && Episode == null;
|
public bool IsMovie => (Season == null && Episode == null) || (Season?.Count == 0 && Episode?.Count == 0);
|
||||||
|
|
||||||
public string ToJson() => this.AsJson();
|
public string ToJson() => this.AsJson();
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user