Permalink
Browse files

Need to add the proper name for ver 4

  • Loading branch information...
1 parent 555e16a commit a0604ec9949ae93efa48abf21943522239e1e260 @welbymcroberts committed Apr 24, 2012
Showing with 116 additions and 1 deletion.
  1. +4 −1 main/views.py
  2. +112 −0 static/0282.ini
View
@@ -108,7 +108,10 @@ def generate(request):
from pprint import pprint as pp
tuner1 = { 'sourceid': sourceid[1], 'sourcename': sourcename[1], 'headendid': headendid[1] }
res = render_to_response('dvb.html',{'c': sorted(c, key=lambda epgid: epgid['number'] ), 'sourceid': sourceid[1], 'sourcename': sourcename[1], 'headendid': headendid[1], 'tuners': tuners } , mimetype='application/xml')
- res['Content-Disposition'] = "attachment; filename=DVBLinkChannelStorage.xml";
+ if version == 4:
+ res['Content-Disposition'] = "attachment; filename=DVBLink_ChannelStorage.xml";
+ else
+ res['Content-Disposition'] = "attachment; filename=DVBLinkChannelStorage.xml";
return res
def update_xml(request):
View
@@ -0,0 +1,112 @@
+[UPDATE]
+0=Dec 10, 2011
+1=4358
+2=http://www.mixesoft.com
+
+[SATTYPE]
+1=0282
+2=Eurobird 1 Astra 1N,2A,2B,2D
+
+[DVB]
+0=101
+1=10714,H,22000,56
+2=10729,V,22000,56
+3=10744,H,22000,56
+4=10758,V,22000,56
+5=10773,H,22000,56
+6=10788,V,22000,56
+7=10803,H,22000,56
+8=10818,V,22000,56
+9=10832,H,22000,56
+10=10847,V,23000,89,NBC-QPSK
+11=10862,H,22000,56
+12=10876,V,22000,56
+13=10891,H,22000,56
+14=10906,V,22000,56
+15=10921,H,22000,56
+16=10936,V,22000,56
+17=10964,H,22000,56
+18=11053,H,22000,56
+19=11126,V,22000,23,Turbo-8PSK
+20=11160,H,3700,56,NBC-QPSK
+21=11171,H,3125,34
+22=11222,H,27500,23
+23=11224,V,27500,23
+24=11260,V,27500,23
+25=11261,H,27500,23
+26=11307,H,27500,23
+27=11307,V,27500,23
+28=11343,V,27500,23
+29=11344,H,27500,23
+30=11389,H,27500,23
+31=11390,V,27500,23
+32=11426,V,27500,23
+33=11428,H,27500,23
+34=11469,H,27500,23
+35=11488,V,27500,23
+36=11508,H,27500,23
+37=11527,V,27500,23
+38=11546,H,27500,23
+39=11565,V,27500,23
+40=11585,H,27500,23
+41=11604,V,27500,23
+42=11623,H,27500,23
+43=11662,H,27500,23
+44=11681,V,27500,23
+45=11720,H,29500,34,NBC-QPSK
+46=11739,V,29500,34,NBC-QPSK
+47=11758,H,29500,34,NBC-QPSK
+48=11778,V,27500,23
+49=11798,H,29500,34,NBC-QPSK
+50=11817,V,27500,23
+51=11836,H,27500,23
+52=11856,V,29500,34,NBC-QPSK
+53=11876,H,27500,23
+54=11895,V,27500,23
+55=11914,H,27500,23
+56=11934,V,27500,23
+57=11954,H,27500,23
+58=11973,V,27500,23
+59=11992,H,27500,23
+60=12012,V,29500,34,NBC-QPSK
+61=12032,H,27500,23
+62=12051,V,27500,23
+63=12070,H,27500,23
+64=12090,V,29500,34,NBC-QPSK
+65=12110,H,27500,23
+66=12129,V,27500,23
+67=12148,H,27500,23
+68=12168,V,29500,34,NBC-QPSK
+69=12188,H,29500,34,NBC-QPSK
+70=12207,V,27500,23
+71=12226,H,29500,34,NBC-QPSK
+72=12246,V,29500,34,NBC-QPSK
+73=12266,H,29500,34,NBC-QPSK
+74=12285,V,27500,23
+75=12304,H,27500,23
+76=12324,V,29500,34,NBC-QPSK
+77=12344,H,29500,34,NBC-QPSK
+78=12363,V,29500,34,NBC-QPSK
+79=12382,H,29500,34,NBC-QPSK
+80=12402,V,27500,23
+81=12460,H,29500,34,NBC-QPSK
+82=12480,V,27500,23
+83=12523,H,27500,23
+84=12523,V,27500,23
+85=12543,H,20800,34,NBC-QPSK
+86=12552,V,19531,34,NBC-QPSK
+87=12560,H,27500,23
+88=12560,V,27500,23
+89=12572,V,2854,34
+90=12599,V,3250,34
+91=12607,H,27500,23
+92=12643,H,27500,23
+93=12643,V,27500,23
+94=12685,V,7200,45,NBC-QPSK
+95=12704,V,6111,34
+96=12713,V,3300,78
+97=12720,V,3300,78
+98=12729,V,2725,56
+99=12731,V,6666,78
+100=12734,H,2963,34
+101=12740,V,6111,34

0 comments on commit a0604ec

Please sign in to comment.