daisy / pipeline-ui

A user interface for the DAISY Pipeline 2
MIT License
5 stars 2 forks source link

TTS config file overwritten #177

Closed torchtrust closed 6 months ago

torchtrust commented 7 months ago

Expected Behavior

keep the css and lexicon setting I had set in ttsConfig.xml

Actual Behavior

after entering Settings menu and selecting TTs menu but not doing anything else and closing the ttsConfig.xml was overwritten with just the settings from the settings menu. Other customised changes were lost

Steps to Reproduce

  1. Launch DAISY Pipeline 2023 1.2.7-RC1 or RC3
  2. File, Settings
  3. Close

Environment

bertfrees commented 7 months ago

ttsConfig.xml is a file used internally by the UI, it is not intended to be customized unfortunately.

We will allow passing along CSS and lexicons with the input in one of the next versions of Pipeline.

Until then, a workaround could be to copy your custom ttsConfig.xml to the location where the UI expects it to be, each time you create a new job.

Note that lexicons can already be attached to the input document, so this could be another workaround for you (for the lexicon part). The syntax is as follows:

<link rel="pronunciation" type="application/pls+xml" hreflang="en"
      href="..."/>
torchtrust commented 7 months ago

Thanks for the heads up Bert Paul

On Wed, 20 Dec 2023 at 13:26, Bert Frees @.***> wrote:

ttsConfig.xml is a file used internally by the UI, it is not intended to be customized unfortunately.

We will allow passing along CSS and lexicons with the input in one of the next versions of Pipeline.

Until then, a workaround could be to copy your custom ttsConfig.xml to the location where the UI expects it to be, each time you create a new job.

Note that lexicons can already be attached to the input document, so this could be another workaround for you (for the lexicon part). The syntax is as follows:

<link rel="pronunciation" type="application/pls+xml" hreflang="en" href="..."/>

— Reply to this email directly, view it on GitHub https://github.com/daisy/pipeline-ui/issues/177#issuecomment-1864471116, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASSUUMUZ5JVOITQBHPWWA3YKLRPRAVCNFSM6AAAAABA4YZW72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRUGQ3TCMJRGY . You are receiving this because you authored the thread.Message ID: @.***>

--

Paul Wood Head of Technical Services Torch Trust Torch House, Torch Way, Market Harborough, Leics. LE16 9HL, UK Direct Line: +44(0)1858 438269 Mobile: +44(0)7521 514212 Tel: +44(0)1858 438260 Email: @.*** Websites: www.torchtrust.org www.sightlossfriendlychurch.org.uk https://torchtrust.org/sight-loss-friendly-church Facebook: Torch-Trust https://www.facebook.com/pages/Torch-Trust/209414622516639 Twitter: @TorchTrust https://twitter.com/TorchTrust YouTube: Torch Trust on Video https://www.youtube.com/channel/UCjh3k2t6SckTWOtQZNmkN8w

[image: Losing your sight? Know someone who is? Order a FREE audio Bible player at torchtrust.org/pathway] https://torchtrust.org/pathway

[image: Registered with the Fundraising Regulator] https://www.fundraisingregulator.org.uk/

Charity No. 1095904

Privileged/Confidential Information may be contained in this message. If you are not the intended recipient please destroy this message and kindly notify the sender by reply email. The computer from which this mail originates is equipped with virus screening software. However Torch Trust cannot guarantee that the mail and its attachments are free from virus infection.

marisademeglio commented 6 months ago

Closing this as this behavior is expected