timothyqiu / xiami-downloader

A simple tool for downloading music previews from Xiami.
http://timothyqiu.com/archives/xiami-music-preview-downloader/
MIT License
74 stars 25 forks source link

added folder structure and track number #5

Closed bitinn closed 11 years ago

bitinn commented 11 years ago

this might be up to personal taste, but i prefer to keep things in separate folder instead of dumping them in root, as well as to have a track no. in filename for proper ordering...

you are feel to merge this if you feel like it :)

bitinn commented 11 years ago

note: the track number isn't technically the "right" number if you are downloading from playlist, but that's a small price to pay to have auto track number for album download.

timothyqiu commented 11 years ago

Thanks, that's very helpful.

FYI, I changed the hard coded download location to argument --directory. It'll still create album folders in the current working directory by default. But you can stick to your habit by aliasing xiami.py to xiami.py --directory=xiami.

Also, the repo will be packaged by Python setuptools. So the empty xiami directory is removed :(