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

⌈⌋ ⎇ branch:  streamtuner2


Check-in [79f29b975a]

Overview
Comment:Fix `self.main` reference
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 79f29b975a51da67aaf369779a4480c34ea72056
User & Date: mario on 2015-11-14 21:47:08
Other Links: manifest | tags
Context
2015-11-14
21:49
Introduce "New station..." menu entry. (via streamedit / non-functional on first invocation / needs custom simpler UI and implementation) check-in: 249dac590b user: mario tags: trunk
21:47
Fix `self.main` reference check-in: 79f29b975a user: mario tags: trunk
2015-11-12
22:30
Needs proper signal disconnecting (overlaps with standard record function). check-in: 5954812093 user: mario tags: trunk
Changes

Modified Makefile from [d885ee2be6] to [8d99b33a09].

53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
pyz:
        #@BUG: relative package references leave a /tmp/doc/ folder
	$(PACK) -u packfile -s src -t zip --zip-shebang "/usr/bin/env python"	\
		-f -p "$(NAME)-$(VERSION).pyz" --prefix=./  .zip.py st2.py
src:
	cd .. && pax -wvJf streamtuner2/streamtuner2-$(VERSION).src.txz \
		streamtuner2/*.{py,png,desktop} streamtuner2/channels/*.{py,png} \
		streamtuner2/{bundle/,contrib/,help/,gtk,NEWS,READ,PACK,PKG,CRED,Make,bin,.zip}*

# test .deb contents
check:
	dpkg-deb -c streamtuner2*deb
	dpkg-deb -I streamtuner2*deb
	rpm -qpil *rpm








|







53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
pyz:
        #@BUG: relative package references leave a /tmp/doc/ folder
	$(PACK) -u packfile -s src -t zip --zip-shebang "/usr/bin/env python"	\
		-f -p "$(NAME)-$(VERSION).pyz" --prefix=./  .zip.py st2.py
src:
	cd .. && pax -wvJf streamtuner2/streamtuner2-$(VERSION).src.txz \
		streamtuner2/*.{py,png,desktop} streamtuner2/channels/*.{py,png} \
		streamtuner2/{bundle/,contrib/,help/,gtk3.xml.gz,NEWS,READ,PACK,PKG,CRED,Make,bin,.zip}*

# test .deb contents
check:
	dpkg-deb -c streamtuner2*deb
	dpkg-deb -I streamtuner2*deb
	rpm -qpil *rpm

Modified channels/streamedit.py from [24f4e6c91a] to [39c59ec982].

33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
        self.cancel(w)

    # add a new list entry, update window
    def new(self, w):
        s = self.main.channel().stations()
        s.append({"title":"new", "url":"", "format":"audio/mpeg", "genre":"", "listeners":1});
        self.main.channel().switch() # update display
        selfmain.channel().gtk_list.get_selection().select_path(str(len(s)-1)); # set cursor to last row
        self.open(w)

    # hide window
    def cancel(self, *w):
        self.win_streamedit.hide()
        return True








|







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
        self.cancel(w)

    # add a new list entry, update window
    def new(self, w):
        s = self.main.channel().stations()
        s.append({"title":"new", "url":"", "format":"audio/mpeg", "genre":"", "listeners":1});
        self.main.channel().switch() # update display
        self.main.channel().gtk_list.get_selection().select_path(str(len(s)-1)); # set cursor to last row
        self.open(w)

    # hide window
    def cancel(self, *w):
        self.win_streamedit.hide()
        return True

Modified gtk3.xml.gz from [b3a49f5792] to [844d533dba].

cannot compute difference between binary files

Modified st2.py from [9a3f8e2477] to [5c5d86599f].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python
# encoding: UTF-8
# api: python
# type: application
# title: streamtuner2
# description: Directory browser for internet radio, audio and video streams
# version: 2.1.9
# state: beta
# author: Mario Salzer <mario@include-once.org>
# license: Public Domain
# url: http://freshcode.club/projects/streamtuner2
# config:  
#   { type: env, name: HTTP_PROXY, description: proxy for HTTP access }
#   { type: env, name: XDG_CONFIG_HOME, description: relocates user .config subdirectory }






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python
# encoding: UTF-8
# api: python
# type: application
# title: streamtuner2
# description: Directory browser for internet radio, audio and video streams
# version: 2.1.9.3
# state: beta
# author: Mario Salzer <mario@include-once.org>
# license: Public Domain
# url: http://freshcode.club/projects/streamtuner2
# config:  
#   { type: env, name: HTTP_PROXY, description: proxy for HTTP access }
#   { type: env, name: XDG_CONFIG_HOME, description: relocates user .config subdirectory }