Skip to content

Instantly share code, notes, and snippets.

@dhead666
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dhead666/3b283106f557f974ba1f to your computer and use it in GitHub Desktop.
Save dhead666/3b283106f557f974ba1f to your computer and use it in GitHub Desktop.
#!/bin/sh
. /etc/profile
curl -s -H "Accept: application/xml" -H "Content-Type: application/xml" -X GET 'http://IP/cgi-bin/HttpControl/HttpControlApp?OPTION=1&Method=GetXmltvEntireFile' | sed '2d' | /storage/.kodi/addons/tools.socat/bin/socat - UNIX-CONNECT:/storage/.kodi/userdata/addon_data/service.multimedia.tvheadend/epggrab/xmltv.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment