Commit graph

111 commits

Author SHA1 Message Date
Kendall Garner
271be93a96
fix prettier/lint 2024-08-23 08:19:27 -07:00
yuygfgg
0113ef2582
restore comments 2024-07-14 21:15:58 +08:00
yuygfgg
493b81875a
fix blank screen when reopening window on macos 2024-07-14 20:46:04 +08: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
Kendall Garner
961d1838c0
reopen window if exit to tray 2024-05-25 08:14:01 -07:00
Kendall Garner
a9e0689619
activate tray on single click 2024-05-08 19:10:46 -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
Kendall Garner
6824a5db7a
[enhancement]: also save fullscreen/maximize 2024-04-06 21:14:05 -07:00
Kendall Garner
c0110eff82
[enhancement]: save/restore screen position 2024-04-06 19:05:20 -07:00
Kendall Garner
2c17458fdf
[enhancement]: allow copying/opening path in song modal 2024-04-06 16:13:09 -07:00
Alberto Rodríguez
28bb699024
Add a pre-defined server for the docker version (#413)
* Moved build to docker stage.

* Do not copy node_modules to the docker image

* Optimize Docker builds

* Lock a predefined server with enviroment variables

* Added a example docker compose file

* Removed useless layer

* Fix error with empty server type

* pass process via preload, use file, strict server check

* remove duplicate content-type

* update readme, docker compose

* bugfix: server lock false, not jellyfin

* fix preload type definition

* fix docker, web server lock check

---------

Co-authored-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
2024-02-24 06:55:23 +00:00
Kendall Garner
5caf0d439f
[enhancement]: Start minimized (#522)
* [enhancement]: support starting minimized

* show window when dock clicked macos
2024-02-23 16:31:17 +00:00
Kendall Garner
74075fc374
[bugfix]: remove window clear cache handler in main for MacOS 2024-02-18 17:05:45 -08: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
8f4ff9286a Allow deletion on local settings keys 2024-02-12 20:50:50 -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
ff4ce89bc9 Remove "disable mpv" setting and desktop requirement 2024-02-12 14:14:08 -08:00
jeffvli
b69290f9f2 Add listeners and preload for log/toast from main 2024-02-12 14:02:59 -08:00
jeffvli
69f82a9427 Add logger functions and move player functions to feature 2024-02-12 13:58:50 -08:00
Kendall Garner
f82da2e76b
[enhancement]: Support disabling MPV entirely
Supports running Feishin solely using web audio (useful for clients with problems with MPV).
Also moves save/restore queue to utils, as MPV object is now optional
2024-02-11 13:56:29 -08:00
Kendall Garner
0a658e3a22
[bugfix]: default go libsecret, support changing secret store (#493)
* [bugfix]: default go libsecret, support changing secret store

* update readme and rename libsecret
2024-02-09 23:20:01 +00:00
Kendall Garner
92478b5ca5
[bugfix]: update mpris volume when set by mpris 2024-02-07 20:51:07 -08:00
Benjamin
1fb7290603
[bugfix] Fix global hotkeys not working on startup (#488)
* Simple one line fix for global hotkeys

* Clean up codebase via default values
2024-02-04 00:37:53 +00:00
Kendall Garner
9995b2e774
[enhancement]: support clearing query and http cache (#475)
* [enhancement]: support clearing query and http cache

  - Adds the ability to invalidate all queries (useful for forcing refresh, and clearing lyrics which are cached forever)
  - [Desktop only] adds the ability to clear the Electron HTTP cache (e.g. cached images)

* use clearer language

* move cache settings to general
2024-01-31 06:27:56 +00:00
Kendall Garner
8287347f91
expose more mpris metadata 2024-01-28 14:26:02 -08:00
Kendall Garner
3bca85b3a8
Merge pull request #435 from kgarner7/fix-init-timing
[bugfix]: defer restore queue until mpv exists
2024-01-23 05:18:20 +00:00
Kendall Garner
5e9ef9f23f
use type, remove console 2024-01-22 18:52:14 -08:00
Kendall Garner
b3a9e7ccba
default theme dark 2024-01-21 22:58:10 -08:00
Kendall Garner
33972c2a83
titlebar switching 2024-01-21 22:47:59 -08:00
Kendall Garner
f0f2f54e5a
Merge remote-tracking branch 'upstream/development' into origin/fix/#202 2024-01-21 22:22:04 -08:00
Kendall Garner
c5e08b643d
[bugfix]: defer restore queue until mpv exists 2024-01-06 19:24:29 -08:00
jeffvli
fdfbad68e2 Fix app single instance lock (#385) 2023-11-16 23:29:19 -08:00
jeffvli
244c00c4c6 Add discord rich presence (#72) 2023-10-23 06:58:39 -07:00
Kendall Garner
74cab01013
[feature]: Support using system fonts (#304)
* [feature]: Support using system fonts

Uses the **experimental** queryLocalFonts API, when prompted, to get the fonts and do CSS.
Resolves #270 and #288 (by proxy)

Caveats/notes:
- This is experimental, and is only supported by Chrome/Chromium/Edgeium (see https://caniuse.com/?search=querylocalfonts)
- As far as I can tell, the only way to dynamically change the font (shown in https://wicg.github.io/local-font-access/#example-style-with-local-fonts) was by DOM manipulation; css variables did not seem to work
- This shows **all** fonts, including their variants (bold/italic/etc); given that the style names could be localized, not sure of a way to parse this (on my system, for instance, I had 859 different combinations)
- I made fonts a separate top-level setting because it was easier to manipulate without causing as many rerenders; feel free to put that back

* add permission chec

* add electron magic to support custom font

* restrict content types
2023-10-22 15:25:17 -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
jeffvli
c464be8cea Fix quit functionality (#184) 2023-09-27 02:37:03 -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