implemented album view

This commit is contained in:
cool.gitter.choco
2025-02-04 21:34:35 -06:00
parent 0a356a3e67
commit 8a65d6c5d4
4 changed files with 633 additions and 0 deletions

5
app.py
View File

@@ -58,6 +58,11 @@ def create_app():
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.
return render_template('album.html')
@app.route('/static/<path:path>')
def serve_static(path):