[tasks] Fix source checking for emacs/orgmode tasks when updating

This commit is contained in:
2025-06-12 09:51:57 -04:00
parent 6fc8084f2d
commit d917dd8b2c
2 changed files with 21 additions and 1 deletions

View File

@ -1,6 +1,26 @@
#+title: TODOs
* Version 17
** DONE [#A] Emacs is not syncing notes :personal:scrobbling:emacs:bug:
:PROPERTIES:
:ID: c79cd491-b30f-0945-d84b-b8cac7562791
:END:
<2025-06-12 Thu 9:30>
Not sure if the problem is in my Emacs hook sending or Vrobbler itself.
- Note taken on [2025-06-12 Thu 09:47]
Adding a quick note to check on it
- Note taken on [2025-06-12 Thu 09:50]
Ah ha. All the messing about with the source field meant that I was looking
for `emacs` as a source but the hook was initially setting sources to
`orgmode` I think I prefer `orgmode` as the source, so updating it thusly.
Fixed in `490d60cbbb1f8bf90b5fc47d8685b15bdc1d485b`
** TODO [#A] Show the description of a task in the string rep for a scrobble of a Task :personal:project:scrobbling:vrobbler:feature:
** TODO [#B] Add AllTrails as a source for Trail data :vrobbler:trails:feature:personal:project:
Pretty clear, I would love to make trails more useful. Historically I wasn't

View File

@ -508,7 +508,7 @@ def emacs_scrobble_update_task(
in_progress=True,
user_id=user_id,
log__source_id=emacs_id,
log__source="emacs",
log__source="orgmode",
).first()
if not scrobble: