• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. stoffel
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
S
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 3
  • Posts 35
  • Groups 0

stoffel

@stoffel

1
Reputation
3
Profile views
35
Posts
0
Followers
0
Following
Joined Mar 27, 2021, 9:31 PM
Last Online Nov 15, 2024, 2:01 PM

stoffel Unfollow Follow

Best posts made by stoffel

  • RE: Are you tired of editing config.js, or have trouble doing it, see my new module

    @sdetweil
    ok, thanks. it works well with all my modules, great!

    but when i add the MMM-Volume i have another error. i think it is a problem from MMM-Volume. it’s two years old. it’s a json format error

    posted in Utilities
    S
    stoffel
    May 25, 2021, 2:12 PM

Latest posts made by stoffel

  • RE: Error updating MM

    @sil3ntstorm i make sudo rm -r /usr/lib/node_modules
    then i used the upgrade-script
    bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” apply.
    the script above
    bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/node20_install.sh)”
    not work for me, error arch=: Zeile 1: “#!/bin/bash: Datei oder Verzeichnis nicht gefunden.

    after that i make npm install in the MagicMirror directory. Now all works fine for me

    posted in Troubleshooting
    S
    stoffel
    Oct 8, 2023, 9:08 AM
  • RE: MMM-MplayerRadio no Sound gelöst

    @wishmaster270 habe das Modul upgedated. Funktioniert gut. Vielen Dank.

    Übrigens, mein ssl-Problem liegt vielleicht doch an surfmusik.de.
    Unter ssllab.com kann man die Zertifikate testen lassen und bekommt einen ausfürlichen Bericht. Ein Zertifikat von surfmusik.de ist unvollständig.

    Unbenannt.png

    Ich bin mir nicht sicher ob der VLC-Player SNI-Support hat.

    posted in Bug Hunt
    S
    stoffel
    Jun 1, 2023, 9:03 AM
  • RE: MMM-MplayerRadio no Sound gelöst

    @wishmaster270
    habe deinen Hinweis umgesetzt, funktioniert bei mir leider nicht.
    Müssten dann nicht auch zwei weitere Variablen im streamlinkWrapper eingefügt werden? Habe ich probiert und die Var OPT1 und OPT2 hinzugefügt und die Variable streamlink damit ergänzt .

    #!/bin/bash
    STREAM_TIMEOUT=$1
    SLEEP_TIME=$2
    LINK=$3
    OPT1=$4
    OPT2=$5
    
    STOP=0
    
    exit_script() {
    	STOP=1
    	killall streamlink
    	exit 0
    }
    
    trap exit_script exit
    
    
    while [ $STOP == 0 ] ; do 
    	streamlink "httpstream://${LINK}" live -p cvlc --retry-streams $STREAM_TIMEOUT $OPT1 $OPT2
    	CUR_PID=$PID
    	sleep $SLEEP_TIME
    done
    

    Funktioniert. Jetzt kann ich meine Ops in der config angeben und muss nicht im streamlinkWrapper
    herum fummeln.
    Ich bin halt kein Programmieren und brauche etwas mehr Zeit um die dinge zu verstehen. Kannst du das Script vielleicht so anpassen, so das man bei Updates nicht erneut im Script Änderungen vornehmen muss? Wäre super.

    posted in Bug Hunt
    S
    stoffel
    May 27, 2023, 6:03 AM
  • RE: MMM-MplayerRadio no Sound gelöst

    @stoffel so, habe das Problem mit streamlink behoben.

    cp -a -v ../MagicMirror/config/config.default.js ../MagicMirror/config/config.js 1>> ./log_erfolgreich.txt 2>> ./log_fehlgeschlagen.txt
    for streamlink_process_id in $(ps aux | grep -i "streamlink" | awk '{print $2}'); do
        kill -2 $streamlink_process_id
    done
    pm2 restart MagicMirror
    

    streamlink_process_id holt sich die Process_id von allen Prozessen die mit streamlink zu tun haben und sendet Ctrl +c an jeden einzelnen davon. Jetzt ist streamlink komplett beendet und starte nicht immer wieder. :clapping_hands:

    FERTIG :thumbs_up:

    posted in Bug Hunt
    S
    stoffel
    May 24, 2023, 5:16 PM
  • RE: MMM-MplayerRadio no Sound gelöst

    @wishmaster270
    ein git pull hat den streamlinkWrapper nicht überschrieben, also Modul gelöscht und neu gecloned.
    Alles gut. Dann neu gebootet und

    customCommandArgs: ["10","30","###URL###","--http-no-ssl-verify --player-continuous-http"],
    

    in meiner Config eingefügt, funktioniert leider nicht.

    customCommandArgs: ["10","30","###URL### --http-no-ssl-verify --player-continuous-http"],
    

    funktioniert leider auch nicht.

    streamlink "httpstream://${LINK}" live -p cvlc --retry-streams $STREAM_TIMEOUT --http-no-ssl-verify --player-continuous-http
    

    in der streamlinker.bash funktioniert :thumbs_up:

    Jetzt habe ich ein neues Problem. Wenn ich über mein Modul MMM-ConfigSwitcher in eine andere Config wechsle wird der Streamlinker nicht gekillt.
    Der Streamlinker starte jetzt in jeder Config automatisch, wahrscheinlich wegen der Option –player-continuous-http.
    Wie kann ich den Streamlinker sicher stoppen.

    Das MMM-ConfigSwitcher Module (meine Anpassung des MMM-ProfileSwicher) ruft das defauft.sh script auf

    cp -a -v ../MagicMirror/config/config.default.js ../MagicMirror/config/config.js 1>> ./log_erfolgreich.txt 2>> ./log_fehlgeschlagen.txt
    pm2 restart MagicMirror
    

    Der Befehl ps gibt nur bash und ps aus
    ein killall vlc killt den vlc nicht aber den streamlinker.
    Hast du vieleicht eine Idee?

    posted in Bug Hunt
    S
    stoffel
    May 24, 2023, 11:54 AM
  • RE: MMM-MplayerRadio no Sound gelöst

    @wishmaster270
    so, habe jetzt das Modul gelöscht und neu gecloned. Alle Dateien vorhanden. Die Rechte bei den Scripten stehen bei mir auf 755.

    Habe es mal mit dem vlcWrapper probiert, leider ohne Erfolg wegen des ssl-problem. Meine System-zeit ist auf Europa/berlin eingestellt und zeigt die korrekte Zeit an.

    locales:
    LANG=de_DE.UTF-8
    alles andere = de_DE

    apt-cache policy vlc; lsb_release -a; uname -a

    vlc:
    Installiert: 3.0.18-0+rpt3+deb11u1
    Installationskandidat: 3.0.18-0+rpt3+deb11u1
    Versionstabelle:
    *** 3.0.18-0+rpt3+deb11u1 500
    500 http://archive.raspberrypi.org/debian bullseye/main armhf Packages
    100 /var/lib/dpkg/status
    3.0.18-0+deb11u1+rpi1 500
    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
    Distributor ID: Raspbian
    Description: Raspbian GNU/Linux 11 (bullseye)
    Release: 11
    Codename: bullseye
    Linux raspberrypi 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux

    Vielleicht könnte man eine weitere Var dem Script hinzufügen für die die noch (oder andere) Optionen anfügen möchten/müssen. Ansonsten ein super Module, kenne auch kein anderes. Danke dafür.

    Für mich ist das no-sound Problem gelöst :hugging_face: :clapping_hands:

    posted in Bug Hunt
    S
    stoffel
    May 22, 2023, 1:43 PM
  • RE: MMM-MplayerRadio no Sound gelöst

    @wishmaster270
    Die Scripte vlcPaWrapper.bash und vlcWrapper.bash habe ich garnicht. Ein git pull endet mit der Meldung bereits aktuel

    posted in Bug Hunt
    S
    stoffel
    May 21, 2023, 8:59 AM
  • RE: MMM-MplayerRadio no Sound gelöst

    @wishmaster270
    ich habe vergessen das es auch ein problem mit dem ssl Zertifikat gibt deshalb habe ich zum testen im script noch die Option –http-no-ssl-verify --player-continuous-http angefügt. Meine Streams sind alle von surfmusik.de, vielleicht funktionieren andere Streams auch ohne diesen zusatz. Ob das ssl-problem vom Modul oder vom System kommt kann ich nicht sagen.

    posted in Bug Hunt
    S
    stoffel
    May 21, 2023, 8:41 AM
  • MMM-MplayerRadio no Sound gelöst

    Re: MMM-MplayerRadio - No sound

    die vorgeschlagenen Lösungen habe bei mir nicht funktioniert. Nach langer suche habe ich heraus gefunden das der EACCES
    at ChildProcess._handle.onexit (node:internal/child_process:283:19
    )
    error durch die Rechte 744 statt 644 für das Script StreamlinkWrapper.bash behoben werden kann. Falls das ein Sichereitsrisiko darstellt bitte melden. Jetzt funktioniert alles wie früher :clapping_hands: .

    config: {
              customCommand: "/home/????/MagicMirror/modules/MMM-MplayerRadio/scripts/streamlinkWrapper.bash",
              customCommandArgs: ["10","30","###URL###"],
    
    posted in Bug Hunt
    S
    stoffel
    May 20, 2023, 2:14 PM
  • RE: MM und nextcloud auf ein RPI möglich?

    @coernel vielen Dank für deine Antwort. Ich habe noch ein Backup. Die Nextcloud habe ich auch schon mit dieser Anleitung installiert. Jetzt habe ich aber das Problem das die Nextcloud nicht über die lokale IP erreichbar ist, sondern nur mein MM. Das liegt wahrscheinlich daran das der MM schon einen kleinen Web Server hat. Das Verzeichniss /var/www existierte vorher nicht. Wo das Server Verzeichnis vom MM liegt weis ich nicht, wahrscheinlich unter …/MagicMirror.

    Ich werde es erstmal mit nextcloudpi (guter Tipp, danke) probieren. Und dann MM installieren.

    Auf mein Handy habe ich LineageOS mit microG installiert. Läuft problemlos. Statt GMAIL habe ich DeltaChat, statt GoogleMaps Magic Earth, statt PlayStrore AuroraStore und FDroid, statt G…Chrome DuckDuck Browser. Alles läuft prima.

    Deine Antwort ist auf jeden Fall hilfreich. Vielen Dank dafür.

    Ich melde mich die Tage wenn ich nextcloudpi getestet habe.

    posted in General Discussion
    S
    stoffel
    Apr 17, 2023, 6:22 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy