summaryrefslogtreecommitdiff
path: root/play.py
diff options
context:
space:
mode:
Diffstat (limited to 'play.py')
-rwxr-xr-xplay.py2
1 files changed, 2 insertions, 0 deletions
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)