[tasks] Fix source checking for emacs/orgmode tasks when updating
This commit is contained in:
20
todos.org
20
todos.org
@ -1,6 +1,26 @@
|
|||||||
#+title: TODOs
|
#+title: TODOs
|
||||||
|
|
||||||
* Version 17
|
* 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 [#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:
|
** 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
|
Pretty clear, I would love to make trails more useful. Historically I wasn't
|
||||||
|
|||||||
@ -508,7 +508,7 @@ def emacs_scrobble_update_task(
|
|||||||
in_progress=True,
|
in_progress=True,
|
||||||
user_id=user_id,
|
user_id=user_id,
|
||||||
log__source_id=emacs_id,
|
log__source_id=emacs_id,
|
||||||
log__source="emacs",
|
log__source="orgmode",
|
||||||
).first()
|
).first()
|
||||||
|
|
||||||
if not scrobble:
|
if not scrobble:
|
||||||
|
|||||||
Reference in New Issue
Block a user