Recommended Posts

wakillon 395

wakillon 395

May be some of you know Songr .
This script do the same job, it can find more mp3 files but is not as fast as Songr.

Sites used are music search engine Websites designed for LEGAL entertainment purposes only.
Thanks to Brett Francis, Prog@ndy and Eukalyptus for >Bass Udf, trancex for >WinHttp Udf and the AutoIt Community for his help.

Changes of v1.0.8.5

Three websites replaced cause they are dead or use now js.
All search engines updated ( not without difficulties for audiodump)
I use RAGrid.dll for the first listview (more fast and stable, but with some inconvenients to manage the no-edit of cells)
Input queries are saved ( the twenty latest)
I use now an mp3 pre-Load management before playing and a double progressbar for visualize pre-load and play, where you can click for directly go play in the loaded part.

Most includes needed are embedded and all external files are embedded in script with >BinaryToAu3Kompressor .
Multi downloads available with embedded downloader.exe

Added possibility to encode automaticaly to mp3, aac or ogg ( at the end of download) using bassenc.dll and command line tools : lame, faac and oggenc.

Changes of v1.0.9.3

mp3skull fixed

mp3chief fixed

myfreemp3 fixed

mp3clan changed to tusmp3

mp3juices changed to emp3world

baseofmp3 changed to imp3

and some minor improvements.

Version 2.0.0.6

Most previous websites used are dead or have changed the way to get links,
so instead of try to repair the previous version, i have created a complete new version.

The main tendency is the simplification :

Only one website : audiodump (Up to 500 results by request)
Script use now the little pearl created by Ward : curl.au3
It permit to create tasks (get source and get multi mp3) in asynchronous mode.
So now, no need to use several executables and no more gui who do not respond in case of connection problems.
Script use Bass.dll X86 loaded in memory for play songs.

Result is light and fast, but don't abuse of audiodump servers who are not beasts of race.

Hi dears
how are you? I hope You fine
I have a question please
I've created a listView
It has several columns
Is there any way to search for text in an element of this list with text in all columns
for example
list view with 2 column
the first is the file name and the second is the file path
and i want to search for the item witch Containt the name and the path toGether
I searched a lot but could not find what I was looking for
If you do not understand the idea that I'm looking for, I can put an example
Thanks in advance

Hi All
i am currently trying to add a function to my project that can send SMS, i have gone with Twilio for the sms service that use a REST API.
I have never worked with an API before, and could use some help.
I can get my function working with using cURL.exe and copy past command from the website with the following code. And thats great unfortunately i am have issue with character like æøå when sending a SMS appears like a box or ?. this does not happen if i do it from the website so it looks like a Unicode issue in curl.exe.
I have done some searching on the forum and understand that i should be able to implement this curl command with the WinHTTP UDF from @trancexx so i don't need a third part exe and it might fix my charater issue.
Unfortunately i really don't understand how i am to change curl commands to the WinHTTP and i was hoping some good maybe give me an example i could learn from.
Thanks in advanced
i have removed the AuthToken number from the script.
_SendSMS("00000000","SomeOne","SMS body info")
Func _SendSMS($SendTo,$SendFrom,$Msgtxt)
$AccountSID = "ACbb765b3180d5938229eff8b8f63ed1bc"
$AuthToken = "Auth Token number"
$Data = '"https://api.twilio.com/2010-04-01/Accounts/'&$AccountSID&'/Messages.json"'& _
'-X POST \ --data-urlencode "To=+45'&$SendTo&'" \ --data-urlencode "From='&$SendFrom&'" \ --data-urlencode "Body='&$Msgtxt&'" \ -u '&$AccountSID&':'&$AuthToken&''
ShellExecute(@ScriptDir&"\curl.exe","-k "&$Data)
;~ curl 'https://api.twilio.com/2010-04-01/Accounts/ACbb765b3180d5938229eff8b8f63ed1bc/Messages.json' -X POST \
;~ --data-urlencode 'To=+4500000000' \
;~ --data-urlencode 'From=Reception' \
;~ --data-urlencode 'Body=Test Body' \
;~ -u ACbb765b3180d5938229eff8b8f63ed1bc:[AuthToken]
EndFunc

Hello friends, i have a working curl command that show informations about my account on binance.com, but_it dont work with autoit code without curl.exe.
I want to do it without curl, because the whole process much Slower_ with StdoutRead (I want get the response in variable.)
My Curl command in Autoit:
This 2 are works, but_ i would like to do it without curl.exe
$apikey="XYZ"
sCommand = @ScriptDir & '\curl.exe -k -H "X-MBX-APIKEY: ' & $apikey & '" -X GET "https://api.binance.com/api/v3/account?' & $request
the same in .bat file
curl.exe -k -H "X-MBX-APIKEY: XYZ" -X GET "https://api.binance.com/api/v3/account?timestamp=1514917812000&signature=85bdee77e53cd521e1d5229fbfb459d53799c42b3fa4596d73f1520fad5f965a"
(I use curl with -k option which allows curl to make insecure connections, because there is problem with the sites certificate, (cURL error 60))

I tried many variations, this is the latest... I cant get the same response.
curl $error message (I changed ): {"code":-2015,"msg":"Invalid API-key, IP, or permissions for action."}
autoit version $error message (Response code:400): Mandatory parameter 'timestamp' was not sent, was empty/null, or malformed.