Check-in [3017ab4842]
Overview
| Comment: | Remove more stale links |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
3017ab4842e061817b45340936845f30 |
| User & Date: | mario on 2020-05-20 07:01:33 |
| Other Links: | manifest | tags |
Context
|
2020-05-20
| ||
| 07:02 | Remove *.js remnants again from help/html/ check-in: 6d04cfab23 user: mario tags: trunk | |
| 07:01 | Remove more stale links check-in: 3017ab4842 user: mario tags: trunk | |
| 07:00 | Remove radioreddit, update some of the categories, and implement full subreddit extraction from wiki page. check-in: 0041f793e7 user: mario tags: trunk | |
Changes
Modified channels/links.py from [2d54644218] to [5eb14dba9a].
1 2 3 4 5 6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | - + | # encoding: utf-8 # api: streamtuner2 # title: Links to directory services # description: Static list of various music directory websites. # type: group # category: web |
| ︙ | |||
23 24 25 26 27 28 29 | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | - - - - - |
# hooks into main.bookmarks
class links (FeaturePlugin):
# list
streams = [ ]
default = [
|
| ︙ | |||
68 69 70 71 72 73 74 75 76 77 78 79 80 81 | 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | + |
if not self.bookmarks.streams.get(self.module):
self.bookmarks.streams[self.module] = self.streams
self.bookmarks.add_category(self.module, self)
def update_streams(self, cat="links"):
#log.PROC("links.update_streams")
del self.streams[:]
# Collect links from channel plugins
for name,channel in self.parent.channels.items():
try:
self.streams.append({
"favourite": 1,
"genre": "channel",
|
| ︙ | |||
96 97 98 99 100 101 102 | 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | - - - |
"homepage": homepage,
"type": "text/html",
})
# add to bookmarks
return self.streams
|
| ︙ |