Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

playback failes with HTTP 403 error #6

Open
matsievskiysv opened this issue Dec 14, 2024 · 5 comments
Open

playback failes with HTTP 403 error #6

matsievskiysv opened this issue Dec 14, 2024 · 5 comments

Comments

@matsievskiysv
Copy link

As of now, plugin does not work. It has two issues:

  1. Error on install (addressed in Resolve stream URL again #5)
  2. Fail playing videos with HTTP 403 error
2024-12-14 10:46:22.424 T:4515  warning <general>: Player: PlayBackStopped triggered while waiting for start.
2024-12-14 10:46:50.554 T:4527  warning <general>: Setting most video properties through ListItem.setInfo() is deprecated and might be removed in future Kodi versions. Please use the respective setter in InfoTagVideo.
2024-12-14 10:46:50.555 T:4527  warning <general>: ListItem.setCast() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.setCast().
2024-12-14 10:46:50.736 T:4527  warning <general>: ListItem.addStreamInfo() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.addVideoStream(), InfoTagVideo.addAudioStream() and InfoTagVideo.addSubtitleStream().
2024-12-14 10:46:50.813 T:4357     info <general>: VideoPlayer::OpenFile: plugin://plugin.video.smotrim.ru/?action=play&url=plugin%3A%2F%2Fplugin.video.smotrim.ru%2F&context=brands&brands=70937
2024-12-14 10:46:50.942 T:4529    error <general>: CCurlFile::Stat - <https://cdn-v.smotrim.ru/_cdn_auth/secure/v/vh/mp4/fhd-wide/003/041/339.mp4?auth=mh&vid=3
041339|User-Agent=Mozilla/5.0%20%28Macintosh%3B%20Intel%20Mac%20OS%20X%2010.15%3B%20rv%3A101.0%29%20Gecko/20100101%20Firefox/101.0&Origin=https%3A//player.smot
rim.ru&Referer=https%3A//player.smotrim.ru/&!Sec-Fetch-Dest=empty&!Sec-Fetch-Mode=cors&!Sec-Fetch-Site=cross-site&!Sec-GPC=1&Connection=keep-alive> Failed: HTT
P response code said error(22)
2024-12-14 10:46:50.943 T:4529     info <general>: Creating InputStream
2024-12-14 10:46:51.038 T:4529    error <general>: CCurlFile::CReadState::FillBuffer - (0x7e78136fc0) Failed: HTTP returned code 403
2024-12-14 10:46:51.038 T:4529    error <general>: CCurlFile::Open - <https://cdn-v.smotrim.ru/_cdn_auth/secure/v/vh/mp4/fhd-wide/003/041/339.mp4?auth=mh&vid=3
041339> Failed with code 403:

2024-12-14 10:46:51.043 T:4529    error <general>: CCurlFile::CReadState::FillBuffer - (0x7e781c65f0) Failed: HTTP returned code 403
2024-12-14 10:46:51.044 T:4529    error <general>: CCurlFile::Open - <https://cdn-v.smotrim.ru/_cdn_auth/secure/v/vh/mp4/fhd-wide/003/041/339.mp4?auth=mh&vid=3
041339> Failed with code 403:

2024-12-14 10:46:51.044 T:4529    error <general>: CFileCache::Open - <https://cdn-v.smotrim.ru/_cdn_auth/secure/v/vh/mp4/fhd-wide/003/041/339.mp4?auth=mh&vid=
3041339|User-Agent=Mozilla/5.0%20%28Macintosh%3B%20Intel%20Mac%20OS%20X%2010.15%3B%20rv%3A101.0%29%20Gecko/20100101%20Firefox/101.0&Origin=https%3A//player.smo
trim.ru&Referer=https%3A//player.smotrim.ru/&!Sec-Fetch-Dest=empty&!Sec-Fetch-Mode=cors&!Sec-Fetch-Site=cross-site&!Sec-GPC=1&Connection=keep-alive> failed to
open
2024-12-14 10:46:51.044 T:4529    error <general>: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.smotrim.ru/?action=play&url=plugin%3A%2
F%2Fplugin.video.smotrim.ru%2F&context=brands&brands=70937]
2024-12-14 10:46:51.044 T:4529     info <general>: CVideoPlayer::OnExit()
2024-12-14 10:46:51.094 T:4357     info <general>: CVideoPlayer::CloseFile()
2024-12-14 10:46:51.094 T:4357     info <general>: VideoPlayer: waiting for threads to exit
2024-12-14 10:46:51.094 T:4357     info <general>: VideoPlayer: finished waiting
2024-12-14 10:46:51.737 T:4527  warning <general>: Player: PlayBackStopped triggered while waiting for start.
@sensodejay
Copy link
Contributor

sensodejay commented Dec 24, 2024

There was api change this december, the plugin use the old address which still exist in the web api.

  • The live channels use a new identifier. Additionally, the URL must also be adjusted to indicate that the new format is being used.
    The web player also has an additional "sid" in the URL. I don't know where the source comes from or if this is really necessary.
  • VOD use new stream URL white quality: auto

@sensodejay
Copy link
Contributor

I think for VOD it enough to switch video quality to auto in settings.

@sivanoff
Copy link

sivanoff commented Jan 28, 2025

master branch version shows channels and allows to play them. But I can't see РОССИЯ 1 and РОССИЯ 24 channels among 17 available. Is it possible to make them showing (I can watch them on web site)?

@sensodejay
Copy link
Contributor

I add Pull request which is fixing the the live channels: #7

@sivanoff
Copy link

sivanoff commented Jan 31, 2025

I add Pull request which is fixing the the live channels: #7

Thanks. These two channels now playing without error using links in Favorites which stopped working in december.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants