Commit graph

447 commits

Author SHA1 Message Date
3f10dbc102 update time-pos in all cases when seeking
otherwise the timeout won't notify of it if playback is paused
2024-11-06 11:39:33 +01:00
73f3e8bdd3 add some timeouts 2024-11-05 21:59:59 +01:00
dae2882e0d playbinsong -> model::song 2024-11-05 21:44:20 +01:00
b5fadce142 fix drag and drop 2024-11-05 16:29:43 +01:00
930430d5ec thingks 2024-11-05 15:38:46 +01:00
cad786213c attempt at error handling in cover art request 2024-11-05 13:28:38 +01:00
4241bbeab4 cover works agen 2024-11-05 12:19:40 +01:00
904cf0c55e wip cover art loading 2024-11-05 12:19:40 +01:00
df215da372 more trace 2024-11-05 12:18:15 +01:00
50a5b9323c correct novideo 2024-11-05 12:18:15 +01:00
bcc0db6748 gapless weak
don't actually want to force output to first track, weak works correctly for all
cases where it matters and is better for mixed media
2024-11-05 12:18:15 +01:00
38b3902f69 show pulsing buffering bar after 3 seconds 2024-11-05 11:33:59 +01:00
88962c629c keep join handles to everything 2024-11-05 11:12:03 +01:00
226c8073d4 store some glib future join handles 2024-11-05 11:02:02 +01:00
c25226f7c2 log some more bullshit 2024-11-05 10:52:33 +01:00
d3641a6f33 attempt at queued seeks 2024-11-05 10:48:50 +01:00
048ab58bf5 just shoot me in the head 2024-11-05 10:38:43 +01:00
6b8834c8ad ignore audio reconfig event 2024-11-05 10:35:20 +01:00
a12cab3619 warn on failed seek 2024-11-05 10:28:18 +01:00
6c01d94f69 this is now a warn 2024-11-05 10:24:59 +01:00
fec04928b8 move sanity check, again 2024-11-05 10:22:50 +01:00
5e62838371 restore seeking 2024-11-05 10:16:22 +01:00
a6378b281a fun with properties 2024-11-05 10:01:10 +01:00
02e3415e72 Revert "use cargo to compile blueprints"
This reverts commit 630b44b352.
2024-11-05 10:01:10 +01:00
6ed96cddb4 just use the notify mechanism for time-pos 2024-11-05 09:36:24 +01:00
630b44b352 use cargo to compile blueprints 2024-11-05 09:27:13 +01:00
0e78318ddc ded 2024-11-05 08:07:33 +01:00
2f84c3932b remove that 2024-11-05 06:29:51 +01:00
3f1d899f0b explicitly ignore unknown events 2024-11-05 06:28:48 +01:00
2c1eb852fd mpv logge 2024-11-04 22:00:25 +01:00
daff4e7dbd move sanity check 2024-11-04 13:54:30 +01:00
f18c413457 mpv logging 2024-11-04 13:52:33 +01:00
28b7bbdf60 icon button 2024-11-04 13:43:30 +01:00
39982edc10 kill signals 2024-11-04 13:34:30 +01:00
224a7ff3dc sanity check 2024-11-04 13:29:10 +01:00
b7f42bce44 warns and clips 2024-11-04 13:22:25 +01:00
f2f6c67383 playlist remove 2024-11-04 12:37:46 +01:00
40612729a1 hm 2024-11-04 12:35:38 +01:00
e262d31261 logging for mpv commands 2024-11-04 12:33:57 +01:00
ea31535bfb shits broken but i still gotta eat 2024-11-04 12:31:43 +01:00
e2902e862d fix oopsie 2024-11-04 11:14:15 +01:00
3c4d3fd80e remove useless generic param 2024-11-04 10:49:42 +01:00
9ff36afb15 remove some signals 2024-11-04 10:41:48 +01:00
b754cb1e11 debug logging idk 2024-11-04 10:13:24 +01:00
fc32b0dc2b no more 2 2024-11-04 08:03:59 +01:00
6483f3dd17 de-warn 2024-11-03 20:18:12 +01:00
fd88c54809 remove leftover externs 2024-11-03 20:08:00 +01:00
e85e606ba9 died twice 2024-11-03 20:03:42 +01:00
616aefc1c4 died once 2024-11-03 20:00:46 +01:00
301c934567 one bastion remains 2024-11-03 19:44:13 +01:00
75ad107517 1 2024-11-03 19:40:12 +01:00
371c966be8 KILL!!!! 2024-11-03 19:38:57 +01:00
e7e7341c89 (sickos) yes... yes!! 2024-11-03 19:36:52 +01:00
1b8a59bef5 im so close 2024-11-03 19:27:22 +01:00
9357c98521 fix playbar seek position 2024-11-03 19:25:32 +01:00
7da4c6cea3 uh huh 2024-11-03 19:08:58 +01:00
99d31fb28f better devbugprinting 2024-11-03 18:51:58 +01:00
d4a2996eac sanity check 2024-11-03 18:50:49 +01:00
ec0992ce54 play queue now works again (sort of) 2024-11-03 18:45:52 +01:00
0a5f8a9162 todo mpris rethink 2024-11-03 18:01:29 +01:00
fc9eae2eda aaalmost theeeereee 2024-11-03 16:27:47 +01:00
acd1d7d803 mute 2024-11-03 16:17:54 +01:00
0c2a614375 volume 2024-11-03 16:11:25 +01:00
e4083288e6 now safer 2024-11-03 15:06:11 +01:00
225292d08a many changes 2024-11-03 14:59:54 +01:00
dbd209f904 peggle two 2024-11-03 13:41:02 +01:00
58ef3e956c observed properties 2024-11-03 13:09:44 +01:00
bbd635c7c0 this bad girl can hold so many architectural changes 2024-11-03 12:51:04 +01:00
40db5b1b18 trying own signal handler impl 2024-11-03 11:57:55 +01:00
3f6909128d move things to window class 2024-11-03 10:37:37 +01:00
c2d9eb61e2 more implementations 2024-11-03 10:20:31 +01:00
d3a37dec1b go less wild with generic traits 2024-11-03 10:16:25 +01:00
8699f7bf4f split up mpv into modules 2024-11-03 10:06:32 +01:00
070f25f862 impl debug for mpv handle 2024-11-03 09:54:22 +01:00
f8d139e36f handle shutdown 2024-11-02 21:20:26 +01:00
dcc528896a fix that 2024-11-02 21:18:27 +01:00
7f70ad44de add a bunch of drop debug statements 2024-11-02 21:15:55 +01:00
b04b4f800d quit mpv on application drop 2024-11-02 21:11:18 +01:00
859e1ca527 sure 2024-11-02 20:57:12 +01:00
8ab1e1e1fa enable mpv verbose logging 2024-11-02 18:25:26 +01:00
b966bc18df don't let that reference hang 2024-11-02 17:29:53 +01:00
ad51d16a06 many such cases 2024-11-02 17:05:26 +01:00
2aee230606 use event listener for mpv wakeup 2024-11-02 16:50:10 +01:00
f194e1a608 no sync no send no nuthin 2024-11-02 16:22:57 +01:00
45391b3da5 implement error for mpv error 2024-11-02 16:21:13 +01:00
4e2c992cc9 hauuu so complicated 2024-11-02 15:43:43 +01:00
8a6a056b36 wip translate window.vala 2024-11-02 12:24:25 +01:00
34bec8fdae bah 2024-11-02 11:30:00 +01:00
055df38c32 remove some unwraps 2024-11-02 11:18:33 +01:00
a027922b0e impl Error for subsonic error and one other thing 2024-11-02 11:14:38 +01:00
bc9b61aac0 translate setup dialog 2024-11-02 10:50:12 +01:00
ed3b837c79 more attempts at boilerplate removal 2024-11-02 09:42:11 +01:00
9ecb0db1f8 equivalent exchange of boilerplate 2024-11-02 09:34:57 +01:00
173494c71f remove some boilerplate 2024-11-02 08:54:44 +01:00
3b3e3166ca url things 2024-11-02 08:46:37 +01:00
76a8315434 dont need main.vala anymore 2024-11-02 08:31:48 +01:00
c227e8caea directly provide playqueue list model 2024-11-02 08:28:31 +01:00
35aa3e3101 cippy 2024-11-01 21:39:43 +01:00
5d949d4c0f fix double password storage 2024-11-01 20:51:32 +01:00
62e5fce1f3 yeah 2 2024-11-01 20:48:40 +01:00
dae37216fe thats him officer kill that man 2024-11-01 20:39:10 +01:00
7f20e422d7 yeah 2024-11-01 20:04:15 +01:00
a8776faa1f more mpris etc etc 2024-11-01 20:04:15 +01:00
7279532745 signals signals 2024-11-01 20:04:15 +01:00
83e627d3d2 finally make volume slider bidirectional 2024-11-01 20:04:15 +01:00
472770013e weaken that one playbin reference 2024-11-01 20:04:15 +01:00
19528beb22 mostly full mpris support, again 2024-11-01 16:14:52 +01:00
d873d03973 can now set volume again thru mpris 2024-11-01 15:17:37 +01:00
6272c2ce07 dog shit metadata map 2024-11-01 14:54:09 +01:00
519424d42f fix zbus executor ticking 2024-11-01 13:58:59 +01:00
286c0e552d some of those are optional 2024-11-01 13:55:47 +01:00
940254b4fd drop(window) 2024-11-01 13:53:55 +01:00
b3a5fc146a blaargh 2024-11-01 13:50:29 +01:00
56d4057d87 some fixes 2024-11-01 13:02:27 +01:00
62c71dbd26 holy fruck there's actually a way
im sorry i ever doubted u gtkrs
2024-11-01 12:57:20 +01:00
e1af996482 todo mpris player server 2024-11-01 12:45:01 +01:00
b069a2ddb7 remove uneeded vala classes 2024-11-01 12:14:12 +01:00
d808f30005 zbus moment 2024-11-01 12:11:49 +01:00
3923635703 nah do that instead 2024-11-01 10:22:36 +01:00
66fa21f50f also have tokio do streaming json parsing 2024-11-01 10:16:02 +01:00
6892f99070 inline that one fixup method 2024-11-01 09:59:32 +01:00
9f97a2cae3 cordon off the tokio runtime to the subsonic client 2024-11-01 09:58:03 +01:00
abd2331eb2 Okay Cippy 2024-11-01 09:47:23 +01:00
931c7f5d2b some constants 2024-11-01 09:47:03 +01:00
b43a8ac4d0 test getRandomSongs endpoint 2024-11-01 09:43:55 +01:00
2a87d6d9dc couple things 2024-11-01 09:32:20 +01:00
68c256488d more subsonic client bullshit 2024-11-01 09:29:59 +01:00
2e4778f2f9 but safer 2024-10-31 21:57:31 +01:00
b3b0160497 add more undefined behaviour 2024-10-31 21:41:02 +01:00
dee7c2e396 rust subsonic client basics 2024-10-31 13:17:35 +01:00
0320e12206 kill ffi 2024-10-31 12:02:58 +01:00
efbe32ed22 translate play queue widget 2024-10-31 12:02:00 +01:00
118b2d6f7e smal fix 2024-10-31 11:47:03 +01:00
96067675d4 empty wrapper for play queue ui 2024-10-31 11:24:58 +01:00
b53b3d8362 mostly translate play queue song widget 2024-10-31 11:17:12 +01:00
620d5803e6 was that really useless 2024-10-31 08:25:33 +01:00
f07641622e wrap ui setup dialog 2024-10-31 08:24:28 +01:00
d49c348781 rust.vapi 2024-10-31 08:20:36 +01:00
e5871e0bfc finish porting playbar 2024-10-31 08:19:03 +01:00
74b0183e1c swappe 2024-10-31 08:17:32 +01:00
0dab31137c use GStrings 2024-10-31 08:15:35 +01:00
ab354a35c0 unfuck playbar 2024-10-31 07:59:09 +01:00
f8015fbe10 seekbar also works again 2024-10-30 13:25:27 +01:00
bf8b02de12 volume slider works again 2024-10-30 13:09:22 +01:00
0f2351ae01 make the play pause button work again 2024-10-30 12:59:16 +01:00
6f3b3537ad wip translated ui playbar class 2024-10-30 12:45:50 +01:00
b94d41542f wrap playbar 2024-10-30 11:42:03 +01:00
c98290d4f0 wrap some classes and a struct 2024-10-30 10:06:10 +01:00
427e42a087 remove useless include 2024-10-30 10:01:14 +01:00
4ee544a88d try better meson_config.rs handling 2024-10-30 09:05:10 +01:00