52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79 | 52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73 |
-
+
-
-
-
-
-
+
+
-
-
-
| # Xiph won't be updating the directory for another while. The original feature
# request is now further delayed as summer of code project:
# · https://trac.xiph.org/ticket/1958
# · https://wiki.xiph.org/Summer_of_Code_2015#Stream_directory_API
#
class xiph (ChannelPlugin):
# desc
# attributes
module = "xiph"
title = "Xiph.org"
homepage = "http://dir.xiph.org/"
#xml_url = "http://dir.xiph.org/yp.xml"
json_url = "http://api.include-once.org/xiph/cache.php"
listformat = "srv"
has_search = True
json_url = "http://api.include-once.org/xiph/cache.php"
#xml_url = "http://dir.xiph.org/yp.xml"
# content
categories = [ "pop", "top40" ]
current = ""
default = "pop"
empty = None
# prepare category names
def __init__(self, parent=None):
self.categories = []
self.filter = {} |