Feature request: download files alphabetically
Posted: Sat Aug 30, 2008 1:45 pm
When we download torrent with many files sometimes we need to download some of them first and we set higher priority for them. But it is not always effective and makes us to pay large attention to it. For example when you download a new serial... everyone want to download first episode, then second, then third, not 5th, 17th, 32th and 48th. How to do this? set highest priority to first and high to 2nd-4th, looks simple? But what will happen, when they are downloaded? Right, you want next 5th-10th episodes, but their priority is normal, like for all other 50 episodes and you have to repeat priority changing again and again.
The solution for this problem is todownload files alphabetically. I don't think, that implementation will be hard and i've got an opinion how it shoud be made. It's not an any programming language, just algorithm near to sh language.
The solution for this problem is todownload files alphabetically. I don't think, that implementation will be hard and i've got an opinion how it shoud be made. It's not an any programming language, just algorithm near to sh language.
Code: Select all
for i in * ; do
while [ file_downloaded = false ]; do
set_priority($i;highest);
done
done
set_priority($i;normal);