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

Bernie Sanders - haresfur - Feb 22, 2020 - 9:01pm
 
Trump - Red_Dragon - Feb 22, 2020 - 7:12pm
 
What are you listening to now? - sirdroseph - Feb 22, 2020 - 6:28pm
 
Radio Paradise Comments - haresfur - Feb 22, 2020 - 5:10pm
 
Local Scandals, politics and news - R_P - Feb 22, 2020 - 1:58pm
 
New Music - R_P - Feb 22, 2020 - 1:16pm
 
YouTube: Music-Videos - oldviolin - Feb 22, 2020 - 1:13pm
 
Acid Tongue Protest! - jtessier1841 - Feb 22, 2020 - 1:12pm
 
Favourite Movie Scene - sirdroseph - Feb 22, 2020 - 9:17am
 
Today in History - Red_Dragon - Feb 22, 2020 - 9:06am
 
What makes you smile? - triskele - Feb 22, 2020 - 6:43am
 
Play the Blues - sirdroseph - Feb 22, 2020 - 6:08am
 
Baseball, anyone? - zevon - Feb 22, 2020 - 5:05am
 
Florida - Ohmsen - Feb 21, 2020 - 5:55pm
 
Show us your NEW _______________!!!! - Antigone - Feb 21, 2020 - 5:44pm
 
Bad News / Good News - haresfur - Feb 21, 2020 - 5:12pm
 
Iran - R_P - Feb 21, 2020 - 4:29pm
 
Thanks to BillG & Rebecca! - hayduke2 - Feb 21, 2020 - 3:13pm
 
Gotta Get Your Drink On - miamizsun - Feb 21, 2020 - 2:45pm
 
Climate Change - R_P - Feb 21, 2020 - 2:24pm
 
Pernicious Pious Proclivities Particularized Prodigiously - R_P - Feb 21, 2020 - 1:59pm
 
Happy RP Anniversary! - the_jake - Feb 21, 2020 - 1:43pm
 
Counting with Pictures - ScottN - Feb 21, 2020 - 1:35pm
 
Sonos - jarro - Feb 21, 2020 - 1:29pm
 
Live Music - Ohmsen - Feb 21, 2020 - 12:03pm
 
Strips, cartoons, illustrations - R_P - Feb 21, 2020 - 11:51am
 
songs that ROCK! - Ohmsen - Feb 21, 2020 - 11:30am
 
Mixtape Culture Club - rmgman - Feb 21, 2020 - 11:24am
 
Make Scott laugh - Red_Dragon - Feb 21, 2020 - 10:22am
 
Republican Party - Red_Dragon - Feb 21, 2020 - 8:25am
 
Democratic Party - ColdMiser - Feb 21, 2020 - 7:21am
 
Vinyl Only Spin List - ColdMiser - Feb 21, 2020 - 7:07am
 
Trump Lies - R_P - Feb 20, 2020 - 4:17pm
 
Family Ties - Manbird - Feb 20, 2020 - 4:02pm
 
Irony 101 - Manbird - Feb 20, 2020 - 1:21pm
 
Little known information...maybe even facts - Manbird - Feb 20, 2020 - 1:18pm
 
Tech & Science - dischuckin - Feb 20, 2020 - 12:02pm
 
Museum Of Bad Album Covers - Red_Dragon - Feb 20, 2020 - 10:36am
 
Derplahoma Questions and Points of Interest - Red_Dragon - Feb 20, 2020 - 9:59am
 
President Elizabeth Warren - cc_rider - Feb 20, 2020 - 9:03am
 
Cryptic Posts - Leave Them Guessing - oldviolin - Feb 20, 2020 - 8:53am
 
Ridiculously easy things to do - miamizsun - Feb 20, 2020 - 5:08am
 
Automotive Lust - miamizsun - Feb 20, 2020 - 4:11am
 
Bug Reports & Feature Requests - BillG - Feb 19, 2020 - 6:04pm
 
The House I Want (Today) - Antigone - Feb 19, 2020 - 4:05pm
 
Canada - westslope - Feb 19, 2020 - 1:38pm
 
WikiLeaks - R_P - Feb 19, 2020 - 11:55am
 
Military Matters - R_P - Feb 19, 2020 - 11:39am
 
Sweet horrible irony. - Steely_D - Feb 19, 2020 - 10:05am
 
What Makes You Laugh? - ScottFromWyoming - Feb 19, 2020 - 8:19am
 
Celebrity Face Recognition - Proclivities - Feb 19, 2020 - 7:18am
 
Need A Thread Killed? - Coaxial - Feb 19, 2020 - 6:49am
 
You might be getting old if...... - Coaxial - Feb 19, 2020 - 6:47am
 
Things You Thought Today - sirdroseph - Feb 19, 2020 - 4:47am
 
The Obituary Page - R_P - Feb 18, 2020 - 8:57pm
 
Preferred media player? - westslope - Feb 18, 2020 - 7:48pm
 
the Todd Rundgren topic - Steely_D - Feb 18, 2020 - 7:22pm
 
Cuba - R_P - Feb 18, 2020 - 4:40pm
 
Israel - R_P - Feb 18, 2020 - 4:21pm
 
Venezuela - miamizsun - Feb 18, 2020 - 4:05pm
 
Health Care Reform - miamizsun - Feb 18, 2020 - 4:02pm
 
What Makes You Sad? - BlueHeronDruid - Feb 18, 2020 - 3:13pm
 
Other Medical Stuff - haresfur - Feb 18, 2020 - 2:31pm
 
Drinking Establishments - miamizsun - Feb 18, 2020 - 2:28pm
 
Maps • Google • GeoGuessr - haresfur - Feb 18, 2020 - 2:16pm
 
Squirrel proof bird feeder? - miamizsun - Feb 18, 2020 - 2:09pm
 
Logos for alt streams? - miamizsun - Feb 18, 2020 - 2:07pm
 
260,000 Posts in one thread? - miamizsun - Feb 18, 2020 - 7:54am
 
RP 20th anniversary, Feb 2020 - sunybuny - Feb 18, 2020 - 5:43am
 
Recommended documentaries - sirdroseph - Feb 18, 2020 - 5:21am
 
Reviews and Pix from your concerts and shows you couldn't... - ScottFromWyoming - Feb 17, 2020 - 6:43pm
 
how do you feel right now? - GeneP59 - Feb 17, 2020 - 4:08pm
 
Google Home - jarro - Feb 16, 2020 - 1:00pm
 
Back to the 90's - R_P - Feb 15, 2020 - 7:34pm
 
March Of The Locusts - R_P - Feb 15, 2020 - 3:31pm
 
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!