[ ]   [ ]   [ ]                        [ ]      [ ]   [ ]

Impeachment Time: - steeler - Jan 26, 2020 - 9:24am
 
What are you doing RIGHT NOW? - Antigone - Jan 26, 2020 - 9:10am
 
What are you listening to now? - SeriousLee - Jan 26, 2020 - 8:15am
 
Pandemics and Rights - miamizsun - Jan 26, 2020 - 7:39am
 
Ask the Libertarian - Lazy8 - Jan 26, 2020 - 7:14am
 
Today in History - Red_Dragon - Jan 26, 2020 - 7:03am
 
Trump - Red_Dragon - Jan 26, 2020 - 6:43am
 
Things that make you cautiously optimistic - miamizsun - Jan 26, 2020 - 6:04am
 
Neil Young - R_P - Jan 25, 2020 - 6:26pm
 
Democratic Party - R_P - Jan 25, 2020 - 4:41pm
 
What did you have for dinner? - Red_Dragon - Jan 25, 2020 - 4:34pm
 
Bug Reports & Feature Requests - Chuck1 - Jan 25, 2020 - 4:25pm
 
Official date for our 20th Anniversary? - buddy - Jan 25, 2020 - 1:10pm
 
Strips, cartoons, illustrations - R_P - Jan 25, 2020 - 12:38pm
 
Race in America - R_P - Jan 25, 2020 - 11:57am
 
Brazil - R_P - Jan 25, 2020 - 11:18am
 
Annoying stuff. not things that piss you off, just annoyi... - SeriousLee - Jan 25, 2020 - 10:42am
 
Mars - R_P - Jan 25, 2020 - 10:27am
 
260,000 Posts in one thread? - SeriousLee - Jan 25, 2020 - 9:42am
 
Lyrics that strike a chord today... - SeriousLee - Jan 25, 2020 - 9:39am
 
Trump Lies - R_P - Jan 25, 2020 - 12:09am
 
Name My Band - Red_Dragon - Jan 24, 2020 - 7:46pm
 
Radio Paradise Comments - Coaxial - Jan 24, 2020 - 7:29pm
 
RP Windows Desktop Notification Applet - gvajda - Jan 24, 2020 - 5:54pm
 
Way Cool Video - Red_Dragon - Jan 24, 2020 - 5:22pm
 
Automotive Lust - Red_Dragon - Jan 24, 2020 - 5:09pm
 
We need some new car names - jahgirl8 - Jan 24, 2020 - 4:00pm
 
Climate Change - R_P - Jan 24, 2020 - 3:11pm
 
how do you feel right now? - Antigone - Jan 24, 2020 - 2:38pm
 
Iran - jahgirl8 - Jan 24, 2020 - 2:32pm
 
THREE WORDS - jahgirl8 - Jan 24, 2020 - 2:27pm
 
A motivational quote - jahgirl8 - Jan 24, 2020 - 2:23pm
 
Interesting Art - Proclivities - Jan 24, 2020 - 1:36pm
 
Guns - Red_Dragon - Jan 24, 2020 - 11:23am
 
Economix - R_P - Jan 24, 2020 - 10:49am
 
Derplahoma Questions and Points of Interest - Red_Dragon - Jan 24, 2020 - 10:10am
 
Acting - R_P - Jan 24, 2020 - 9:55am
 
Graphs, Charts & Maps - black321 - Jan 24, 2020 - 9:44am
 
Strange & Cool Music - Proclivities - Jan 24, 2020 - 9:32am
 
Animal Resistance - cc_rider - Jan 24, 2020 - 9:15am
 
Recommended documentaries - cc_rider - Jan 24, 2020 - 9:05am
 
Documentaries - Proclivities - Jan 24, 2020 - 6:39am
 
Florida - miamizsun - Jan 24, 2020 - 5:31am
 
Mixtape Culture Club - sirdroseph - Jan 24, 2020 - 2:48am
 
Croatia - EdSe - Jan 24, 2020 - 12:06am
 
Bad News / Good News - haresfur - Jan 23, 2020 - 4:11pm
 
Music News - miamizsun - Jan 23, 2020 - 3:28pm
 
WTF??!! - Antigone - Jan 23, 2020 - 3:04pm
 
The war on funk is over! - Ohmsen - Jan 23, 2020 - 12:59pm
 
Jazz - Ohmsen - Jan 23, 2020 - 12:41pm
 
YouTube: Music-Videos - Ohmsen - Jan 23, 2020 - 12:23pm
 
punk? hip-hop? metal? noise? garage? - Ohmsen - Jan 23, 2020 - 12:21pm
 
SFW & Gluttony Pants - Proclivities - Jan 23, 2020 - 9:23am
 
songs that ROCK! - sirdroseph - Jan 23, 2020 - 7:05am
 
Counting with Pictures - Proclivities - Jan 23, 2020 - 3:53am
 
Your app for Mac needs an update - gtufano - Jan 22, 2020 - 11:36pm
 
RP and Sonos - jarro - Jan 22, 2020 - 5:04pm
 
The Obituary Page - buddy - Jan 22, 2020 - 2:56pm
 
What Do You Want From RP? - buddy - Jan 22, 2020 - 2:53pm
 
Movie Quote - ScottFromWyoming - Jan 22, 2020 - 10:32am
 
A Sad Day, Indeed - ScottFromWyoming - Jan 22, 2020 - 7:09am
 
Goodnight everyone! - Proclivities - Jan 22, 2020 - 4:06am
 
• • • The Once-a-Day • • •  - Egctheow - Jan 22, 2020 - 1:14am
 
Is there any DOG news out there? - BlueHeronDruid - Jan 21, 2020 - 11:33pm
 
Vinyl Only Spin List - kurtster - Jan 21, 2020 - 10:37pm
 
ONE WORD - buddy - Jan 21, 2020 - 9:24pm
 
Internet Addict?? - BlueHeronDruid - Jan 21, 2020 - 7:09pm
 
The Global War on Terror - R_P - Jan 21, 2020 - 3:54pm
 
What Did You See Today? - oldviolin - Jan 21, 2020 - 2:34pm
 
Tech & Science - R_P - Jan 21, 2020 - 2:26pm
 
A History of Violence - R_P - Jan 21, 2020 - 12:09pm
 
TWO WORDS - oldviolin - Jan 21, 2020 - 10:51am
 
Baseball, anyone? - kcar - Jan 21, 2020 - 7:52am
 
Country Up The Bumpkin - buddy - Jan 21, 2020 - 7:38am
 
Classical Music - R_P - Jan 21, 2020 - 12:07am
 
Index » Internet/Computer » Streaming/Media » RP Windows Desktop Notification Applet
Post to this Topic
gvajda

gvajda Avatar

Location: UK
Gender: Male


Posted: Jan 24, 2020 - 5:54pm

Just a quick update: I got all the info from Bill that I needed to add the tracking feature. I made it work and it looks good but I will need a few more days to test and sand off the rough edges.
gvajda

gvajda Avatar

Location: UK
Gender: Male


Posted: Jan 13, 2020 - 4:01am

I'm glad you like it.

The feature you ask for would be a really nice addition to track all official players, I didn't even notice it until you pointed out to me. However, it's a bit tricky.
The  RP site / RP app tracking must use a server-side database to sync the state of the players while the notification applet just checks the Foobar2000 player locally. I sent an email to Bill to ask if he would provide me with access to the API with the tracking data.
He hasn't answered yet, I will try later because he usually answers super fast and the mail may got lost. Although it's very possible that he had enough of my API related questions 


 mirceat wrote:
Thanks again gvajda, this is a nice surprise. On the first impression, the notifications and the Foobar2000 integration work as expected.
I'd suggest you to add the RP Android app tracking, when possible. I'm assuming if the Android app tracking is possible in browser, it should be possible in your app as well.
In my particular case, there are 3 possible scenarios on my computer speakers - playing RP from browser, from Foobar2000 or from an Android device casting to the same speakers (using Chromecast Audio and a DAC with multiple inputs). The computer is shared for work and personal interests and sometimes I'm forced to switch the RP player. 
 


mirceat



Posted: Jan 7, 2020 - 9:16am

Thanks again gvajda, this is a nice surprise. On the first impression, the notifications and the Foobar2000 integration work as expected.
I'd suggest you to add the RP Android app tracking, when possible. I'm assuming if the Android app tracking is possible in browser, it should be possible in your app as well.
In my particular case, there are 3 possible scenarios on my computer speakers - playing RP from browser, from Foobar2000 or from an Android device casting to the same speakers (using Chromecast Audio and a DAC with multiple inputs). The computer is shared for work and personal interests and sometimes I'm forced to switch the RP player. 
gvajda

gvajda Avatar

Location: UK
Gender: Male


Posted: Dec 9, 2019 - 7:43am

Hi All,

This app became my hobby project - I completely rewrote it in C# and uploaded in GitHub:
https://github.com/gvajda/radi...
Now it supports all channels, displays album-art, song rating, and tracks which channel is played in Foobar2000. Check it out.
mirceat



Posted: Aug 24, 2019 - 10:54am

Thanks gvajda, your script is a keeper. I'm using the RP stream in FB2K, while tracking the stream in the RP web player. The automatic notification at the beginning of the song adds a bit of comfort and less interruption in my work. And many times I was wondering about the time left for the current song, now I'm good.
BillG

