acm-uiuc / beats

Beats by ACM
11 stars 19 forks source link

Some SoundCloud tracks break Beats #66

Open kevinwang opened 9 years ago

kevinwang commented 9 years ago

Beats hangs on the following track and is unresponsive to skipping: https://soundcloud.com/theknocks/the-knocks-dancing-with-myself

But other tracks like the following work fine: https://soundcloud.com/brainfeeder/thundercat-them-changes

@andrewyang96

Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/var/www/beats/scheduler.py", line 333, in _scheduler_thread
    self.play_next()
  File "/var/www/beats/scheduler.py", line 255, in play_next
    player.play_media(video)
  File "/var/www/beats/player.py", line 67, in play_media
    play(media.mrl())
  File "/var/www/beats/soundcloudlib.py", line 29, in mrl
    allow_redirects=False)
  File "/var/www/beats/venv/local/lib/python2.7/site-packages/soundcloud/client.py", line 130, in _request
    return wrapped_resource(make_request(method, url, kwargs))
  File "/var/www/beats/venv/local/lib/python2.7/site-packages/soundcloud/request.py", line 134, in make_request
    result.raise_for_status()
  File "/var/www/beats/venv/local/lib/python2.7/site-packages/requests/models.py", line 773, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
HTTPError: 404 Client Error: Not Found