@@ -19,12 +19,13 @@ # A genre browser for tracker music files from the MOD Archive. # # MOD files dodn't work with all audio players. And with the default # download method, it'll receive a .zip archive with embeded .mod file. # -# Configuring VLC for */* is the best option. See the help on how to -# setup wget/curl to download them. +# Configuring VLC for `audio/mod+zip` or just a generic `*/*` works +# most reliably. See the help on how to define wget/curl to download +# them as well. import re import ahttp as http from config import conf @@ -102,11 +103,11 @@ #log.DATA( uu ) entries.append({ "genre": cat, "url": url, "id": id, - "format": self.mime_fmt(fmt) + "+zip", + "format": "audio/mod+zip", "title": title, "playing": file, "listeners": int(rating if rating else 0), "homepage": "http://modarchive.org/index.php?request=view_by_moduleid&query="+id, })