Check-in [88aac7840a]
| Comment: | Use `module = __name__` consistently for all plugins |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
88aac7840ab8cd2976c8ae46bd773d1b |
| User & Date: | mario on 2016-12-10 13:55:47 |
| Other Links: | manifest | tags |
|
2016-12-10
| ||
| 17:53 | New plugin: vtuner2 check-in: 63abbd2c17 user: mario tags: trunk | |
| 13:55 | Use `module = __name__` consistently for all plugins check-in: 88aac7840a user: mario tags: trunk | |
| 12:23 | New plugin: prefstore and updated .win.pack+resetprefs.cmd check-in: f117d88494 user: mario tags: trunk | |
Modified channels/dnd.py from [d359244196] to [afb629cd4b].
| ︙ | |||
53 54 55 56 57 58 59 | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | - + | # never exposed to other apps as x-special/x-custom whatever. (It's also # not using the MIME 1.0 application/* trash bin for that very reason.) # Drag and Drop support class dnd(object): |
| ︙ |
Modified channels/exportcat.py from [0cd7c1b0ab] to [de54b609ff].
| ︙ | |||
32 33 34 35 36 37 38 | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | - + |
import re
# provides another export window, and custom file generation - does not use action.save()
class exportcat():
meta = plugin_meta()
|
| ︙ |
Modified channels/favicon.py from [06b56c7d15] to [8c7cddb000].
| ︙ | |||
70 71 72 73 74 75 76 | 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | - + |
# Hook up as feature plugin
#
class favicon(object):
# plugin attributes
|
| ︙ |
Modified channels/filter_bitrate.py from [1c1c85e7a0] to [33e0dcdc20].
| ︙ | |||
25 26 27 28 29 30 31 | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | - + |
from channels import GenericChannel
# Filter streams by bitrate
class filter_bitrate(object):
meta = plugin_meta()
|
| ︙ |
Modified channels/global_key.py from [62a1ee3f85] to [3924071f72].
| ︙ | |||
26 27 28 29 30 31 32 | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | - + |
# register a key
class global_key(object):
# control attributes
|
| ︙ |
Modified channels/history.py from [01717d6882] to [171f2c6583].
| ︙ | |||
16 17 18 19 20 21 22 | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | - + + |
from config import *
from channels import *
class history:
# plugin attributes
|
| ︙ |
Modified channels/links.py from [04c56d84f7] to [b5edd85bf1].
| ︙ | |||
19 20 21 22 23 24 25 | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | - + |
# hooks into main.bookmarks
class links (object):
# plugin info
|
| ︙ |
Modified channels/pluginmanager2.py from [9d68673fa8] to [6958917597].
| ︙ | |||
44 45 46 47 48 49 50 | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | - + | import compat2and3 from xml.sax.saxutils import escape as html_escape # Plugin manager class pluginmanager2(object): |
| ︙ |
Modified channels/radiotray.py from [f195cf603e] to [95666bc7a7].
| ︙ | |||
38 39 40 41 42 43 44 | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | - + |
from xml.etree import ElementTree
# not a channel plugin, just a category in bookmarks, and a context menu
class radiotray:
# plugin info
|
| ︙ |
Modified channels/specbuttons.py from [686c618002] to [2d832ee6ca].
| ︙ | |||
26 27 28 29 30 31 32 | 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 54 55 | - + + + + + | # Each command may use streamtuner2 placeholders like %g or %url and $title. import os.path import subprocess import math import re |
| ︙ |
Modified channels/surfmusik.py from [11fb0c16cd] to [422b59ca2d].
| ︙ | |||
39 40 41 42 43 44 45 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | - + |
# Surfmusik sharing site
class surfmusik (ChannelPlugin):
# module attributes
|
| ︙ |
Modified channels/timer.py from [3bfa1b4ae8] to [5d008572c0].
| ︙ | |||
37 38 39 40 41 42 43 | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | - + |
# timed events (play/record) within bookmarks tab
class timer:
# plugin info
|
| ︙ |
Modified channels/useragentswitcher.py from [fc341bc2fe] to [681f56976f].
| ︙ | |||
20 21 22 23 24 25 26 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | - + | from channels import * import ahttp # override ahttp.session headers, hooks into config dialog class useragentswitcher(): |
| ︙ |
Modified contrib/disabled/win_theme_rezlooks.py from [ea515c3cab] to [5fed4755f0].
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | - + | # api: streamtuner2 # title: Default Windows theme # description: Use "Rezlooks-dark" as default theme on Windows for SFX/EXE installer # type: feature # category: ui |
| ︙ |
Modified contrib/gtk_theme.py from [da18de4370] to [1923315d1d].
| ︙ | |||
26 27 28 29 30 31 32 | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | - + |
# register a key
class gtk_theme(object):
# plugin info
|
| ︙ |
Modified contrib/podspider.py from [41ea1a8df2] to [d384743d3e].
| ︙ | |||
54 55 56 57 58 59 60 | 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | - + |
return "" # empty string if nothing found
# PODlist from Radiograbber
class podspider (ChannelPlugin):
# pi info
|
| ︙ |
Modified contrib/prefstore.py from [6fbcbf2d8d] to [1f207b383e].
| ︙ | |||
19 20 21 22 23 24 25 26 | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | + - |
import re
import json
# hooks three functions to the main extension menu
class prefstore():
module = __name__
meta = plugin_meta()
|
| ︙ |
Modified contrib/reciva.py from [80c3e098ef] to [497ae97678].
| ︙ | |||
34 35 36 37 38 39 40 | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | - + |
from channels import *
# Reciva directory
class reciva (ChannelPlugin):
# module attributes
|
| ︙ |
Modified contrib/url_soundcloud.py from [df26d4522d] to [aca8213856].
| ︙ | |||
68 69 70 71 72 73 74 | 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | - + | # rewrite by above handler. Should turn faux "audio/soundcloud" URL into # plain/longwinded MP3 streaming address. # # Would need more generalized processing of custom URL schemes. But so # far only the reddit module uses them anyway. # class url_soundcloud(object): |
Modified contrib/vtuner.py from [c0139e2833] to [9e9c5bde27].
| ︙ | |||
32 33 34 35 36 37 38 | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | - + |
from channels import *
# vTuner directory
class vtuner (ChannelPlugin):
# module attributes
|
| ︙ |