1
0
mirror of https://framagit.org/StCyr/plugin.video.peertube synced 2025-06-05 22:09:16 +02:00

Support videos when WebTorrent is disabled

The URL of the video is not stored in the same attribute of the response
if WebTorrent is enabled or not.
It caused a bug when trying to play a video which do not use WebTorrent.

Also create a "quality" job to run pylint automatically on merge
requests. The contributing guidelines are updated with this information
and the remaining pylint violations were fixed in the code.

See merge request StCyr/plugin.video.peertube!11 for more information
This commit is contained in:
Thomas
2021-04-11 21:51:35 +00:00
parent f138f2595a
commit 0efeb9ffdf
8 changed files with 950 additions and 18 deletions

View File

@ -7,9 +7,9 @@
SPDX-License-Identifier: GPL-3.0-only
See LICENSE.txt for more information.
"""
import xbmc
import xbmc # Kodistubs for Leia is not compatible with python3 / pylint: disable=syntax-error
import xbmcaddon
import xbmcgui
import xbmcgui # Kodistubs for Leia is not compatible with python3 / pylint: disable=syntax-error
def debug(message):