mopidy / mopidy-soundcloud

Mopidy extension for playing music from SoundCloud
https://mopidy.com/ext/soundcloud/
MIT License
185 stars 59 forks source link

Retry http requests #86

Closed ticosax closed 6 years ago

ticosax commented 8 years ago

on top of #83. So it needs to be rebased.

This pull request is exposing a new config to control the number of retries when attempting to connect to soundcloud api. On my raspberrypi, the dns resolution fails on startup, thus mopidy fails to load the SoundCloud backend. I checked systemd config and requisites seems to be good. So my last resort is to increase the retries.

After=avahi-daemon.service dbus.service network.target nss-lookup.target pulseaudio.service remote-fs.target sound.target systemd-journald.socket basic.target system.slice

Also, a gently reminder about #85. Would be great to move forward :smile:

kingosticks commented 6 years ago

I really don't think the fix for a DNS problem belongs in application code like this.