* update rtn to 025 * Implement movie / show type parsing * switch to RTN in collectors * ensure env for pythonnet is loaded, and that requirements copy for qbit * version bump
24 lines
948 B
C#
24 lines
948 B
C#
namespace QBitCollector.Features.Worker;
|
|
|
|
[EntityName("perform-metadata-request-qbit-collector")]
|
|
public record PerformQbitMetadataRequest(Guid CorrelationId, string InfoHash) : CorrelatedBy<Guid>;
|
|
|
|
[EntityName("torrent-metadata-response-qbit-collector")]
|
|
public record GotQbitMetadata(QBitMetadataResponse Metadata) : CorrelatedBy<Guid>
|
|
{
|
|
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
|
}
|
|
|
|
[EntityName("write-metadata-qbit-collector")]
|
|
public record WriteQbitMetadata(Torrent Torrent, QBitMetadataResponse Metadata, string ImdbId) : CorrelatedBy<Guid>
|
|
{
|
|
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
|
}
|
|
|
|
[EntityName("metadata-written-qbit-collector")]
|
|
public record QbitMetadataWritten(QBitMetadataResponse Metadata, bool WithFiles) : CorrelatedBy<Guid>
|
|
{
|
|
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
|
|
|
public QBitMetadataResponse Metadata { get; init; } = Metadata;
|
|
} |