Add scrobble log option and CLI tool

This commit is contained in:
2023-01-05 13:39:56 -05:00
parent 68c1b3c6f0
commit 41a74f46c8
6 changed files with 100 additions and 10 deletions

View File

@ -21,6 +21,7 @@ class Scrobble(TimeStampedModel):
source = models.CharField(max_length=255, **BNULL)
source_id = models.TextField(**BNULL)
in_progress = models.BooleanField(default=True)
scrobble_log = models.TextField(**BNULL)
@property
def percent_played(self) -> int: