310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
|
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()
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.")
|