1
0
Fork 0
mirror of https://github.com/LaQuay/TDTChannels.git synced 2025-06-21 03:01:49 +02:00
This commit is contained in:
Marc Vila 2019-06-15 00:12:26 +02:00
parent ba7270e3be
commit 341060490e
4 changed files with 15 additions and 15 deletions
script

View file

@ -209,7 +209,7 @@ function loadChannelsInList() {
return response.json();
})
.then(function(myJson) {
nacionales = myJson[1];
nacionales = myJson["countries"][0]; //Spain is the [0] country
var items = [];
$.each(nacionales["ambits"], function( ambit, ambit_val ) {

View file

@ -1,5 +1,5 @@
import re
import calendar
import re
import time
from channel import Channel
@ -73,7 +73,7 @@ def get_tv_channels_from_part(text):
if "# GEO" in option:
more_info = ["GEO"]
else:
more_info =[]
more_info = []
channel.add_option(format, url, more_info)
channel_list.append(channel)
return channel_list