Commit f2abba3d authored by Andre Julius's avatar Andre Julius 👀
Browse files

Add route for gui. Add gui template.

parent 7001182b
<!DOCTYPE html>
<meta charset="utf-8">
<title>potify gui</title>
<ul id="songlist" class="">
\ No newline at end of file
from flask import redirect, abort, jsonify
from flask import render_template, redirect, abort, jsonify
from web import web
import api.index
import api.player
......@@ -27,6 +27,11 @@ def index():
return jsonify(api.index.index)
def gui():
return render_template("gui.html")
def play(file):
""" Try enqueing a song. If given file name can not be found in the index,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment