[notifications] Fix duplicate ntfy for board games
All checks were successful
build / test (push) Successful in 1m58s
All checks were successful
build / test (push) Successful in 1m58s
This commit is contained in:
19
PROJECT.org
19
PROJECT.org
@ -93,7 +93,7 @@ fetching and simple saving.
|
|||||||
:LOGBOOK:
|
:LOGBOOK:
|
||||||
CLOCK: [2025-07-09 Wed 09:55]--[2025-07-09 Wed 10:15] => 0:20
|
CLOCK: [2025-07-09 Wed 09:55]--[2025-07-09 Wed 10:15] => 0:20
|
||||||
:END:
|
:END:
|
||||||
* Backlog [2/18] :vrobbler:project:personal:
|
* Backlog [3/19] :vrobbler:project:personal:
|
||||||
** TODO [#C] Add sentiment parsing for Scrobbles with notes :vrobbler:project:scrobbles:sentiment:
|
** TODO [#C] Add sentiment parsing for Scrobbles with notes :vrobbler:project:scrobbles:sentiment:
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:ID: 37781d6a-f3b0-48b2-bf98-33c2c791cf85
|
:ID: 37781d6a-f3b0-48b2-bf98-33c2c791cf85
|
||||||
@ -506,6 +506,9 @@ different in the webhook than what's in the scrobble.log, update the comment in
|
|||||||
the scrobble.log
|
the scrobble.log
|
||||||
|
|
||||||
** TODO [#B] For any scrobble detail page with notes display them better :templates:notes:scrobbles:
|
** TODO [#B] For any scrobble detail page with notes display them better :templates:notes:scrobbles:
|
||||||
|
:PROPERTIES:
|
||||||
|
:ID: c0dcf9da-227f-4a22-bcd9-9d46053607d9
|
||||||
|
:END:
|
||||||
|
|
||||||
*** Description
|
*** Description
|
||||||
|
|
||||||
@ -515,7 +518,19 @@ We should update note rendering to be a simple newest to oldest display in a
|
|||||||
single column with the timestamp has a small header, and the content rendered as
|
single column with the timestamp has a small header, and the content rendered as
|
||||||
markdown with a small bar or horizontal divider marking them from the next note.
|
markdown with a small bar or horizontal divider marking them from the next note.
|
||||||
|
|
||||||
** TODO [#A] Board game imports send duplicate ntfy message :bug:notifications:boardgames:
|
** TODO [#A] Imports should send notifications :feature:notifications:imports:
|
||||||
|
:PROPERTIES:
|
||||||
|
:ID: 6f78f8d5-ecaa-4d8a-a666-ae4e27653191
|
||||||
|
:END:
|
||||||
|
|
||||||
|
*** Description
|
||||||
|
|
||||||
|
Currently importing board games sends out a ntfy message when a scrobble is
|
||||||
|
created.
|
||||||
|
|
||||||
|
We should do the same thing for other import types; namely: gpx, ebird, and scale.
|
||||||
|
|
||||||
|
** DONE [#A] Board game imports send duplicate ntfy message :bug:notifications:boardgames:
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:ID: 8f067432-0399-4b79-9e93-727edcccedbd
|
:ID: 8f067432-0399-4b79-9e93-727edcccedbd
|
||||||
:END:
|
:END:
|
||||||
|
|||||||
@ -562,7 +562,6 @@ def email_scrobble_board_game(
|
|||||||
scrobble.played_to_completion = True
|
scrobble.played_to_completion = True
|
||||||
scrobble.save()
|
scrobble.save()
|
||||||
scrobbles_created.append(scrobble)
|
scrobbles_created.append(scrobble)
|
||||||
ScrobbleNtfyNotification(scrobble).send()
|
|
||||||
|
|
||||||
return scrobbles_created
|
return scrobbles_created
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user