BillG Avatar

Location: Left Coast
Gender: Male


Posted: Jul 11, 2019 - 4:33pm



 gvajda wrote:
Hi All,


I wrote to myself an applet that solves my old problem and I thought I will publish here as it might be useful for others. Sorry in advance for my bad English.

Background (problem): I missed the option to see the now playing song on RP as Windows Desktop Notification (or with another name, toast notification). If I listen to a new song that I like, I'd like to know what it is. If my headphone is not on but my favourite song plays, I don't want to miss it. Furthermore, nowadays I listen to the RP flac stream via the Foobar2000 player that supports WASAPI. I don't want to get into what it is, but the point is that it sends bit-perfect output directly to the playback device opposed to the default soundcard option that mixes system sounds with the music and in the process resamples it, degrading the quality. But for the flac stream, it doesn't display the artist/title at all in my player. Duh.

Solution: I wrote an AutoHotkey (AHK) script that fetches the now played song info from the RadioParadise API and sends a Desktop Notifications for each new song as well as displays the song info in a tooltip when hovering above the tray icon of the applet. A great feature is (thanks to the API returns the length of the song) that the tray tooltip shows the remaining time of the song.

How to run: I will share the .exe and the raw script as well. As you should not trust any random exe from the internet, you can download the script and run through AHK or compile it to exe (with AHK) once you see that there is nothing suspicious in the script. (Btw AHK is a great tool, 100% worth to learn it if your OS is Windows IMHO). If you are a technological muggle and trust a random guy's app from the internet (which you should not do) then run the exe.

Behaviour: Just open the applet or run the script via AHK. An icon will show up in the Windows tray - hover above it with the mouse and it will display a tooltip message with song info and the remaining time of the song. Also, a Desktop Notification will show up once a new song started. Optionally the Desktop Notifications can be disabled (right click or double click on the tray icon of the applet) - the tooltip will still show the song info when hovered above the tray icon. Close it with right-clicking on the tray icon and choose Exit.


Script: https://1drv.ms/u/s!Ai8YO7t8XT...
Exe: https://1drv.ms/u/s!Ai8YO7t8XT...


Disclaimer: Use it for your on responsibility. I wrote this for myself and I share it because I'm a nice person. Feedback is welcomed. I might respond to small change requests but no promises.

Enjoy!
 

Thanks! The script looks great. I'll fire up my Windows laptop & check it out this evening.
gvajda

gvajda Avatar

Location: UK
Gender: Male


Posted: Jul 11, 2019 - 3:54pm

Hi All,


I wrote to myself an applet that solves my old problem and I thought I will publish here as it might be useful for others. Sorry in advance for my bad English.

Background (problem): I missed the option to see the now playing song on RP as Windows Desktop Notification (or with another name, toast notification). If I listen to a new song that I like, I'd like to know what it is. If my headphone is not on but my favourite song plays, I don't want to miss it. Furthermore, nowadays I listen to the RP flac stream via the Foobar2000 player that supports WASAPI. I don't want to get into what it is, but the point is that it sends bit-perfect output directly to the playback device opposed to the default soundcard option that mixes system sounds with the music and in the process resamples it, degrading the quality. But for the flac stream, it doesn't display the artist/title at all in my player. Duh.

Solution: I wrote an AutoHotkey (AHK) script that fetches the now played song info from the RadioParadise API and sends a Desktop Notifications for each new song as well as displays the song info in a tooltip when hovering above the tray icon of the applet. A great feature is (thanks to the API returns the length of the song) that the tray tooltip shows the remaining time of the song.

How to run: I will share the .exe and the raw script as well. As you should not trust any random exe from the internet, you can download the script and run through AHK or compile it to exe (with AHK) once you see that there is nothing suspicious in the script. (Btw AHK is a great tool, 100% worth to learn it if your OS is Windows IMHO). If you are a technological muggle and trust a random guy's app from the internet (which you should not do) then run the exe.

Behaviour: Just open the applet or run the script via AHK. An icon will show up in the Windows tray - hover above it with the mouse and it will display a tooltip message with song info and the remaining time of the song. Also, a Desktop Notification will show up once a new song started. Optionally the Desktop Notifications can be disabled (right click or double click on the tray icon of the applet) - the tooltip will still show the song info when hovered above the tray icon. Close it with right-clicking on the tray icon and choose Exit.


Script: https://1drv.ms/u/s!Ai8YO7t8XT...
Exe: https://1drv.ms/u/s!Ai8YO7t8XT...


Disclaimer: Use it for your on responsibility. I wrote this for myself and I share it because I'm a nice person. Feedback is welcomed. I might respond to small change requests but no promises.

Enjoy!