casualsnek / onthespot

qt based music downloader written in python
GNU General Public License v2.0
855 stars 59 forks source link

[BUG] Suddenly stopped working at 'converting' #147

Closed StevenBeyen closed 3 weeks ago

StevenBeyen commented 1 month ago

I've used Onthespot to download my playlists on Ubuntu.

It worked fine for about 1k songs, and then suddenly stopped working at the conversion from ogg to mp3, after download.

I've tried with different songs, it happens every single time. I've tried running the ffmpeg command manually and it works, so the problem lies with Onthespot.

I suspect some overflow in the logs or something like this, can you tell me where the data files are stored?

justin025 commented 1 month ago

Logs are in ~/.cache but the problem lies in your ffmpeg binary, not sure what build flags ubuntu uses but there are some official builds here. If you are very knowledgeable ffmpeg needs sdl and mp3 enabled at build time otherwise it gets stuck at converting.

You could also try the onthespot_ffm builds which bundle a working version of ffmpeg: https://github.com/casualsnek/onthespot/releases/tag/v0.5 https://file.io/1kyUxARvo2GC (personal build)

StevenBeyen commented 1 month ago

Thanks, I'll try this.

Then I don't understand why it worked fine for over a thousand songs, manually running ffmpeg still works, but using onthespot suddenly doesn't anymore.

StevenBeyen commented 3 weeks ago

I purged ffmpeg a couple of times and everything seems to work fine again. :smile: