OldGoat

Members
  • Content count

    29
  • Joined

  • Last visited

Community Reputation

0 Neutral

About OldGoat

  • Rank
    Member
  • Birthday 08/25/1945
  1. Thanks Ton. I'll have a look but I'm kind of doubting it can do 4 recordings simultaneously.
  2. OldGoat

    Gracenote errors in EPG data

    Problems with UK EPG also.
  3. OldGoat

    Gracenote --> XMLTV

    Be aware! Gracenote's Program Titles can be different from xmltv.co.uk's. If you have Smart Guides created with Gracenote, re-create them manually.
  4. OldGoat

    Gracenote --> XMLTV

    Having become extremely frustrated at Gracenote's deterioration of service and ridiculous increase in price, I developed the following system to download the UK EPG from xmltv.co.uk. The xml service is not as slick as Gracenote's but it's free! This has been working for over a week now. Applescript to retrieve http://www.xmltv.co.uk/feed/6721 UK tv 24 hour listings and load it into EyeTV.app. Can be adapted for other xmltv.co.uk downloads such as the 7 day download. You must decide what directories to put the Applescript and where working directories will be. See Instruction number 2. Be aware that xmltv.co.uk periodicly changes the URL to disable old users who have not stopped their automated downloaders that are no longer required 1. Following is the Applescript to run. Copy and paste the lines into the Script Editor application and save it to the directories that you select or created per instruction 2. You can run it manually but there are instructions to have it run daily below. # Start of Applescript # Retrieve head of file to test for change of URL. do shell script "curl http://www.xmltv.co.uk/feed/6721 --head --silent --output /Users/Your_Username/some_subdirectory/xmlTV/UKtv_24hr.xml" # Set variable with the retrieved file's path. set xmlUKtv_24_file to "/Users/Your_Username/some_subdirectory/xmlTV/UKtv_24hr.xml" # Read first line of file and test for missing file set firstLine to paragraphs of (read xmlUKtv_24_file before linefeed) # Send email if file doesn't exist if ((firstLine as string) is equal to "HTTP/1.1 404 Not Found") then tell application "Mail" set my_message to make new outgoing message set subject of my_message to "xmlTV 24 Hour Download Failed" set content of my_message to "Not sure why it happened... Check xmlTV.co.uk/feeds for list number change." set sender of my_message to "Your_Username@some_email.com" -- tell my_message make new to recipient at end of to recipients with properties {name:"Your_Username@some_email.com"} end tell -- send my_message end tell else -- Get the complete file and load into EyeTV log " Success!!" # Download the xml file do shell script "curl http://www.xmltv.co.uk/feed/6721 --silent --output /Users/Your_Username/some_subdirectory/xmlTV/UKtv_24hr.xml" # Load it into EyeTV do shell script "/usr/bin/open -a /Applications/EyeTV.app /Users/Your_Username/some_subdirectory/xmlTV/UKtv_24hr.xml" log (current date) end if # End of Applescript 2. The following is the contents of local.xmlTV_UK_24hr_Dwnld.plist. Copy and paste into a text editor and save to /Users/Your_Username/Library/LaunchAgents/local.xmlTV_UK_24hr_Dwnld.plist. Be sure to save as a plain text file into the directory shown. All other files can be any directory you want. You can change the filename if you like but the file extension MUST BE “.plist” <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <!-- Comment Delimiters --> <!-- Following contains a unique string that identifies your daemon to launchd. --> <string>local.xmlTV_UK_24hr_Dwnld</string> <!-- Run when it first loads. This will also run at boot time. --> <key>RunAtLoad</key> <true/> <key>ProgramArguments</key> <array> <string>osascript</string> <!-- Location of Applescript to run. --> <string>/Users/Your_Username/some_subdirectory/xmlTV_Listings_Dwnld_24hr.scpt</string> </array> <!-- Set the time to run every day. --> <key>StartCalendarInterval</key> <dict> <key>Hour</key> <integer>3</integer> <key>Minute</key> <integer>30</integer> </dict> <!-- Working directories for logs and errors. --> <key>WorkingDirectory</key> <string>Users/Your_Username/some_subdirectory/xmlTV</string>. <key>StandardOutPath</key> <string>/Users/Your_Username/some_subdirectory/logs/xmlTV_dwnld.log</string> <key>StandardErrorPath</key> <string>/Users/Your_Username/some_subdirectory/logs/xmlTV_dwnld.err</string> </dict> </plist> 3. The following is the terminal command to launch the above file which will then run every 24 hours at 03:30 which is shortly after the xmltv.co.uk database is updated. Open the Terminal application and copy and paste the following line into it and press “Return”. launchctl load /Users/Your_Username/Library/LaunchAgents/local.xmlTV_UK_24hr_Dwnld.plist To stop the service: launchctl unload local.xmlTV_UK_24hr_Dwnld Tags: EyeTV.app, Elgato, Geniatech, Gracenote, xmltv.co.uk, EPG
  5. I have the same problem and it doesn't matter if I use Gracenote or XMLTV. I'm not going to renew Gracenote as it is now a rip off. Is anyone interested in investigating a class action lawsuit against Geniatech and Elgato?
  6. OldGoat

    UK TV Guide Missing station data

    How many ways can you skin a cat? Well here's 2 more besides cron daemon: https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html https://superuser.com/questions/1253244/run-applescript-at-a-specific-second (Uses Calendar app to run AppleScript every day) I'm favouring launcd as I already have some at startup & shutdown.
  7. OldGoat

    UK TV Guide Missing station data

    Rodolphe, Thanks a bunch! Have things working manually using 'curl' instead of 'wget' as 'wget' not native on OS X. xmldv.co.uk running now. Going to look at implementing using Apple Script. Will publish when working. Cheers, Old Goat
  8. OldGoat

    UK TV Guide Missing station data

    Hi, Would you mind sharing your script and how to implement it?
  9. OldGoat

    UK TV Guide Missing station data

    Problem still exists for me in spite of bitching at GeniaTech multiple times about it. I also find that the DVB system seems to be broken also with some channels just blank. If I wasn't so happy with my Netstream 4Sat, I'd ditch EyeTV. Think I'll start looking for an alternative but other than the Gracenote being rubbish it does everything I want.
  10. OldGoat

    Gracenote Missing Programs

    This problem seems to come and go randomly. Yesterday I had gaps in the schedule for 3 or 4 stations but manually updating retrieved them. Quite frankly, once my subscription to Gracenote expires, I'll not be renewing it. It certainly is not worth the money.
  11. OldGoat

    Gracenote Missing Programs

    For the past 2 or 3 days the Gracenote program service has been missing random program schedules. This seems to happen regularly which is most irritating. Anyone have a clue as to the current situation?
  12. That's a bugger! Oh well, all's well that ends well.
  13. Well done!! Alright, give over, what was the glitch? OK, you don't have to tell us.
  14. Hi Ton, That's a bugger! I don't have a 4C nor Cable feed so I can't have a play. I don't suppose you live anywhere near South East Scotland? I've just about always found in these situations that it's something one keeps overlooking in the process like me with the version numbers. I was sure I had the latest version of EyeTV but of course was way out. About the only thing you can do is to go back over the process step by step questioning "everything". What's known as the Scientific Method. If you want a small treatise on the Scientific method, read Robert M. Pirsig's Zen and the Art of Motorcycle Maintenance. Might take awhile (Especially reading the book) but you just might get there in the end and have some fun along the way. Good Luck, OldGoat