Commit Graph

91 Commits

Author SHA1 Message Date
Peder Bergebakken Sundt 92fcac7689 Add openapi description 2018-02-25 02:40:58 +01:00
Peder Bergebakken Sundt de4ce78bad Make __init__ produce a sanic app object instead of simply blocking as main()
Moved test() coro to main.py outside of grzegors module
2018-02-25 00:18:05 +01:00
Peder Bergebakken Sundt 710d207dbd Ensure "playing" in playlist_get() is true
This must be a bug in MPV
2018-02-24 23:40:08 +01:00
Peder Bergebakken Sundt bca1ec78b3 Rename rest methods, edit /load input from body to form argument, add error handling for api input 2018-02-24 23:35:06 +01:00
Peder Bergebakken Sundt 226e807f24 Add volume control, errorhandling and MPVError exception class 2018-02-24 23:17:05 +01:00
Peder Bergebakken Sundt 7f6b9fcba9 Implement mpv play/pause, next, previous and get playlist 2018-02-24 21:31:52 +01:00
Peder Bergebakken Sundt 577959432b Add status check in deployment script 2018-02-24 21:30:43 +01:00
Peder Bergebakken Sundt bf9503e43a Add route bases for all MPVControl shorthand command requests in API
This is not yet useable by any means
2018-02-17 00:12:11 +01:00
Peder Bergebakken Sundt 1744da9158 Add more shorthand command requests to MPVControl
Most of these are untested...
2018-02-17 00:05:58 +01:00
Peder Bergebakken Sundt 14806b42fb Add basic sanic setup to use for REST api 2018-02-16 23:19:50 +01:00
Peder Bergebakken Sundt 4f7aebd6fb Add cleanup in MPV class and shorthand command method in MPVControl 2018-02-16 23:18:19 +01:00
Peder Bergebakken Sundt 694f7aab11 Fix spelling 2018-02-16 23:16:34 +01:00
Peder Bergebakken Sundt aac11e7d54 Remove all REMI related things 2018-02-16 17:48:11 +01:00
Peder Bergebakken Sundt 732b4a0d07 Set remi to v1.0 2018-02-16 17:21:57 +01:00
Aleksander Wasaznik 204d062ae0 Add a main.py file for running the module 2017-02-06 20:30:29 +01:00
Aleksander Wasaznik ce6f6235d1 Implement a basic MPV controller
Raw commands are supported. Events not yet.
2017-02-06 20:30:29 +01:00
Aleksander Wasaznik 3398af9888 Remove the type odd annotation from playlistmanage 2017-02-06 20:30:29 +01:00
Aleksander Wasaznik 2b33f51053 Use asyncio.gather instead of asyncio.wait
asyncio.gather immediatly propagates exceptions, which is nice for
debugging, and what we wanted in the first place.
2017-02-06 20:30:29 +01:00
Aleksander Wasaznik 2f130874f7 Update deploy to match new systemd setup
Grezgorz now runs as a service on the user instance of systemd.
2017-02-06 20:30:29 +01:00
Peder Bergebakken Sundt 1fc402d911 Merge branch 'master' of https://github.com/Programvareverkstedet/grzegorz 2017-02-05 17:11:18 +01:00
Peder Bergebakken Sundt f39f215c5a updated server.py to use the newest version of REMI and added a nice PVV logo in the background 2017-02-05 17:10:50 +01:00
Aleksander Wasaznik bc54eb3f6b Add singleton playlist manager
Currently implemented is queing, dequening, and automatic title fetch
using metadatafetch.
2017-02-05 16:30:18 +01:00
Aleksander Wasaznik f58217d0cb Add missing async in UnixConnection in nyasync 2017-02-05 16:28:40 +01:00
Aleksander Wasaznik 3a329fe689 Implement title fetch in metadatafetch.py
A simple prototype for fetching the title of media using youtube-dl.
2017-02-05 15:59:23 +01:00
Aleksander Wasaznik 2466c20059 Create nyasync library
The library contains helpers for more ergonomic use of asyncio.
2017-02-05 15:59:23 +01:00
Aleksander Wasaznik f95dc7f3e4 Add skeleton asyncio launcher 2017-02-05 15:59:23 +01:00
Aleksander Wasaznik 5d2b56b015 Improve deploy script
The script now handles filenames with spaces and such. It also removes
any old files from previous deployment.
2017-02-05 15:59:23 +01:00
Peder Bergebakken Sundt c2ee159dde started work on playlist management 2017-02-05 15:16:00 +01:00
Aleksander Gustaw Wasaznik 0ac75ff93a Use tar to deploy 2016-09-13 21:13:46 +02:00
Aleksander Gustaw Wasaznik 7b85d39629 Make MPV use drm video output 2016-09-13 20:57:45 +02:00
Aleksander Gustaw Wasaznik a8ce8246b9 Merge branch 'master' of github.com:Programvareverkstedet/grzegorz 2016-09-13 20:53:14 +02:00
Aleksander Gustaw Wasaznik 21570efe67 Add deploy script 2016-09-13 20:52:06 +02:00
Peder Bergebakken Sundt 339256ff67 Introduced the mainfunction and configfile, and added the parameter --no-mpv 2016-09-12 02:12:11 +02:00
Aleksander Gustaw Wasaznik 8525506744 Make submit button play url in MPV 2016-09-11 21:40:11 +02:00
Aleksander Gustaw Wasaznik 8a3b42dea3 Add Remi to requirements.txt 2016-09-11 21:29:32 +02:00
Aleksander Gustaw Wasaznik 62049891d2 Fix gustaebel/python-mpv submodule 2016-09-11 21:23:50 +02:00
Peder Bergebakken Sundt 891824c363 Merge remote-tracking branch 'origin/mpv-control' 2016-09-11 21:08:15 +02:00
Aleksander Gustaw Wasaznik 048455d6e9 add mpv_control.py 2016-09-11 20:59:45 +02:00
Peder Bergebakken Sundt 6a5c78742a Started workin the frontend 2016-09-11 20:45:37 +02:00
Peder Bergebakken Sundt a22d403e46 initial commit 2016-09-11 18:20:14 +02:00
Peder Bergebakken Sundt d6a9239e34 Initial commit 2016-09-11 18:19:02 +02:00