From bdedcd26d046d2283aebf5eb85f09634bef0d3db Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Wed, 27 Oct 2010 04:55:32 +0200 Subject: play: auto. load playlists in path --- play.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'play.py') diff --git a/play.py b/play.py index 61494cc..33f4ab8 100755 --- a/play.py +++ b/play.py @@ -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) -- cgit v1.2.3