anyaudio / anyaudio-server

:musical_note: Simple server to search youtube and give direct audio download and stream links
91 stars 19 forks source link

Unable to stream from server #123

Closed bxute closed 7 years ago

bxute commented 7 years ago

Following response is got every time app try to stream

{
  "developerMessage": "Command '[u'youtube-dl', u'https://www.youtube.com/watch?v=smAWykLg6-s', u'-f', u'webm[abr<=64]/webm[abr<=80]/m4a[abr<=64]/[abr<=96]/m4a', u'-g']' returned non-zero exit status 1", 
  "errorCode": "500-001", 
  "requestLocation": "api/v1/stream", 
  "status": 500, 
  "userMessage": "Some error occurred"
}
singhpratyush commented 7 years ago

Probably need to upgrade youtube-dl I think it's time to add a periodic task (ymp3/schedulers) to upgrade youtube-dl.

aviaryan commented 7 years ago

@singhpratyush Yes, upgrading youtube-dl fixed the issue.

I think it's time to add a periodic task (ymp3/schedulers) to upgrade youtube-dl.

Sounds good.

singhpratyush commented 7 years ago

Sounds good.

Working on it.