Compare commits
3 Commits
master
...
danio-patc
Author | SHA1 | Date | |
---|---|---|---|
753cb87104 | |||
5c3df04b8d | |||
f458e5c5b4 |
@ -13,7 +13,7 @@ The API is described and can be tested at `http:/localhost:8080/docs/swagger` wh
|
|||||||
|
|
||||||
Gregorz manages a MPV process, meaning you need to have MPV installed on your system. Look for it in your package manager.
|
Gregorz manages a MPV process, meaning you need to have MPV installed on your system. Look for it in your package manager.
|
||||||
|
|
||||||
sudo pip install git+https://git.pvv.ntnu.no/Grzegorz/grzegorz#master
|
sudo pip install git+https://github.com/Programvareverkstedet/grzegorz#master
|
||||||
sanic grzegorz.app --host :: --port 8080
|
sanic grzegorz.app --host :: --port 8080
|
||||||
|
|
||||||
Details are over [here](https://sanic.dev/en/guide/deployment/running.html#running-via-command).
|
Details are over [here](https://sanic.dev/en/guide/deployment/running.html#running-via-command).
|
||||||
|
12
flake.lock
generated
12
flake.lock
generated
@ -8,11 +8,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725463969,
|
"lastModified": 1713887124,
|
||||||
"narHash": "sha256-d3c1TAlIN1PtK+oQP1wO6XbDfmR4SUp/C/4s7G46ARo=",
|
"narHash": "sha256-hGTSm0p9xXUYDgsAAr/ORZICo6T6u33vLfX3tILikaQ=",
|
||||||
"owner": "GuillaumeDesforges",
|
"owner": "GuillaumeDesforges",
|
||||||
"repo": "fix-python",
|
"repo": "fix-python",
|
||||||
"rev": "2926402234c3f99aa8e4608c51d9ffa73ea403c0",
|
"rev": "f7f4b33e22414071fc1f9cbf68072c413c3a7fdf",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -40,11 +40,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726755586,
|
"lastModified": 1715266358,
|
||||||
"narHash": "sha256-PmUr/2GQGvFTIJ6/Tvsins7Q43KTMvMFhvG6oaYK+Wk=",
|
"narHash": "sha256-doPgfj+7FFe9rfzWo1siAV2mVCasW+Bh8I1cToAXEE4=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c04d5652cfa9742b1d519688f65d1bbccea9eb7e",
|
"rev": "f1010e0469db743d14519a1efd37e23f8513d714",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -26,10 +26,9 @@ class MPV:
|
|||||||
return [
|
return [
|
||||||
'mpv',
|
'mpv',
|
||||||
f'--input-ipc-server={str(cls._ipc_endpoint)}',
|
f'--input-ipc-server={str(cls._ipc_endpoint)}',
|
||||||
|
'--pipewire-remote=/run/user/1003/pipewire-0', # Cage doesn't set up XDG variables properly?
|
||||||
'--idle',
|
'--idle',
|
||||||
'--force-window',
|
|
||||||
*(('--fullscreen',) if not IS_DEBUG else ()),
|
*(('--fullscreen',) if not IS_DEBUG else ()),
|
||||||
'--ytdl-format=bestvideo[height<=?1080]',
|
|
||||||
'--no-terminal',
|
'--no-terminal',
|
||||||
'--load-unsafe-playlists',
|
'--load-unsafe-playlists',
|
||||||
'--keep-open', # Keep last frame of video on end of video
|
'--keep-open', # Keep last frame of video on end of video
|
||||||
|
949
poetry.lock
generated
949
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -9,7 +9,7 @@ license = "MIT"
|
|||||||
python = ">=3.8,<4.0"
|
python = ">=3.8,<4.0"
|
||||||
mpv = ">=0.1" # TODO: do we use this?
|
mpv = ">=0.1" # TODO: do we use this?
|
||||||
yt-dlp = ">=2023.9.24"
|
yt-dlp = ">=2023.9.24"
|
||||||
sanic = ">=23.12.0,<25"
|
sanic = ">=23.12.0,<24"
|
||||||
sanic-ext = ">=23.12.0,<24"
|
sanic-ext = ">=23.12.0,<24"
|
||||||
#sanic-openapi = ">=21.6.1"
|
#sanic-openapi = ">=21.6.1"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user