2016-11-09, 22:52
@FernetMenta, trouble is in curlfile.cpp (filesystem), if changed code a little, addon work fine, tested in windows 10, with more recent nightly.
Removing this
And replace with only this code, addon work fine in Krypton.
Prabably have better way for fix, hope help you.
Make one video show spotify working Kodi Krypton, skin Aeon MQ7. Test Spotify begin 0:30 sec
Removing this
Code:
else if (name == "postdata")
{
m_postdata = Base64::Decode(value);
m_postdataset = true;
}
else if (name == "active-remote")// needed for DACP!
{
SetRequestHeader(it->first, value);
}
// other standard headers (see https://en.wikipedia.org/wiki/List_of_HTTP_header_fields)
else if (name == "accept" || name == "accept-language" || name == "accept-datetime" ||
name == "authorization" || name == "cache-control" || name == "connection" ||
name == "content-md5" || name == "content-type" || name == "date" ||
name == "expect" || name == "forwarded" || name == "from" ||
name == "if-match" || name == "if-modified-since" || name == "if-none-match" ||
name == "if-range" || name == "if-unmodified-since" || name == "max-forwards" ||
name == "origin" || name == "pragma" || name == "range" || name == "te" ||
name == "upgrade" || name == "via" || name == "warning" ||
name == "x-requested-with" || name == "dnt" || name == "x-forwarded-for" ||
name == "x-forwarded-host" || name == "x-forwarded-proto" ||
name == "front-end-https" || name == "x-http-method-override" ||
name == "x-att-deviceid" || name == "x-wap-profile" || name == "x-uidh" ||
name == "x-csrf-token" || name == "x-request-id" || name == "x-correlation-id" ||
name == "icy-metadata")
{
SetRequestHeader(it->first, value);
if (name == "authorization")
CLog::Log(LOGDEBUG, "CurlFile::ParseAndCorrectUrl() adding custom header option '%s: ***********'", it->first.c_str());
else
CLog::Log(LOGDEBUG, "CurlFile::ParseAndCorrectUrl() adding custom header option '%s: %s'", it->first.c_str(), value.c_str());
}
// we don't add blindly all options to headers anymore
// if anybody wants to pass options to ffmpeg, explicitly prefix those
// to be identified here
else
{
CLog::Log(LOGDEBUG, "CurlFile::ParseAndCorrectUrl() ignoring header option '%s: %s'", it->first.c_str(), value.c_str());
}
}
}
}
And replace with only this code, addon work fine in Krypton.
Code:
else if (name == "postdata")
{[video=youtube]https://youtu.be/EOyOxIJ6loQ[/video]
m_postdata = Base64::Decode(value);
m_postdataset = true;
}
else
SetRequestHeader(it->first, value);
}
}
}
Prabably have better way for fix, hope help you.
Make one video show spotify working Kodi Krypton, skin Aeon MQ7. Test Spotify begin 0:30 sec