mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
add routes to get all albums and artists with sort
+ rewrite load all albums + artist logic with itertools.groupby + add a function to convert seconds to string
This commit is contained in:
@@ -22,6 +22,7 @@ from app.api import (
|
||||
plugins,
|
||||
logger,
|
||||
home,
|
||||
getall,
|
||||
)
|
||||
|
||||
|
||||
@@ -60,4 +61,7 @@ def create_api():
|
||||
# Home
|
||||
app.register_blueprint(home.api_bp)
|
||||
|
||||
# Flask Restful
|
||||
app.register_blueprint(getall.api_bp)
|
||||
|
||||
return app
|
||||
|
||||
Reference in New Issue
Block a user