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

⌈⌋ ⎇ branch:  streamtuner2


Check-in [9f078dbb00]

Overview
Comment:Make timer warning background orange
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9f078dbb0042aab900fead3669198559ca19b0ce
User & Date: mario on 2016-12-10 23:17:53
Other Links: manifest | tags
Context
2016-12-10
23:18
Ad iheartadio to links list check-in: f2d026c234 user: mario tags: trunk
23:17
Make timer warning background orange check-in: 9f078dbb00 user: mario tags: trunk
22:13
New plugin: cache reset (temp m3u/pls files, favicons, and channel.json files) check-in: c669dbae79 user: mario tags: trunk
Changes

Modified channels/timer.py from [5d008572c0] to [a0ecd3dcce].

104
105
106
107
108
109
110
111

112
113
114
115
116
117
118
119
104
105
106
107
108
109
110

111

112
113
114
115
116
117
118







-
+
-








    # close dialog,get data
    def add_timer(self, *w):
        timespec = self.parent.timer_value.get_text()

        # basic check for consistency
        if not re.match("^(\w{2,3}|[*,;+])+\s+(\d+:\d+)\s*((\.\.+|-+)\s*(\d+:\d+))?\s+(record|play)", timespec):
            self.parent.status("⛔ Danger, Will Robinson! → The given timer date/action is likely invalid. Entry not saved.", timeout=22)
            self.parent.status('<span background="orange">⛔ Danger, Will Robinson! → The given timer date/action is likely invalid.</span>', timeout=22, markup=1)
            return

        # hide dialog
        self.parent.timer_dialog.hide()
        row = self.parent.row()
        row = copy.copy(row)

        # add data