Check-in [fff3b62827]
| Comment: | Completer plugin meta data blocks, now utilized in channel settings dialog for nicer descriptions. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
fff3b62827ca4703be7a50f5660c2118 |
| User & Date: | mario on 2014-05-13 16:23:02 |
| Other Links: | manifest | tags |
|
2014-05-13
| ||
| 18:16 | Fix missing mygtk import check-in: 2ccad59967 user: mario tags: trunk | |
| 16:23 | Completer plugin meta data blocks, now utilized in channel settings dialog for nicer descriptions. check-in: fff3b62827 user: mario tags: trunk | |
| 03:26 | Make config.pyquery and config.debug global options. check-in: 3b842c85a3 user: mario tags: trunk | |
Modified channels/__init__.py from [92d73c2e69] to [1d725c2e92].
1 2 3 4 5 | 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 51 52 53 54 55 56 57 58 59 60 61 62 63 | + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | # # encoding: UTF-8 # api: streamtuner2 # title: Plugin handling # description: Channels and feature plugins reside in channels/ # api: python # type: R # category: core # priority: core # |
Modified channels/_generic.py from [740afe7476] to [3af550db05].
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | - + + - + + | # # encoding: UTF-8 # api: streamtuner2 |
| ︙ | |||
41 42 43 44 45 46 47 | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | - - |
pass
# generic channel module ---------------------------------------
class GenericChannel(object):
# desc
|
| ︙ |
Modified channels/file.py from [13559afbce] to [a8e2e93dda].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | - - - + + + + + + - - - - | # # api: streamtuner2 |
| ︙ |
Modified channels/global_key.py from [3bfb69eda6] to [3a244b8b88].
1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | - - - + + + + + | # |
| ︙ | |||
23 24 25 26 27 28 29 | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | - |
# register a key
class global_key(object):
module = "global_key"
title = "keyboard shortcut"
|
| ︙ |
Modified channels/google.py from [40a11acd81] to [67db911f9e].
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | - - - - + + + + + + + | # # encoding: ISO-8859-1 # api: streamtuner2 |
| ︙ | |||
78 79 80 81 82 83 84 | 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
|
| ︙ |
Modified channels/internet_radio_org_uk.py from [6c77259f65] to [2ca4dac6b1].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | - - + + + + + | # # api: streamtuner2 |
| ︙ | |||
25 26 27 28 29 30 31 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | - |
class internet_radio_org_uk (ChannelPlugin):
# description
title = "InternetRadio"
module = "internet_radio_org_uk"
homepage = "http://www.internet-radio.org.uk/"
|
| ︙ |
Modified channels/jamendo.py from [d8e3335952] to [5fc1148fae].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | - - + + + + + | # api: streamtuner2 |
| ︙ |
Modified channels/links.py from [e2e193464a] to [a17530466f].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | - - + + + + - + | # # api: streamtuner2 |
| ︙ |
Modified channels/live365.py from [10562bd5f9] to [cd7a2a9078].
|
Modified channels/modarchive.py from [a906bb560c] to [7c7eb2da06].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | - + + + + + + | # api: streamtuner2 |
| ︙ | |||
34 35 36 37 38 39 40 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | - |
# MODs
class modarchive (ChannelPlugin):
# description
title = "modarchive"
module = "modarchive"
homepage = "http://www.modarchive.org/"
|
| ︙ |
Modified channels/musicgoal.py from [487d9e3db3] to [3d5f5c99cc].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | - - + + + + + - | # # api: streamtuner2 |
| ︙ | |||
28 29 30 31 32 33 34 | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | - |
# I wonder what that is for ---------------------------------------
class musicgoal (ChannelPlugin):
# desc
module = "musicgoal"
title = "MUSICGOAL"
|
| ︙ |
Modified channels/myoggradio.py from [68cf24bd7d] to [a4c03f3784].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | - - + + + + - - - | # # api: streamtuner2 |
| ︙ | |||
35 36 37 38 39 40 41 | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | - |
class myoggradio(ChannelPlugin):
# description
title = "MyOggRadio"
module = "myoggradio"
homepage = "http://www.myoggradio.org/"
api = "http://ehm.homelinux.org/MyOggRadio/"
|
| ︙ |
Modified channels/punkcast.py from [57433ea58f] to [e751e37b9b].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | - + + + + + + | # api: streamtuner2 |
| ︙ | |||
34 35 36 37 38 39 40 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | - |
# basic.ch broadcast archive
class punkcast (ChannelPlugin):
# description
title = "punkcast"
module = "punkcast"
homepage = "http://www.punkcast.com/"
|
| ︙ |
Modified channels/shoutcast.py from [19bd20260e] to [834f2c6518].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | - - - + + + + + + | # # api: streamtuner2 |
| ︙ | |||
31 32 33 34 35 36 37 | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | - |
# SHOUTcast data module ----------------------------------------
class shoutcast(channels.ChannelPlugin):
# desc
api = "streamtuner2"
module = "shoutcast"
title = "SHOUTcast"
|
| ︙ |
Modified channels/timer.py from [73a61c99cb] to [57941064a8].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | - - + + + + - - | # # api: streamtuner2 |
| ︙ | |||
31 32 33 34 35 36 37 | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | - |
# timed events (play/record) within bookmarks tab
class timer:
# plugin info
module = "timer"
title = "Timer"
|
| ︙ |
Modified channels/xiph.py from [4dfeffc128] to [b7c1ca97af].
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | - + + + + | # # api: streamtuner2 # title: Xiph.org |
| ︙ | |||
35 36 37 38 39 40 41 | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | - |
# I wonder what that is for ---------------------------------------
class xiph (ChannelPlugin):
# desc
api = "streamtuner2"
module = "xiph"
title = "Xiph.org"
|
| ︙ |
Modified st2.py from [7776cafb92] to [6bfb3a77f9].
1 2 3 4 5 6 7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | - + | #!/usr/bin/env python # encoding: UTF-8 # api: python # type: application # title: streamtuner2 # description: directory browser for internet radio / audio streams # depends: pygtk | pygi, threading, pyquery, kronos, requests |
| ︙ | |||
74 75 76 77 78 79 80 | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | - + + |
from processing import Process as Thread
except:
from threading import Thread
Thread.stop = lambda self: None
# add library path
sys.path.insert(0, "/usr/share/streamtuner2") # pre-defined directory for modules
|
| ︙ | |||
438 439 440 441 442 443 444 | 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 | - + - - - + - - - |
mygtk.do(lambda:self.statusbar.push(sbar_cid, text))
pass
# load plugins from /usr/share/streamtuner2/channels/
def load_plugin_channels(self):
|
| ︙ | |||
749 750 751 752 753 754 755 | 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 | + - + - - - + + + + |
# aux win: settings UI
class config_dialog (auxiliary_window):
# display win_config, pre-fill text fields from global conf. object
def open(self, widget):
if self.first_open:
|
| ︙ | |||
814 815 816 817 818 819 820 | 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 | - - - - + - - - + + + - + + + + + + - - - - - - - - - + + + + + + + + + + + + - - - |
def apply_theme(self):
if self.theme.get_active() >= 0:
conf.theme = self.theme.get_model()[ self.theme.get_active()][0]
main.load_theme()
# add configuration setting definitions from plugins
|
| ︙ |