Menu

Not all settings apply

nOrphf
2008-02-02
2013-04-25
  • nOrphf

    nOrphf - 2008-02-02

    Hi

    I don't want XQ to delete the source files, so I changed the config file, but it still deletes the files..
    What should I do?

    /nOrphf

     
    • S. Jamison Wilde

      Which specific Task or Queue isn't working with DeleteSources turned off?  Try pasting your config.xml here (or at least the relevant parts).

      So for instance, if you don't wish to Delete the RAR's after Extracting them, you should be able to change:
                      <DeleteSources value="true"/>

      to
                      <DeleteSources value="false"/>

      for that task.

      One thing I've done in the past, is left the 'Extract' task alone, but added another queue that was just Extract with Delete disabled, so I could have both (which is useful for say bittorent RAR's you are still seeding).

      Basically you can do this by adding:

                  <Queue number="3">
                          <Name value="ExtractNoDelete"/>
                          <MenuText value="Extract (no delete)"/>                   
                          <MenuShow value="true"/>
                          <SeparateFiles value="true"/>
                          <MenuDestinations>::varDests</MenuDestinations>
                          <DisplayInfo>
                              <DisplayText value="Extract without delete to "/>
                              <ShowDelete value="false"/>
                              <ShowFiles value="true"/>
                              <ShowDestination value="true"/>
                          </Displayinfo>
                          <Extensions value="::Tasks.Extract.Extensions"/>
                          <Task name="Extract" number="0">
                              <DeleteSources value="false"/>
                          </Task>
                  </Queue>

      to the Queues.

       
    • nOrphf

      nOrphf - 2008-02-04

      Hi

      First sorry the accusing question.
      I hate when people write a question like that, and there I did it myself.

      The sorry :) I think I changed the default="" in the attribute instead. It works now, it does still write deleting files but I can live with that.
      And I do not need to delete the rar files, so adding another isn't necessary.

       
      • S. Jamison Wilde

        Not a problem :)

        You can probably get rid of the 'Deleting Sources' thing by making a change in the <DisplayInfo> tag of the Extract task.
        <ShowDelete value="false"/>

        It should probably detect that automatically obviously, but I'm probably going to do a complete rewrite in C# so I can support both 32 and 64 bit Windows in the coming months, so I'm not going to spend a lot of time on that.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.