Commit graph

63 commits

Author SHA1 Message Date
jeffvli
1cf587bc8f restructure files onto electron-vite boilerplate 2025-05-26 17:18:55 -07:00
Kendall Garner
528bef01f0
provide transcoding support 2024-09-01 08:26:30 -07:00
Kendall Garner
e68847f50a
slightly better error handling 2024-08-27 21:27:49 -07:00
Kendall Garner
5b2977e5e8
[enhancement]: support viewing current/setting current time in remote 2024-08-24 13:26:45 -07:00
Kendall Garner
271be93a96
fix prettier/lint 2024-08-23 08:19:27 -07:00
Kendall Garner
110a1a63f0
simplify remote/media session (#632) 2024-07-03 01:47:26 -07:00
Kendall Garner
d57b4b4b68
[bugfix]: properly clean up MPV on quit, use pid for socket (#627)
* fix cleanup

* don't delete file if windows
2024-07-03 01:36:01 -07:00
Vukanović Stefan
297d6f0d2e
LrcLib.net expects durations in seconds, not ms (#603) 2024-05-02 14:14:10 +00:00
Kendall Garner
620cca9ce3
Revert "Upgrade dependencies"
This reverts commit 89688455e0.
2024-04-28 21:03:31 -07:00
Kendall Garner
89688455e0
Upgrade dependencies
- mpris-service: migrate to @jellybrick/mpris-service, which has upgraded dependencies and uses class
- i18next-parser: 6 -> 8. This requires a small change to i18next-parser.config.js
2024-04-28 20:50:52 -07:00
Kendall Garner
0d03b66fe5
prevent change of media state with empty queue 2024-04-20 22:01:29 -07:00
Kendall Garner
ebd2f07447
show macOS warning one, don't show artist link if invalid 2024-04-17 22:44:35 -07:00
Kendall Garner
9339c08777
[bugfix]: handle unclean MPV exit with existing content 2024-04-10 21:18:47 -07:00
jeffvli
9a43ea0e4a Attempt to fix player unresponsive on first start 2024-02-16 22:12:28 -08:00
Kendall Garner
ce9c03b0e1
[bugfix]: Macos trusted accessibility (#512)
* [bugfix]: macos trusted accessibility

* update readme
2024-02-17 03:55:57 +00:00
jeffvli
9b0c9ba3ac Fallback to web player if mpv fails to run 2024-02-13 02:05:59 -08:00
jeffvli
fb08502e51 Add mpv path reload and clear functionality 2024-02-12 21:21:17 -08:00
jeffvli
dcd130fb6c Refactor mpv log to allow for custom toast 2024-02-12 20:50:09 -08:00
jeffvli
60105103f3 Improve mpv error logging 2024-02-12 20:11:55 -08:00
jeffvli
69f82a9427 Add logger functions and move player functions to feature 2024-02-12 13:58:50 -08:00
Kendall Garner
92478b5ca5
[bugfix]: update mpris volume when set by mpris 2024-02-07 20:51:07 -08:00
Kendall Garner
8287347f91
expose more mpris metadata 2024-01-28 14:26:02 -08:00
Kendall Garner
5e9ef9f23f
use type, remove console 2024-01-22 18:52:14 -08:00
Kendall Garner
33972c2a83
titlebar switching 2024-01-21 22:47:59 -08:00
jeffvli
244c00c4c6 Add discord rich presence (#72) 2023-10-23 06:58:39 -07:00
Kendall Garner
9964f95d5d
[Remote] Full PWA support, misc bugfixes (#280)
- Fix setting remote port properly
- Add web worker support (so it can be installed as an "app")
- build fixes/removing stray console.log
2023-10-18 10:49:09 -07:00
jeffvli
ca39409cc3 Respect order of set-queue function (fix race condition) 2023-10-07 16:46:23 -07:00
jeffvli
5e1059870c Fix second song on startup not playing 2023-10-05 21:54:11 -07:00
Kendall Garner
9e3e038d42
[Remote] Actually fix auth (#260)
* fix favicon, basic auth

* actual fix......
2023-09-24 17:31:33 -07:00
Kendall Garner
02b06a07be
fix favicon, basic auth (#259) 2023-09-24 17:02:25 -07:00
Kendall Garner
6e62448b88
fix other places of duration display (and other minor fixes) (#249)
* fix other places of duration display

* add back comma

* add max-width for image
2023-09-20 16:07:40 -07:00
jeffvli
ec457d5125 Lint files based on updated rules 2023-09-15 20:42:38 -07:00
jeffvli
d75ea94161 Fix first launch mpv playback (#210) 2023-09-15 03:08:17 -07:00
jeffvli
8686a7c592 Various lyrics improvements
- Update wording on provider fetcher
- Invalidate query on reset instead of resetQuery
2023-08-07 21:59:55 -07:00
Kendall Garner
c9dbf9b5be
Add remote control (#164)
* draft add remotes

* add favorite, rating

* add basic auth
2023-07-23 05:23:18 -07:00
jeffvli
30e52ebb54 Lint all files 2023-07-01 19:14:12 -07:00
Kendall Garner
2fac9efc1b
initial implementation for password saving (#132)
* initial implementation for password saving

* support restoring password in interceptor

* Fix modal overflow and position styles

* warn about 429, better error handling

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
Co-authored-by: Jeff <42182408+jeffvli@users.noreply.github.com>
2023-06-13 10:52:51 -07:00
Kendall Garner
d6e628099c
Add LrcLib Fetcher (#136)
* lrclib, do not show search/clear buttons if no fetchers configured
2023-06-11 12:45:50 -07:00
jeffvli
493e13ebc0 Fix id return type on netease fetcher 2023-06-09 17:24:34 -07:00
jeffvli
cbc08d6f03 Improve lyrics match with scored searches 2023-06-09 17:24:34 -07:00
jeffvli
255a131f3b Require only single query for search 2023-06-09 17:24:34 -07:00
jeffvli
f8ecb3fc53 Update fetchers to support search 2023-06-09 17:24:34 -07:00
jeffvli
0fa5b6496f Add lyric search functions and query 2023-06-09 17:24:34 -07:00
jeffvli
98fa47348c Replace main lyrics listener with promise handler 2023-06-09 17:24:34 -07:00
jeffvli
d38c846e80 Update lyric fetcher return types 2023-06-09 17:24:34 -07:00
Kendall Garner
007a099951 Lyrics Improvements
- Make the settings text actually consistent with behavior
- Add metadata (artist/track name) for fetched tracks
- Add ability to remove incorrectly fetched lyric
- Add lyric fetch cache; save the last 10 fetches
- Add ability to change offset in full screen, add more comments
2023-06-09 17:24:34 -07:00
jeffvli
c3c1f4cc5f Refactor mpv initialization/cleanup
- Don't re-initialize the player on re-render
- Fixes the player potentially crashing on hot reload
2023-06-06 10:48:47 -07:00
Kendall Garner
85a10c799a address comments 2023-06-04 16:46:05 -07:00
Kendall Garner
85d2576bdc Improved lyric syncing, fetch
- uses a somewhat more sane way to parse lyrics and teardown timeouts
- adds 'seeked' to setCurrentTime to make detecting seeks in lyric much easier
- adds ability to fetch lyrics from genius/netease (desktop only)
2023-06-04 16:46:05 -07:00
Kendall Garner
97ccf3bc6d add media session/mpris 2023-05-26 18:20:27 -07:00