Closed larryhudson closed 11 months ago
I used ChatGPT to help write the SQL for updating the SQLite database table: https://chat.openai.com/share/e80e64bb-542e-45b4-aa2e-54741814465d
I created a new folder called db-migrations
and added a JS file in there that does the 'alter' SQL on the database file. Not sure if this is the correct approach but seems ok for now!
I forgot that when I extract the content from the URL, I'm breaking up the HTML into sections, then getting audio for each section, then stitching them together. This makes separating the text extraction and the audio generation steps trickier!
Potential solutions:
I think I like option 2. I'm going ahead with that for now!
This is done now.
Related to my other issue (#4) about setting content extraction rules, another idea is to allow the user to manually tweak the text content, either before they convert to audio, or tweak and re-convert to update the audio.
Sometimes when you're adding a bigger article, it's worth having a quick look at the audio just to see if you can quickly strip out some annoying tags. That'll make the final audio much nicer to listen to.
How we would implement this
<textarea>
tag to start with. That would have a 'save' button and a 'generate' button, which would add the 'generate' task to the queue.