Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv27176
Modified Files:
directory.py
Log Message:
fix dir playing
Index: directory.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/directory.py,v
retrieving revision 1.81
retrieving revision 1.82
diff -C2 -d -r1.81 -r1.82
*** directory.py 1 Jan 2004 17:42:23 -0000 1.81
--- directory.py 1 Jan 2004 19:48:42 -0000 1.82
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.82 2004/01/01 19:48:42 dischi
+ # fix dir playing
+ #
# Revision 1.81 2004/01/01 17:42:23 dischi
# add FileInformation
***************
*** 349,353 ****
for f in os.listdir(self.dir):
! if not has_files and os.path.isfile(f):
has_files = True
if not has_dirs and os.path.isdir(f) and \
--- 352,356 ----
for f in os.listdir(self.dir):
! if not has_files and os.path.isfile(os.path.join(self.dir,f)):
has_files = True
if not has_dirs and os.path.isdir(f) and \
***************
*** 359,363 ****
if has_files:
items.append((self.play, _('Play all files in directory')))
!
if display_type in self.DIRECTORY_AUTOPLAY_ITEMS and not has_dirs:
items.reverse()
--- 362,366 ----
if has_files:
items.append((self.play, _('Play all files in directory')))
!
if display_type in self.DIRECTORY_AUTOPLAY_ITEMS and not has_dirs:
items.reverse()
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog