gdip / bass.dll radio stream player

Post your working scripts, libraries and tools for AHK v1.1 and older
User avatar
noname
Posts: 515
Joined: 19 Nov 2013, 09:15

Re: gdip / bass.dll radio stream player

05 May 2017, 06:26

Hi Helgef, I downloaded the chilltrax.com main page but the info is not there and I cannot find how to get the url of the info html .I am not familiar with website structures......
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

Re: gdip / bass.dll radio stream player

05 May 2017, 12:27

I really know nothing about this either, maybe use something like this: eGet() - Grab Internet Explorer Elements Easily.
User avatar
noname
Posts: 515
Joined: 19 Nov 2013, 09:15

Re: gdip / bass.dll radio stream player

05 May 2017, 12:41

Thanks I will take a look :)
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

Re: gdip / bass.dll radio stream player

05 May 2017, 17:49

This works for me :)
My guess is that you would redo the wb.Navigate("https://www.chilltrax.com/") when the song changes, and then get the new url

Code: Select all

Onexit, wbquit
wb:= ComObjCreate("InternetExplorer.Application")
; redo when song changes, I guess:												
wb.Navigate("https://www.chilltrax.com/")														
while(wb.Busy)																			
	Sleep 25
Loop,
	sleep,25
Until e:=wb.document.querySelector("DIV.albumCover")

MsgBox, % e.style.backgroundImage 
exitapp

esc::exitapp
wbquit:
	wb.quit()
	exitapp
return
Reference: Internet Explorer Element Spy (alternative to iWB2 Learner)
Edit, additional reference: IHTMLElement Object (I think e is such an object, at least it has the relevant properties :lol: )
Last edited by Helgef on 08 May 2017, 11:09, edited 1 time in total.
User avatar
noname
Posts: 515
Joined: 19 Nov 2013, 09:15

Re: gdip / bass.dll radio stream player

05 May 2017, 22:55

WOOooow amazing! Thank you Helgef.I can work again on a new concept for a chilltrax player :)
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

Re: gdip / bass.dll radio stream player

08 May 2017, 11:10

Regarding my previous post, we need to do, wb.quit() before closing the script. I have updated the code.
Cheers.
brutus_skywalker
Posts: 175
Joined: 24 Dec 2016, 13:16
Location: Antarctica

Re: gdip / bass.dll radio stream player

16 May 2017, 14:55

Could you possibly link the libs you used for image & file embeddings,thx. you seem to have used leaner functions than bin2hex/hex2bin...
Outsourcing Clicks & Presses Since 2004.
User avatar
noname
Posts: 515
Joined: 19 Nov 2013, 09:15

Re: gdip / bass.dll radio stream player

16 May 2017, 23:59

Rseding91 's code:
https://autohotkey.com/board/topic/6448 ... etc/page-1

just me 's code:
https://autohotkey.com/board/topic/9329 ... r-scripts/

I changed the return code in the function by just me to have the bitmap handle instead of the image object handle ( pBitmap is "disposed of" inside the return function ).
User avatar
jNizM
Posts: 3183
Joined: 30 Sep 2013, 01:33
Contact:

Re: gdip / bass.dll radio stream player

17 May 2017, 00:39

Than this should be interested for you too
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
brutus_skywalker
Posts: 175
Joined: 24 Dec 2016, 13:16
Location: Antarctica

Re: gdip / bass.dll radio stream player

18 May 2017, 10:45

Thank you both very much.
Outsourcing Clicks & Presses Since 2004.
User avatar
noname
Posts: 515
Joined: 19 Nov 2013, 09:15

Re: gdip / bass.dll radio stream player

16 Jul 2017, 10:59

Image


Disco version. ( too large not accepted as attachment by forum)

https://www.dropbox.com/s/pocjqxx3nc8ca ... o.ahk?dl=1
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

Re: gdip / bass.dll radio stream player

16 Jul 2017, 11:09

Very cool, great job :clap:
User avatar
noname
Posts: 515
Joined: 19 Nov 2013, 09:15

Re: gdip / bass.dll radio stream player

16 Jul 2017, 11:49

Image

Thanks, but i just updated the dropbox file and removed some black patches in the png's . ;)


Image
Here is another one made by a friends request. ( for chilling out :) )

https://www.dropbox.com/s/ikt2ejpq2mdrc ... l.ahk?dl=1
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

Re: gdip / bass.dll radio stream player

24 Jul 2017, 06:19

Hello noname. Randomly, I remebered that you use TrackMouseEvent in your code, for it work on 64 bit, use correct size for the TRACKMOUSEEVENT struct,

Code: Select all

VarSetCapacity(tme,A_PtrSize=4?16:24,0)
NumPut(A_PtrSize=4?16:24,tme,0), NumPut(2,tme,4), NumPut(hwnd,tme,8)
Cheers.
Credits: Alguimist.
Janusz
Posts: 89
Joined: 18 Dec 2020, 17:47

Re: gdip / bass.dll radio stream player

22 Mar 2021, 15:28

Does somebody of us have this player available? If yes, please send direct download link to it. Because older downloads links are not valid. Thank you very much. If not direct link, you can host it on other download service. I can not find The script on GOogle in other places.
sooyke_
Posts: 25
Joined: 18 Nov 2020, 10:27

Re: gdip / bass.dll radio stream player

23 Mar 2021, 02:29

Hi janusz , i use it with ahk unicode 32 bit ( win10 pro 64 ) not sure if it works on ahk 64bit . You can always use the ahk 32 bit exe to start it if your ahk is the 64 exe .

Sometimes it stops but it seems to be a chilltrack server problem .
Attachments
chilltrack_player.ahk
(1.55 MiB) Downloaded 50 times
Janusz
Posts: 89
Joined: 18 Dec 2020, 17:47

Re: gdip / bass.dll radio stream player

23 Mar 2021, 11:36

Please, does somebody of us have latest release of this player? Dropbox links are not working. I want to know how to call .dll from The script when dll binary code is The part of The script. So I would like to see The code of The script in action. Thank you very very much.
Janusz
Posts: 89
Joined: 18 Dec 2020, 17:47

Re: gdip / bass.dll radio stream player

24 Mar 2021, 05:51

Dear sooyke,
Thank you very much for The script. I will test it and thank you very much.
Janusz
Posts: 89
Joined: 18 Dec 2020, 17:47

Re: gdip / bass.dll radio stream player

24 Mar 2021, 06:10

Player work without issues, work perfectly. No issues. I would like to congratulate all of us who has developed this player. Very revolutionar is yours approach, that bass.dll is included inside The script, but Autohotkey extract it from The script to The script folder. Previous older release have even tried to run .dll from RAM, but it have caused sound fluent problem. This approach, yours new is ideal, because developer distribute only one file, script or compiled executable with dll library. It allow developers to distribute one file, which do ot require to distribute compiled .exe with installers. Sure, I know, that I must always respect licenses from The thirt parties who have deveoped .dll libraryes. Player work with latest stable Autohotkey release with no issues. I Am always use installation script, which update The installation if new version have been released. I would also very like to thank to all developers of GDI+ .ahk library. Very well done. Programmers can develop very attractive GUI with graphical effect.
User avatar
noname
Posts: 515
Joined: 19 Nov 2013, 09:15

Re: gdip / bass.dll radio stream player

20 Nov 2023, 12:18

Chilltrack changed its url some days ago , you need to update the code if you want to use it .

file := "https://streamssl3.chilltrax.com/:9000"

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: gwarble and 139 guests