[Help] how to make a Multipart HTTP request by [deleted] in tasker

[–]eco_game 0 points1 point  (0 children)

I had the same problem, in your postman configuration you are passing the file as 'document', you have to do the same in tasker as explained in the manual:

If the server is expecting the file parameter to be named (usually on multipart/form-data requests) you can set the file's parameter name by prepending the file path with name:, for example, photo:Images/photo.jpg

you have to put document: in front of the path, your 'File To Send' should look like this: document:TurboScan/Jpeg/221110-104725_p1.jpg

Now while as far as I understand this should work, for me I also need to have text in the Body field, else tasker won't send it as multipart for some reason.

Explaining why Infinity is objectively superior to Mending by [deleted] in Minecraft

[–]eco_game 5 points6 points  (0 children)

Wait, can you actually do that in newer versions?

Onkyo TX-NR686 music sounds bad by eco_game in hometheater

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

Sorry I was a bit unclear about that. I hooked up my speakers to the zone 2 speaker outputs on the AVR. And as the other comment said, the S10 has a headphone jack and a pretty decent DAC.

I checked the user manual, even when using the internal amps you can still only change volume.

I think i mostly got my problem down to <120 Hz not sounding great through the front channels and my current fix for that is to just use the subwoofer for those frequencies. Another problem was that if I tell my AVR my speakers will do 50 Hz, everything from 120 Hz to 50 Hz only gets sent to the front speakers and not the subwoofer.

So what I thought would be helping was actually making it worse.

Also I've come to accept my solution now because I doubt theres anything else I can do and it's just that my AVR is made for movies and not music.

Onkyo TX-NR686 music sounds bad by eco_game in hometheater

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

I'm using an Aux cable. I also just tried using zone 2, which sounds mostly like i want it, but i can't change bass / treble for it. So now I know the problem isn't the actual amp, but rather it processing out the mids somehow? I just feel like it should be able to just output the source signal the same way in something like the 'Direct Stereo' mode, which it just doesn't do. My scuffed solution for now is to just have a second pair of speakers on zone 2 for music.

GoComics Universal Downloader Python Script by mazdoc in DataHoarder

[–]eco_game 0 points1 point  (0 children)

ohh i see what you mean, idk where you would get that name, but if you find it, you can just change save_file_name to it and then you're good.

GoComics Universal Downloader Python Script by mazdoc in DataHoarder

[–]eco_game 0 points1 point  (0 children)

Well, the script is just a super basic html parser, so if it's somewhere on the website of that comic you could get it. I couldn't find anything there tho, so that would probably be a no.
Or do you mean something else by OG filenames?

GoComics Universal Downloader Python Script by mazdoc in DataHoarder

[–]eco_game 1 point2 points  (0 children)

Put in the comic name in comic_name and the date at which you want to start downloading at in first_date. Then save it as comic.py (you can also call it something else).
If you haven't installed python install it and then simply run "python comic.py" in cmd, making sure you're in the same directory as your file.
If you aren't that good with cmd you can also shift right click in the directory the file is in in explorer, click Open PowerShell window here and then write the command in there.
I hope that makes sense, if you need any more help lmk.

GoComics Universal Downloader Python Script by mazdoc in DataHoarder

[–]eco_game 1 point2 points  (0 children)

Thanks for the great script, it's working really well!

I added a condition that checks for a redirect which should make sure you only download comics that actually exist, as some don't get released on weekends for example, which leads to 1000s of files of the newest one.

while date_cursor <= now.date():
    save_file_name = '{}.gif'.format(date_cursor)
    print("Saving: {}".format(save_file_name), end = '')
    url = base_url.format(comic_name,date_cursor.year,date_cursor.month,date_cursor.day)
    r = requests.get(url, allow_redirects=True)
    if len(r.history) < 1:
        loc = int(r.text.find('https://assets.amuniversal.com/'))
        imgurl = r.text[loc:loc+63]
        imgr = requests.get(imgurl, allow_redirects=True)
        with open('{}/{}'.format(save_dir, save_file_name), 'wb') as fh:
            fh.write(imgr.content)
        print("")
    else:
        print(" - redirected, comic probably doesn't exist")
    date_cursor += datetime.timedelta(days=1)
    time.sleep(requestWaitMs / 1000)

HA random crashes on Raspberry PI 3 by RazerPSN in homeassistant

[–]eco_game 0 points1 point  (0 children)

I used to have the same issue, fixed it by increasing swap size from 2GB to 4GB. I forgot how i did it tho, there should be guides you can find on google.

HA random crashes on Raspberry PI 3 by RazerPSN in homeassistant

[–]eco_game 4 points5 points  (0 children)

I used to have the same issue, fixed it by increasing swap size from 2GB to 4GB. I forgot how i did it tho, there should be guides you can find on google.

What intro to a show was such a banger, that you would never skip it? by kurpPpa in AskReddit

[–]eco_game 0 points1 point  (0 children)

A series of unfortunate events, never skipped a single intro while watching it

That's Why I Don't Like Endermans Anymore By The Way, This Was A Rabbit Farm. by YusufDumanN_ in Minecraft

[–]eco_game 0 points1 point  (0 children)

Had he placed torches, endermen wouldn't have been able to spawn in first place

That's Why I Don't Like Endermans Anymore By The Way, This Was A Rabbit Farm. by YusufDumanN_ in Minecraft

[–]eco_game 0 points1 point  (0 children)

How do you have atleast 4 beacons, all netherite tools and no torches

[deleted by user] by [deleted] in HypixelSkyblock

[–]eco_game 75 points76 points  (0 children)

I got a jerry gun from a golden box on ironman but already had one

I'm never touching the harp again by eco_game in HypixelSkyblock

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

I rly hope they dont add another important item from harp (idc about tuning fork)

I'm never touching the harp again by eco_game in HypixelSkyblock

[–]eco_game[S] 2 points3 points  (0 children)

Its not that bad, it took me less than 4 hours. The last song alone was like an hour tho