gdip / bass.dll radio stream player

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

gdip / bass.dll radio stream player

03 Aug 2016, 11:38

Image

Original gif used : http://krukof2.deviantart.com/art/Maria ... -624921332

Bass.dll is embedded in code no need to download it. (You can find its documentation here: http://www.un4seen.com/)

Streams from https://www.chilltrax.com/ the chillout channel !

download code and just run it :
updated 4 08 2016 bass.dll for both 32 and 64bit ahk versions
updated 5 08 2016 too high cpu when in "pause" corrected.
updated 5 08 2016 added startup settings menu shift + mouse over player ( suggestion from Helgef )

https://www.dropbox.com/s/tcobb225a3aku ... r.ahk?dl=1

Image
Last edited by noname on 05 Aug 2016, 10:53, edited 3 times in total.
hot hot 85
Posts: 18
Joined: 27 Dec 2015, 19:34

Re: gdip / bass.dll radio stream player

04 Aug 2016, 06:43

Very Nice , how can I make the size letter bigger ? It is Possible to add playlist from "X" Path?

Thanks for sharing
User avatar
jNizM
Posts: 3183
Joined: 30 Sep 2013, 01:33
Contact:

Re: gdip / bass.dll radio stream player

04 Aug 2016, 07:17

Awesome gdip project like always noname =)

Suggestion:
- Automatic download of 64-bit Bass.dll if AutoHotkey is running as 64-bit version
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
User avatar
SnowFlake
Posts: 368
Joined: 28 Apr 2015, 05:41
Contact:

Re: gdip / bass.dll radio stream player

04 Aug 2016, 11:43

"Bass.dll is embedded in code no need to download it."

"Failed to start bass.dll Please ensure you have bass.dll in the script directory"


hmmmm.....
:yawn:
gregster
Posts: 9087
Joined: 30 Sep 2013, 06:48

Re: gdip / bass.dll radio stream player

04 Aug 2016, 12:36

SnowFlake wrote:"Bass.dll is embedded in code no need to download it."

"Failed to start bass.dll Please ensure you have bass.dll in the script directory"


hmmmm.....
That's probably the already mentioned 64-bit problem. I had also to replace it - when I tried it for the first time, five minutes ago - with the bass-64-bit-dll (You can find it in a subfolder of the regular Bass download). Then it goes smoothly... (I am on Win 7 64bit and running 64bit AHK by default)

Apart from that, great work, noname! Thank you!
User avatar
noname
Posts: 516
Joined: 19 Nov 2013, 09:15

Re: gdip / bass.dll radio stream player

04 Aug 2016, 12:45

Hi hot hot 85

I only know XPath as a syntax for parts in XML files , the playlist you mentioned are these stations or mp3 on your harddisk?
The player only works with URL's and i never tried another station than chilltrack.The url is hardcoded in the ahk code at line:

Code: Select all

101   link_it:
102   file := "http://server1.chilltrax.com:9000"
You can try another url to see if it works but to run a playlist needs more coding.

The fontsize is defined in two places you can change the parameter s12 to another height:
line numbers to change:

Code: Select all

219 Options = x0 y0  c%color% Bold  r4 s12
226 Options = x0 y0  c%color% Bold  r4 s12

@jNizM
I can embed both versions in the code and extract the one needed instead of downloading but i cannot test it as i do not have a 64bit windows.
Did you test the code on a 64bit ahk , i wonder if there are no other problems running that version of ahk with the code.

@guest3456
Thanks :)


@snowflake
I just noticed gregster post i guess that is the problem here.....

@gregster
I am glad you liked it (and i hope the music :) ) , using ahk 64bit did you not have errors using gdip_all.ahk ?
Last edited by noname on 04 Aug 2016, 12:51, edited 1 time in total.
gregster
Posts: 9087
Joined: 30 Sep 2013, 06:48

Re: gdip / bass.dll radio stream player

04 Aug 2016, 13:28

