Skip to content

Commit

Permalink
Merge pull request #7924 from arnova/hdhomerun_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins4kodi committed Aug 31, 2015
2 parents 637b077 + 669b80f commit ef3ea04
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions xbmc/filesystem/CurlFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1534,8 +1534,9 @@ bool CCurlFile::CReadState::FillBuffer(unsigned int want)
msg->data.result == CURLE_RECV_ERROR) &&
!m_bFirstLoop)
CURLresult = msg->data.result;
else if ( (msg->data.result == CURLE_HTTP_RANGE_ERROR ||
httpCode == 416 /* = Requested Range Not Satisfiable */) &&
else if ( (msg->data.result == CURLE_HTTP_RANGE_ERROR ||
httpCode == 416 /* = Requested Range Not Satisfiable */ ||
httpCode == 406 /* = Not Acceptable (fixes issues with non compliant HDHomerun servers */) &&
m_bFirstLoop &&
m_filePos == 0 &&
m_sendRange)
Expand Down

0 comments on commit ef3ea04

Please sign in to comment.