Closed bwitt closed 5 months ago
I see I never implemented a start/stop (though I did for start all/stop all) so I guess BitComet doesn't support it?
the problem is that Bitcomet only supports stop/start and not pause/resume; transdroid doesn't handle that case well (supportsStoppingStarting
really means 'supports stopping and starting in addition to pausing and resuming'). I was thinking if we merged this change, we should open a new issue about only showing stop/start buttons if the client only supports stop/start and not pause/resume (since that's a larger change).
if we were to fix the non-functioning stop button, it would merely duplicate the resume button and I was thinking that's probably worse than simply not having the extra button at all.
Yes indeed Transdroid only supports resume/pause or resume/pause/stop/start. If a client (like bitcomet) doesn't support resume/pause/stop/start we just show only resume/pause (even though the client uses the naming start/stop). So this pr is fine. I was just confused because in my code (from so long ago...) I do see I implemented stopAll/startAll as well as pauseAll/resumeAll.
@erickok thanks, sounds like this can be merged?
Remove bitcomet from the supportsStoppingStarting so we don't show an extra stop button.
Torrent stopped:
Torrent started:
Fixes https://github.com/erickok/transdroid/issues/634