From 5f0b11ceda864a35911a4048f2371cb9b9f5b45a Mon Sep 17 00:00:00 2001 From: James Bunton Date: Sun, 30 Jan 2011 14:27:47 +1100 Subject: [PATCH] Encode playlist filename correctly & bump version --- Info.plist | 4 ++-- libnotipod.py | 1 + notipod_cli.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) 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 -- 2.39.2