shazamio working locally but not on Server

ringo
PRO

a year ago

Hello, we are faicing the problem that the function recognizesong form the sahzamio libary is not working on our server. The function is running perfectly fine on my computer and on the local host but not on the server. It is an core element of our application and we cant use the newer function recognize since its not what we need. (The new function: recognize, is working on the server but recognizesong should also work since its working on our computers.) One of the reasons why there could be problems is maybe ffmpeg. we set up a nixpacks.toml file with this code: [phases.setup]
aptPkgs = ["…", "ffmpeg"]. Maybe pydub or other libarys are not finding it? It is strange isnce the function is wokring totaly fine on our computers and localhosts. Pls help is since this function is really important for us and is an essential of our website. Thank you, Ringo

3 Replies

a year ago

are you getting any errors when you try to use this functionality of your app that isn't working on railway?


ringo
PRO

a year ago

We get an server error, but we are trying to fix it by ourself right now. I will keep you updated


a year ago

what kind of server error? without showing us real error messages it makes it very hard for us to help.


shazamio working locally but not on Server - Railway Help Station