mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
Save complete tracks and albums to the db for faster startup
- refactor function locations - add logger - check for new tracks instead of re-processing all files
This commit is contained in:
@@ -4,7 +4,7 @@ All the MongoDB instances are created here.
|
||||
|
||||
from app.db import artists, albums, trackcolors, tracks, playlists
|
||||
|
||||
songs_instance = tracks.AllSongs()
|
||||
tracks_instance = tracks.AllSongs()
|
||||
artist_instance = artists.Artists()
|
||||
track_color_instance = trackcolors.TrackColors()
|
||||
album_instance = albums.Albums()
|
||||
|
||||
Reference in New Issue
Block a user