retrospect-addon / plugin.video.retrospect

Retrospect is a Kodi video add-on which allows you to watch streams of a number of free and publicly available online TV stream sites.
https://www.rieter.net/content/
GNU General Public License v3.0
108 stars 36 forks source link

Cannot play anything from Videoland #1834

Open 1marc1 opened 1 week ago

1marc1 commented 1 week ago

Issue report

Describe the issue

First of all, I am not sure if this is a bug or if I am doing something wrong.

I created a free account on videoland.com. I added the account details in Retrospect (version 5.7.17). When I want to play anything, a message in Kodi pops up saying that something went wrong. Nothing is played back.

While preparing to log this issue here, I enabled debug logging so I could recreate the problem and capture the log. After enabling debug logging, I found that playback was working. I added a TV series to a Retrospect favourite.

I then disabled debug logging (back to INFO) and I found that I could no longer open the Videoland section. I enabled debug logging again, but again I could not open Videoland (let alone find something to watch).

Expected Behavior

  1. Videoland opens and shows the contents
  2. Upon selection, the selected video is played back.

Actual Behavior

  1. In first instance, the selected video was not played back.
  2. In second instance, Videoland would not open at all.

Possible Fix

To Reproduce

Steps to reproduce the behavior:

  1. I tried random episodes from different channels like RTL4, RTL5, RTL7 and RTL8
  2. None would playback.
  3. The CRITICAL messages in the log are always the same.

Debuglog

The retrospect.log showing the CRITICAL messages can be found here: https://pastebin.com/evVJNv3M The debug retrospect.log can be found here: https://pastebin.com/h6WTdtkq

Screenshots

Additional context or screenshots (if appropriate)

It looks like the problem occurs when I try to add something from Videoland to my Retrospect favourites. Doing so will cause an error and following that error, I am no longer able to use anything in the Videoland section, including opening Videoland itself.

Following this, I tried to disable/enable Retrospect but this doesn't help. I have to reboot the Raspberry-Pi in order to make it work again.

Further testing shows that I can add something to the Kodi favourites.

Unsure where this leaves this report. When I started writing it, I was unable to playback anything from Videoland. By the time I have created and uploaded the logs, I can playback from Videoland, as long as I don't attempt to add anything to Retrospect favourites.

I am wondering if any of this has to do with the fact that I am working on this in the evening and I have a faint idea that things started working after midnight. I created the Videoland account before midnight. See date/time stamps in the two log files. It could be coincidence.

Happy for you to close this.

Your Environment

Used Operating system:

Used versions:

basrieter commented 1 week ago

This is caused by your Python environment on your Linux system:

ImportError: PyO3 modules may only be initialized once per interpreter process

I would suggest try downgrading cryptography and see if that solves your issues.

1marc1 commented 1 week ago

I had a look around the internet and found the cryptography downgrading advise to seemingly apply to people who were using version 40 or 41. The advise seems to be to downgrade to version 38. For example here. In my case, I am using version 38; at least that's what it looks like.

$ pip list | grep cryptography
cryptography                       38.0.4
types-cryptography                 3.3

FWIW, I am running Kodi 21 on a fresh install of Raspberry Pi OS 12 (64 bit).

basrieter commented 1 week ago

And what Python version are you running?

1marc1 commented 1 week ago

Python version is 3.11.2. This is a fresh install of "Raspberry Pi OS with Desktop 64-bit" on an 8 GB Raspberry Pi 5.

basrieter commented 6 days ago

Ok, so I would suggest running LibreElec instead of Rasbperry Pi OS. LE is much more optimized and it will have less issues with Python conflicts like you are having.

1marc1 commented 4 days ago

Ok, I have rebuilt the entire system, now running LibreELEC 2024.08. Following the installation, I installed Retrospect via the Kodi add-ons. I entered my username and password for Videoland. I can browse to Videoland, but playback fails. I tried watching the second episode of "Te land ter zee en in de lucht" and a random news episode.

I have uploaded the kodi.log file and the retrospect.log file. It would be great if you can have a look.

Thanks.

basrieter commented 4 days ago

So we are a step closer! Please create a debug log for that. Enable debug logging in Retrospect, try playback again and then upload a new log file.

1marc1 commented 4 days ago

I created the debug log. Here is the one for Kodi: https://pastebin.com/5uFdvPAD

Whenever I upload the one for Retrospect, pastebin keeps telling me: "This page is no longer available. It has either expired, been removed by its creator, or removed by one of the Pastebin staff."

The log is about 260 KB; FAQ tells me the limit is 512 KB. Not sure why it isn't working. I will look for an alternative.

1marc1 commented 4 days ago

Ok, this should be the retrospect.log with debugging enabled: https://privatebin.net/?d326b51b11319a33#BByoxZ3w4eunrQqwhntuFkfRdP4sZiuVPaqLcCxFGS5T

create-issue-branch[bot] commented 3 days ago

Branch bug-1834 was created for issue: "Cannot play anything from Videoland"

basrieter commented 3 days ago

Can you install https://github.com/retrospect-addon/plugin.video.retrospect/archive/refs/heads/bug-1834.zip, and try again. It won't fix anything, but logs a bit more. Then upload the log debug retrospect.log again.

I checked the upload feature, and it works as expected, so please check that you are not mistaking a zero for an "o" or something.

1marc1 commented 3 days ago

Thank you for looking into this. I have installed the ZIP file and tried again. The debug logs for retrospect are here: https://privatebin.net/?7d1b8d2265fcab0e#6TqtQJbsJ5peG7dF8evDxZF9qkzU3r2k75o3PEGLEQrM

After creating the debug log, I tried watching a couple of other programs as well as a trailer for something, but nothing could be played back.

basrieter commented 1 day ago

Seems like the link expired?

1marc1 commented 1 day ago

Try this link: https://hastebin.com/share/asemakugiy.bash

basrieter commented 16 hours ago

From where are you trying to play? The error I see is:

"reason": "geoBlocked"