[tags] Add tags to scrobble media models
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
from enum import Enum
|
||||
|
||||
BOOKS_TITLES_TO_IGNORE = [
|
||||
"KOReader Quickstart Guide",
|
||||
@ -7,3 +8,16 @@ BOOKS_TITLES_TO_IGNORE = [
|
||||
]
|
||||
|
||||
READCOMICSONLINE_URL = "https://readcomicsonline.ru"
|
||||
|
||||
|
||||
class MediaSourceTag(str, Enum):
|
||||
OPENLIBRARY = "source_openlibrary"
|
||||
GOOGLE_BOOKS = "source_google_books"
|
||||
COMICVINE = "source_comicvine"
|
||||
LOCG = "source_locg"
|
||||
KOREADER = "source_koreader"
|
||||
SEMANTIC_SCHOLAR = "source_semantic_scholar"
|
||||
|
||||
@classmethod
|
||||
def choices(cls):
|
||||
return [(tag.value, tag.name.replace("_", " ").title()) for tag in cls]
|
||||
|
||||
Reference in New Issue
Block a user