Commit Graph
375 Commits
Author SHA1 Message Date
Drew Weymouth d9cec2e493 limit MPV back cache too 2024-06-25 07:34:16 -07:00
Drew Weymouth 396547d0d6 add back mistakenly deleted line 2024-06-24 18:54:58 -07:00
Drew Weymouth 7793fd8fdb Refactor: move some playback-related functions to backend package 2024-06-24 18:49:30 -07:00
Drew Weymouth 1ddc6dc8a9 exclude track itself from similar tracks in either codepath 2024-06-24 08:25:49 -07:00
Drew Weymouth 7f6335c428 add similar songs fallback when server returns none 2024-06-24 08:23:49 -07:00
Drew Weymouth 17dfa1132f add -seek-by CLI arg 2024-06-23 16:09:50 -07:00
Drew Weymouth 1ed561c178 don't crash if server returns nil saved play queue but no error 2024-06-19 07:45:53 -07:00
Drew Weymouth c0e120a397 use valid pipe name on Windows 2024-06-13 07:55:57 -07:00
Drew Weymouth 8570bcd25a if AllowMultiInstance, don't have second instance try to start IPC server 2024-06-12 18:39:07 -07:00
Drew Weymouth bfb869fadc a few fixes 2024-06-12 18:08:22 -07:00
Drew Weymouth 280030c858 add cmdline flags and some fixes to the IPC layer 2024-06-12 17:21:15 -07:00
Drew Weymouth 8e815c644a reactivate works through ipc now, at least on Mac 2024-06-12 09:07:15 -07:00
Drew Weymouth e0974fdb03 more WIP 2024-06-10 08:28:41 -07:00
Drew Weymouth 969c30f35a add window actions to ipc 2024-06-10 07:59:06 -07:00
Drew Weymouth d6cac62704 beginning of client 2024-06-09 11:10:10 -07:00
Drew Weymouth a851e0f600 skeleton of IPC mechanism to allow playback control with cmdline flags 2024-06-09 09:33:50 -07:00
Drew Weymouth e3dc2e3079 Fix #397: use different context menu for Play Queue and Related lists 2024-06-08 11:25:45 -07:00
Drew Weymouth b3049ed0f6 some fixes around saved play queue loading 2024-06-03 19:33:25 -07:00
Drew Weymouth c6b6da1f06 workaround Navidrome's incorrect getLyricsBySongId response schema 2024-06-03 08:12:15 -07:00
Drew Weymouth 9766aedf7a fix possible crash when switching servers with pending image fetches 2024-06-02 14:55:03 -07:00
Drew Weymouth 0d848aecbd don't crash with index out of range when removing radios from saved play queue 2024-06-02 08:46:07 -07:00
Drew Weymouth b7af1e716c use radio icon for image placeholder for radio stations 2024-06-01 17:42:40 -07:00
Drew Weymouth dcd714453e prevent radio stations from being seeked 2024-06-01 12:41:05 -07:00
Drew Weymouth bfa3dc9892 more progress on radios 2024-06-01 12:18:28 -07:00
Drew Weymouth 77d21717f6 add missed files in previous commit 2024-06-01 11:20:13 -07:00
Drew Weymouth a88d29887a defensive programming to mitigate nil dereference 2024-06-01 10:49:26 -07:00
Drew Weymouth 3d6bd910f2 fix nil interface bug 2024-06-01 10:32:52 -07:00
Drew Weymouth 82d4546096 refactor tracklist to use MediaItem, even if it only contains tracks 2024-06-01 10:15:18 -07:00
Drew Weymouth c6c1341f8f fix some logic errors from refactoring 2024-05-31 17:21:33 -07:00
Drew Weymouth 0a902aef9f refactoring continued - compiles now 2024-05-31 16:37:14 -07:00
Drew Weymouth f67a0c5fc1 in progress MediaItem refactor - does not build 2024-05-31 09:35:46 -07:00
Drew Weymouth d51e4d216a much cleaner approach to handling different columns between compact/expanded tracklists 2024-05-30 18:29:25 -07:00
Drew Weymouth 3f8a2e1d1e add LrcLib as a fallback lyric provider 2024-05-25 16:56:41 -07:00
Drew Weymouth d08b563b8c Fix #371: add a portable mode option 2024-05-25 08:28:50 -07:00
Drew Weymouth ce647c27b9 Fix #387: pass offset to subsonic random album fetch call 2024-05-20 18:17:41 -07:00
Drew Weymouth e4854abb20 infer synced lyrics for Jellyfin even if metadata missing 2024-05-18 16:37:32 -07:00
Drew Weymouth 3273f45594 hook up with Jellyfin lyrics 2024-05-17 08:38:43 -07:00
Drew Weymouth e7b2b821f3 hook up seek for synced lyrics 2024-05-16 19:22:08 -07:00
natilou f52a15e1da remove import not used 2024-05-02 21:02:52 -03:00
natilou e925b2fd2d chore: Delete cache playlists when playlists are modified 2024-05-02 20:36:50 -03:00
Drew Weymouth d6ab56765d don't crash on exit when saving play queue with nothing playing 2024-04-21 09:13:34 -07:00
Drew Weymouth f1aee40b05 pull in queue parsing fix 2024-04-16 19:37:35 -07:00
Drew Weymouth 63b0ab7374 add settings dialog radio for saving queue locally or to server 2024-04-16 18:13:22 -07:00
Drew Weymouth 8eeb2aa53a add config setting for save queue to server 2024-04-16 17:26:46 -07:00
Drew Weymouth 4d6626b7f2 add restoring of play queue from server 2024-04-16 17:26:46 -07:00
Drew Weymouth 98a140791b beginning of work to save queue to server 2024-04-16 17:26:46 -07:00
Drew Weymouth 36555fe64f remove now-unneeded time import 2024-04-14 10:11:23 -07:00
Drew Weymouth 4aa90187fe just use rand.Shuffle 2024-04-14 10:08:14 -07:00
Michael Manganiello 14bfaac7a2 feat: Add sorting options for Artists
Include both `Album Count` and `Random` sortings for the Artists page.

This change also fixes the Artist search feature in Jellyfin, which was
broken because of an open issue on Jellyfin [1]. The current workaround
is to do the filtering locally after receiving all results from Jellyfin
API.

Also, as the Jellyfin API doesn't include a sorting option for
`AlbumCount`, we need to disable pagination when that option is
selected, to receive all artists, and run the sorting locally.

[1] Related issue: https://github.com/jellyfin/jellyfin/issues/8222
2024-04-13 21:04:51 -03:00
Michael Manganiello 1e05d88a8d misc: Move Jellyfin Artist iterator to separate file 2024-04-13 20:17:38 -03:00