klausAUT

Members
  • Content Count

    4
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by klausAUT

  1. Ich habe lange nach einem Skript gesucht, das den DVB-EPG automatisch aktualisiert. Leider erfolglos. Hier nun meine eigene Lösung: Installiert ist das ganze auf: MacMini with macOS Mojave (10.14.6) EyeTV 3.6.9 (7524) Die Installation: Sicker local.EyeTV.DVB-EPG.plist im Ordner Library/Scripts/EyeTV/ Füge das Programm in den Systemeinstellungen --> Sicherheit --> Bedienungshilfen hinzu. Dann starte das Programm und erteile die 2 benötigten Rechte. Zweiten Schritt: Speichere EyeTV-DVB-EPG.scpt in den Ordner /Library/Launchdaemons/ Öffne Infos zum Order /Library/Launchdaemons und Übertrage die Zugriffsrechte auf alle Unterobjekte. Zum Abschluss öffne das Terminal gib folgende Befehle ein: cd /Library/Launchdaemons launchctl load local.EyeTV.StopDisplaySleep.plist Mit "launchctl list | grep EyeTV"kannst du prüfen ob es funktioniert. Sobald der Rechner in der Früh aufwacht (nach 4:00) sollten der DVB-EPG geladen werden. Um sicher zu sein, das das jeden Tag erfolgt könnt Ihr in den Systemeinstellungen unter Energiesparen beim Zeitplan den Rechner täglich aufwecken. Wenn gerade etwas aufgenommen wird, dann wartet das Skript bis die Aufnahme angeschlossen ist. Mit dem Programm Konsole findet Ihr unter ~/Library/Logs ein Log mit Uhrzeit und auftretende Fehlermeldungen. Der Erfolg oder Misserfolg wird auch bei den Mitteilungen gemeldet. Die Art der Meldung könnt Ihr wieder in den Systemeinstellungen einstellen. Wenn euch mein kleines Programm gefällt wäre Ich für evt Rückmeldungen dankbar. Wenns nicht funktioniert wäre Ich für eine Fehlerbeschreibung dankbar.
  2. Hi Oliver To me this looks as its always the same problem... eyeTV doesn't set the right Assertions. I use geek tools (free Tool - you can google for it) to run every 30 sec a small Applescript. it includes something like: try set ret to (do shell script "pmset -g assertions | egrep '(EyeTV)(.*)PreventUserIdleSystemSleep(.*)\\\"EyeTV:(.*)'") -- wenn keine assertion dann gehts bei on error weiter .... if ret contains "Recording in progress" then -- don't sleep in the next 35 secs! do shell script "caffeinate -i -t 35 > /dev/null 2>&1 &" end if if ret contains "Exporting" then -- don't sleep in the next 35 secs! do shell script "caffeinate -i -t 35 > /dev/null 2>&1 &" end if if ret contains "Playing back in window" then -- Display don't sleep in the next 35 secs! do shell script "caffeinate -m -t 35 > /dev/null 2>&1 &" end if on error -- do nothing... end try Another maybe better and easier way: Add a Applescript with Name RecordingStarted.scpt to Library/Application Support/EyeTV/Scripts/TriggeredScripts which stays aktive as long as EyeTV is recording and calls every 30 secs do shell script "caffeinate -i -t 35 > /dev/null 2>&1 &"
  3. Environment: mac mini M1 - MacOS Monterey 12.1 with eyeTV3 this worked just fine: tell application "EyeTV" to set selected_recordings to selection of programs window anybody knows how to do this with eyeTV4? Its just the first step to rename Files based on Infos from the EPG for PLEX and export them with HandbrakeCLI, Tag it with AtomicParsley and save it in the PLEX-Archive. eyeTV3 - selection.scpt
  4. running on macOS Mojave version 10.14.6 on a Mac Pro Entered pmset -g assertions and got: with one receiver and one open TV-Window: pid 168(coreaudiod): [0x0000bff300018f00] 00:05:53 PreventUserIdleSystemSleep named: "com.apple.audio.AppleHDAEngineOutput:1B,0,1,4:1.context.preventuseridlesleep" Created for PID: 96509. pid 96509(EyeTV): [0x0000bff300018f0c] 00:05:53 PreventUserIdleSystemSleep named: "EyeTV: Playing back in window..." pid 96509(EyeTV): [0x0000bff100018f0a] 00:05:55 PreventUserIdleSystemSleep named: "EyeTV: Exporting..." with two receivers and one open TV-Window: pid 168(coreaudiod): [0x0000c59600018f00] 00:00:10 PreventUserIdleSystemSleep named: "com.apple.audio.AppleHDAEngineOutput:1B,0,1,4:1.context.preventuseridlesleep" Created for PID: 96509. pid 96509(EyeTV): [0x0000c59600018fc5] 00:00:10 PreventUserIdleSystemSleep named: "EyeTV: Playing back in window..." pid 96509(EyeTV): [0x0000c3d700018fa9] 00:07:37 PreventUserIdleSystemSleep named: "EyeTV: Exporting..." pid 96509(EyeTV): [0x0000bff100018f0a] 00:24:15 PreventUserIdleSystemSleep named: "EyeTV: Exporting..." with two receivers and no open TV-Window pid 96509(EyeTV): [0x0000c3d700018fa9] 00:10:59 PreventUserIdleSystemSleep named: "EyeTV: Exporting..." pid 96509(EyeTV): [0x0000bff100018f0a] 00:27:38 PreventUserIdleSystemSleep named: "EyeTV: Exporting..." Whats the result? eyeTV is always exporting -> the Computer never sleeps every receiver is exporting -> so there will be no additional recording-time before and after the movie the Monitor will go to sleep while looking TV so after switching back to version 3.6.9 - 7524 with two receivers and one open TV-Window: pid 168(coreaudiod): [0x0000c84e00018ffa] 00:00:06 PreventUserIdleSystemSleep named: "com.apple.audio.AppleHDAEngineOutput:1B,0,1,4:1.context.preventuseridlesleep" Created for PID: 930. pid 930(EyeTV): [0x0000c84e00019014] 00:00:06 PreventUserIdleSystemSleep named: "EyeTV: Playing back in window..." with two receivers and no open TV-Window: there is no entry left -- after closing the TV-Window you have to wait 1 minute! Whats the result wit this version: I can record two Recordings at the same time - each with additional recording-time before and after the recording The Monitor will go to sleep while looking TV - but this is fixable with a little scripts which checks every minute and if there is a a entry with "EyeTV: Playing back in window..." then call caffeinate -d -t 60 My Questions: Anyone with similar Problems?