plugin.video.auvio icon indicating copy to clipboard operation
plugin.video.auvio copied to clipboard

"Impossible de trouver le flux media"

Open TScheen opened this issue 2 years ago • 11 comments

Kodi Matrix 19.3. Auvio 3.2.3 Philips Android TV 7.0

Depuis quelques jours, pour le JT de 13:00 heures ou 19:00 il y’a ce message d’erreur: "Impossible de trouver le flux media" Le Direct et quelques films marchent encore. Je suppose c’est une erreur de RTBF-Auvio et pas du Kodi plug-in Auvio car les mêmes flux sur Retrospect ne démarrent non plus. Anybody ?

TScheen avatar Jul 28 '22 17:07 TScheen

Hello, same problem here, not possible to open VOD (something changed from Auvio with url ?)

Direct seems to work, but the stream is not the same as the real direct on Auvio website (for instance it played a cartoon on "La Trois" instead of a documentary) So when there is no error notification, it seems the stream is not the right one

I use Kodi 18.7 (Leia) on Retropie 4.8.2 (Raspbian GNU/Linux 10 (buster))

nicotchoum avatar Jul 28 '22 20:07 nicotchoum

Visiblement, ils utilisent un nouveau mécanisme forçant l'authentification.

Avant, on recevait les URLs des vidéos via une requête sur https://www.rtbf.be/api/media/video?method=getVideoDetail&args[]=0000000 (ou autre ?) Maintenant, on reçoit les URLs des vidéos seulement après authentification en transmettant un token à https://exposure.api.redbee.live/v2/customer/RTBF/businessunit/Auvio/entitlement/0000000_000000b/play Le JSON qui est retourné donne 3 liens pour 3 formats différents : DASH, HLS et SMOOTHSTREAMING.

L'authentification principale se fait toujours sur https://login.rtbf.be/accounts.login. Ensuite, on obtient un token pour Gigya et finalement un token pour RedBee.

Bref, je pense que ce plugin a besoin d'une bonne mise à jour avant de pouvoir à nouveau l'utiliser pleinement.

Versions: Plugin 3.2.3 / Kodi 19.4 / Ubuntu 20.04.4 LTS

Qedinux avatar Aug 02 '22 17:08 Qedinux

nicotchoum, what version of the auvio plugin are you using? i also use Kodi 18 and my auvio plugin isn't working at all, after selecting "Categories" for instance, i get ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.auvio/?action=menu_categories

david63236 avatar Aug 03 '22 08:08 david63236

Retropie 4.8.2 Kodi 18.7 Auvio 3.1.8 that I modified to use https https://github.com/rickybiscus/plugin.video.auvio/issues/43 https://github.com/rickybiscus/plugin.video.auvio/pull/44

nicotchoum avatar Aug 04 '22 16:08 nicotchoum

ok, I reinstalled version 3.1.8 (Kodi 18.8) and modified the common.py (lines 24 and 26) file, after this the plugin works for the older videos, for the latest videos (RTBF uses redbee for these) i get the "Impossible de trouver le flux media" error

david63236 avatar Aug 05 '22 09:08 david63236

J'ai corrigé le code pour qu'il fonctionne avec le nouveau provider (authentification nécessaire).

N'ayant pas les droits sur ce repository, j'ai un fais un fork : https://github.com/Qedinux/plugin.video.auvio Les principales modifications concernent 3 fichiers: main.py, utils.py et redbee.py.

Je laisse l'auteur rickybiscus le mettre à jour officiellement et publier une nouvelle release.

Quelques fonctionnalités sont encore défectueuses dont les lives et les téléchargements.

Qedinux avatar Aug 10 '22 15:08 Qedinux

Thx Quedinux. It works for my daily dose of JT. I can now uninstall the Auvio app which is terrible.

TScheen avatar Aug 16 '22 13:08 TScheen

Merci @Qedinux ! C'est trop génial ! Je n'avais pas le temps de m'en occuper pour l'instant. J'ai mergé tes modifs. Bravo pour ce travail impeccable...

rickybiscus avatar Aug 16 '22 20:08 rickybiscus

I passed to Kodi 19, and have just tested the latest 3.3.0 version of your plugin, but I have to say that the problem is still present (example: the latest video's in the films categorie are still unviewable). the good news is that 95% of the work is done (redbee.py finds all needed data to successfully play the video's). the remaining 5% can be solved by implementing inputstreamhelper in main.py, a small change to redbee.py is needed because inputstreamhelper needs mediaLocator and licenseServerUrl.

david63236 avatar Aug 17 '22 10:08 david63236

The remaining 5% can be solved by implementing inputstreamhelper in main.py, a small change to redbee.py is needed because inputstreamhelper needs mediaLocator and licenseServerUrl.

I tried to use inputstreamhelper to read streams protected by DRM but it doesn't work. I didn't find the solution. It seems to be easy but I don't know why it fails. I probably miss some parameters.

Qedinux avatar Aug 17 '22 15:08 Qedinux

I implemented inputstreamhelper and created a pull request for this

david63236 avatar Aug 20 '22 16:08 david63236