Check-in [e260975f4c]
Overview
Comment: | Alternatively kill fPls |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
e260975f4cbcf55d1c2b5965c56e44b0 |
User & Date: | mario on 2015-11-11 20:57:39 |
Other Links: | manifest | tags |
Context
2015-11-11
| ||
21:02 | Register config options. check-in: 84228576fb user: mario tags: trunk | |
20:57 | Alternatively kill fPls check-in: e260975f4c user: mario tags: trunk | |
00:25 | Reintroduces STOP button for killing streamripper. check-in: fe52f71656 user: mario tags: trunk | |
Changes
Modified contrib/record_stop.py from [9d46d0ecb0] to [2f78d04590].
1 2 3 4 5 6 7 8 9 | # encoding: utf-8 # title: Stop button # description: Kills streamripper recording # version: 0.1 # depends: streamtuner2 >= 2.1.9 # type: feature # category: ui # # Displays the [X] STOP toolbar button, and hooks it to | | | | 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 | # encoding: utf-8 # title: Stop button # description: Kills streamripper recording # version: 0.1 # depends: streamtuner2 >= 2.1.9 # type: feature # category: ui # # Displays the [X] STOP toolbar button, and hooks it to # a streamripper kill switch. import action from config import log # Stop button class record_stop(object): module = __name__ # button + hook def __init__(self, parent): btn = parent.stop btn.show() btn.set_property("visible", True) btn.set_property("visible_horizontal", True) btn.connect("clicked", self.pkill_streamripper) # stop recording def pkill_streamripper(self, *x, **y): action.run("pkill streamripper || pkill fPls") |