Commit Graph

30 Commits

Author SHA1 Message Date
Tom Alexander
18d4ded010 Fully working for in-order watching. 2022-02-21 22:42:00 -05:00
Tom Alexander
9f51c953fe Inserting watched entries but not reading them correctly. 2022-02-21 22:12:42 -05:00
Tom Alexander
2310889e80 Inserting profiles. 2022-02-21 21:49:56 -05:00
Tom Alexander
466af9f1b3 Stop iterating if the reason a video stopped is anything except eof. 2022-02-21 19:33:39 -05:00
Tom Alexander
6eeee7ef04 Properly playing the files in the list instead of hard-coded paths. 2022-02-21 18:50:28 -05:00
Tom Alexander
860f5759c1 Sending the end file event out to listeners. 2022-02-21 18:30:03 -05:00
Tom Alexander
0dd5cf8fe4 Notifying listeners but sending is not working. 2022-02-21 00:05:36 -05:00
Tom Alexander
9621787959 Listening for end file events but not sending them yet. 2022-02-20 23:33:08 -05:00
Tom Alexander
4dc352714c Detect events. 2022-02-20 22:16:51 -05:00
Tom Alexander
e85f9d3d41 Fix hang issue by moving loop logic into separate function to catch all errors. 2022-02-20 22:09:02 -05:00
Tom Alexander
601c1a5cbc Add a second client name fetch to prove issue with early exit. 2022-02-20 21:51:26 -05:00
Tom Alexander
60d2afd10d Check error status of command to start playing file. 2022-02-20 21:48:21 -05:00
Tom Alexander
eb9bfb7862 Playing a video. 2022-02-20 21:36:42 -05:00
Tom Alexander
f28057352f Returning the client name. 2022-02-20 21:21:56 -05:00
Tom Alexander
574a7ee5c1 Sending a command and reading the result. 2022-02-20 20:43:27 -05:00
Tom Alexander
3732f04c36 Returning the result of the command. 2022-02-20 20:38:01 -05:00
Tom Alexander
132d3cc59c I think the read loop is done. 2022-02-20 20:30:56 -05:00
Tom Alexander
8082e5d000 Read frame. 2022-02-20 18:53:43 -05:00
Tom Alexander
7ee1a91549 Parsing frames. 2022-02-20 18:35:47 -05:00
Tom Alexander
6dc4c28bb5 Spawn a task to read from the socket. 2022-02-18 22:48:00 -05:00
Tom Alexander
847ffe50be Shorter sleep. 2022-02-17 21:34:11 -05:00
Tom Alexander
d56a7f32b6 I think I might be sending the first command over the socket. 2022-02-17 21:32:16 -05:00
Tom Alexander
41d5f980ef Starting a command type. 2022-02-15 23:13:09 -05:00
Tom Alexander
498612a5c0 Launch mpv in an idle process. 2022-02-15 22:24:31 -05:00
Tom Alexander
111d9026c5 Running migrations. 2022-02-13 22:16:19 -05:00
Tom Alexander
6e08a0c8c3 Add sqlx and tokio. 2022-02-13 21:36:17 -05:00
Tom Alexander
dd5cc6ffab Sorting. 2022-02-13 21:29:02 -05:00
Tom Alexander
3ccc66b5d7 Iterating over directories. 2022-02-13 21:22:44 -05:00
Tom Alexander
61267f4443 Initialize rust project. 2022-02-13 20:42:52 -05:00
Tom Alexander
0999db00da Initial commit. 2022-02-13 20:42:10 -05:00