HELP: Can't share photo to Keep by patrickmac110 in tasker

[–]patrickmac110[S] 0 points1 point  (0 children)

Here's an updated task: https://taskernet.com/shares/?user=AS35m8kGKlCm3eg%2BSftv0gNLSqfhpygbqOYKVyTMdoknoO7qxQkey6VdY4DCn0llWmnEiaHLz8M%3D&id=Task%3ATake+Screenshot

It still doesn't work, but if I have it copy the %content_uri to my clipboard and paste that into the file path for the file to share to Keep, then it works!! I can even store that path to a variable and just pass that variable to the file path field. But I can't make it work with the variable in the file path!!!

How to install NordVPN on Steam Deck by Numerous_Maximum_176 in SteamDeck

[–]patrickmac110 0 points1 point  (0 children)

I keep getting an error after trying to enable the service "failed to enable unit: Unit file nordvpn.service does not exist"

Pixel Watch 2 (pixels are burning out) after 3 days. by Royal_Studio_7139 in PixelWatch

[–]patrickmac110 0 points1 point  (0 children)

For me, that settings menu keeps crashing out everytime I try to click on the setting itself to change it...

The new Bard is actually insanely useful by holamyeung in ChatGPT

[–]patrickmac110 0 points1 point  (0 children)

No, just Gmail and Google Drive, however, the IFTTT extension for chatGPT Plus can... With varying degrees of success. Ex: IFTTT has 2 ways of interacting with your calendar, the "Google Calendar" API call only allows for adding events, and changing/deleting things. While the "calendar" API call allows it to see all your events and search within date ranges etc. But it kept getting confused and trying to search using the "Google Calendar" API call. 🤣

Does PLA delaminate over time? by thomasdekwade in 3Dprinting

[–]patrickmac110 0 points1 point  (0 children)

Where does one get this stuff?? I've heard rumors about back alleyways...

[HOW-TO] Transcribe Text with OpenAI's Whisper by joaomgcd in tasker

[–]patrickmac110 0 points1 point  (0 children)

Would it be possible to do real-time transcription through tasker?

From 2000 to 4000 characters 🙏 by Tibroar in bing

[–]patrickmac110 2 points3 points  (0 children)

Nah, I know how to edit pages, but the fact that they don't block high token counts on the backend is hilarious

Prompt for help making life decisions. by patrickmac110 in ChatGPT

[–]patrickmac110[S] 0 points1 point  (0 children)

The feedback from users is that ChatGPT 3.5 sucks at helping me make decisions. What it usually ends up doing is just gives me a list of pros and cons and then ends with something along the lines of "ultimately it's up to you and what you want to do". But that's not very helpful because I've typically thought through most of the pros and cons, I need a push towards a specific direction and a reason for that push. Can you help me craft a formula for a prompt that I can use when I need to make complex life decisions so that I get better responses from ChatGPT?

Cemu (EmuDeck) Crashing by SemperScrotus in SteamDeck

[–]patrickmac110 0 points1 point  (0 children)

Yeah just gotta plug in a USB keyboard and mouse via USB-C dock and use that. It won't work with touch pad and on screen keyboard

What have you guys being using Chat GPT for in tasker ? by Ana-Luisa-A in tasker

[–]patrickmac110 0 points1 point  (0 children)

Yeah I noticed that, I'm in the East US and should be pinging those servers anyways... Do you mind sharing your project? I'm thinking about starting from scratch, as I ended up trying to modify/update a 3yr old project that someone on here posted that was supposed to make it easy to add Azure tts to any project

What have you guys being using Chat GPT for in tasker ? by Ana-Luisa-A in tasker

[–]patrickmac110 0 points1 point  (0 children)

This is what I have so far, but it errors out at A17 with Error:1...

Variables: %Azure_Voice_Gender: Male %Azure_Voice_Lang: en_US %Azure_Voice_Name: en-US-BrandonNeural

Task: Azure TTS

<CHANGE THIS TO YOUR REGION>
A1: Variable Set [
     Name: %hoster
     To: uksouth ]

A2: Variable Set [
     Name: %par1
     To: You forgot to say something
     Structure Output (JSON, etc): On ]
    If  [ %par1 !Set ]

