dnsforge-repo / xteve

Latest Dockerized xTeVe v2.2.x IPTV proxy with Guide2go, zap2XML, Crond & Perl Support.
https://xteve.dnsforge.net
44 stars 10 forks source link

Docker container Linux help #16

Open dinki opened 1 year ago

dinki commented 1 year ago

First off, thanks for providing this Docker for Xteve. I am trying to use it with Plex and PlutoTV and am having struggles due to the way Pluto injects commercials.

I would like to install Streamlink to use instead of VLC but am running into issues with installing the package. I did see that someone requested Streamlink be added #9 and certainly respect the decision. I do not mind installing this myself but am struggling to get it installed with Alpine package system:

61919d6ee335:/home/xteve# apk add streamlink ERROR: unable to select packages: python3-3.11.6-r0: conflicts: python3-3.10.9-r1 python3-3.10.9-r1[pythonispython3=3.11.6-r0] python3-3.10.9-r1[so:libpython3.so=0] python3-3.10.9-r1[cmd:2to3=3.11.6-r0] python3-3.10.9-r1[cmd:pydoc3=3.11.6-r0] python3-3.10.9-r1[cmd:python3=3.11.6-r0] python3-3.10.9-r1[cmd:python=3.11.6-r0] satisfies: py3-charset-normalizer-3.3.0-r0[python3] py3-charset-normalizer-3.3.0-r0[python3~3.11] py3-certifi-pyc-2023.7.22-r0[python3~3.11] py3-urllib3-1.26.17-r0[python3] py3-urllib3-1.26.17-r0[python3~3.11] py3-requests-2.31.0-r1[python3] py3-requests-2.31.0-r1[python3~3.11] python3-3.11.6-r0[python3~3.11] py3-pycountry-22.3.5-r1[python3] py3-pycountry-22.3.5-r1[python3~3.11] py3-pycryptodome-3.19.0-r0[python3~3.11] py3-websocket-client-pyc-1.6.4-r0[python3~3.11] py3-idna-3.4-r4[python3] py3-idna-3.4-r4[python3~3.11] py3-idna-pyc-3.4-r4[python3] py3-idna-pyc-3.4-r4[python3~3.11] py3-six-pyc-1.16.0-r7[python3] py3-six-pyc-1.16.0-r7[python3~3.11] py3-isodate-0.6.1-r4[python3~3.11] py3-pysocks-pyc-1.7.1-r5[python3] py3-pysocks-pyc-1.7.1-r5[python3~3.11] py3-certifi-2023.7.22-r0[python3~3.11] streamlink-5.5.1-r0[python3] streamlink-5.5.1-r0[python3~3.11] py3-websocket-client-1.6.4-r0[python3~3.11] streamlink-pyc-5.5.1-r0[python3] streamlink-pyc-5.5.1-r0[python3~3.11] py3-lxml-pyc-4.9.3-r0[python3~3.11] py3-lxml-4.9.3-r0[python3~3.11] py3-isodate-pyc-0.6.1-r4[python3~3.11] py3-urllib3-pyc-1.26.17-r0[python3] py3-urllib3-pyc-1.26.17-r0[python3~3.11] py3-charset-normalizer-pyc-3.3.0-r0[python3] py3-charset-normalizer-pyc-3.3.0-r0[python3~3.11] py3-six-1.16.0-r7[python3] py3-six-1.16.0-r7[python3~3.11] py3-requests-pyc-2.31.0-r1[python3] py3-requests-pyc-2.31.0-r1[python3~3.11] py3-pysocks-1.7.1-r5[python3] py3-pysocks-1.7.1-r5[python3~3.11] python3-3.10.9-r1: conflicts: python3-3.11.6-r0 python3-3.11.6-r0[pythonispython3=3.10.9-r1] python3-3.11.6-r0[so:libpython3.so=0] python3-3.11.6-r0[cmd:2to3=3.10.9-r1] python3-3.11.6-r0[cmd:pydoc3=3.10.9-r1] python3-3.11.6-r0[cmd:python3=3.10.9-r1] python3-3.11.6-r0[cmd:python=3.10.9-r1] breaks: py3-charset-normalizer-3.3.0-r0[python3~3.11] py3-certifi-pyc-2023.7.22-r0[python3~3.11] py3-urllib3-1.26.17-r0[python3~3.11] py3-requests-2.31.0-r1[python3~3.11] python3-3.11.6-r0[python3~3.11] py3-pycountry-22.3.5-r1[python3~3.11] py3-pycryptodome-3.19.0-r0[python3~3.11] py3-websocket-client-pyc-1.6.4-r0[python3~3.11] py3-idna-3.4-r4[python3~3.11] py3-idna-pyc-3.4-r4[python3~3.11] py3-six-pyc-1.16.0-r7[python3~3.11] py3-isodate-0.6.1-r4[python3~3.11] py3-pysocks-pyc-1.7.1-r5[python3~3.11] py3-certifi-2023.7.22-r0[python3~3.11] streamlink-5.5.1-r0[python3~3.11] py3-websocket-client-1.6.4-r0[python3~3.11] streamlink-pyc-5.5.1-r0[python3~3.11] py3-lxml-pyc-4.9.3-r0[python3~3.11] py3-lxml-4.9.3-r0[python3~3.11] py3-isodate-pyc-0.6.1-r4[python3~3.11] py3-urllib3-pyc-1.26.17-r0[python3~3.11] py3-charset-normalizer-pyc-3.3.0-r0[python3~3.11] py3-six-1.16.0-r7[python3~3.11] py3-requests-pyc-2.31.0-r1[python3~3.11] py3-pysocks-1.7.1-r5[python3~3.11] satisfies: py3-charset-normalizer-3.3.0-r0[python3] py3-urllib3-1.26.17-r0[python3] py3-requests-2.31.0-r1[python3] py3-pycountry-22.3.5-r1[python3] py3-idna-3.4-r4[python3] py3-idna-pyc-3.4-r4[python3] py3-six-pyc-1.16.0-r7[python3] py3-pysocks-pyc-1.7.1-r5[python3] py3-talloc-2.3.4-r0[so:libpython3.10.so.1.0] py3-ldb-2.5.2-r0[so:libpython3.10.so.1.0] streamlink-5.5.1-r0[python3] streamlink-pyc-5.5.1-r0[python3] py3-urllib3-pyc-1.26.17-r0[python3] py3-charset-normalizer-pyc-3.3.0-r0[python3] py3-six-1.16.0-r7[python3] py3-requests-pyc-2.31.0-r1[python3] py3-pysocks-1.7.1-r5[python3] samba-libs-py3-4.16.8-r0[so:libpython3.10.so.1.0] 61919d6ee335:/home/xteve#

Any help/guidance is most appreciated. Thanks

I also see that streamlink provides appimages here but I am unsure if I can install these from within the Docker container. In short, I've been using Linux for a good long while now but still lack the technical capabilities to overcome some things and am kindly asking for help getting past this if someone could be generous in providing a push forward. I totally understand that this is outside of the scope of this project but streamlink may be useful to others as well.

FYI, here is a post that spurred me to try to get streamlink into the Xteve container:

That's great can't wait to try it out.

Sorry, I'm not going to have time to support the fork of xteve right now.

But here are the instructions, it works in any version of xteve.

Replace the path of VLC or FFMPEG with the path the Streamlink.

Replace the buffer options with --stdout --loglevel info [URL] --default-stream best

NOTE that you need to modify you playlists to work with streamlink. I have some scripts in my repo (https://github.com/ReenigneArcher/web2tv) that will generate plutotv, and others for streamlink as well as convert a standard m3u to use with streamlink.

image