Commit graph

27 commits

Author SHA1 Message Date
1ff2a7a1ea
Optimize binary size more 2024-02-16 12:26:43 +03:00
eNV25
dbc4e5c8f0
Refactor {send,read}_message() (#11)
* Refactor {send,read}_message()

* Use binding for Take

---------

Co-authored-by: Ryze <50497128+ryze312@users.noreply.github.com>
2024-02-16 08:53:21 +00:00
eNV25
ce98b95008
Respect options passed by ff2mpv extension (#12)
* Respect options passed by ff2mpv extension

The upstream ff2mpv extension started passing `options`. Respect
those by passing them after our `config.player_args`.

* Restore the order of imports

---------

Co-authored-by: Ryze <50497128+ryze312@users.noreply.github.com>
2024-02-16 08:33:12 +00:00
a971c7c35b Pass --no-terminal to mpv (#10) 2024-02-14 18:44:34 +03:00
738015c947 Add manifest_chromium to README and help message 2024-02-14 16:52:45 +03:00
a10e8706b8 Bump version and dependencies 2024-02-14 16:34:35 +03:00
a3388efb97 Add command for Chromium manifest 2024-02-14 16:30:22 +03:00
1c47fe8c98 Use cargo config to build multiple targets 2024-02-14 14:30:17 +03:00
550bd3a818 Use -- to separate args and URL
Fixes #10
2024-02-14 10:52:24 +03:00
44cf917ecf Specify static lifetime in CONFIG_FILENAME 2024-02-14 09:32:00 +03:00
3566df75e7
Config improvements from #8
- Use #[serde(default)] on the whole struct instead of defaults for separate fields
- Use unwrap_or_default() instead of matching
- Wrap config filename in constant

Co-authored-by: Markus Pettersson <mpettersson@tutanota.com>
2023-11-28 22:29:03 +03:00
392c7937b1
Change release profile directly and add dev profile with optimizations. Fixes #9 2023-10-31 02:14:33 +03:00
4fcc2ac31f Spawn player with CREATE_BREAKAWAY_FROM_JOB on Windows 2023-10-21 21:39:12 +03:00
4aa4ca5d8c
Add Cargo.lock. Fixes #4 2023-09-04 23:10:55 +03:00
d4a633468e
Merge pull request #2 from Gobbel2000/improvements
Send reply to browser and suppress output from mpv
2023-04-10 02:59:50 +03:00
Gabriel Vogel
3c9db73c54 Send correct reply and suppress mpv output
This prevents errors in the browser log
2023-04-09 16:50:42 +02:00
Gabriel Vogel
5d7c23124c Reenable send_reply
This reverts commit 36fb89b956
                and 76e8c0d8f2.
2023-04-09 16:33:29 +02:00
36fb89b956
Remove unused Write trait import 2023-03-14 22:19:07 +03:00
76e8c0d8f2
Remove unneccesary send_reply 2023-03-14 22:10:51 +03:00
43c3cae634
Version 1.1.0 2023-03-14 21:27:50 +03:00
d3b7e13a5a
Update README 2023-03-14 21:25:10 +03:00
78555c3d93
Added example configuration file 2023-03-14 21:22:54 +03:00
ab586ba197
Refactor, added config file for custom players and cli interface 2023-03-14 20:48:43 +03:00
7de78329fb
Make clippy happy 2023-03-14 14:25:43 +03:00
ab554ead23
Newlines at the end 2023-02-13 21:34:10 +03:00
72937872cd
Version 1.0.0 2023-02-13 21:20:26 +03:00
d1cacecb48
Initial commit 2023-02-13 21:14:26 +03:00