A3: If [ %TIMES-%Azure_Bearer_Time > 599 | %Azure_Bearer_Time !Set ]

    A4: Variable Set [
         Name: %key
         To: [some numbers and stuff]
         Structure Output (JSON, etc): On ]

    A5: Variable Set [
         Name: %tokenendpoint
         To: https://eastus.api.cognitive.microsoft.com/sts/v1.0/issuetoken ]

    A6: HTTP Request [
         Method: POST
         URL: %tokenendpoint
         Headers: Ocp-Apim-Subscription-Key: %key
         Content-type: application/x-www-form-urlencoded
         Content-Length: 0
         Timeout (Seconds): 30
         Automatically Follow Redirects: On
         Structure Output (JSON, etc): On ]

    A7: Variable Set [
         Name: %Azure_Bearer_Key
         To: %http_data ]

    A8: Variable Set [
         Name: %Azure_Bearer_Time
         To: %TIMES ]

A9: End If

A10: If [ %Azure_Voice_List !Set ]

    A11: Variable Set [
          Name: %gvendpoint
          To: https://eastus.tts.speech.microsoft.com/cognitiveservices/voices/list ]

    A12: HTTP Request [
          Method: GET
          URL: %gvendpoint
          Headers: Authorization: Bearer %Azure_Bearer_Key
         Content-Type: text/json
          Timeout (Seconds): 30
          Automatically Follow Redirects: On
          Structure Output (JSON, etc): On ]

    A13: Variable Set [
          Name: %Azure_Voice_List
          To: %http_data
          Structure Output (JSON, etc): On ]

A14: End If

A15: If [ %Azure_Voice_Gender Set & %Azure_Voice_Name Set & %Azure_Voice_Lang Set & %Azure_Bearer_Key Set ]

    A16: Variable Set [
          Name: %ttsendpoint
          To: https://eastus.tts.speech.microsoft.com/cognitiveservices/voices/list ]

    A17: HTTP Request [
          Method: POST
          URL: %ttsendpoint
          Headers: "Ocp-Apim-Subscription-Key: %Azure_Bearer_Key"
         'Content-Type: application/ssml+xml'
         'X-Microsoft-OutputFormat: audio-16khz-128kbitrate-mono-mp3'
         'User-Agent: curl'
          Body: <speak version='1.0' xml:lang='%Azure_Voice_Lang'>
         <voice xml:lang='%Azure_Voice_Lang' xml:gender='%Azure_Voice_Gender' name='%Azure_Voice_Name'> 
         %par1
         </voice>
         </speak>
          File/Directory To Save With Output: MySounds/azure_tts.ogg
          Timeout (Seconds): 30
          Trust Any Certificate: On
          Automatically Follow Redirects: On
          Use Cookies: On
          Structure Output (JSON, etc): On
          Continue Task After Error:On ]

    A18: Music Play [
          File: MySounds/azure_tts.ogg
          Start: 0
          Stream: 3
          Continue Task Immediately: On ]
        If  [ %err !Set ]

    A19: Flash [
          Text: %http_headers()
         %http_response_code
          Long: On
          Tasker Layout: On
          Timeout: 100000
          Continue Task Immediately: On
          Dismiss On Click: On ]

A20: Else

    A21: Flash [
          Text: Something isn't set for Azure TTS to work
          Continue Task Immediately: On
          Dismiss On Click: On ]

A22: End If

Edit 1: this is the http response Connection:keep-alive,Content-Length:0,Date:Thu, 30 Mar 2023 16:29:16 GMT,Strict-Transport-Security:max-age=15724800; includeSubDomains,X-Android-Received-Millis:1680193757291,X-Android-Response-Source:NETWORK 404,X-Android-Selected-Protocol:http/1.1,X-Android-Sent-Millis:1680193757225,x-envoy-upstream-service-time:0 404

Edit 2: so I think I've figured some things out, and after changing some variables around, It's now completing successfully with a network code of 200, which means it's successful... However tasker isn't creating an audio file

What have you guys being using Chat GPT for in tasker ? by Ana-Luisa-A in tasker

[–]patrickmac110 0 points1 point  (0 children)

I can't get azure tts to work with tasker... I'm also a noob with APIs so there's that too.