mirror of
https://github.com/Viren070/MediaFusion.git
synced 2025-12-01 23:21:11 +01:00
70e8d1946b
- Updated streaming providers to allow adding torrents by file for webseed and private torrents. - Implemented functionality to store the content of torrent files.
26 lines
438 B
Python
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"
|