This commit is contained in:
cool.gitter.not.me.again.duh
2025-05-29 12:00:57 -06:00
parent 5f3e78e5f4
commit 03f132a9f3
18 changed files with 1318 additions and 37 deletions

7
app.py
View File

@@ -160,12 +160,17 @@ def create_app():
def serve_config():
return render_template('config.html')
# New route: Serve watch.html under /watchlist
@app.route('/watchlist')
def serve_watchlist():
return render_template('watch.html')
# New route: Serve playlist.html under /playlist/<id>
@app.route('/playlist/<id>')
def serve_playlist(id):
# The id parameter is captured, but you can use it as needed.
return render_template('playlist.html')
# New route: Serve playlist.html under /playlist/<id>
@app.route('/album/<id>')
def serve_album(id):
# The id parameter is captured, but you can use it as needed.