Files
mhdzumair 70e8d1946b Add support for private, semi-private, and webseed torrent types for prowlarr & jackett & Manual imports; store torrent file content
- Updated streaming providers to allow adding torrents by file for webseed and private torrents.
- Implemented functionality to store the content of torrent files.
2024-12-22 18:21:58 +05:30

26 lines
438 B
Python

from enum import StrEnum
# Enums
class MediaType(StrEnum):
MOVIE = "movie"
SERIES = "series"
TV = "tv"
EVENTS = "events"
class TorrentType(StrEnum):
PUBLIC = "public"
SEMI_PRIVATE = "semi-private"
PRIVATE = "private"
WEB_SEED = "web-seed"
class NudityStatus(StrEnum):
NONE = "None"
MILD = "Mild"
MODERATE = "Moderate"
SEVERE = "Severe"
UNKNOWN = "Unknown"
DISABLE = "Disable"