Check-in [c683b52003]
Overview
Comment: | Removed custom pls conversion code, now uses action. playlist conversion tools. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
c683b520030868bb4bd493ad6ed506d7 |
User & Date: | mario on 2015-04-10 10:50:56 |
Other Links: | manifest | tags |
Context
2015-04-10
| ||
10:51 | Fix parent window references. check-in: a61a746c31 user: mario tags: trunk | |
10:50 | Removed custom pls conversion code, now uses action. playlist conversion tools. check-in: c683b52003 user: mario tags: trunk | |
10:49 | Move concrete row(), rowno(), selected(), model_iter() and play(), record() implementations from main into channels.GenericModule. check-in: 65a0b18268 user: mario tags: trunk | |
Changes
Modified channels/exportcat.py from [878cc6dbbd] to [88abf57ecc].
︙ | ︙ | |||
38 39 40 41 42 43 44 | self.parent = parent uikit.add_menu([parent.extensions, parent.extensions_context], "Export all stations", self.savewindow) # set new browser string in requests session def savewindow(self, *w): cn = self.parent.channel() streams = cn.streams[cn.current] | | < | < | | < < | < < < < < < < < | | 38 39 40 41 42 43 44 45 46 47 48 49 50 | self.parent = parent uikit.add_menu([parent.extensions, parent.extensions_context], "Export all stations", self.savewindow) # set new browser string in requests session def savewindow(self, *w): cn = self.parent.channel() streams = cn.streams[cn.current] fn = uikit.save_file("Export category", None, "%s.%s.%s" % (cn.module, cn.current, conf.export_format)) __print__(dbg.PROC, "Exporting category to", fn) if fn: dest = re.findall("\.(m3u|pls|xspf|jspf|json|smil|wpl)8?$", fn)[0] action.save_playlist(source="asis", multiply=False).save(rows=streams, fn=fn, dest=dest) pass |