swingmusic/server/app/instances.py
geoffrey45 d98cc0547e 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
2022-04-21 10:16:45 +03:00

11 lines
316 B
Python

"""
All the MongoDB instances are created here.
"""
from app.db import artists, albums, trackcolors, tracks, playlists
tracks_instance = tracks.AllSongs()
artist_instance = artists.Artists()
track_color_instance = trackcolors.TrackColors()
album_instance = albums.Albums()
playlist_instance = playlists.Playlists()