|
@@ -858,12 +858,12 @@ def manual_scrobble_task(url: str, user_id: int, source: str = "Vrobbler", actio
|
|
|
"log": {"description": description, "source_id": source_id},
|
|
"log": {"description": description, "source_id": source_id},
|
|
|
}
|
|
}
|
|
|
logger.info(
|
|
logger.info(
|
|
|
- "[vrobbler-scrobble] webpage scrobble request received",
|
|
|
|
|
|
|
+ "[vrobbler-scrobble] task scrobble request received",
|
|
|
extra={
|
|
extra={
|
|
|
"task_id": task.id,
|
|
"task_id": task.id,
|
|
|
"user_id": user_id,
|
|
"user_id": user_id,
|
|
|
"scrobble_dict": scrobble_dict,
|
|
"scrobble_dict": scrobble_dict,
|
|
|
- "media_type": Scrobble.MediaType.WEBPAGE,
|
|
|
|
|
|
|
+ "media_type": Scrobble.MediaType.TASK,
|
|
|
},
|
|
},
|
|
|
)
|
|
)
|
|
|
scrobble = Scrobble.create_or_update(task, user_id, scrobble_dict)
|
|
scrobble = Scrobble.create_or_update(task, user_id, scrobble_dict)
|