Xiph module: reintroduce YP.XML extraction (still exceedingly slow),
simplify JSON cache API usage (may get retired, incurs a delay of its own),
and add raw dir.xiph.org website scraping (fastest, and most features).
check-in: e11d6b2207 user: mario tags: trunk
# Live365 lists around 5000 radio stations. Some are paid# entries and require a logon. This plugins tries to filter# thoise out.# streamtuner2 modulesfrom config import*from uikit importuikitfrom uikit import*import ahttp
from channels import*import action
# python modulesimport re
import xml.dom.minidomfrom xml.sax.saxutils import unescape as entity_decode, escape as xmlentitiesimport gtkimport copy
import urllib
from itertools import groupby
from time import time
from xml.dom.minidom import parseString# channel live365## We're currently extracting from the JavaScript;## stn.set("param", "value");