chance-nelson / SnowStorm

easy-to-use audio streamer, with a restful api
MIT License
5 stars 8 forks source link

Gaps in stream occur during song change #21

Open chance-nelson opened 5 years ago

chance-nelson commented 5 years ago

Depending on the size of the next song, there is occasionally a gap in the MP3 stream data, due to the API waiting for a song to be loaded. This can likely be alleviated by pre-loading the next song in the queue while another song is playing.

gunjanraval commented 5 years ago

Getting a 404 error on starting the server, any idea?

sakethramanujam commented 5 years ago

@gunjanraval do you have an environment variable $MUSIC_LIBRARY set to use a specific set of music files?

gunjanraval commented 5 years ago

I actually got it working with some troubleshooting!

chance-nelson commented 5 years ago

Hi @suryakantpandey, yes, $MUSIC_LIBRARY points to a directory that is populated with your choice of MP3 files

chance-nelson commented 5 years ago

@gunjanraval Out of curiosity, can you describe what your error was and your solution? Sorry, I was away for a while

gunjanraval commented 5 years ago

yeah, part of the problem was I didn't have the variable MUSIC_LIBRARY set to the song files, which I was able to solve and the other was some package version dependency error, which also I solved using correct package versions from the requirements file.