Index: action.py ================================================================== --- action.py +++ action.py @@ -332,11 +332,11 @@ # Probe MIME type and content per regex def probe_fmt(self): for probe,rx in playlist_content_map: - if re.search(rx, self.src, re.X|re.S): + if re.search(rx, self.src, re.X|re.M|re.S): return listfmt(probe) return None # Return just URL list from extracted playlist def urls(self, fmt): @@ -630,12 +630,15 @@ txt += """\t\n\n\n""" return txt # .DESKTOP links def desktop(self, rows): - row = rows[0] - return "[Desktop Entry]\nVersion=1.0\nIcon=media-playback-start\nType=Link\nName={title}\nComment={playing}\nURL={url}\n".format(**row) + return "[Desktop Entry]\nVersion=1.0\nIcon=media-playback-start\nType=Link\nName={title}\nComment={playing}\nURL={url}\n".format(**rows[0]) + + # .URL shortcuts + def url(self, rows): + return "[InternetShortcut]\nURL={url}\n".format(**rows[0]) # Generate filename for temporary .pls/m3u, with unique id def tmp_fn(row, ext="pls"): Index: gtk3.xml.gz ================================================================== --- gtk3.xml.gz +++ gtk3.xml.gz cannot compute difference between binary files