degeron / qmmp

Automatically exported from code.google.com/p/qmmp
0 stars 0 forks source link

Sort by File Creation Date problem #741

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
To reproduce the problem:

1. Add/Add Dir and choose root directory of musics (ex: /home/esan
2. Click on OPT/Sort list by File Creation Date 
3. See the order of list 

What is the expected output? What do you see instead?
Show all musics (in my case 1798) in order of creation date (file system).

What version of the product are you using? On what operating system?
Version: 0.8.2
Qt Version 4.8.6 (compilado com Qt 4.8.6)
Debian 8.0 (jessie)

Please provide any additional information below.
To create a correct .m3u file in creation date order, use:

# Export full path of root mp3 DIR Create playlist.m3
DIR=/home/esan/musicas/mp3
for i in $(find $DIR -type f -printf '%T@ %P\n' | sort -n | awk '{$1=""; print 
$0}'|sed -e 's/^[ \t]*//'); do echo $DIR/$i; done > playlist.m3u

Next, import the list and compare the order of files!

Thanks

Original issue reported on code.google.com by eliasand...@gmail.com on 13 Dec 2014 at 8:47