Commit graph

58 commits

Author SHA1 Message Date
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
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
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
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
60105103f3 Improve mpv error logging 2024-02-12 20:11:55 -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
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
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
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
jeffvli
c464be8cea Fix quit functionality (#184) 2023-09-27 02:37:03 -07:00
Kendall Garner
d7f21b3c6b
special socket for dev; defer to default otherwise (#258)
* special socket for dev; defer to default otherwise

* Add write-all permissions to docker push

* special socket for dev; defer to default otherwise

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
2023-09-24 16:56:45 -07:00
jeffvli
fd264daffc Add new app icon (#232) 2023-09-21 11:24:20 -07:00
Benjamin
d9049ed066
Prevent MPV from loading user config/scripts (#247) 2023-09-20 16:27:36 -07:00
Kendall Garner
1acfa93f1a
Improve MPV initialization and restore (#222)
- set mpv settings only after it has successfully started (at least on linux, settings were not taken)
- change timing of restore queue to behave properly
2023-08-24 18:28:50 -07:00
jeffvli
6f969294b0 Set macos titlebarstyle to default 2023-08-10 01:54:15 -07:00
jeffvli
3c278d5e17 Add frame to macOS native window bar 2023-08-09 21:07:27 -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
Gelaechter
22160ba59f
Show first instance when starting a second one (#149) 2023-07-01 12:45:08 -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
jeffvli
7430bba853 Update minimum app dimensions 2023-06-04 16:46:05 -07:00
jeffvli
6d092d9ebc Add native frame styles per OS 2023-05-27 14:02:10 -07:00
Gelaechter
a878875f83 Add native titlebar & fix app restart for AppImages 2023-05-27 14:02:10 -07:00
jeffvli
e6a4ce2e64 Set global media hotkeys enabled by default 2023-05-21 19:43:42 -07:00
Kendall Garner
106fc90c4a
Add ability to save/restore queue (#111)
* add ability to save/restore play queue

* Add restoreQueue action

* Add optional pause param on setQueue

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
2023-05-21 02:29:58 -07:00
jeffvli
c8b1b4d394 Update electron web preferences 2023-05-20 20:21:14 -07:00
jeffvli
0320fe6dcc Add mpv load error notification
- Add retry limit on error
2023-05-20 20:19:41 -07:00
jeffvli
6a01d44600 Clean up mpv startup 2023-05-20 19:56:17 -07:00
jeffvli
7dd56bfb9b Add --idle to default mpv parameters (#76) 2023-05-20 14:40:55 -07:00
jeffvli
d7f24262fd Add hotkeys manager
- Add configuration to settings store
- Initialize global hotkeys on startup from renderer
2023-05-13 22:55:58 -07:00
jeffvli
c87905f6c2 Set auto_restart prop to true on mpv instance 2023-05-09 18:55:54 -07:00
jeffvli
598b627bb4 Supress errors from main process 2023-04-03 04:13:41 -07:00
jeffvli
77bfb916ba MPV player enhancements
- start the player from the renderer
- dynamically modify settings without restart
2023-04-02 21:41:32 -07:00
jeffvli
293d8ec584 Add setting to disable auto update 2023-03-31 06:15:04 -07:00
jeffvli
2b1c1d5e59 Add tray settings (#49) 2023-03-30 08:09:20 -07:00