Registered Member
|
I use the webgui a lot (meaning just about all the time) and while it's really useful most of the time, it is very limited when dealing with torrents that have multiple files within them. Being both sick of this state of affairs and really bored I decided to try my hand at fixing this problem.
I've upload an archive containing a patch and a version of the default webgui skin that I modified to make use of the updated functionality. It seems to be working for me pretty good, which is all that I ever hoped for since I code very little and have never used html or php before. In other words some of the code is probably rough and some of the solutions are not the best ones. To get it going just move "webgui_fileview.patch" in the main directory and run "patch -p1 < webgui_fileview.patch". You also need to copy the directory "fileview" to wherever your webgui skins are. On my system thats /usr/share/apps/ktorrent/www. With this patch you can see the Status of individual files within a torrent as well as set each files priority (high, normal, low, do not download). Any suggestions or improvements are much appreciated, and hopefully some people find this as useful an addition as I do. *Download HERE |
Moderator
|
|
Moderator
|
Patch looks good, but I have two complaints :
1) Setting a file to do not download is dangerous because you lose the data, so you either want to show a confirmation dialog, or use the only seed priority. 2) The fileview isn't properly updated when you change the priority, I will see if I can fix this. |
Registered Member
|
Thanks George. For issue 1 I wasn't aware that it caused data loss. I think it's best to just change it to only seed priority (which is what I meant it to do anyway). Should I leave the tooltip as "Do Not Download" though? It's a little confusing because it looks like the info area calls seed only priority "Do Not Download" too. For issue 2 I'm not sure what you mean. Are you saying that details.php doesn't refresh when you change a file's priority? If that is what you mean then that's strange since it does refresh for me. |
Moderator
|
|
Moderator
|
|
Registered Member
|
Ah right, I had noticed that. It's pretty annoying but like you said I don't see it much primarily using the webgui. It's awesome your commiting it, I'm just glad to be able to contribute my little part to such a great program. |
Registered Member
|
Thanks The_Kernel for your patch. I was just going to do the same
However I'll let myself to improve a little your files support in webgui. I find using
I have patch ready, waiting for Joris for submitting my previous one P.S. I also implemented support for files in "coldmilk" skin. |
Registered Member
|
Unfortunately, my support for files needed some improvements and I wasn't able to make it before 2.2.3. Now it's finished and already sent, so I'm quite sure you will able to manage your files using coldmilk skin in ktorrent 2.2.4.
P.S. Wooow, I am famous now! Check this part of Changelog:
|
Registered Member
|
Fine work on the upgrade to the WebGUI. I run ktorrent remotely on a headless computer and use the WebGUI almost exclusively and this upgrade really makes using ktorrent that much better.
However I do have one small complaint, I see that the "Shutdown" button has been moved from the lower right corner of the GUI to being placed between "Refresh" and "Logout." While I have not yet accidentally pressed the "Shutdown" button, I can see my self going to hit the "Refresh" button and accidentally pressing the "Shutdown" button. Is it possible to either move it back where it was or align it to the right side of the "button bar" so that it is readily viewable, but far enough away that it will not accidentally get pressed. Keep up the good work, Conrad P.S. The upgrade to the look with the faded inactive buttons and the shadowing of the "button bar" is equally impressive. |
Registered Member
|
Ahh, it was me, my fault, sorry! By the ay of removing table layout I moved this link without thinking a lot. Do you think that such a position will be OK? By the way, I noticed that "Shutdown" doesn't display confirmation question, I'll change it soon. Thanks, I am glad to hear I have done something useful There is nothing nicer than hearing that |
Registered Member
|
That position would be perfect. And I guess I never noticed that it didn't have a conformation message, but then again I tried to avoid pressing it. Keep up the good work, Conrad |
Registered Member
|
I feel the same way And nice work by the way on the cosmetic updates. I'm installing 2.2.4 right now, so I'm looking forward to checking out the updated Coldmilk too. |
Registered Member
|
can you upload it again ? |
Registered Member
|
I don't have this patch locally, however this was already included into 2.2.3 (and still works in 2.2.4). |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]