Leaderboard


Popular Content

Showing content with the highest reputation on 10/19/2020 in all areas

  1. 1 point
    mc2xml v1.7.2 works under macOS 10.12.6 Sierra. I just got it here. Note that you will have to "chmod +x mc2xml" to make it executable.
  2. 1 point
    OK appears v1.6 of mc2xml has an expiry date of 2020-09-30 and others too are having a hard time getting v1.7.2 to work - see here. So... I went looking for a Mac equivalent of the windows "runasdate"... but although it appears this program has existed the download button on the blog post describing it now points at virus laden website (spoof request to upgrade Adobe Flash). (Anyone have a Mac equivalent of runasdate that works?) So my hack for now... that does enable me to get the latest schedules after Sept 30, 2020 is as follows... AppleScript applet triggered by Launchd/LaunchControl to run daily... # AppleScript Applet triggered daily by Laucnhd/LaunchControl tell application "EyeTV 3.6.9 (7528)" to quit set MyScript to "sh " & quoted form of "/Users/admin/Library/Script Libraries/LoadEyeTVSchedule.sh" set TheResult to do shell script MyScript user name "<user name>" password "<password>" with administrator privileges The shell script "LoadEyeTVSchedule.sh" that is run with admin privileges (i.e. as root via sudo) by this AppleScript is as follows... cd "/Users/admin/Library/Script Libraries" date 093023302020 # Set system date to before Oct 1, 2020 - must be run as root ./mc2xml_v1.6 -c <countrycode> -g <zip-postal code> -J <SchedulesDirect user id>:<password> ntpdate -vu time.apple.com # Set date back to correct date time - must be run as root open -a "/Applications/EyeTV 3.6.9 (7528).app" xmltv.xml Note: I use SchedulesDirect, if you use other services you'd need to adjust the mc2xml command accordingly Running with administrator privileges is required for the date and ntpd commands to work... Hope this helps anyone else running into this problem. Aside: Yes I know I could likely optimize this solution... happy for suggestions... FWIW this is the quickest way to automate elevating a shell script I could come up with Does anyone have a less hacky solution? I'd be happy with: Getting a version of mc2xml to work with the current system date on OS X 10.11.6 (best), or A version of "RunAsDate" that works on OS X 10.11.6 so we don't have to change the system date, but only the date that mc2xml "sees".