bvanheu / pytoutv

TOU.TV client library and user interfaces written in Python 3
96 stars 23 forks source link

DRM Error #124

Open Aeonwaves opened 6 years ago

Aeonwaves commented 6 years ago

Hi,

The script works for about half the shows I try downloading, but for the other half, the download fails with a message like the following :

Error: cannot fetch "Épisode 01": Aucun DRM n'est supporté pour cette plateforme

Aeonwaves commented 6 years ago

After further testing, I can in fact download most shows properly. However, a number of shows still fail (many of which I unfortunately wanted to download initially).

Here's a list of all the ones I couldn't download :

2424967257 - Envahis 2424967436 - Jordskott, la forêt des disparus 2424967460 - Modus 2424967902 - Masters of sex 2424967297 - Mémoire sous enquête 2424967538 - L'ombre de Jesse 2424967951 - Personne d'intérêt 2424967397 - Secrets and Lies

simark commented 6 years ago

I get the same error. Can you confirm that watching these shows work on the Apple and/or Android apps?

gboudreau commented 6 years ago

Pretty sure that this is because for those shows, SRC has bought the rights to distribute them, but those rights were attached to the obligation for them to use DRM. The tou.tv apps on iOS and Android have the necessary SDK to be able to play those DRM-protected feeds, but we can't replicate this in a non-sanctioned app like pytoutv.

ehoffman2 commented 5 years ago

Je me demandais, il y a le projet DépotQuébec, pour Kodi, avec un plugin tou.tv, et ça mentionne: 3.0.2 -Ajout d'une option pour forcer la désactivation des DRM (vieux Kodi et OS incompatibles.) 3.0.1 -Support des DRM! Vous pouvez sur certaines plates-formes écouter tou.tv en DRM! Films, épisodes extra, etc.

Je me demande si on peut regarder le code en question... Et voir ce qui fait que ça fonctionne.

simark commented 5 years ago

Je me demande si on peut regarder le code en question... Et voir ce qui fait que ça fonctionne.

Je pense que le code en question est ici:

https://github.com/anisite/plugin.infologique.tou.tv/tree/master/resources/lib