diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2010-10-27 04:55:32 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2010-10-27 04:55:32 +0200 |
commit | bdedcd26d046d2283aebf5eb85f09634bef0d3db (patch) | |
tree | c64900cbcba69520f014c03eb25f332e5f4a1987 | |
parent | 2e12502e19c3f4f6f944250c0975549e00230eb0 (diff) | |
download | play-bdedcd26d046d2283aebf5eb85f09634bef0d3db.tar.xz |
play: auto. load playlists in path
-rwxr-xr-x | play.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -919,6 +919,8 @@ class PlaylistWindow(TagListWindow): pathname = os.path.join(dir, filename) if VALID_SONG(filename): self.append(PlaylistEntry(pathname)) + elif VALID_PLAYLIST(filename): + self.add_playlist(filename) if os.path.isdir(pathname): subdirs.append(pathname) map(self.add_dir, subdirs) |