|
Spotify now-playing for mIRC
#268440
05/02/21 03:35 PM
|
Joined: Jan 2021
Posts: 26
turbosmurfen
OP
Ameglian cow
|
OP
Ameglian cow
Joined: Jan 2021
Posts: 26 |
I have been looking around for a project like this so many times. And the most projects is outdated. My project is named Spoton and can be found as Open Source on Github.comSpoton have been tested in Windows 7, 10 and 11 which works great. And in mIRC versions from 7.21 to 7.69. From downloading and installation. This can be found on the start page. An example how it looks like when just echo out the song in the active window: ![[Linked Image from raw.githubusercontent.com]](https://raw.githubusercontent.com/turbosmurfen/spoton/main/img/spoton_example.png)
Last edited by Khaled; 31/07/22 09:14 AM.
|
|
|
Re: Spotify now-playing for mIRC
[Re: turbosmurfen]
#268508
01/03/21 01:32 PM
|
Joined: Sep 2015
Posts: 97
klez
Babel fish
|
Babel fish
Joined: Sep 2015
Posts: 97 |
Will be good if you include not only Spotify, but Aimp, Winamp, Windows Media Player, Windows Groove .. 
|
|
|
Re: Spotify now-playing for mIRC
[Re: klez]
#268516
03/03/21 06:59 PM
|
Joined: Jan 2021
Posts: 26
turbosmurfen
OP
Ameglian cow
|
OP
Ameglian cow
Joined: Jan 2021
Posts: 26 |
Will be good if you include not only Spotify, but Aimp, Winamp, Windows Media Player, Windows Groove .. This sound like a good idea. What I know is there someone that already have created a Winamp NP DLL-File for mIRC. But I can't be sure if this is going to happen. Still learning a lot.
|
|
|
Re: Spotify now-playing for mIRC
[Re: turbosmurfen]
#268517
03/03/21 07:30 PM
|
Joined: Sep 2015
Posts: 97
klez
Babel fish
|
Babel fish
Joined: Sep 2015
Posts: 97 |
Yes! Is an old dll that i use till now.. he perfectly works on Winamp, Aimp, but not works with Media Classic/Windows Media Player or Groove.
|
|
|
Re: Spotify now-playing for mIRC
[Re: turbosmurfen]
#268520
04/03/21 05:05 PM
|
Joined: Dec 2002
Posts: 483
Deep3D
Pan-dimensional mouse
|
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483 |
I've been looking around for something like this for a while now!
Thanks for sharing this turbosmurfen!
I'll follow you on Github for future updates, please also update this thread.
|
|
|
Re: Spotify now-playing for mIRC
[Re: turbosmurfen]
#268537
09/03/21 09:51 PM
|
Joined: Jan 2021
Posts: 26
turbosmurfen
OP
Ameglian cow
|
OP
Ameglian cow
Joined: Jan 2021
Posts: 26 |
Just to clear things up. I have more things I want to do for this Now Playing tool. There will come more updates. Just wait a bit more. The thread here will also be updated.
I'm going to make a new thread about Now Playing for other Media Players. Which will be all in one, requested by some users. But this will come when I have more C++ knowledge. because I don't want to read only title from Media Players.
|
|
|
Re: Spotify now-playing for mIRC
[Re: turbosmurfen]
#268601
23/03/21 06:57 PM
|
Joined: Jan 2021
Posts: 26
turbosmurfen
OP
Ameglian cow
|
OP
Ameglian cow
Joined: Jan 2021
Posts: 26 |
Just to notice people that don't follow me on GitHub. I have released version 1.0.4 which works best when advertisement comes up. This also means that you need to update the script you use. Empty title is now a part in advertisement detection's. Which is message "2", "3" doesn't exist anymore.
There is some more features I'm still working on.
|
|
|
Re: Spotify now-playing for mIRC
[Re: Deep3D]
#269380
23/09/21 09:32 PM
|
Joined: Jan 2021
Posts: 26
turbosmurfen
OP
Ameglian cow
|
OP
Ameglian cow
Joined: Jan 2021
Posts: 26 |
I have put this project on ice because I didn't know if people still use my project. But I just noticed someone have made a feature request.
I hope you guys use my project. And I'm going to learn me more C++. Next post by me will maybe be an update of the project.
|
|
|
Re: Spotify now-playing for mIRC
[Re: turbosmurfen]
#269854
06/02/22 04:24 PM
|
Joined: Jan 2021
Posts: 26
turbosmurfen
OP
Ameglian cow
|
OP
Ameglian cow
Joined: Jan 2021
Posts: 26 |
There have been some changes on my GitHub. I have not posted this here before.
New: Control Spotify Media Controls through mIRC. Lite Addon Beta Addon
I have also taking a vacation from programming Spoton. Could also be a reason that I no longer use Spotify too.
|
|
|
Re: Spotify now-playing for mIRC
[Re: turbosmurfen]
#269860
07/02/22 11:15 AM
|
Joined: Dec 2002
Posts: 483
Deep3D
Pan-dimensional mouse
|
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483 |
Me and my friends are using Spoton every day, I'm so happy you made this! I've been waiting years, finally you posted Spoton here on mIRC Discussion Forums. Thanks a lot for your great work, I hope you will maintain this into the future. 
|
|
|
Re: Spotify now-playing for mIRC
[Re: Deep3D]
#269879
10/02/22 02:25 PM
|
Joined: Jan 2021
Posts: 26
turbosmurfen
OP
Ameglian cow
|
OP
Ameglian cow
Joined: Jan 2021
Posts: 26 |
Me and my friends are using Spoton every day, I'm so happy you made this! I've been waiting years, finally you posted Spoton here on mIRC Discussion Forums. Thanks a lot for your great work, I hope you will maintain this into the future. This is making me happy to hear. That people use my project and is happy about it. Another note: Spoton now support UTF8. Took me a bit to do this, but after reading tutorials about UTF8 I succeded. To compile my code or download the DLL-File, go to my GitHub page.
|
|
|
Re: Spotify now-playing for mIRC
[Re: turbosmurfen]
#270275
16/05/22 04:51 PM
|
Joined: Jan 2021
Posts: 26
turbosmurfen
OP
Ameglian cow
|
OP
Ameglian cow
Joined: Jan 2021
Posts: 26 |
I have updated Spoton to remove Line Feeds. I don't know if Spotify accept this, but fixed IF. I also updated Spoton Lite mIRC script to use the latest way I read the data. So if you use old version of my script for mIRC, go to https://github.com/turbosmurfen/spoton/wiki/Addon-Lite and replace with this script.
|
|
|
Re: Spotify now-playing for mIRC
[Re: turbosmurfen]
#270278
16/05/22 09:42 PM
|
Joined: Jan 2004
Posts: 1,796
maroon
Hoopy frood
|
Hoopy frood
Joined: Jan 2004
Posts: 1,796 |
Your special treatment of $cr and $lf looks motivated from my comments in the other thread about how these can be used as an exploit against someone doing "privmsg #channel string". But from looking at your source code it looks like you're replacing $cr and $lf with the 0x00 byte, effectively truncating the strings at the 1st position of either character. However, you may want to replace them with a space, for 2 reasons.
1 reason is to allow the user to see when someone tried to insert a payload. Another reason is that there can be innocent reasons for some fields to have $cr or $lf in them, though mostly this is in fields like 'comment' where someone just copypasted normal text from somewhere else
|
|
|
Re: Spotify now-playing for mIRC
[Re: maroon]
#270279
17/05/22 12:37 PM
|
Joined: Jan 2021
Posts: 26
turbosmurfen
OP
Ameglian cow
|
OP
Ameglian cow
Joined: Jan 2021
Posts: 26 |
Thanks Maroon for the message. I will replace 0x00 byte with space char. I didn't know what to replace with, the reason I added 0x00 byte. But now I understand and is going to fix this in release later today. I'm so happy about your knowledge about mIRC and a lot more. Thank you so much.
|
|
|
Re: Spotify now-playing for mIRC
[Re: turbosmurfen]
#270288
19/05/22 08:54 PM
|
Joined: Dec 2002
Posts: 483
Deep3D
Pan-dimensional mouse
|
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483 |
I have stumbled over a issue in Spoton Version 1.1.3. If you have Battle.net-client (a game client for diablo, wow, overwatch etc) up and running, it will overrule Spotify. Battle.net-client have to be closed to show what Spotify actually is playing. [20:50] <Deep3D> Spotify » Battle.net [20:51] <Deep3D> Spotify » Midnight Oil - Beds Are Burning - Remastered spoton {
var %status $dll(data\dll\spoton\spoton.dll,status,)
if (%status == 1) echo -a Spotify is paused.
elseif (%status == 2) echo -a Spotify is playing Advertisement.
elseif (%status == 3) say Spotify » $dll(data\dll\spoton\spoton.dll,song,)
else echo -a Spotify is not running.
}
|
|
|
Re: Spotify now-playing for mIRC
[Re: Deep3D]
#270289
19/05/22 09:49 PM
|
Joined: Jan 2021
Posts: 26
turbosmurfen
OP
Ameglian cow
|
OP
Ameglian cow
Joined: Jan 2021
Posts: 26 |
Thanks for the report Dee3D. I know what's the problem is. It's looking for a chromium window which Spotify and Battle.net client use. I will add back the old check. Sure it's reading through processes for Spotify. I think this is the best option to fix the issues.
|
|
|
Re: Spotify now-playing for mIRC
[Re: Deep3D]
#270290
20/05/22 12:46 AM
|
Joined: Jan 2021
Posts: 26
turbosmurfen
OP
Ameglian cow
|
OP
Ameglian cow
Joined: Jan 2021
Posts: 26 |
I have stumbled over a issue in Spoton Version 1.1.3. If you have Battle.net-client (a game client for diablo, wow, overwatch etc) up and running, it will overrule Spotify. Battle.net-client have to be closed to show what Spotify actually is playing. [20:50] <Deep3D> Spotify » Battle.net [20:51] <Deep3D> Spotify » Midnight Oil - Beds Are Burning - Remastered spoton {
var %status $dll(data\dll\spoton\spoton.dll,status,)
if (%status == 1) echo -a Spotify is paused.
elseif (%status == 2) echo -a Spotify is playing Advertisement.
elseif (%status == 3) say Spotify » $dll(data\dll\spoton\spoton.dll,song,)
else echo -a Spotify is not running.
} Thanks for the report. This is fixed in 1.1.4. Also Line Feeds is now replaced with space.
|
|
|
Re: Spotify now-playing for mIRC
[Re: turbosmurfen]
#270319
28/05/22 07:14 PM
|
Joined: May 2022
Posts: 5
Fernet
Nutrimatic drinks dispenser
|
Nutrimatic drinks dispenser
Joined: May 2022
Posts: 5 |
Does it works on multiple mirc server? How?
|
|
|
Re: Spotify now-playing for mIRC
[Re: Fernet]
#270320
30/05/22 10:52 AM
|
Joined: Jan 2021
Posts: 26
turbosmurfen
OP
Ameglian cow
|
OP
Ameglian cow
Joined: Jan 2021
Posts: 26 |
Does it works on multiple mirc server? How? I have only tested this tool for 1 server. But I guess some other people here that use the tool in multiple servers could maybe tell you this. I'm sorry that I can't tell you about more servers. But what I think this tool should work for multiple IRC servers.
|
|
|
Re: Spotify now-playing for mIRC
[Re: Fernet]
#270323
01/06/22 04:54 PM
|
Joined: Jan 2021
Posts: 26
turbosmurfen
OP
Ameglian cow
|
OP
Ameglian cow
Joined: Jan 2021
Posts: 26 |
Does it works on multiple mirc server? How? From looking at you're earlier posts. You want to write out what's you are listening to in more than 1 server at the same time? I guess you also want to write out in all channels too? Because my MSL skills is not the best. And I don't know how to make this.
|
|
|
|
|
|