mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
* 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
22 lines
882 B
C#
22 lines
882 B
C#
namespace DebridCollector.Features.Worker;
|
|
|
|
[EntityName("perform-metadata-request-debrid-collector")]
|
|
public record PerformMetadataRequest(Guid CorrelationId, string InfoHash) : CorrelatedBy<Guid>;
|
|
|
|
[EntityName("torrent-metadata-response-debrid-collector")]
|
|
public record GotMetadata(TorrentMetadataResponse Metadata) : CorrelatedBy<Guid>
|
|
{
|
|
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
|
}
|
|
|
|
[EntityName("write-metadata-debrid-collector")]
|
|
public record WriteMetadata(Torrent Torrent, TorrentMetadataResponse Metadata, string ImdbId) : CorrelatedBy<Guid>
|
|
{
|
|
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
|
}
|
|
|
|
[EntityName("metadata-written-debrid-colloctor")]
|
|
public record MetadataWritten(TorrentMetadataResponse Metadata, bool WithFiles) : CorrelatedBy<Guid>
|
|
{
|
|
public Guid CorrelationId { get; init; } = Metadata.CorrelationId;
|
|
} |