]> code.delx.au - notipod/commitdiff
Encode playlist filename correctly & bump version
authorJames Bunton <jamesbunton@fastmail.fm>
Sun, 30 Jan 2011 03:27:47 +0000 (14:27 +1100)
committerJames Bunton <jamesbunton@fastmail.fm>
Sun, 30 Jan 2011 03:27:47 +0000 (14:27 +1100)
Info.plist
libnotipod.py
notipod_cli.py

index 6632ad94f4a3b84027f1d44137a439dab39fd8ef..65e34183b42007bf127634113af1133cda43346e 100644 (file)
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.4</string>
+       <string>1.5</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>1.4</string>
+       <string>1.5</string>
        <key>NSMainNibFile</key>
        <string>NotiPod</string>
        <key>NSPrincipalClass</key>
index caf3b72bd208760eeb7b2c60fa4e00be913843f5..3e30e4d965d61f4e3e664b16a5b8c83d927a031e 100644 (file)
@@ -171,6 +171,7 @@ def export_m3u(dry_run, dest, path_prefix, playlist_name, files):
        if not path_prefix:
                path_prefix = "../"
        playlist_file = os.path.join(dest, "-Playlists-", playlist_name) + ".m3u"
+       playlist_file = encode_filename(playlist_file)
        mkdirhier(os.path.dirname(playlist_file))
        logging.info("Writing: " + playlist_file)
        f = open(playlist_file, "w")
index b88589bcebc1cedc1f59dfaae247bfc7884c5744..6e512513e48723a77193ac491b07c192ed335020 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 
-VERSION = "1.4"
+VERSION = "1.5"
 
 import logging
 import optparse