2022-05-19, 17:43
Hello,
I am creating an addon where I reproduce some links using xbmcplugin.setResolvedUrl().
Sometimes the video is not yet available or is rejected by geolocation, which gives me an error CCurlFile::Stat - Failed: HTTP response code said error(22) for... or CCurlFile::Open failed with code 401 for...
Is there any method to get those codes from the addon?
I've been looking at the xbmc.Player() callbacks, specifically onPlayBackStopped and onPlayBackError but I don't know how to get the aforementioned error code from CCurlFile
I am creating an addon where I reproduce some links using xbmcplugin.setResolvedUrl().
Sometimes the video is not yet available or is rejected by geolocation, which gives me an error CCurlFile::Stat - Failed: HTTP response code said error(22) for... or CCurlFile::Open failed with code 401 for...
Is there any method to get those codes from the addon?
I've been looking at the xbmc.Player() callbacks, specifically onPlayBackStopped and onPlayBackError but I don't know how to get the aforementioned error code from CCurlFile