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

Tartaria And The Mud Floods - R_P - Jan 18, 2020 - 1:00pm
 
Climate Change - success - Jan 18, 2020 - 12:58pm
 
Democratic Party - R_P - Jan 18, 2020 - 12:12pm
 
Trump - R_P - Jan 18, 2020 - 12:05pm
 
Palestine - R_P - Jan 18, 2020 - 11:48am
 
Baseball, anyone? - SeriousLee - Jan 18, 2020 - 11:40am
 
The All-Things Beatles Forum - R_P - Jan 18, 2020 - 11:28am
 
Bug Reports & Feature Requests - SeriousLee - Jan 18, 2020 - 11:27am
 
Vinyl vs CD - SeriousLee - Jan 18, 2020 - 10:40am
 
Things You Thought Today - steeler - Jan 18, 2020 - 9:48am
 
Documentaries - sirdroseph - Jan 18, 2020 - 9:17am
 
Cryptic Posts - Leave Them Guessing - Coaxial - Jan 18, 2020 - 9:14am
 
Automotive Lust - islander - Jan 18, 2020 - 7:20am
 
Capitalism and Consumerism... now what? - Red_Dragon - Jan 18, 2020 - 7:11am
 
Gotta Get Your Drink On - Ohmsen - Jan 18, 2020 - 6:30am
 
Republican Wingnut Freak of the Day - Red_Dragon - Jan 18, 2020 - 6:28am
 
One Partying State - Wyoming News - islander - Jan 18, 2020 - 6:18am
 
2020 Elections - kurtster - Jan 18, 2020 - 5:24am
 
UK stream - mike_barr - Jan 18, 2020 - 4:51am
 
Mixtape Culture Club - sirdroseph - Jan 18, 2020 - 4:42am
 
Canada - R_P - Jan 17, 2020 - 10:39pm
 
Stream stopping at promo - lannydevaney - Jan 17, 2020 - 7:51pm
 
Counting with Pictures - ScottN - Jan 17, 2020 - 7:41pm
 
We need some new car names - kcar - Jan 17, 2020 - 7:32pm
 
R&R Hall of Fame Show - buddy - Jan 17, 2020 - 5:53pm
 
What the hell OV? - buddy - Jan 17, 2020 - 5:51pm
 
DIY - cc_rider - Jan 17, 2020 - 3:27pm
 
What are you listening to now? - SeriousLee - Jan 17, 2020 - 12:53pm
 
war is a racket - haresfur - Jan 17, 2020 - 12:47pm
 
how do you feel right now? - SeriousLee - Jan 17, 2020 - 12:43pm
 
Mellow stream - jarro - Jan 17, 2020 - 11:45am
 
Strips, cartoons, illustrations - Red_Dragon - Jan 17, 2020 - 10:22am
 
The war on funk is over! - rhahl - Jan 17, 2020 - 8:25am
 
Radio Paradise Comments - sunybuny - Jan 17, 2020 - 5:30am
 
Today in History - Red_Dragon - Jan 17, 2020 - 4:40am
 
What makes you smile? - Coaxial - Jan 16, 2020 - 6:14pm
 
Tech & Science - R_P - Jan 16, 2020 - 2:21pm
 
Fix My Car - cc_rider - Jan 16, 2020 - 1:22pm
 
Trump Lies - R_P - Jan 16, 2020 - 11:39am
 
Regarding cats - Proclivities - Jan 16, 2020 - 11:11am
 
Derplahoma Questions and Points of Interest - Red_Dragon - Jan 16, 2020 - 6:07am
 
Music Videos - sirdroseph - Jan 16, 2020 - 4:24am
 
I'm a Dem. Which Republican would you recommend I vote for? - jahgirl8 - Jan 15, 2020 - 8:36pm
 
Stuff I like - Antigone - Jan 15, 2020 - 5:07pm
 
Positive Thoughts and Prayer Requests - triskele - Jan 15, 2020 - 4:43pm
 
Private messages in a public forum - jahgirl8 - Jan 15, 2020 - 4:19pm
 
Impeachment Time: - kurtster - Jan 15, 2020 - 3:38pm
 
• • • BRING OUT YOUR DEAD • • •  - Antigone - Jan 15, 2020 - 2:57pm
 
Amazon Echo/Alexa stream not working - piratesbaseball44 - Jan 15, 2020 - 1:23pm
 
Books - R_P - Jan 15, 2020 - 1:03pm
 
Anti-War - westslope - Jan 15, 2020 - 11:58am
 
Breaking News - buddy - Jan 15, 2020 - 8:34am
 
Maps • Google • GeoGuessr - Red_Dragon - Jan 15, 2020 - 7:34am
 
Drinking Establishments - Coaxial - Jan 15, 2020 - 7:00am
 
LOVIN The ONION - ScottFromWyoming - Jan 15, 2020 - 6:59am
 
Star wars with a twist - sirdroseph - Jan 15, 2020 - 4:17am
 
Iran - R_P - Jan 14, 2020 - 8:08pm
 
RP Daily Trivia Challenge - KurtfromLaQuinta - Jan 14, 2020 - 3:01pm
 
Photography Chat - haresfur - Jan 14, 2020 - 2:50pm
 
Internet Speed Test - miamizsun - Jan 14, 2020 - 11:33am
 
audio codec - BillG - Jan 14, 2020 - 10:33am
 
Are you ready for some football? - Coaxial - Jan 14, 2020 - 5:18am
 
Name My Band - miamizsun - Jan 14, 2020 - 5:05am
 
Australia has Disappeared - haresfur - Jan 14, 2020 - 12:16am
 
Guns - R_P - Jan 13, 2020 - 9:01pm
 
Sweet horrible irony. - R_P - Jan 13, 2020 - 2:31pm
 
Amazing animals! - kurtster - Jan 13, 2020 - 2:24pm
 
OUR CATS!! - jahgirl8 - Jan 13, 2020 - 2:12pm
 
help me - jahgirl8 - Jan 13, 2020 - 1:50pm
 
Big Brother - success - Jan 13, 2020 - 8:59am
 
Things Women Should Not Be Allowed to Do - success - Jan 13, 2020 - 8:14am
 
Posting pictures - RabbitEars - Jan 13, 2020 - 7:53am
 
RP Windows Desktop Notification Applet - gvajda - Jan 13, 2020 - 4:01am
 
The Obituary Page - westslope - Jan 13, 2020 - 3:03am
 
Band Names !!! - sirdroseph - Jan 13, 2020 - 2:58am
 
Index » Internet/Computer » Streaming/Media » RP Windows Desktop Notification Applet
Post to this Topic
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!