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

• • • BRING OUT YOUR DEAD • • •  - BlueHeronDruid - Feb 28, 2020 - 8:36pm
 
What are you doing RIGHT NOW? - Red_Dragon - Feb 28, 2020 - 7:27pm
 
Counting with Pictures - jahgirl8 - Feb 28, 2020 - 4:55pm
 
Trump Lies - jahgirl8 - Feb 28, 2020 - 4:48pm
 
Bernie Sanders - R_P - Feb 28, 2020 - 4:44pm
 
Name My Band - jahgirl8 - Feb 28, 2020 - 4:42pm
 
Democratic Party - Coaxial - Feb 28, 2020 - 4:37pm
 
What Makes You Laugh? - Isabeau - Feb 28, 2020 - 4:34pm
 
Family Ties - R_P - Feb 28, 2020 - 4:29pm
 
Trump - R_P - Feb 28, 2020 - 4:28pm
 
Radio Paradise Comments - Isabeau - Feb 28, 2020 - 4:18pm
 
COVID-19 - Isabeau - Feb 28, 2020 - 4:01pm
 
260,000 Posts in one thread? - buddy - Feb 28, 2020 - 2:18pm
 
Shipping News - haresfur - Feb 28, 2020 - 1:54pm
 
Republican Party - R_P - Feb 28, 2020 - 1:34pm
 
Things for which you would sell ManBird's soul - buddy - Feb 28, 2020 - 1:20pm
 
Guns - jahgirl8 - Feb 28, 2020 - 1:18pm
 
Things You Thought Today - SeriousLee - Feb 28, 2020 - 1:12pm
 
Strips, cartoons, illustrations - R_P - Feb 28, 2020 - 1:00pm
 
Country Up The Bumpkin - buddy - Feb 28, 2020 - 12:52pm
 
songs that ROCK! - SeriousLee - Feb 28, 2020 - 12:50pm
 
President Elizabeth Warren - jahgirl8 - Feb 28, 2020 - 12:40pm
 
Climate Change - R_P - Feb 28, 2020 - 10:24am
 
After Midnight - Proclivities - Feb 28, 2020 - 10:18am
 
Graphs, Charts & Maps - R_P - Feb 28, 2020 - 10:11am
 
Derplahoma Questions and Points of Interest - Red_Dragon - Feb 28, 2020 - 9:56am
 
Baseball, anyone? - Proclivities - Feb 28, 2020 - 9:47am
 
Recommended documentaries - black321 - Feb 28, 2020 - 9:11am
 
What are you listening to now? - black321 - Feb 28, 2020 - 9:06am
 
Useless Information - Proclivities - Feb 28, 2020 - 8:04am
 
Today in History - miamizsun - Feb 28, 2020 - 6:58am
 
Positive Thoughts and Prayer Requests - miamizsun - Feb 28, 2020 - 6:48am
 
Bug Reports & Feature Requests - maryte - Feb 28, 2020 - 5:44am
 
Dear Retail Fashion Industry - sirdroseph - Feb 28, 2020 - 5:17am
 
Pants. Tops too if you want. - ScottFromWyoming - Feb 27, 2020 - 8:11pm
 
Automotive Lust - Red_Dragon - Feb 27, 2020 - 7:16pm
 
RP-FLAC--->Roon - jbuhl - Feb 27, 2020 - 4:46pm
 
What did you have for lunch? - Manbird - Feb 27, 2020 - 3:28pm
 
Interesting or Weird Cover Versions - Proclivities - Feb 27, 2020 - 9:12am
 
Stream links not working - psychokiller - Feb 27, 2020 - 2:19am
 
The War on Women - sirdroseph - Feb 27, 2020 - 2:15am
 
The Obituary Page - Antigone - Feb 26, 2020 - 6:17pm
 
NASA & other news from space - haresfur - Feb 26, 2020 - 6:00pm
 
Environment - haresfur - Feb 26, 2020 - 5:50pm
 
Back to the 10's - rhahl - Feb 26, 2020 - 3:47pm
 
Happy RP Anniversary! - jahgirl8 - Feb 26, 2020 - 2:47pm
 
Immigration - jahgirl8 - Feb 26, 2020 - 2:38pm
 
WikiLeaks - R_P - Feb 26, 2020 - 2:07pm
 
Canada - R_P - Feb 26, 2020 - 1:07pm
 
New Music - Proclivities - Feb 26, 2020 - 12:42pm
 
Russia - sirdroseph - Feb 26, 2020 - 11:53am
 
Pernicious Pious Proclivities Particularized Prodigiously - R_P - Feb 26, 2020 - 11:44am
 
Birthday wishes - BlueHeronDruid - Feb 26, 2020 - 10:27am
 
Dog - sirdroseph - Feb 26, 2020 - 9:51am
 
Marijuana: Baked News. - sirdroseph - Feb 26, 2020 - 2:36am
 
shoutcast down? - hacknase - Feb 26, 2020 - 1:26am
 
Age old problem - RP cutting out on NAIM products - tom14 - Feb 26, 2020 - 1:03am
 
The House I Want (Today) - jahgirl8 - Feb 25, 2020 - 5:41pm
 
Best Song Comments. - haresfur - Feb 25, 2020 - 2:58pm
 
Evolution! - R_P - Feb 25, 2020 - 2:32pm
 
Play the Blues - black321 - Feb 25, 2020 - 1:53pm
 
Slide Show Sync - darshan - Feb 25, 2020 - 1:16pm
 
RP Daily Trivia Challenge - ScottFromWyoming - Feb 25, 2020 - 12:22pm
 
A motivational quote - R_P - Feb 25, 2020 - 11:43am
 
Content missing from forum posts prior to ~ 23rd July 2008 - NoEnzLefttoSplit - Feb 25, 2020 - 10:28am
 
Streaming addresses currently down? - SoupLadle - Feb 25, 2020 - 9:00am
 
The Green Thread: A place to share info about living a gr... - Proclivities - Feb 25, 2020 - 7:59am
 
Mardi Gras, mon cher! - Steely_D - Feb 25, 2020 - 7:45am
 
Sonos - BillG - Feb 25, 2020 - 6:32am
 
Australia has Disappeared - haresfur - Feb 24, 2020 - 6:56pm
 
Show us your NEW _______________!!!! - KurtfromLaQuinta - Feb 24, 2020 - 6:51pm
 
Photos you haven't taken of yourself - KurtfromLaQuinta - Feb 24, 2020 - 6:35pm
 
::yesterday:: - haresfur - Feb 24, 2020 - 5:53pm
 
Memorials - Remembering Our Loved Ones - haresfur - Feb 24, 2020 - 5:45pm
 
One Partying State - Wyoming News - jahgirl8 - Feb 24, 2020 - 4:30pm
 
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!