Beiträge von Lustiges Bassgebrumm
-
-
Hallo,
wie finde ich den Sender TELEZ / TeleZ.ch?
Ab und zu ist es nicht so einfach die Sender zu finden, gibt man Tele ein kommt z.B.: TeleZüri nicht.
thx
TeleZ hat die ID 115153
TeleZüri: 99243
-
Ich habe mir über die Skin-Einstellungen im Untermenü eines Menüpunktes den Punkt "Videos-Wiedergabelisten" hinzugefügt.
Nachdem du bei einem Film auf "In Abspielliste einreihen" gegangen bist, wählst du wie oben beschrieben im Untermenü "Videos-Wiedergabelisten" aus. Dort findest den Film in der (temporären) Wiedergabeliste und musst diese abspeichern, wenn du sie dauerhaft behalten willst.
Diese gespeicherte Wiedergabeliste findest du dann im Standard-Untermenü vom Menüpunkt "Filme" in "Intelligente Videowiedergabeliste".
Auf diese Weise habe ich mir mit diversen Musikvideos Listen wie "Classic Rock Hits" oder "NDW" erstellt.
-
-
Wo wird eigentlich die Senderliste gespeichert, so dass man sie sich sichern kann?
-
-
Ich werde die aktuelle Situation nutzen und die Synology neu aufsetzen. Einige kleinere Dinge, die sich mit der Zeit aufgetan haben, werden sicher so mit beseitigt. Außerdem stand schon seit geraumer Zeit ein Upgrade des DiskStationManagers an (Betriebssystem auf der Synology?), von welchem ich bislang die Finger gelassen habe. Und ich denke im Moment auch über eine Speichererweiterung bei dieser Gelegenheit nach.
In das Video hatte ich bereits reingeschaut. Mit meinem Schulenglisch aus den 70er Jahren und dann noch diese (für mich) nicht ganz einfache Materie komme ich damit nicht rum. Dieses Video auf deutsch und ich würde mich da reinknien. Ich möchte mich auf jeden Fall bei allen bedanken, die Hilfestellung geleistet haben.
Ich werde bestimmt demnächst wieder hier mit neuen Problemchen in dieser Angelegenheit aufschlagen. An diesem Thema "Streamlink in Verbindung mit tvheadend" möchte ich jedenfalls weiter dranbleiben.
-
Nur zur Info:
Auf dem Host soll Python nicht entfernt werden, nur im Container. Das klappte aber nicht (CLI: Befehl nicht gefunden).Ich werde nun nochmal von vorne anfangen. Docker habe ich deinstalliert und es geht nochmal von ganz vorne los. Kann ja nur dazulernen ...
Mir ist im Moment nicht klar, mit welchen Befehlen ich im (dann neuen) tvh-Container Python3 installiere. -
Sorry, ich verliere langsam den Überblick. Den Aufruf in meinem #86 hatte ich innerhalb des Containers gemacht.
Danach, noch bevor ich deine Antwort lesen konnte, habe ich folgendes gemacht:
root@linuxserver-tvheadend:/# synopkg stop Python2
sh: synopkg: not found
root@linuxserver-tvheadend:/# exitMelden@DS918:~$ synopkg stop Python2
package Python2 stop successfully
Melden@DS918:~$ synopkg uninstall Python2
Melden@DS918:~$ synopkg stop Python3
package Python3 stop successfully
Melden@DS918:~$ synopkg uninstall Python3
Melden@DS918:~$ which python
/bin/python
Melden@DS918:~$ python --version
Python 2.7.12Dann, nach dem Lesen deines Postings:
Melden@DS918:~$ sudo docker exec linuxserver-tvheadend sh -c 'which python'
Password:
/usr/bin/python
Melden@DS918:~$ sudo docker exec linuxserver-tvheadend sh -c 'which python3'
/usr/bin/python3Ich weiß gerade nicht, wie ich weiter vorgehen sollte.
Dennoch habe ich das Gefühl, dass ich dem Ziel schon recht nahe bin.
Nachmeldung:
Melden@DS918:~$ sudo docker exec linuxserver-tvheadend sh -c 'python --version'
Password:
Python 2.7.18 -
-
Also, er meinte, dass es so aussieht, als ob mein APK das streamlink_cli Modul nicht dort installiert hat, wo es sein sollte. Ich solle überprüfen Sie, ob meine Python Version 3.11 ist.
Wahrscheinlich habe ich mehrere Versionen von Python installiert, was ich beheben muss. Ich müsste dann alle vorhandenen entfernen und per apk neu installieren.Nach dieser Ausgabe:
Code
Alles anzeigenroot@linuxserver-tvheadend:/# python3 --version Python 3.8.10 root@linuxserver-tvheadend:/# root@linuxserver-tvheadend:/# ls /usr/lib/python3.11/site-packages/ Crypto isodate-0.6.1-py3.11.egg-info socks.py PySocks-1.7.1-py3.11.egg-info lxml sockshandler.py __pycache__ lxml-4.9.2-py3.11.egg-info streamlink certifi pycountry streamlink-5.2.1.dist-info certifi-2022.12.7-py3.11.egg-info pycountry-22.3.5-py3.11.egg-info streamlink_cli charset_normalizer pycryptodome-3.17-py3.11.egg-info urllib3 charset_normalizer-3.0.1-py3.11.egg-info requests urllib3-1.26.14-py3.11.egg-info idna requests-2.28.2.dist-info websocket idna-3.4.dist-info six-1.16.0-py3.11.egg-info websocket_client-1.5.1.dist-info isodate six.py root@linuxserver-tvheadend:/# root@linuxserver-tvheadend:/# ls root@linuxserver-tvheadend:/# /root@linuxserver-tvheadend:/# ls /usr/lib/python*/site-packages/ /usr/lib/python2.7/site-packages/: README /usr/lib/python3.11/site-packages/: Crypto isodate-0.6.1-py3.11.egg-info socks.py PySocks-1.7.1-py3.11.egg-info lxml sockshandler.py __pycache__ lxml-4.9.2-py3.11.egg-info streamlink certifi pycountry streamlink-5.2.1.dist-info certifi-2022.12.7-py3.11.egg-info pycountry-22.3.5-py3.11.egg-info streamlink_cli charset_normalizer pycryptodome-3.17-py3.11.egg-info urllib3 charset_normalizer-3.0.1-py3.11.egg-info requests urllib3-1.26.14-py3.11.egg-info idna requests-2.28.2.dist-info websocket idna-3.4.dist-info six-1.16.0-py3.11.egg-info websocket_client-1.5.1.dist-info isodate six.py /usr/lib/python3.8/site-packages/: README.txt
ist es wohl auch so.
Aber wie kann ich alle vorhandenen deinstallieren bzw. das benötigte installieren?
Python3 hatte ich erst vor wenigen Tagen aus dem Paket-Zentrum der Synology installiert. Auf diesem Weg könnte ich es dann ja wieder installieren.
Ich hatte zuvor gesehen, dass Python2.7 installiert war. -
Ohne tags hat curl funktioniert und ich sah dasselbe Bild wie du.
Dein Vorschlag für die Änderung des Scriptes war ebenso erfolgreich. Der Containerneustart gab folgendes aus:
Python
Alles anzeigen2023-02-11 15:42:32 stdout [services.d] starting services 2023-02-11 15:42:32 stdout [cont-init.d] done. 2023-02-11 15:42:32 stdout [cont-init.d] 99-custom-files: exited 0. 2023-02-11 15:42:32 stdout [custom-init] streamlink_for_tvh_container.sh: exited 0 2023-02-11 15:42:32 stdout *********************************************** 2023-02-11 15:42:32 stdout * Message: Reached EOF without critical errors. 2023-02-11 15:42:32 stdout * Finished Streamlink install/upgrade script 2023-02-11 15:42:32 stdout *********************************************** 2023-02-11 15:42:32 stdout [TVHlink] [info] Streamlink version: . 2023-02-11 15:42:32 stdout ModuleNotFoundError: No module named 'streamlink_cli' 2023-02-11 15:42:32 stdout from streamlink_cli.main import main 2023-02-11 15:42:32 stdout File "/usr/bin/streamlink", line 5, in <module> 2023-02-11 15:42:32 stdout Traceback (most recent call last): 2023-02-11 15:42:31 stdout OK: 474 MiB in 259 packages 2023-02-11 15:42:31 stdout Executing ca-certificates-20191127-r4.trigger 2023-02-11 15:42:31 stdout 7 99% ########################################### 8[0K7100% ############################################8[0KExecuting busybox-1.31.1-r20.trigger 2023-02-11 15:42:31 stdout 7 93% ######################################### 8[0K7 94% ######################################### 8[0K7 95% ######################################### 8[0K7 95% ########################################## 8[0K7 96% ########################################## 8[0K7 97% ########################################## 8[0K7 97% ########################################### 8[0K7 98% ########################################### 8[0K7 99% ########################################### 8[0K(32/32) Purging expat (2.2.9-r1) 2023-02-11 15:42:31 stdout 7 93% ######################################### 8[0K(31/32) Installing streamlink (5.2.1-r0) 2023-02-11 15:42:31 stdout 7 93% ######################################## 8[0K7 93% ######################################### 8[0K(30/32) Installing py3-websocket-client (1.5.1-r0) 2023-02-11 15:42:31 stdout 7 80% ################################### 8[0K7 81% ################################### 8[0K7 81% #################################### 8[0K7 82% #################################### 8[0K7 83% #################################### 8[0K7 84% #################################### 8[0K7 84% ##################################### 8[0K7 85% ##################################### 8[0K7 86% ##################################### 8[0K7 86% ###################################### 8[0K7 87% ###################################### 8[0K7 88% ###################################### 8[0K7 88% ####################################### 8[0K7 89% ####################################### 8[0K7 90% ####################################### 8[0K7 90% ######################################## 8[0K7 91% ######################################## 8[0K7 92% ######################################## 8[0K(29/32) Installing py3-pysocks (1.7.1-r4) 2023-02-11 15:42:30 stdout 7 27% ############ 8[0K7 28% ############ 8[0K7 29% ############ 8[0K7 30% ############# 8[0K7 31% ############# 8[0K7 32% ############## 8[0K7 33% ############## 8[0K7 34% ############## 8[0K7 34% ############### 8[0K7 35% ############### 8[0K7 36% ############### 8[0K7 36% ################ 8[0K7 37% ################ 8[0K7 38% ################ 8[0K7 39% ################# 8[0K7 40% ################# 8[0K7 40% ################## 8[0K7 41% ################## 8[0K7 42% ################## 8[0K7 43% ################## 8[0K7 43% ################### 8[0K7 44% ################### 8[0K7 45% ################### 8[0K7 45% #################### 8[0K7 46% #################### 8[0K7 47% #################### 8[0K7 47% ##################### 8[0K7 48% ##################### 8[0K7 49% ##################### 8[0K7 50% ###################### 8[0K7 51% ###################### 8[0K7 52% ###################### 8[0K7 52% ####################### 8[0K7 53% ####################### 8[0K7 54% ####################### 8[0K7 54% ######################## 8[0K7 55% ######################## 8[0K7 56% ######################## 8[0K7 56% ######################### 8[0K7 57% ######################### 8[0K7 58% ######################### 8[0K7 59% ########################## 8[0K7 60% ########################## 8[0K7 61% ########################## 8[0K7 61% ########################### 8[0K7 62% ########################### 8[0K7 63% ########################### 8[0K7 63% ############################ 8[0K7 64% ############################ 8[0K7 65% ############################ 8[0K7 65% ############################# 8[0K7 66% ############################# 8[0K7 67% ############################# 8[0K7 68% ############################## 8[0K7 69% ############################## 8[0K7 70% ############################## 8[0K7 70% ############################### 8[0K7 71% ############################### 8[0K7 72% ############################### 8[0K7 73% ################################ 8[0K7 74% ################################ 8[0K7 75% ################################# 8[0K7 76% ################################# 8[0K7 77% ################################# 8[0K7 77% ################################## 8[0K(28/32) Installing py3-pycryptodome (3.17.0-r0) 2023-02-11 15:42:29 stdout 7 20% ######## 8[0K7 20% ######### 8[0K7 21% ######### 8[0K7 23% ########## 8[0K7 24% ########## 8[0K7 25% ########### 8[0K7 26% ########### 8[0K7 27% ########### 8[0K7 27% ############ 8[0K(27/32) Installing py3-pycountry (22.3.5-r1) 2023-02-11 15:42:29 stdout 7 19% ######## 8[0K7 20% ######## 8[0K(26/32) Installing py3-lxml (4.9.2-r0) 2023-02-11 15:42:28 stdout 7 19% ######## 8[0K(25/32) Installing py3-isodate (0.6.1-r2) 2023-02-11 15:42:28 stdout 7 19% ######## 8[0K(24/32) Upgrading py3-six (1.15.0-r0 -> 1.16.0-r4) 2023-02-11 15:42:28 stdout 7 19% ######## 8[0K(23/32) Purging py3-parsing (2.4.7-r0) 2023-02-11 15:42:28 stdout 7 19% ######## 8[0K(22/32) Purging py3-packaging (20.4-r0) 2023-02-11 15:42:28 stdout 7 19% ######## 8[0K(21/32) Purging py3-appdirs (1.4.4-r1) 2023-02-11 15:42:28 stdout 7 19% ######## 8[0K(20/32) Purging py3-ordered-set (4.0.1-r0) 2023-02-11 15:42:28 stdout 7 19% ######## 8[0K(19/32) Purging py3-setuptools (47.0.0-r0) 2023-02-11 15:42:28 stdout 7 18% ######## 8[0K7 19% ######## 8[0K(18/32) Purging py3-chardet (3.0.4-r4) 2023-02-11 15:42:28 stdout 7 16% ####### 8[0K7 17% ####### 8[0K7 18% ####### 8[0K7 18% ######## 8[0K(17/32) Upgrading py3-requests (2.23.0-r0 -> 2.28.2-r0) 2023-02-11 15:42:28 stdout 7 15% ###### 8[0K7 15% ####### 8[0K7 16% ####### 8[0K(16/32) Upgrading py3-urllib3 (1.25.9-r0 -> 1.26.14-r0) 2023-02-11 15:42:28 stdout 7 14% ###### 8[0K7 15% ###### 8[0K(15/32) Upgrading py3-idna (2.9-r0 -> 3.4-r3) 2023-02-11 15:42:28 stdout 7 14% ###### 8[0K(14/32) Installing py3-charset-normalizer (3.0.1-r1) 2023-02-11 15:42:28 stdout 7 12% ##### 8[0K(13/32) Upgrading py3-certifi (2020.4.5.1-r0 -> 2022.12.7-r0) 2023-02-11 15:42:28 stdout 7 12% ##### 8[0K(12/32) Upgrading sqlite-libs (3.32.1-r0 -> 3.40.1-r0) 2023-02-11 15:42:28 stdout 7 10% #### 8[0K(11/32) Upgrading libxslt (1.1.34-r0 -> 1.1.37-r0) 2023-02-11 15:42:28 stdout 7 9% #### 8[0K(10/32) Upgrading libgcrypt (1.8.5-r0 -> 1.10.1-r0) 2023-02-11 15:42:28 stdout 7 7% ### 8[0K(9/32) Upgrading libgpg-error (1.37-r0 -> 1.46-r1) 2023-02-11 15:42:28 stdout 7 7% ### 8[0K(8/32) Upgrading libxml2 (2.9.10-r5 -> 2.10.3-r2) 2023-02-11 15:42:28 stdout 7 6% ## 8[0K(7/32) Upgrading xz-libs (5.2.5-r0 -> 5.4.1-r0) 2023-02-11 15:42:28 stdout 7 6% ## 8[0K(6/32) Upgrading gmp (6.2.0-r0 -> 6.2.1-r2) 2023-02-11 15:42:28 stdout 7 6% ## 8[0K(5/32) Upgrading libbz2 (1.0.8-r1 -> 1.0.8-r4) 2023-02-11 15:42:28 stdout 7 5% ## 8[0K(4/32) Installing libexpat (2.5.0-r0) 2023-02-11 15:42:28 stdout 7 0% 8[0K7 4% # 8[0K7 5% ## 8[0K(3/32) Upgrading libssl1.1 (1.1.1o-r0 -> 1.1.1t-r0) 2023-02-11 15:42:27 stdout 7 0% 8[0K(2/32) Upgrading libcrypto1.1 (1.1.1o-r0 -> 1.1.1t-r0) 2023-02-11 15:42:27 stdout (1/32) Upgrading readline (8.0.4-r0 -> 8.2.001-r0) 2023-02-11 15:42:26 stdout fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 2023-02-11 15:42:26 stdout fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 2023-02-11 15:42:26 stdout fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz 2023-02-11 15:42:25 stdout fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz 2023-02-11 15:42:25 stdout fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz 2023-02-11 15:42:25 stdout [TVHlink] [info] Installing/upgrading Streamlink... 2023-02-11 15:42:24 stdout *********************************************** 2023-02-11 15:42:24 stdout Repo: https://github.com/cgomesu/tvhlink 2023-02-11 15:42:24 stdout Author: cgomesu 2023-02-11 15:42:24 stdout *********************************************** 2023-02-11 15:42:24 stdout ****** Streamlink install/upgrade script ****** 2023-02-11 15:42:24 stdout *********************************************** 2023-02-11 15:42:24 stdout [custom-init] streamlink_for_tvh_container.sh: executing... 2023-02-11 15:42:24 stdout [custom-init] files found in /config/custom-cont-init.d executing 2023-02-11 15:42:24 stdout [cont-init.d] 99-custom-files: executing... 2023-02-11 15:42:24 stdout [cont-init.d] 50-gid-video: exited 0. 2023-02-11 15:42:24 stdout [cont-init.d] 50-gid-video: executing... 2023-02-11 15:42:24 stdout [cont-init.d] 30-config: exited 0. 2023-02-11 15:42:24 stdout Setting permissions
Die CLI sagt:
root@linuxserver-tvheadend:/# which streamlink
/usr/bin/streamlink
root@linuxserver-tvheadend:/#
root@linuxserver-tvheadend:/# streamlink --version
Traceback (most recent call last):
File "/usr/bin/streamlink", line 5, in <module>
from streamlink_cli.main import main
ModuleNotFoundError: No module named 'streamlink_cli'
root@linuxserver-tvheadend:/#Es funktioniert trotzdem noch nicht aber jetzt scheint offenbar "nur noch" das Modul zu fehlen.
-
Danke für deine Mühen!
Das wird mir angezeigt:
Melden@DS918:~$ sudo docker exec linuxserver-tvheadend sh -c 'curl http://dl-cdn.alpinelinux.org/alpine/edge/main/'
curl: (3) bad range in URL position 2:
http://dl-cdn.alpinelinux.org/alpine/edge/main/Einen eventuellen Schreibfehler entdecke ich nicht.
-
Linux linuxserver-tvheadend 4.4.59+ #24922 SMP PREEMPT Mon Aug 19 12:13:37 CST 2019 x86_64 GNU/Linux
bzw.
Code
Alles anzeigenroot@linuxserver-tvheadend:/etc# ls -al total 132 drwxrwxr-x 1 root root 834 Feb 10 18:13 . drwxr-xr-x 1 root root 296 Feb 9 15:24 .. drwxr-xr-x 1 root root 84 May 9 2021 apk drwxr-xr-x 1 root root 16 Apr 20 2021 ca-certificates -rw-r--r-- 1 root root 5613 Jun 18 2020 ca-certificates.conf drwxr-xr-x 1 root root 0 Apr 20 2021 conf.d drwxr-xr-x 1 root root 0 Feb 15 2021 cont-finish.d drwxrwxr-x 1 root root 112 May 9 2021 cont-init.d drwxr-xr-x 1 root root 8 Apr 20 2021 crontabs drwxr-xr-x 1 root root 14 Apr 20 2021 default -rw-r--r-- 1 root root 97 May 28 2020 environment drwxr-xr-x 1 root root 0 Feb 15 2021 fix-attrs.d drwxr-xr-x 1 root root 32 May 9 2021 fonts -rw-r--r-- 1 root root 89 May 30 2020 fstab -rw-r--r-- 1 root root 702 Feb 10 18:13 group -rw-r--r-- 1 root root 702 Feb 10 18:05 group- -rw-r--r-- 1 root root 22 Feb 10 18:13 hostname -rw-r--r-- 1 root root 183 Feb 10 18:13 hosts drwxr-xr-x 1 root root 0 Apr 20 2021 init.d -rw-r--r-- 1 root root 570 May 30 2020 inittab -rw-r--r-- 1 root root 1748 Feb 9 2020 inputrc -rw-r--r-- 1 root root 20 Apr 5 2020 login.defs drwxr-xr-x 1 root root 10 Apr 20 2021 logrotate.d drwxr-xr-x 1 root root 86 Apr 20 2021 modprobe.d -rw-r--r-- 1 root root 15 May 30 2020 modules drwxr-xr-x 1 root root 0 Apr 20 2021 modules-load.d -rw-r--r-- 1 root root 283 May 30 2020 motd lrwxrwxrwx 1 root root 12 May 18 2021 mtab -> /proc/mounts drwxr-xr-x 1 root root 132 Apr 20 2021 network drwxr-xr-x 1 root root 0 Apr 20 2021 opt drwxr-xr-x 1 root root 370 Apr 20 2021 pam.d -rw-r--r-- 1 root root 1207 May 18 2021 passwd -rw-r--r-- 1 root root 1208 Apr 20 2021 passwd- drwxr-xr-x 1 root root 58 Apr 20 2021 periodic drwxr-xr-x 1 root root 38 May 9 2021 pkcs11 -rw-r--r-- 1 root root 238 May 30 2020 profile drwxr-xr-x 1 root root 42 Apr 20 2021 profile.d -rw-r--r-- 1 root root 1865 May 30 2020 protocols -rw-r--r-- 1 root root 43 Feb 10 18:13 resolv.conf drwxr-xr-x 1 root root 82 Apr 20 2021 s6 -rw-r--r-- 1 root root 70 Mar 30 2021 securetty drwxr-xr-x 1 root root 200 Apr 20 2021 security -rw-r--r-- 1 root root 14464 May 30 2020 services drwxrwxr-x 1 root root 18 May 9 2021 services.d -rw-r----- 1 root shadow 440 Apr 20 2021 shadow -rw-r----- 1 root shadow 422 Apr 20 2021 shadow- -rw-r--r-- 1 root root 48 Apr 20 2021 shells drwxr-xr-x 1 root root 172 Apr 20 2021 ssl -rw-r--r-- 1 root root 53 May 30 2020 sysctl.conf drwxr-xr-x 1 root root 0 Apr 20 2021 sysctl.d drwxr-xr-x 1 root root 22 Apr 20 2021 terminfo -rw-r--r-- 1 root root 5306 Mar 30 2021 udhcpd.conf -rw-r--r-- 1 root root 51 Apr 29 2020 vdpau_wrapper.cfg -rw-r--r-- 1 root root 4945 Dec 26 2019 wgetrc
-
Der Entwickler teilte mir gestern folgendes mit.
Code
Alles anzeigenIch kann das nicht nachvollziehen. Es scheint, dass sich Ihr Alpine-Container aus irgendeinem Grund über die Schlüssel in der Randverzweigung beschwert. Es könnte sich um ein Verbindungsproblem handeln. Versuchen Sie, den Container neu zu starten. Wenn dies das Problem nicht behebt, versuchen Sie, im Skript "streamlink_for_tvh_container.sh" den folgenden Befehl zu ändern (Zeile #80): 'apk add --upgrade -U -X "$APK_MAIN" -X "$APK_COMMUNITY" -X "$APK_TESTING" streamlink' für apk add --allow-untrusted --upgrade -U -X "$APK_MAIN" -X "$APK_COMMUNITY" -X "$APK_TESTING" streamlink' und lassen Sie mich wissen, ob das Problem damit behoben ist.
Die Scriptänderung brachte aber nichts.
-
-
2. Versuch, Kopieren klappte jetzt, Container neu gestartet, Verzeichnis samt Script wurde jetzt erkannt, irgendwas ist aber immer noch im Argen:
Code
Alles anzeigenlinuxserver-tvheadend date,stream,content 2023-02-10 15:58:01,stdout,[services.d] done. 2023-02-10 15:58:01,stdout,[services.d] starting services 2023-02-10 15:58:01,stdout,[cont-init.d] done. 2023-02-10 15:58:01,stdout,[cont-init.d] 99-custom-files: exited 0. 2023-02-10 15:58:01,stdout,[custom-init] streamlink_for_tvh_container.sh: exited 1 2023-02-10 15:58:01,stdout,*********************************************** 2023-02-10 15:58:01,stdout,* Message: APK: Critical error. Unable install required packages. Check previous messages. 2023-02-10 15:58:01,stdout,* Finished Streamlink install/upgrade script 2023-02-10 15:58:01,stdout,*********************************************** 2023-02-10 15:58:01,stdout, required by: world[streamlink] 2023-02-10 15:58:01,stdout, streamlink (no such package): 2023-02-10 15:58:01,stdout,ERROR: unable to select packages: 2023-02-10 15:58:01,stdout,fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 2023-02-10 15:58:01,stdout,fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 2023-02-10 15:58:01,stdout,WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/edge/main: No such file or directory 2023-02-10 15:58:01,stdout,ERROR: http://dl-cdn.alpinelinux.org/alpine/edge/main: UNTRUSTED signature 2023-02-10 15:58:01,stdout,fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz 2023-02-10 15:58:01,stdout,WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/edge/community: No such file or directory 2023-02-10 15:58:01,stdout,ERROR: http://dl-cdn.alpinelinux.org/alpine/edge/community: UNTRUSTED signature 2023-02-10 15:58:01,stdout,fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz 2023-02-10 15:58:01,stdout,WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/edge/testing: No such file or directory 2023-02-10 15:58:01,stdout,ERROR: http://dl-cdn.alpinelinux.org/alpine/edge/testing: UNTRUSTED signature 2023-02-10 15:58:01,stdout,fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz 2023-02-10 15:58:01,stdout,[TVHlink] [info] Installing/upgrading Streamlink... 2023-02-10 15:58:01,stdout,*********************************************** 2023-02-10 15:58:01,stdout,Repo: https://github.com/cgomesu/tvhlink 2023-02-10 15:58:01,stdout,Author: cgomesu 2023-02-10 15:58:01,stdout,*********************************************** 2023-02-10 15:58:01,stdout,****** Streamlink install/upgrade script ****** 2023-02-10 15:58:01,stdout,*********************************************** 2023-02-10 15:58:01,stdout,[custom-init] streamlink_for_tvh_container.sh: executing... 2023-02-10 15:58:01,stdout,[custom-init] files found in /config/custom-cont-init.d executing 2023-02-10 15:58:01,stdout,[cont-init.d] 99-custom-files: executing... 2023-02-10 15:58:01,stdout,[cont-init.d] 50-gid-video: exited 0. 2023-02-10 15:58:01,stdout,[cont-init.d] 50-gid-video: executing... 2023-02-10 15:58:01,stdout,[cont-init.d] 30-config: exited 0. 2023-02-10 15:58:00,stdout,Setting permissions 2023-02-10 15:58:00,stdout,[cont-init.d] 30-config: executing... 2023-02-10 15:58:00,stdout,[cont-init.d] 10-adduser: exited 0. 2023-02-10 15:58:00,stdout, 2023-02-10 15:58:00,stdout,------------------------------------- 2023-02-10 15:58:00,stdout,User gid: 911 2023-02-10 15:58:00,stdout,User uid: 911 2023-02-10 15:58:00,stdout, 2023-02-10 15:58:00,stdout,------------------------------------- 2023-02-10 15:58:00,stdout,GID/UID 2023-02-10 15:58:00,stdout,------------------------------------- 2023-02-10 15:58:00,stdout,https://www.linuxserver.io/donate/ 2023-02-10 15:58:00,stdout,To support LSIO projects visit: 2023-02-10 15:58:00,stdout, 2023-02-10 15:58:00,stdout,------------------------------------- 2023-02-10 15:58:00,stdout,Brought to you by linuxserver.io 2023-02-10 15:58:00,stdout, 2023-02-10 15:58:00,stdout, 2023-02-10 15:58:00,stdout, |_| |___/ |_| \__/ 2023-02-10 15:58:00,stdout, | | \__ \ | | | () | 2023-02-10 15:58:00,stdout, | | / __| | | / \ 2023-02-10 15:58:00,stdout, | | ___ _ __ 2023-02-10 15:58:00,stdout, _ () 2023-02-10 15:58:00,stdout,------------------------------------- 2023-02-10 15:58:00,stdout, 2023-02-10 15:58:00,stdout,usermod: no changes 2023-02-10 15:58:00,stdout,[cont-init.d] 10-adduser: executing... 2023-02-10 15:58:00,stdout,[cont-init.d] 01-envfile: exited 0. 2023-02-10 15:58:00,stdout,[cont-init.d] 01-envfile: executing... 2023-02-10 15:58:00,stdout,[cont-init.d] executing container initialization scripts...
-
Danke für deine Hilfe. Bin aber leider noch nicht weiter gekommen:
Code
Alles anzeigenroot@linuxserver-tvheadend:/# ls app config defaults docker-mods groupadd init libexec mnt picons root sbin streamlink tmp var bin custom-cont-init.d dev etc home lib media opt proc run srv sys usr root@linuxserver-tvheadend:/# root@linuxserver-tvheadend:/# root@linuxserver-tvheadend:/# cd config root@linuxserver-tvheadend:/config# root@linuxserver-tvheadend:/config# cp -r custom-cont-init.d /custom-cont-init.d cp: cannot stat 'custom-cont-init.d': No such file or directory root@linuxserver-tvheadend:/config# root@linuxserver-tvheadend:/config# cp -r custom-services.d /custom-services.d cp: cannot stat 'custom-services.d': No such file or directory root@linuxserver-tvheadend:/config# root@linuxserver-tvheadend:/config#
-
Ich möchte euch um eure Expertenhilfe bitten:
Ich habe tvheadend im Docker auf einer Synology 918+ laufen und würde gerne Streamlink einbinden. Dazu bin ich nach der in #2 verlinkten Anleitung vorgegangen. Einige von euch, zumindest @SkyBird1980, haben das ja schon erfolgreich nachbauen können. Eins zu eins konnte ich die Anleitung nicht umsetzen, z.B. kennt die Synology die Befehle apt bzw. apt-get nicht. Dennoch denke ich, dass ich die erforderlichen Vorussetzungen wie Installation von Python 3,git und das Erstellen des Ordners custom-cont-init.d samt dem Script geschaffen habe. Es funktioniert jedoch noch nicht. Der Grund liegt vermutlich darin, dass ich Fehler beim Mounten des Verzeichnisses in den Docker-Container mache.
Ich habe zunächst neben dem config-Verzeichnis von tvheadend das Verzeichnis mit dem Script angelegt:
Der Mountpfad sah so aus:
Das Dockerprotokoll zeigte beim Containerstart:
2023-02-09 11:23:47 stdout [cont-init.d] 99-custom-files: exited 0.
2023-02-09 11:23:47 stdout [custom-init] no custom files found exiting...
2023-02-09 11:23:47 stdout [cont-init.d] 99-custom-files: executing...Linuxserver findet das Script nicht.
Ich habe den Entwickler gefragt, der mir folgendes mitteilte:
---
Haben Sie ein Host-Verzeichnis, das das Streamlink-Skript enthält, auf '/custom-cont-init.d' abgebildet? Dies ist erforderlich. Erstellen Sie auf Ihrem Host (Synology) ein Verzeichnis '/opt/tvheadend/custom-cont-init.d/' und laden Sie das Streamlink-Skript wie folgt in dieses Verzeichnis herunter:curl -o temp/streamlink_für_tvh_container.sh https://raw.githubusercontent.com/cgomesu/tvhlin…vh_container.sh
Machen Sie das Skript dann ausführbar:
chmod +x temp/streamlink_for_tvh_container.sh
und ordnen Sie in Ihrer Docker-Container-Konfiguration das Host-Verzeichnis '/opt/tvheadend/custom-cont-init.d' dem Container-Verzeichnis '/custom-cont-init.d' zu (dies geschieht über -v in der CLI oder die Registerkarte Volumes in Portainer). (Zur Erhöhung der Sicherheit können Sie diese Zuordnung schreibgeschützt machen, da der Container sie zu keinem Zeitpunkt ändern soll.) Setzen Sie nun den neu konfigurierten Container ein und beobachten Sie die Logs, die anzeigen sollten, dass das Skript ausgeführt wird.
---Das Verzeichnis '/opt/tvheadend/custom-cont-init.d/' habe ich mit dem File Manager der Synology unter /volume1/Homes/Melden angelegt, wobei 'Melden' der Benutzername ist, mit dem ich mich auf der Synology eingeloggt habe. In das Verzeichnis habe ich das Script hineinkopiert.
Im Docker-Container sieht der Mount-Pfad jetzt so aus:
Die Protokollausgabe nach dem Containerneustart ist unverändert. Das Script wird nicht gefunden. Wo liegen meine Fehler?
Ich brauche sicher nicht zu erwähnen, dass es nicht gut bestellt ist um meine Linux-Kenntnisse. Ich kann's schlecht verbergen.
-