Compare commits

..

3 Commits

Author SHA1 Message Date
451df57c9d
README: update project url 2025-01-06 16:54:02 +01:00
d10db19d7d flake.lock: Update
Flake lock file updates:

• Updated input 'fix-python':
    'github:GuillaumeDesforges/fix-python/f7f4b33e22414071fc1f9cbf68072c413c3a7fdf' (2024-04-23)
  → 'github:GuillaumeDesforges/fix-python/2926402234c3f99aa8e4608c51d9ffa73ea403c0' (2024-09-04)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f1010e0469db743d14519a1efd37e23f8513d714' (2024-05-09)
  → 'github:NixOS/nixpkgs/c04d5652cfa9742b1d519688f65d1bbccea9eb7e' (2024-09-19)
2024-09-20 21:51:51 +02:00
b534d7c111 bump sanic, poetry lock 2024-09-20 21:51:45 +02:00
5 changed files with 518 additions and 450 deletions

View File

@ -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.
sudo pip install git+https://github.com/Programvareverkstedet/grzegorz#master
sudo pip install git+https://git.pvv.ntnu.no/Grzegorz/grzegorz#master
sanic grzegorz.app --host :: --port 8080
Details are over [here](https://sanic.dev/en/guide/deployment/running.html#running-via-command).

12
flake.lock generated
View File

@ -8,11 +8,11 @@
]
},
"locked": {
"lastModified": 1713887124,
"narHash": "sha256-hGTSm0p9xXUYDgsAAr/ORZICo6T6u33vLfX3tILikaQ=",
"lastModified": 1725463969,
"narHash": "sha256-d3c1TAlIN1PtK+oQP1wO6XbDfmR4SUp/C/4s7G46ARo=",
"owner": "GuillaumeDesforges",
"repo": "fix-python",
"rev": "f7f4b33e22414071fc1f9cbf68072c413c3a7fdf",
"rev": "2926402234c3f99aa8e4608c51d9ffa73ea403c0",
"type": "github"
},
"original": {
@ -40,11 +40,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1715266358,
"narHash": "sha256-doPgfj+7FFe9rfzWo1siAV2mVCasW+Bh8I1cToAXEE4=",
"lastModified": 1726755586,
"narHash": "sha256-PmUr/2GQGvFTIJ6/Tvsins7Q43KTMvMFhvG6oaYK+Wk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f1010e0469db743d14519a1efd37e23f8513d714",
"rev": "c04d5652cfa9742b1d519688f65d1bbccea9eb7e",
"type": "github"
},
"original": {

View File

@ -26,9 +26,10 @@ class MPV:
return [
'mpv',
f'--input-ipc-server={str(cls._ipc_endpoint)}',
'--pipewire-remote=/run/user/1003/pipewire-0', # Cage doesn't set up XDG variables properly?
'--idle',
'--force-window',
*(('--fullscreen',) if not IS_DEBUG else ()),
'--ytdl-format=bestvideo[height<=?1080]',
'--no-terminal',
'--load-unsafe-playlists',
'--keep-open', # Keep last frame of video on end of video

949
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,7 @@ license = "MIT"
python = ">=3.8,<4.0"
mpv = ">=0.1" # TODO: do we use this?
yt-dlp = ">=2023.9.24"
sanic = ">=23.12.0,<24"
sanic = ">=23.12.0,<25"
sanic-ext = ">=23.12.0,<24"
#sanic-openapi = ">=21.6.1"