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

⌈⌋ ⎇ branch:  streamtuner2


Check-in [275d481bea]

Overview
Comment:Use new autosave flag for DND.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 275d481bea7a9abc6c4512b7a67370346ca5ec73
User & Date: mario on 2015-05-16 16:36:23
Other Links: manifest | tags
Context
2015-05-16
16:36
Remove channel_itunes manual page. check-in: 8c76ed789d user: mario tags: trunk
16:36
Use new autosave flag for DND. check-in: 275d481bea user: mario tags: trunk
16:36
Simplify windowsmedia regexp. Omit bitrate=32, because `filter_bitrate` makes it appear empty per default then. check-in: 19ad85d18d user: mario tags: trunk
Changes

Modified channels/dnd.py from [129abbd2da] to [d359244196].

310
311
312
313
314
315
316

317
318
319
320
321
322
323
324
325
326
                    # which will bring up the streamedit dialog
                    rows += [ dict(url=fn, title="", playing="", genre="url") ]
                    
        
        # Insert and update view
        if rows:
            cn.insert_rows(rows, y)

            cn.save()
            # Show streamedit window if title is empty
            if not len(rows[0].get("title", "")):
                self.parent.configwin.load_config(rows[0], "streamedit_")
                self.parent.win_streamedit.show()
        else:
            self.parent.status("Unsupported station format. Not imported.")


        







>
|









310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
                    # which will bring up the streamedit dialog
                    rows += [ dict(url=fn, title="", playing="", genre="url") ]
                    
        
        # Insert and update view
        if rows:
            cn.insert_rows(rows, y)
            if conf.auto_save_stations or cn.module == "bookmarks":
                cn.save()
            # Show streamedit window if title is empty
            if not len(rows[0].get("title", "")):
                self.parent.configwin.load_config(rows[0], "streamedit_")
                self.parent.win_streamedit.show()
        else:
            self.parent.status("Unsupported station format. Not imported.")