1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#
# encoding: ISO-8859-1
# api: streamtuner2
# title: google stations
# description: Looks up web radio stations from DMOZ/Google directory
# depends: channels, re, http
# version: 0.1
# author: Mario, original: Jean-Yves Lefort
#
# This is a plugun from streamtuner1. It has been rewritten for the
# more mundane plugin API of streamtuner2 - reimplementing ST seemed
# to much work.
# Also it has been rewritten to query DMOZ directly. Google required
# the use of fake User-Agents for access, and the structure on DMOZ
|
|
|
|
>
>
|
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#
# encoding: ISO-8859-1
# api: streamtuner2
# title: Google stations
# description: Looks up web radio homepages from DMOZ/Google directory.
# type: channel
# category: web
# priority: deprecated
# version: 0.2
# depends: channels, re, http
# author: Mario, original: Jean-Yves Lefort
#
# This is a plugun from streamtuner1. It has been rewritten for the
# more mundane plugin API of streamtuner2 - reimplementing ST seemed
# to much work.
# Also it has been rewritten to query DMOZ directly. Google required
# the use of fake User-Agents for access, and the structure on DMOZ
|
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
# Google Stations is actually now DMOZ Stations
class google(ChannelPlugin):
# description
title = "Google"
module = "google"
homepage = GOOGLE_STATIONS_HOME
version = 0.2
# config data
config = [
# {"name": "theme", "type": "text", "value":"Tactile", "description":"Streamtuner2 theme; no this isn't a google-specific option. But you know, the plugin options are a new toy."},
# {"name": "flag2", "type": "boolean", "value":1, "description":"oh see, an unused checkbox"}
]
|
<
|
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
# Google Stations is actually now DMOZ Stations
class google(ChannelPlugin):
# description
title = "Google"
module = "google"
homepage = GOOGLE_STATIONS_HOME
# config data
config = [
# {"name": "theme", "type": "text", "value":"Tactile", "description":"Streamtuner2 theme; no this isn't a google-specific option. But you know, the plugin options are a new toy."},
# {"name": "flag2", "type": "boolean", "value":1, "description":"oh see, an unused checkbox"}
]
|