Skip to content

Commit c7ca533

Browse files
committed
Send notification on duplicate scrobble
1 parent 12fed77 commit c7ca533

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

trakt_scrobbler/trakt_interface.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def scrobble(verb, media_info, progress, *args, **kwargs):
123123
return None
124124
elif scrobble_resp.status_code == HTTPStatus.CONFLICT:
125125
logger.warning("Scrobble already exists on trakt server.")
126+
notify("Scrobble already exists on trakt server.", category="trakt")
126127
return None
127128

128129
return scrobble_resp.json() if scrobble_resp else False

0 commit comments

Comments
 (0)