Restyle Save complete albums to the db for faster startup (#38)

This commit is contained in:
restyled-io[bot]
2022-04-21 10:25:56 +03:00
committed by GitHub
parent d98cc0547e
commit d1c83ef8b6
15 changed files with 82 additions and 76 deletions
+6 -3
View File
@@ -1,11 +1,14 @@
"""
All the MongoDB instances are created here.
"""
from app.db import artists, albums, trackcolors, tracks, playlists
from app.db import albums
from app.db import artists
from app.db import playlists
from app.db import trackcolors
from app.db import tracks
tracks_instance = tracks.AllSongs()
artist_instance = artists.Artists()
track_color_instance = trackcolors.TrackColors()
album_instance = albums.Albums()
playlist_instance = playlists.Playlists()
playlist_instance = playlists.Playlists()