noname wrote:
@gregster
... , using ahk 64bit did you not have errors using gdip_all.ahk ?
No, but I tried it out only a few minutes, so far. But usually gdip_all.ahk works well for me... I'll test it some more, later.
The music is good, but depending on my mood I listen to a lot of different things.
User avatar
noname
Posts: 516
Joined: 19 Nov 2013, 09:15

Re: gdip / bass.dll radio stream player

04 Aug 2016, 13:34

Embedded bass.dll 64/32 bit but cannot test it if it extracts properely on a 64bit ahk ,i only have winXP 32bit and 32bit unicode.

If it finds pointer is 8 it should extract the 64bit version.

https://www.dropbox.com/s/laewegzjafu2z ... 4.ahk?dl=1

If anyone can test it out? As a reward i will reveal what is happening inside the room with the lighted window at the back of the ship........... :)

Image
Last edited by noname on 04 Aug 2016, 13:42, edited 1 time in total.
gregster
Posts: 9087
Joined: 30 Sep 2013, 06:48

Re: gdip / bass.dll radio stream player

04 Aug 2016, 13:41

noname wrote:Embedded bass.dll 64/32 bit but cannot test it if it extracts properely on a 64bit ahk ,i only have winXP 32bit and 32bit unicode.

If it finds pointer is 8 it should extract the 64bit version.

https://www.dropbox.com/s/laewegzjafu2z ... 4.ahk?dl=1

If anyone can test it out? As a reward i will tell what is happening inside the room with the lighted window at the back of the ship........... :)
Yes, that worked ! Now let me know :D
gregster
Posts: 9087
Joined: 30 Sep 2013, 06:48

Re: gdip / bass.dll radio stream player

04 Aug 2016, 13:48

Good for them 8-)
Guest

Re: gdip / bass.dll radio stream player

04 Aug 2016, 17:22

Hi appear this msg

---------------------------
BASS Error!
---------------------------
Failed to create a stream from file:http://server1.chilltrax.com:9000 Error: 40 = connection timedout
---------------------------
OK
---------------------------
Whats is referring to?
User avatar
noname
Posts: 516
Joined: 19 Nov 2013, 09:15

Re: gdip / bass.dll radio stream player

04 Aug 2016, 23:36

Chilltrax is an internet radio streaming service ,you need to be online.It indicates that it cannot connect with the Chilltrax server.

greetings
User avatar
noname
Posts: 516
Joined: 19 Nov 2013, 09:15

Re: gdip / bass.dll radio stream player

05 Aug 2016, 01:07

there is an update :
https://www.dropbox.com/s/tcobb225a3aku ... r.ahk?dl=1
cpu when in pause was too high , no query forchanneldata when in " pause".
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

Re: gdip / bass.dll radio stream player

05 Aug 2016, 03:24

Works fine on Win7 64 for me, unicode 64-bit ahk by default. Looks good too!
Suggestion, make always on top and (especially) paused default.
This could be useful too:

Code: Select all

#t::Clipboard:=title
User avatar
noname
Posts: 516
Joined: 19 Nov 2013, 09:15

Re: gdip / bass.dll radio stream player

05 Aug 2016, 11:08

Thanks Helgef added your suggestion as a menu to choose the startup options.( see first post updated code )
User avatar
noname
Posts: 516
Joined: 19 Nov 2013, 09:15

Re: gdip / bass.dll radio stream player

05 May 2017, 04:49

Image

The webpage of chilltrax https://www.chilltrax.com/ shows the album image of the playing track,would it be possible to extract it to use in the player?

This is a screenshot : http://i.imgur.com/1Phf4Oj.png


This is the code in the html:

Code: Select all

<div class="albumCover" style="background-image:url(https://www.chilltrax.com/covers/uploads/500/1685@2x.jpg);" onclick="window.open('https://geo.itunes.apple.com/us/album/never-ending/id477747834?i=477748169&at=11ldj3&app=itunes','_blank');"></div>

Thanks in advance .

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: songdg and 139 guests