jkramer/shell-fm — pull request #62 by cfra (2012-08-17 15:08:30+00:00)
Title: Downloading

For my usage, I have somewhat modified the downloading behaviour of shell-fm.

I was somewhat annoyed by the empty directories created by shell-fm in download mode. (This happens if I skip a track or exit shell-fm, for example) The solution for this which appealed most to me is to use a different temporary file for buffering which is placed without the need to create output directories. As it is quite hard to tell where the download "base" directory is, and how filesystems are positioned (obviously the buffer-file should be on the same filesystem as the download path), I made the buffer file a configuration option.

This is almost a necessity for the second patch which allows the user to configure shell-fm in a way so not every track will be stored in the download dir, but only those track which they select.

I think that other users might benefit from these features as well, and they do not change the old behaviour if they are not explicitly configured, therefore, I would like it if these changes would make it to mainline.

Best Regards,
Christian Franke