Internet radio browser GUI for music/video streams from various directory services.

⌈⌋ ⎇ branch:  streamtuner2


Diff

Differences From Artifact [099fb4d0ad]:

To Artifact [a0aa4da65f]:


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
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







-
-
+
+



-
+


-
-
+


-
+



-
+
+


-







#!/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, python-lxml, requests
# version: 2.1.3-3
# author: mario salzer
# version: 2.1.4
# author: Mario Salzer <milky@users.sf.net>
# license: public domain
# url: http://freshcode.club/projects/streamtuner2
# config: <env name="http_proxy" value="" description="proxy for HTTP access" />  <env name="XDG_CONFIG_HOME" description="relocates user .config subdirectory" />
# category: multimedia
# category: sound
# id: streamtuner2
# pack:
#   gtk*.xml,
#   *.py,
#   *.py, gtk*.xml,
#   st2.py=/usr/bin/streamtuner2,
#   channels/__init__.py,
#   bundle,
#   bundle/*.py,
#   streamtuner2.desktop=/usr/share/applications/,
#   README=/usr/share/doc/streamtuner2/,
#   help/streamtuner2.1=/usr/share/man/man1/,
#   help=/usr/share/doc/streamtuner2/,
#   help/*page=/usr/share/doc/streamtuner2/help/,
#   help/img/*=/usr/share/doc/streamtuner2/help/img/,
#   streamtuner2.png,
#   logo.png=/usr/share/pixmaps/streamtuner2.png,
# epoch:
# architecture: all
#
#
# Streamtuner2 is a GUI browser for internet radio directories. Various
# providers can be added, and streaming stations are usually grouped into
# music genres or categories. It starts external audio players for stream
# playing and streamripper for recording broadcasts.
101
102
103
104
105
106
107
108

109
110
111
112
113
114
115
100
101
102
103
104
105
106

107
108
109
110
111
112
113
114







-
+







import ahttp
import action  # needs workaround... (action.main=main)
import channels
from channels import *
import favicon


__version__ = "2.1.3-3"
__version__ = "2.1.4"


# this represents the main window
# and also contains most application behaviour
main = None
class StreamTunerTwo(gtk.Builder):