Add command for running lastfm imports

This commit is contained in:
2023-04-06 13:36:02 -04:00
parent a59bcf054a
commit 59e29d858a
5 changed files with 37 additions and 9 deletions

View File

@ -0,0 +1,7 @@
from django.core.management.base import BaseCommand, no_translations
from vrobbler.apps.scrobbles.utils import import_lastfm_for_all_users
class Command(BaseCommand):
def handle(self, *args, **options):
import_lastfm_for_all_users()