Check-in [d58eeed475]
| Comment: | Moved all config[] lists into plugin meta data fields (JSOL style retained). Add channel homepages as plugin url: field. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
d58eeed475db3684431cab26179de261 |
| User & Date: | mario on 2015-03-29 03:09:34 |
| Other Links: | manifest | tags |
|
2015-03-29
| ||
| 14:41 | Less indentation, update pack: list. check-in: 3c07d74bb6 user: mario tags: trunk | |
| 03:09 | Moved all config[] lists into plugin meta data fields (JSOL style retained). Add channel homepages as plugin url: field. check-in: d58eeed475 user: mario tags: trunk | |
| 03:08 | Use .meta[title] instead of literal property. Channel list in config_dialog completed again with disabled plugins. New tooltop for comment doc section. check-in: ead195d25c user: mario tags: trunk | |
Modified channels/bookmarks.py from [4bb313d276] to [145c80c0b6].
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | - + | # encoding: UTF-8 # api: streamtuner2 # title: bookmarks # description: For collecting favourites. And provides some feature/category plugins. # type: channel # version: 1.5 # category: channel # priority: core |
| ︙ |
Modified channels/dirble.py from [31ed68ff70] to [8298579c5d].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | + + + + |
# encoding: UTF-8
# api: streamtuner2
# title: Dirble
# description: Open radio station directory.
# version: 0.2
# type: channel
# category: radio
# config:
# { name: dirble_api_key, value: "", type: text, description: Custom API access key. },
# { name: dirble_fetch_homepage, value: 0, type: boolean, description: Also fetch homepages when updating stations. (Rather slow.) }
# priority: optional
# url: http://dirble.com/
# documentation: http://dirble.com/developer/api
#
# Provides a nice JSON API, so is easy to support.
#
# However useful station information (homepage, etc.) only
# with extraneous requests. So just for testing as of now.
#
|
| ︙ | |||
27 28 29 30 31 32 33 | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | - - - - - - - - - - - - - |
# Surfmusik sharing site
class dirble (ChannelPlugin):
# description
title = "Dirble"
module = "dirble"
|
| ︙ |
Modified channels/file.py from [4d4dd4f9cc] to [6ec2a8db67].
1 2 3 4 5 6 7 8 9 10 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | - - + + - - | # # api: streamtuner2 # title: File browser # description: Displays mp3/oggs or m3u/pls files from local media file directories. # type: channel # category: media # version: 0.1 # priority: optional # depends: mutagen # config: |
| ︙ |
Modified channels/global_key.py from [8937954709] to [3e28ed6ce5].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | + + + + |
#
# api: streamtuner2
# title: Global keyboard shortcut
# description: Allows switching between bookmarked radios via key press.
# type: feature
# category: ui
# version: 0.2
# config:
# { name="switch_key", type="text", value="XF86Forward", description="Global key shortcut for switching radio." },
# { name="switch_channel", type="text", value="bookmarks:favourite", description="Station list and channels to alternate in." },
# { name="switch_random", type="boolean", value=0, description="Pick random channel, instead of next." },
# priority: extra
# depends: python-keybinder
#
#
# Binds a key to global desktop (F13 = left windows key). On keypress
# it switches the currently playing radio station to another one in
# bookmarks list.
|
| ︙ | |||
26 27 28 29 30 31 32 | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | - - - - - - |
# register a key
class global_key(object):
module = "global_key"
title = "keyboard shortcut"
meta = plugin_meta()
|
| ︙ |
Modified channels/history.py from [07819073c4] to [dff5e057f5].
1 2 3 4 5 6 7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | - - + + + - - | # # api: streamtuner2 # title: History # description: List recently played stations under favourites > history. # version: 1.0 # type: category # category: ui |
| ︙ |
Modified channels/icast.py from [0e4b7862b4] to [a070747868].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | - + + + | # encoding: UTF-8 # api: streamtuner2 |
| ︙ | |||
33 34 35 36 37 38 39 | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | - - |
module = "icast"
homepage = "http://www.icast.io/"
has_search = True
listformat = "audio/x-scpls"
titles = dict(listeners=False, bitrate=False, playing=False)
categories = []
|
| ︙ |
Modified channels/internet_radio.py from [1c5b48beed] to [e1356b6b1d].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | - + + + + | # # api: streamtuner2 |
| ︙ | |||
37 38 39 40 41 42 43 | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | - - - - - - - - - - - - |
# description
title = "InternetRadio"
module = "internet_radio"
homepage = "http://www.internet-radio.org.uk/"
listformat = "audio/x-scpls"
|
| ︙ |
Modified channels/itunes.py from [e8f81d7822] to [c564d09eeb].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | - + + + | # encoding: UTF-8 # api: streamtuner2 |
| ︙ | |||
63 64 65 66 67 68 69 | 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | - - |
"RnB",
"Sports Radio",
"Top 40",
"'70s Retro",
"'80s Flashback",
"'90s Hits",
]
|
| ︙ |
Modified channels/jamendo.py from [fc2a3bf698] to [3aba6ea22f].
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | + - - - + + + + | # api: streamtuner2 # title: Jamendo # description: A license-free music collection and artist hub. # type: channel # version: 2.2 # category: radio # url: http://jamendo.com/ # depends: json |
| ︙ | |||
61 62 63 64 65 66 67 | 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | - - - - - - - - - - - - - - - - - - - - - |
listformat = "url/http"
api_base = "http://api.jamendo.com/v3.0/"
cid = "49daa4f5"
categories = []
titles = dict( title="Title", playing="Album/Artist/User", bitrate=False, listeners=False )
|
| ︙ |
Modified channels/links.py from [4b9e35f7fc] to [574a0e1823].
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | - + - - + + - - - - - | # # api: streamtuner2 # title: Links to directory services # description: Static list of various music directory websites. # type: category # category: web # version: 0.2 # priority: default |
| ︙ |
Modified channels/live365.py from [e1bde0795c] to [2e2986e12a].
1 2 3 4 5 6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | + + - + - - - | # api: streamtunter2 # title: Live365 # description: Around 5000 categorized internet radio streams, some paid ad-free ones. # version: 0.3 # type: channel # category: radio # url: http://www.live365.com/ |
| ︙ |
Modified channels/modarchive.py from [2d0aeb3385] to [681b28ed63].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | + + | # api: streamtuner2 # title: MODarchive # description: Collection of module / tracker audio files (MOD, S3M, XM, etc.) # type: channel # version: 0.2 # url: http://www.modarchive.org/ # priority: extra # config: - # category: music # # # Just a genre browser. # # MOD files dodn't work with all audio players. And with the default # download method, it'll receive a .zip archive with embeded .mod file. |
| ︙ |
Modified channels/myoggradio.py from [7d2a0014e3] to [cdc167a1f7].
1 2 3 4 5 6 7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | - + + + + + | # # api: streamtuner2 # title: MyOggRadio # description: Open source internet radio directory. # type: channel # category: radio # version: 0.5 |
| ︙ | |||
38 39 40 41 42 43 44 | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | - - - - - - |
# description
title = "MyOggRadio"
module = "myoggradio"
homepage = "http://www.myoggradio.org/"
api = "http://www.myoggradio.org/"
listformat = "url/direct"
|
| ︙ |
Modified channels/punkcast.py from [31af6f440a] to [fca198bf93].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | + + | # api: streamtuner2 # title: PunkCast # description: Online video site that covered NYC artists. Not updated anymore. # type: channel # category: video # version: 0.1 # url: http://www.punkcast.com/ # config: - # priority: rare # # # Disables itself per default. # ST1 looked prettier with random images within. # |
| ︙ |
Modified channels/radiotray.py from [589665392e] to [2fd23e85be].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | + + | # api: dbus # title: RadioTray hook # description: Allows to bookmark stations to RadioTray # version: 0.2 # type: feature # category: bookmarks # depends: deb:python-dbus, deb:streamtuner2, deb:python-xdg # config: - # url: http://radiotray.sourceforge.net/ # priority: extra # id: streamtuner2-radiotray # pack: radiotray.py=/usr/share/streamtuner2/channels/ # # Adds a context menu "Keep in RadioTray.." to bookmark streams # in RadioTray. Until a newer version exposes addRadio(), this # plugin will fall back to just playUrl(). |
| ︙ | |||
38 39 40 41 42 43 44 | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | - - - |
# not a channel plugin, just a category in bookmarks, and a context menu
class radiotray:
# plugin info
module = "radiotray"
title = "RadioTray"
meta = plugin_meta()
|
| ︙ |
Modified channels/shoutcast.py from [f799791802] to [1749bea8b8].
1 2 3 4 5 6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | + - + + + + - - | # # api: streamtuner2 # title: Shoutcast.com # description: Primary list of shoutcast servers (now managed by radionomy). # type: channel # category: radio # author: Mario |
| ︙ | |||
42 43 44 45 46 47 48 | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | - - - - - - |
# SHOUTcast data module ----------------------------------------
class shoutcast(channels.ChannelPlugin):
# desc
|
| ︙ |
Modified channels/surfmusik.py from [f86a97dfce] to [947dba565f].
1 2 3 4 5 6 7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | + - + + + | # encoding: UTF-8 # api: streamtuner2 # title: SurfMusik # description: User collection of streams categorized by region and genre. # author: gorgonz123 # version: 0.5 # type: channel # category: radio |
| ︙ | |||
42 43 44 45 46 47 48 | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | - - - - - - - - - - - - |
base = {
"DE": ("http://www.surfmusik.de/", "genre/", "land/"),
"EN": ("http://www.surfmusic.de/", "format/", "country/"),
}
categories = []
titles = dict( genre="Genre", title="Station", playing="Location", bitrate=False, listeners=False )
|
| ︙ |
Modified channels/timer.py from [2de8202f62] to [446fecc94b].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 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 41 42 43 44 45 46 47 48 49 50 | + - + - - | # # api: streamtuner2 # title: Recording timer # description: Schedules play/record events for bookmarked radio stations. # type: feature # category: ui # depends: kronos # version: 0.5 # config: - # priority: optional # support: unsupported # # Okay, while programming this, I missed the broadcast I wanted to hear. Again(!) # But still this is a useful extension, as it allows recording and playing specific # stations at a programmed time and interval. It accepts a natural language time # string when registering a stream. (Via streams menu > extension > add timer) # # Programmed events are visible in "timer" under the "bookmarks" channel. Times # are stored in the description field, and can thus be edited. However, after editing # times manually, streamtuner2 must be restarted for the changes to take effect. # from config import * from channels import * |
| ︙ |
Modified channels/tunein.py from [8bcfe1b146] to [ac164614d0].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | + + | # encoding: UTF-8 # api: streamtuner2 # title: TuneIn # description: Online Radio, Broadcasts, Podcasts # version: 0.1 # type: channel # category: radio # url: http://tunein.com/ # config: - # priority: optional # documentation: http://opml.radiotime.com/ # # Utilized OPML for station/podcast entries. # # Only radio listings are queried for now. But there are # heaps more talk and local show entries, etc. (Would require |
| ︙ | |||
31 32 33 34 35 36 37 | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | - + - |
# TuneIn radio directory
class tunein (ChannelPlugin):
# description
title = "TuneIn"
module = "tunein"
homepage = "http://tunein.com/"
|
| ︙ |
Modified channels/xiph.py from [a46d943cfe] to [f757c3da36].
1 2 3 4 5 6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | + + - + + | # encoding: UTF-8 # api: streamtuner2 # title: Xiph.org # description: ICEcast radio directory. Now utilizes a cached JSON API. # type: channel # url: http://dir.xiph.org/ # version: 0.3 # category: radio |
| ︙ | |||
50 51 52 53 54 55 56 | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | - - - |
api = "streamtuner2"
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 = "url/http"
|
| ︙ |
Modified channels/youtube.py from [a4a5b848e0] to [73f9e85160].
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | + + + + + - + |
# encoding: UTF-8
# api: streamtuner2
# title: Youtube
# description: Channel, playlist and video browsing for youtube.
# type: channel
# version: 0.2
# url: http://www.youtube.com/
# category: video
# config:
# { name: youtube_channels, type: text, value: "Key Of Awesome, Pentatonix", description: "Preferred channels to list videos from.", category: select }
# { name: youtube_region, type: select, select: "=No Region|AR=Argentina|AU=Australia|AT=Austria|BE=Belgium|BR=Brazil|CA=Canada|CL=Chile|CO=Colombia|CZ=Czech Republic|EG=Egypt|FR=France|DE=Germany|GB=Great Britain|HK=Hong Kong|HU=Hungary|IN=India|IE=Ireland|IL=Israel|IT=Italy|JP=Japan|JO=Jordan|MY=Malaysia|MX=Mexico|MA=Morocco|NL=Netherlands|NZ=New Zealand|PE=Peru|PH=Philippines|PL=Poland|RU=Russia|SA=Saudi Arabia|SG=Singapore|ZA=South Africa|KR=South Korea|ES=Spain|SE=Sweden|CH=Switzerland|TW=Taiwan|AE=United Arab Emirates|US=United States", value: UK, description: "Filter by region id., category: auth }
# { name: youtube_wadsworth, type: boolean, value: 0, description: "Apply Wadsworth constant.", category: filter }
# priority: optional
|
| ︙ | |||
90 91 92 93 94 95 96 | 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | - - - - - - - - - - - - - - - - - - - - - - - - - - - |
["Music", "Comedy", "Movies", "Shows", "Trailers", "Film & Animation", "Entertainment", "News & Politics"],
"topics",
["Pop", "Billboard charts", "Rock", "Hip Hop", "Classical", "Soundtrack", "Ambient",
"Jazz", "Blues", "Soul", "Country", "Disco", "Dance", "House", "Trance", "Techno", "Electronica"],
"my channels",
["Key of Awesome", "Pentatonix"]
]
|
| ︙ |