[tasks] Fix path names
All checks were successful
build & deploy / test (push) Successful in 2m28s
build & deploy / build-and-deploy (push) Successful in 34s

This commit is contained in:
2026-05-22 12:18:12 -04:00
parent aeb460d677
commit 9b7fa0d4f8

View File

@ -380,7 +380,7 @@ def backup_database():
@shared_task
def import_from_lastfm_all_users():
"""Import Last.fm scrobbles for all users (replaces */30 cron)."""
from scrobbles.utils import import_lastfm_for_all_users
from vrobbler.apps.scrobbles.utils import import_lastfm_for_all_users
import_lastfm_for_all_users()
@ -400,7 +400,7 @@ def import_from_retroarch_all_users():
DeprecationWarning,
stacklevel=2,
)
from scrobbles.utils import import_retroarch_for_all_users
from vrobbler.apps.scrobbles.utils import import_retroarch_for_all_users
import_retroarch_for_all_users()
@ -408,7 +408,7 @@ def import_from_retroarch_all_users():
@shared_task
def import_from_webdav_all_users():
"""Import from WebDAV for all users (replaces */2 cron)."""
from scrobbles.importers.webdav import import_from_webdav_for_all_users
from vrobbler.apps.scrobbles.importers.webdav import import_from_webdav_for_all_users
import_from_webdav_for_all_users()
@ -416,7 +416,7 @@ def import_from_webdav_all_users():
@shared_task
def import_from_imap_all_users():
"""Import from IMAP for all users (replaces */4 cron)."""
from scrobbles.importers.imap import import_scrobbles_from_imap
from vrobbler.apps.scrobbles.importers.imap import import_scrobbles_from_imap
import_scrobbles_from_imap()
@ -424,7 +424,7 @@ def import_from_imap_all_users():
@shared_task
def import_from_lichess_all_users():
"""Import chess games from Lichess for all users (replaces */20 cron)."""
from boardgames.sources.lichess import import_chess_games_for_all_users
from vrobbler.apps.boardgames.sources.lichess import import_chess_games_for_all_users
import_chess_games_for_all_users()
@ -432,7 +432,7 @@ def import_from_lichess_all_users():
@shared_task
def send_notification_for_in_progress():
"""Send ntfy stop-notifications for in-progress scrobbles (replaces */3 cron)."""
from scrobbles.utils import send_stop_notifications_for_in_progress_scrobbles
from vrobbler.apps.scrobbles.utils import send_stop_notifications_for_in_progress_scrobbles
send_stop_notifications_for_in_progress_scrobbles()
@ -440,6 +440,6 @@ def send_notification_for_in_progress():
@shared_task
def send_mood_checkin():
"""Send mood check-in reminders (replaces @hourly cron)."""
from scrobbles.utils import send_mood_checkin_reminders
from vrobbler.apps.scrobbles.utils import send_mood_checkin_reminders
send_mood_checkin_reminders()