[mythtvnz] EPG/source questions

Wade Maxfield mythtvnz@lists.linuxnut.co.nz
Mon, 24 Jul 2006 12:47:00 +1200


--============_-1058420475==_============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

>Thanks Wade - any chance you can email me your script for tv_grab_dvb? I tried
>messing around with it a little (following pvr.geek.nz) and seemed to have
>trouble accessing the DVB hardware from dvbstream - I wondered if Myth was
>grabbing it and not letting go. Are you using dvbstream or dvbtune to tune the
>card to the right transport? dvbstream seems like overkill, not sure why its
>recommended over dvbtune. And which transport are you getting the EPG data
>from? I used the 12.483 (ie which I was tuned to already in myth) and only
>pulled down the data which I get in myth already (ie now/next, about 14
>entries in total).
>
>Many thanks
>Nick
>

My script (attached - hope the list lets it through) is the result of 
trial and error many months ago.  It tries opening the card and 
grabbing the xml file.  If the resultant xml file is less than 100 
lines it's likely that the card was already in use by Myth so it just 
keeps trying again.  Not the smartest.  Shell scripting and linux 
aren't my forte but it's been working for me for the last 6 or so 
months. 8)

I've been using the 12456 transponder, I don't know what will happen 
later this week though.  I tried the 12483 transponder with my script 
a few moments ago, and only got the current and next programs for 6 
or so channels, so pretty much the same results as you.

I think I'll sit tight for a couple of days, keep using 12456 and see 
what happens...

  - Wade
--============_-1058420475==_============
Content-Id: <p0623090dc0e9c6a3118a@[192.168.1.13].0.0>
Content-Type: multipart/appledouble; boundary="============_-1058420475==_D============"

--============_-1058420475==_D============
Content-Transfer-Encoding: base64
Content-Type: application/applefile; name="%grab_dxb_xml.sh"
Content-Disposition: attachment; filename="%grab_dxb_xml.sh"
 ; modification-date="Mon, 24 Jul 2006 12:36:40 +1200"

AAUWBwACAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAADAAAAPgAAAA8AAAAJAAAATQAAACAA
AAAIAAAAbQAAABBncmFiX2R4Yl94bWwuc2hURVhUUipjaAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAxXe1gMV3tYS20MAAxXfcU=
--============_-1058420475==_D============
Content-Type: application/octet-stream; name="grab_dxb_xml.sh"
Content-Disposition: attachment; filename="grab_dxb_xml.sh"
Content-Transfer-Encoding: base64

77u/IyEvYmluL3NoCmV4cG9ydCBRVERJUj0vdXNyL2xpYi9xdDMKZWNobyAiIgplY2hv
IGBkYXRlICslRlwgJVRgICJzdGFydCBncmFiIiAKCmNkIC9ob21lL215dGh0di8uc3ph
cC8KTkVXRklMRT0vdG1wL2xpc3RpbmdzLSQkLnhtbAp0b3VjaCAkTkVXRklMRQoKZWNo
byBgZGF0ZSArJUZcICVUYCBzdGFydCBzdHJlYW0gMAojIHdha2V1cCBEVkItUyBjYXJk
Ci91c3IvbG9jYWwvYmluL2R2YnN0cmVhbSAtcyAyMjUwMCAtbzovZGV2L251bGwgLWYg
MTE1NiAtcCB2IC1uIDYwIDgxOTIgJgpzbGVlcCA0CmtpbGxhbGwgZHZic3RyZWFtCgpz
bGVlcCAyCgojIHRyeSBvcGVuaW5nIGNhcmQgYW5kIGdyYWJiaW5nIFhNTCBmaWxlCiMg
aWYgY2FyZCBpcyBidXN5LCByZXN1bHRpbmcgWE1MIGZpbGUgd29uJ3QgYmUgbGFyZ2Vy
IHRoYW4gMTAwIGxpbmVzCiMgc28ganVzdCBrZWVwIHJlcGVhdGluZyB0aWwgaXQgaXMK
RlM9YHdjIC1sICRORVdGSUxFIHwgYXdrICd7cHJpbnQgJDF9J2AKdW50aWwgWyAkRlMg
LWd0IDEwMCBdOyBkbwogICAgZWNobyAiIgogICAgZWNobyBgZGF0ZSArJUZcICVUYCAi
c3RhcnQgc3RyZWFtIgogICAgL3Vzci9sb2NhbC9iaW4vZHZic3RyZWFtIC1zIDIyNTAw
IC1vOi9kZXYvbnVsbCAtZiAxMTU2IC1wIHYgLW4gNjAgODE5MiAmCiAgICBzbGVlcCAy
CiAgICBlY2hvICIiCiAgICBlY2hvIGBkYXRlICslRlwgJVRgICJzdGFydCBncmFiX2R2
YiIKICAgIC91c3IvbG9jYWwvYmluL3R2X2dyYWJfZHZiIC1zIC1vIDEyID4gJE5FV0ZJ
TEUKICAgIGtpbGxhbGwgZHZic3RyZWFtCiAgICBGUz1gd2MgLWwgJE5FV0ZJTEUgfCBh
d2sgJ3twcmludCAkMX0nYApkb25lCgojIGp1c3Qgb25lIG1vcmUgY2hlY2sgdGhhdCB0
aGUgZmlsZSBsb29rcyBsYXJnZSBlbm91Z2gKIyB0aGVuIGxldHMgZG8gbXl0aGZpbGxk
YXRhYmFzZQppZiBbICRGUyAtZ3QgMTAwIF07IHRoZW4KICAgIGVjaG8gIiIKICAgIGVj
aG8gYGRhdGUgKyVGXCAlVGAgInN0YXJ0IHVwbG9hZCIKICAgIGlmIFsgLWUgL3RtcC9s
aXN0aW5ncy1sYXRlc3QueG1sIF07IHRoZW4KICAgICAgICBybSAvdG1wL2xpc3Rpbmdz
LWxhdGVzdC54bWwKICAgIGZpCiAgICBjcCAkTkVXRklMRSAvdG1wL2xpc3RpbmdzLWxh
dGVzdC54bWwKCiAgICBteXRoZmlsbGRhdGFiYXNlIC0tbm8tZGVsZXRlIC0tZmlsZSAy
IC0xIC90bXAvbGlzdGluZ3MtbGF0ZXN0LnhtbAoKICAgIGVjaG8gIiIKICAgIGVjaG8g
YGRhdGUgKyVGXCAlVGAgImZpeCBjaGFubmVscyIKICAgICMgZG8gbXkgbXlzcWwgbWFz
c2FnaW5nIG9mIGNoYW5uZWwgbGluZXVwcwogICAgL3Vzci9sb2NhbC9iaW4vZ3JhYl9k
dmJfZml4X2NoYW5uZWxzCiAgICBzbGVlcCAxCiAgICBlY2hvICIiCiAgICBlY2hvIGBk
YXRlICslRlwgJVRgICJyZXNjaGVkdWxlIHJlY29yZGluZ3MiCiAgICBteXRoYmFja2Vu
ZCAtLXJlc2NoZWQKICAgIGVjaG8gIiIKICAgIGVjaG8gYGRhdGUgKyVGXCAlVGAgImVu
ZCBncmFiIgpmaQo=
--============_-1058420475==_D============--
--============_-1058420475==_============--