Commit Graph

65 Commits

Author SHA1 Message Date
Mark
4549a8d360 use newer mers and fix merscfg deadlock bug 2024-10-12 00:28:18 +02:00
Mark
4bc3d0b147 fix playback position being lost when moving
when moving a folder, loop, or any other
queue element containing the currently playing
song (unless the song was the first song in
the element), the player would reset the element
and jump to playing its first song again.
this is now fixed.
2024-10-11 21:57:32 +02:00
Mark
01e59249f5 fix compiler errors when only gui feature enabled 2024-10-03 04:23:07 +02:00
Mark
f41bec1423 fix mers, fix space not pausing in idle display
bug that is fixed now:
if a textbox was focused on the main screen,
and then the idle display opened, pressing
spacebar would type a space character into
that textbox (even though the box isnt visible),
and would not trigger pause/resume.
now, the textbox remains unchanged and
the player will pause/resume.
2024-09-26 21:45:43 +02:00
Mark
0d261371b7 (client) add Cross.toml and remove mers support 2024-09-11 20:59:48 +02:00
Mark
aa657382fa change player backend from rodio to playback-rs
because rodio struggled to load some
(possibly broken, but still playable) audio files.
this is not perfect and sometimes suffers from
small lags, and it uses song_finished_polling
instead of being event-driven.
2024-07-14 18:01:01 +02:00
Mark
a714bfd404 adjust cache manager settings 2024-05-28 13:33:27 +02:00
Mark
e03ea4fb59 adjust cache manager in client 2024-05-28 13:30:17 +02:00
Mark
61110f5f4a add more modes to client and change server cli
server can now source its database and files from
another server, but it will have its own
queue and appears as separate to clients.

the client now has gui-syncplayer-{local,network}
modes which show the gui and also play the songs.
using a syncplayer-network mode now automatically
enables the cache manager, which should make
waiting for songs to load less frequent.
2024-05-28 13:20:43 +02:00
Mark
594909e745 update client with new animation 2024-05-28 10:15:01 +02:00
Mark
6eb884e7a5 update client + remake web-ui (server, incomplete) 2024-05-15 22:58:30 +02:00
Mark
0c0c535d2c leftclick on a keybind setting will exit set mode 2024-05-13 19:52:34 +02:00
Mark
a316f6282e update dependencies #1 2024-05-12 15:23:31 +02:00
Mark
a2d24e780a add QueueMove operation 2024-04-01 00:54:00 +02:00
Mark
00b032aceb made some things public 2024-03-31 19:44:22 +02:00
Mark
0fe2648efe include shuffle functionality in folders, remove shuffle and random elements, change ToFromBytes impls 2024-03-30 22:13:59 +01:00
Mark
b70d922fad fix idle keybind, remove debug print 2024-02-08 10:30:01 +01:00
Mark
b22d9ffeb3 add keybinds 2024-02-08 10:19:49 +01:00
Mark
8620fcd4ec add some more functions to -mers and add hooks 2024-01-20 01:19:19 +01:00
Mark
26b06fa336 add sleep_timer.mers example for run-mers mode of the client 2024-01-17 15:05:03 +01:00
Mark
75992a1529 add musicdb-mers and test file for run-mers mode (which adds a 'random' song every 5 seconds) 2024-01-16 20:18:27 +01:00
Mark
d1f2db3e45 fix features, add mers feature, improve merscfg, add run-mers mode 2024-01-16 20:17:11 +01:00
Mark
5ffd71f520 allow modifying songs/albums/artists via db command, now doesnt break database anymore 2024-01-13 14:10:25 +01:00
Mark
f88b96a685 use mers_lib from crates.io to fix project not compiling due to dependency path not existing 2024-01-11 13:24:03 +01:00
Mark
404e9ce8ed Update README, fix Cargo.toml for client, add bin/, add setup.sh 2024-01-10 16:25:00 +01:00
Mark
8a9ee5c9cf fix shuffle not shuffling away first element
and fix dragging selected song not dragging all selected elements but rather only those that pass current filter/search, which was not intended.
2023-12-31 14:16:18 +01:00
Mark
7f33d2daf8 remove unwanted debug print 2023-12-30 18:15:07 +01:00
Mark
48be8942f1 add save button to settings 2023-12-30 18:14:14 +01:00
Mark
b848a0d511 add ways to modify tags, and add a Fav button to client 2023-12-30 18:12:02 +01:00
Mark
daad5c6aae fix bug where album duration would be 1:2:50 instead of 1:02:50 2023-12-27 17:04:02 +01:00
Mark
b1998e3316 add option to show images in AdvancedLabel, available through config via textcfg 2023-12-27 16:57:46 +01:00
Mark
8c434743f8 s 2023-12-27 15:39:53 +01:00
Mark
168f51a5fc add play/pause/stop button to status bar and idle display 2023-11-25 17:02:35 +01:00
Mark
3e86ba921e remove performance print for release builds 2023-11-14 19:46:16 +01:00
Mark
e29fccf20e fix bug and add power saver
power saver will be enabled on bad performance
2023-11-14 18:38:12 +01:00
Mark
d163d4c8c4 fix crash when dragging selected element 2023-11-12 21:08:46 +01:00
Mark
4dcd2967a5 add new fields to default config 2023-11-12 20:53:06 +01:00
Mark
55190d1943 artist image support 2023-11-12 20:52:24 +01:00
Mark
671bf17c53 get rid of GuiElem in favor of explicit Box<dyn GuiElemTrait> 2023-11-05 20:43:55 +01:00
Mark
a151aa8712 -client now compiles with --no-default-features again + small bugfix for syncplayer 2023-11-05 10:45:19 +01:00
Mark
7cae108ffa Added song duration support 2023-11-04 20:06:54 +01:00
Mark
f61f52fdc7 client 2023-10-26 16:18:52 +02:00
Mark
5161b5577d space to play/pause
+ bugfix: when clearing queue, last song's title would still be shown. this is no longer the case
2023-10-25 19:07:57 +02:00
Mark
1eee22bb4b server can now send error messages to clients 2023-10-24 22:50:21 +02:00
Mark
59ae8c06b0 client: library: 'more' menu split up into two columns 2023-10-04 19:53:58 +02:00
Mark
6bab2bc075 added multiselect to the client's library 2023-10-04 16:16:05 +02:00
Mark
3093ec1a25 lib_dir is no longer saved in dbfile 2023-10-04 13:57:55 +02:00
Mark
927177280a added filters to library view 2023-09-28 15:37:10 +02:00
Mark
40d6f7a850 fix syntax error 2023-09-25 17:55:42 +02:00
Mark
0e38114c88 changed search priority to prefer whole-word matches 2023-09-25 17:54:32 +02:00