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

⌈⌋ branch:  streamtuner2


Check-in [7379129b9f]

Overview
Comment:Add windows CHM help file (only for .exe build at the moment)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7379129b9f65cfa7819fdd8a6e57ffea81e9a93b
User & Date: mario on 2016-11-13 14:06:16
Other Links: manifest | tags
Context
2016-11-13
18:18
Install helpers (PowerShell) for .exe package, which install Python+Gtk after ST2. check-in: 6d5aea193c user: mario tags: trunk
14:06
Add windows CHM help file (only for .exe build at the moment) check-in: 7379129b9f user: mario tags: trunk
13:30
Update some feature plugin docs. check-in: 76f59fe4db user: mario tags: trunk
Changes

Modified Makefile from [8d99b33a09] to [0d1ab36143].

43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
deb:
	$(PACK) -t $@ $(OPTS) $(DEPS) -p "$(NAME)-VERSION.deb" st2.py
rpm:
	$(PACK) -t $@ $(OPTS) $(DEPS) -p "$(NAME)-VERSION.rpm" st2.py
tar:
	$(PACK) -t $@ $(OPTS) $(DEPS) -p "$(NAME)-VERSION.bin.txz" st2.py
exe:
	$(PACK) -t $@ $(OPTS) $(DEPS) -p "$(NAME)-VERSION.exe" st2.py
arch:
	$(PACK) -t $@ $(OPTS) $(DEPS_A) -p "$(NAME)-VERSION.arch.txz" st2.py
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:







|







43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
deb:
	$(PACK) -t $@ $(OPTS) $(DEPS) -p "$(NAME)-VERSION.deb" st2.py
rpm:
	$(PACK) -t $@ $(OPTS) $(DEPS) -p "$(NAME)-VERSION.rpm" st2.py
tar:
	$(PACK) -t $@ $(OPTS) $(DEPS) -p "$(NAME)-VERSION.bin.txz" st2.py
exe:
	$(PACK) -t $@ $(OPTS) $(DEPS) -p "$(NAME)-VERSION.exe" st2.py help/help.chm
arch:
	$(PACK) -t $@ $(OPTS) $(DEPS_A) -p "$(NAME)-VERSION.arch.txz" st2.py
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:

Modified Packfile from [36a5a640fb] to [e0661f90b9].

9
10
11
12
13
14
15

16
17
18
19
20
	preprocess -D $(PKG_FLAG) -o $< $<

deb:	# complainy lintian needs a custom changelog.gz
	gzip -9c usr/share/doc/streamtuner2/NEWS > usr/share/doc/streamtuner2/changelog.gz
zip:
rpm:
exe:

src:
tar:

arch:
	sed -i '1 s/python/python2/' usr/bin/streamtuner2







>





9
10
11
12
13
14
15
16
17
18
19
20
21
	preprocess -D $(PKG_FLAG) -o $< $<

deb:	# complainy lintian needs a custom changelog.gz
	gzip -9c usr/share/doc/streamtuner2/NEWS > usr/share/doc/streamtuner2/changelog.gz
zip:
rpm:
exe:
	mv usr/share/streamtuner2/help/help.chm usr/share/doc/streamtuner2/help.chm
src:
tar:

arch:
	sed -i '1 s/python/python2/' usr/bin/streamtuner2

Modified action.py from [1335d1a09a] to [f81c329779].

143
144
145
146
147
148
149

150


151
152
153
154
155
156
157
        log.EXEC(cmd)
        os.system(cmd)
    except:
        log.ERR("Command not found:", cmd)

# Open help browser, streamtuner2 pages
def help(*args):

    run("yelp /usr/share/doc/streamtuner2/help/")



# Invokes player/recorder for stream url and format
def run_fmt_url(row={}, audioformat="audio/mpeg", source="pls", assoc={}, append=None, cmd=None, add_default=True):
    # look for specific "audio/type" or "urn:service:…" resolvers
    if audioformat in handler:
        handler[audioformat](row, audioformat, source, assoc)
    elif row.get("url", "").startswith("urn:"):







>
|
>
>







143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
        log.EXEC(cmd)
        os.system(cmd)
    except:
        log.ERR("Command not found:", cmd)

# Open help browser, streamtuner2 pages
def help(*args):
    run([
       "yelp /usr/share/doc/streamtuner2/help/",
       "start /usr/share/doc/streamtuner2/help.chm"
    ][1 if conf.windows else 0])

# Invokes player/recorder for stream url and format
def run_fmt_url(row={}, audioformat="audio/mpeg", source="pls", assoc={}, append=None, cmd=None, add_default=True):
    # look for specific "audio/type" or "urn:service:…" resolvers
    if audioformat in handler:
        handler[audioformat](row, audioformat, source, assoc)
    elif row.get("url", "").startswith("urn:"):

Added help/help.chm version [4e65bf3dbe].

cannot compute difference between binary files