diff --git a/beetsplug/smartplaylist.py b/beetsplug/smartplaylist.py index 365f2f802..dc4fe2b92 100644 --- a/beetsplug/smartplaylist.py +++ b/beetsplug/smartplaylist.py @@ -53,6 +53,7 @@ def update_playlists(lib): # Now iterate through the m3us that we need to generate for m3u in m3us: m3u_path = normpath(os.path.join(playlist_dir, m3u)) + import pdb; pdb.set_trace() with open(syspath(m3u_path), 'w') as f: for path in m3us[m3u]: f.write(path + '\n') @@ -64,6 +65,7 @@ class SmartPlaylistPlugin(BeetsPlugin): super(SmartPlaylistPlugin, self).__init__() self.config.add({ 'relative_to': None, + 'playlist_dir': u'.', 'playlists': [] })