fakekawa: Support requesting
1 files changed, 19 insertions(+), 0 deletions(-) M contrib/fakekawa.py
M contrib/fakekawa.py => contrib/fakekawa.py +19 -0
@@ 121,6 121,25 @@ def queue(): ]) @app.route('/queue/tail', methods=["POST"]) def req(): return json.dumps( { "album": "test", "artist": "test", "duration": 60, "favored_by": [ "minus" ], "hash": "00000000000000000000000000000000", "id": 123, "path": "/tmp/test.flac", "status": "active", "tags": ["test"], "title": "test" } ) @app.route('/<path:path>', methods=['GET', 'POST', 'DELETE', 'PUT']) def asdf(path): return ""