From: James Bunton Date: Sun, 30 Jan 2011 03:27:47 +0000 (+1100) Subject: Encode playlist filename correctly & bump version X-Git-Url: https://code.delx.au/notipod/commitdiff_plain/5f0b11ceda864a35911a4048f2371cb9b9f5b45a Encode playlist filename correctly & bump version --- diff --git a/Info.plist b/Info.plist index 6632ad9..65e3418 100644 --- a/Info.plist +++ b/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.4 + 1.5 CFBundleSignature ???? CFBundleVersion - 1.4 + 1.5 NSMainNibFile NotiPod NSPrincipalClass diff --git a/libnotipod.py b/libnotipod.py index caf3b72..3e30e4d 100644 --- a/libnotipod.py +++ b/libnotipod.py @@ -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") diff --git a/notipod_cli.py b/notipod_cli.py index b88589b..6e51251 100755 --- a/notipod_cli.py +++ b/notipod_cli.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -VERSION = "1.4" +VERSION = "1.5" import logging import optparse