Commit graph

19 commits

Author SHA1 Message Date
jeffvli
c7a473d864 refactor api controller to internalize server fetch 2025-11-02 21:56:35 -08:00
Kendall Garner
58ccd0cfd0
bugfix: remove duplicate scrobbling when there is only one item in the queue (#1222) 2025-10-25 20:25:07 +00:00
Gabriele Mancini
6abdbd2f3e
Feature: added silent song notification setting (#1129)
* feat: added silent song notification
2025-09-17 21:06:59 -07:00
Tarulia
da42fd78d2 cleanup notification text 2025-09-08 17:20:03 +02:00
Lyall
a44ad66d46 add private mode toggle to app menu 2025-07-31 16:12:03 +01:00
Kendall Garner
69341f4492
More typechecks on scrobble, use timeout on notification (#1004) 2025-07-10 13:53:40 +00:00
Kendall Garner
e00aeb2b67
enable notify, simplify use-scrobble with types, remove unused check 2025-07-07 19:25:25 -07:00
jeffvli
930165d006 fix all imports for new structure 2025-05-26 17:20:02 -07:00
jeffvli
1cf587bc8f restructure files onto electron-vite boilerplate 2025-05-26 17:18:55 -07:00
Kendall Garner
0115ecb59b
fix repeat one/repeat all scrobble 2025-04-20 10:54:44 -07:00
Kendall Garner
ab17ba8add
[bugfix]: fix scrobble race conditions 2024-04-01 22:13:06 -07:00
Kendall Garner
eff1cee6a3
[bugfix]: Fix repeated track scrobbling (#480)
* [bugfix]: Fix repeated track scrobbling

This commit fixes scrobbling tracks that are repeated in the queue (either due
to a REPEAT_ONE or just enqueued multiple times). There are two extra cases:

1. The current player changes. The player alternates from 1 -> 2 -> 1 whenever playback
finishes normally, so this is a sort of epoch that can be used to detect both repeat one
and track being enqueued multiple times.
2. The current index changes. The player gets set back to 1 in a variety of cases (most often
previous/next), so the check in (1) is not enough. However, the index changing will help identify
that this is a new song.

* use unique id instead
2024-02-01 04:12:39 +00:00
jeffvli
cca6fa21db Adjust scrobble duration to check in ms 2023-10-05 22:11:48 -07:00
Kendall Garner
6bac172bbe
fix scrobble durations (#269)
* fix scrobble durations

* Fix scrobble condition on last song in queue, normalize ms

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
2023-10-05 21:45:47 -07:00
jeffvli
30e52ebb54 Lint all files 2023-07-01 19:14:12 -07:00
jeffvli
314bd766df Refactor all api instances in components 2023-04-30 22:01:52 -07:00
jeffvli
eecbcddea3 Refactor settings store and components 2023-03-30 06:44:33 -07:00
Jeff
484c96187c
Add scrobble functionality (#19)
* Fix slider bar background to use theme

* Add "scrobbleAtDuration" to settings store

* Add subscribeWithSelector and playCount incrementor

* Add scrobbling API and mutation

* Add scrobble settings

* Begin support for multi-server queue handling

* Dynamically set version on auth header

* Add scrobbling functionality for navidrome/jellyfin
2023-01-30 20:01:57 -08:00
jeffvli
e87c814068 Add files 2022-12-19 17:44:40 -08:00