Files
vrobbler/vrobbler/apps/books/constants.py
Colin Powell 3d2f3cbe71
Some checks failed
build & deploy / test (push) Failing after 1m19s
build & deploy / deploy (push) Has been skipped
[tags] Add tags to scrobble media models
2026-03-26 17:32:47 -04:00

24 lines
653 B
Python

#!/usr/bin/env python3
from enum import Enum
BOOKS_TITLES_TO_IGNORE = [
"KOReader Quickstart Guide",
"zb2rhkSwygt9vjkAEBj7tP5KVgFqejJqsJ2W3bYsrgiiKK8XL",
"zb2rhchGpo7P27mofV9hYjT63d9ZaQnbQ6LSfzmkvsYzvARif",
]
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]