swingmx / swingmusic

Swing Music is a beautiful, self-hosted music player for your local audio files. Like a cooler Spotify ... but bring your own music.
https://swingmx.com
MIT License
783 stars 43 forks source link

Album not created when a new track is added via `watchdoge.py` #44

Closed cwilvx closed 2 years ago

cwilvx commented 2 years ago

A single track object is created but the album object is not created:

File "/home/cwilvx/code/alice/server/app/api/album.py", line 45, in get_album_tracks
    album = api.ALBUMS[index]
TypeError: list indices must be integers or slices, not NoneType
cwilvx commented 2 years ago

Might be fixed by #70

cwilvx commented 2 years ago

fixed in another PR