Skip to content

Commit

Permalink
Probable fix for the redirect issues affecting download of artwork in…
Browse files Browse the repository at this point in the history
… mythvideo in 0.23. Refs #8634

git-svn-id: http://svn.mythtv.org/svn/branches/release-0-23-fixes@25327 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information
stuartm committed Jul 11, 2010
1 parent df12163 commit f742b98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythplugins/mythvideo/mythvideo/videodlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ namespace
public slots:
void InspectHeader(const QHttpResponseHeader &header)
{
if (header.statusCode() == 302)
if (header.statusCode() == 302 || header.statusCode() == 301 ||
header.statusCode() == 307)
{
QString m_redirectUrl = header.value("Location");
m_redirectCount++;
Expand Down

0 comments on commit f742b98

Please sign in to comment.