Bug 31862

Summary: Fix for upstream bug in Kodi a few weeks ago
Product: Mageia Reporter: Doug Laidlaw <laidlaws>
Component: RPM PackagesAssignee: Stig-Ørjan Smelror <smelror>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal Keywords: UPSTREAM
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: kodi-19.5-1.mga8.tainted.src.rpm CVE:
Status comment:
Attachments: New video_info.py, not altered by me.

Description Doug Laidlaw 2023-05-03 18:53:12 CEST
Created attachment 13800 [details]
New video_info.py, not altered by me.

Description of problem:Recently, Kodi stopped playing YouTube videos, with a message: "content not available on this app".  The bug seemed to be intermittent, and occasionally cured itself, but not for me. Various fixes were suggested.  The one that worked for me follows:

The config files in the .kodi folder are identical for both Mageia and the Raspberry Pi.  In $HOME/.kodi/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/
replace video_info.py with the attached one.  I don't know if the file is part of the RPM or not.
Comment 1 Lewis Smith 2023-05-03 20:44:45 CEST
Looking first at Mageia 9, 'video_info.py' is not in evidence at all.
The latest kodi version in Cauldron is 'kodi-20.1-3'.
Will check under Mageia 8.
Comment 2 Lewis Smith 2023-05-03 21:43:53 CEST
Hmm, on Mageia 8 I also cannot find 'video_info.py'. No sign of it anywhere in the kodi package, at least.
Can you say whether you have any kodi add-on packages?

CC: (none) => lewyssmith
Source RPM: (none) => kodi-19.5-1.mga8.tainted.src.rpm

Comment 3 Doug Laidlaw 2023-05-03 22:03:20 CEST
Yes, anybody who doesn't have the YouTube add-on package won't have it.  Kodi is rather modular.  That way, Kodi cannot be accused of supporting pirating.  There is a basic program package, which basically doesn't have any packages for data. Data retrieval packages are downloaded from the Kodi Web site, and are installed under $HOME/.kodi.  For YouTube, the plugin is a folder called "plugin.video.youtube," and the file causing the trouble is buried somewhere inside it.

The next release of Kodi, called Nexus, was released earlier this year.  The file I sent you probably won't work on it; there is an equivalent fix for Nexus.  If the file isn't in the RPM, we shall have to leave it to the developers to update the plugin.  I know that the Doktor is following Kodi, and at least one other member of the developer team, so I put this up as a bug report for their benefit, mainly.
Comment 4 Lewis Smith 2023-05-04 21:24:38 CEST
Thank you for the explanation.
> There is a basic program package, which basically doesn't have
> any packages for data
This is what we provide.

> Data retrieval packages are downloaded from the Kodi Web site
Which explains my fruitless searching among our packages.
And puts this outside our court. It is clearly a problem chez Kodi, fixed in the later release (which is basically what we have for M9).

I cannot judge whether this is a candidate for updating M8 v19 to v20, which in Cauldron apparently already has Nexus patches, so it might be complicated. You might have to await Mageia 9.

Assigning to Stig who nursed Kodi; close this 'invalid' if you judge it thus.

Assignee: bugsquad => smelror
CC: lewyssmith => (none)
Keywords: (none) => UPSTREAM

Comment 5 Stig-Ørjan Smelror 2023-05-04 21:33:22 CEST
Hi Doug.

This is from a plugin Mageia does not have. You'll have to take it up with the developers of this particular plugin.

Closing as Resolved-Invalid.

Resolution: (none) => INVALID
Status: NEW => RESOLVED

Comment 6 Doug Laidlaw 2023-05-05 04:26:30 CEST
Thanks.  There is a very active forum on git.  One of the posters there supplied my fix.