[ Transmission4 ] A Fast, Easy and Free Bittorrent Client

Discussion on apps, protocols, APIs, specifications, and more. You are welcome to join us as a TOS app developer!
User avatar
samius
Posts: 49
Joined: 14 Apr 2024, 21:46
Russia

Re: [ Transmission4 ] A Fast, Easy and Free Bittorrent Client

Post by samius »

Ok... maybe the downloaded archive was broken...
I have one more question... How can I first stop transmission daemon, then save the settings.json file, and then again start the daemon with new settings?
F4-424 MAX TOS 7
User avatar
outkastm
Gold Member
Posts: 1457
Joined: 29 Dec 2020, 23:52

Re: [ Transmission4 ] A Fast, Easy and Free Bittorrent Client

Post by outkastm »

One way is to use the application control menu
Image
User avatar
samius
Posts: 49
Joined: 14 Apr 2024, 21:46
Russia

Re: [ Transmission4 ] A Fast, Easy and Free Bittorrent Client

Post by samius »

I about this function in ui.js:
Is it possible to add a plugin stop before executing it?

Code: Select all

function applyConfig1()
{
    $(".adv_config1").attr("disabled",true);    
    waitingDialog({title: "Please wait ...", message: "Saving config file"});
    $.post(
        AX_HANDLER, 
        { action: "setConfig1", config: $("#adv_config_text1").val() },
        function(data)
        {
            if ( data.error )
            {
                $("#errorDialog").html(data.message).dialog("open");
            }
            else
            {
                $("#adv_config_text1").val(data.config);
            }
            $(".adv_config1").attr("disabled",false);
            updateStatus();
        },
        'json'
    );
    $("#loadingDialog").ajaxStop(closeWaitingDialog);
}
F4-424 MAX TOS 7
User avatar
outkastm
Gold Member
Posts: 1457
Joined: 29 Dec 2020, 23:52

Re: [ Transmission4 ] A Fast, Easy and Free Bittorrent Client

Post by outkastm »

No plans for this, because transmission is one of the very few (if not the only) apps that need to be stopped before editing the config.
The apps are restarted after pressing the apply button.
User avatar
OneMany
Posts: 6
Joined: 16 Feb 2026, 17:03
Russia

Re: [ Transmission4 ] A Fast, Easy and Free Bittorrent Client

Post by OneMany »

samius wrote: 29 Apr 2024, 04:21 Ok... maybe the downloaded archive was broken...
I have one more question... How can I first stop transmission daemon, then save the settings.json file, and then again start the daemon with new settings?
Я ещё заметил такую особенность, если в Безопасности включена функция "SPC", то очень многие сторонние приложения не могут запуститься.
Не знаю как это обходить, но отключение этой функции позволяет запустить установленное. А хотелось бы настройками безопасности воспользоваться для каждого приложения, а не просто отключением защиты.

У меня F4-424 TOS 6.0.794

Image
Post Reply

Return to “Developer Discussion Room”