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

260,000 Posts in one thread? - Lazy8 - Feb 16, 2020 - 11:15pm
 
Live Music - R_P - Feb 16, 2020 - 10:35pm
 
how do you feel right now? - R_P - Feb 16, 2020 - 8:45pm
 
Family Ties - BlueHeronDruid - Feb 16, 2020 - 6:14pm
 
Trump - westslope - Feb 16, 2020 - 4:44pm
 
Democratic Party - westslope - Feb 16, 2020 - 4:38pm
 
What Makes You Sad? - haresfur - Feb 16, 2020 - 4:30pm
 
Things You Thought Today - katzendogs - Feb 16, 2020 - 1:30pm
 
Google Home - jarro - Feb 16, 2020 - 1:00pm
 
Radio Paradise Comments - Ohmsen - Feb 16, 2020 - 11:24am
 
What are you listening to now? - SeriousLee - Feb 16, 2020 - 7:39am
 
Back to the 90's - R_P - Feb 15, 2020 - 7:34pm
 
Maps • Google • GeoGuessr - Ohmsen - Feb 15, 2020 - 5:03pm
 
March Of The Locusts - R_P - Feb 15, 2020 - 3:31pm
 
Today in History - Ohmsen - Feb 15, 2020 - 2:39pm
 
Health Care - R_P - Feb 15, 2020 - 2:29pm
 
Gotta Get Your Drink On - Ohmsen - Feb 15, 2020 - 2:28pm
 
(Big) Media Watch - R_P - Feb 15, 2020 - 12:12pm
 
Show us your NEW _______________!!!! - islander - Feb 15, 2020 - 7:17am
 
hAPPY aNNIVERSARY bUZZ and jRZYTMATA - Coaxial - Feb 14, 2020 - 6:28pm
 
Valentine 's - You wouldn't see today... - Antigone - Feb 14, 2020 - 4:05pm
 
Name My Band - buddy - Feb 14, 2020 - 12:41pm
 
Canada - R_P - Feb 14, 2020 - 12:37pm
 
Amazon Products (May Contain Spam) - ScottFromWyoming - Feb 14, 2020 - 12:00pm
 
Best Song Comments. - ScottFromWyoming - Feb 14, 2020 - 8:42am
 
RP 20th anniversary, Feb 2020 - rgio - Feb 14, 2020 - 8:18am
 
A motivational quote - Proclivities - Feb 14, 2020 - 7:52am
 
Derplahoma Questions and Points of Interest - buddy - Feb 14, 2020 - 7:16am
 
Preferred media player? - haresfur - Feb 13, 2020 - 10:32pm
 
Growing Humanity... - black321 - Feb 13, 2020 - 6:39pm
 
ok, am i crazy? - pilgrim - Feb 13, 2020 - 4:56pm
 
Baseball, anyone? - Red_Dragon - Feb 13, 2020 - 3:25pm
 
The Obituary Page - oldviolin - Feb 13, 2020 - 3:24pm
 
Trump Lies - R_P - Feb 13, 2020 - 2:16pm
 
The House I Want (Today) - miamizsun - Feb 13, 2020 - 1:55pm
 
Bill and Rebecca, Thank You - BillG - Feb 13, 2020 - 1:17pm
 
Climate Change - R_P - Feb 13, 2020 - 1:04pm
 
kurtster's quiet vinyl - kurtster - Feb 13, 2020 - 11:27am
 
Is there any DOG news out there? - Antigone - Feb 13, 2020 - 11:13am
 
Bernie Sanders - R_P - Feb 13, 2020 - 10:45am
 
Counting with Pictures - ScottN - Feb 13, 2020 - 7:55am
 
Business as Usual - R_P - Feb 12, 2020 - 10:37pm
 
Bryston BDP Pi - jbuhl - Feb 12, 2020 - 4:26pm
 
Films you're excited about. - miamizsun - Feb 12, 2020 - 2:28pm
 
Australia Burns - haresfur - Feb 12, 2020 - 1:20pm
 
Immigration - steeler - Feb 12, 2020 - 9:36am
 
FLAC Streaming - icculus - Feb 12, 2020 - 7:35am
 
songs that ROCK! - sirdroseph - Feb 12, 2020 - 6:13am
 
Tech & Science - miamizsun - Feb 12, 2020 - 5:20am
 
New Music - miamizsun - Feb 12, 2020 - 5:16am
 
What Makes You Laugh? - miamizsun - Feb 12, 2020 - 4:59am
 
Strips, cartoons, illustrations - R_P - Feb 11, 2020 - 8:28pm
 
YouTube: Music-Videos - oppositelock - Feb 11, 2020 - 6:07pm
 
Those lovable acronym guys & gals - R_P - Feb 11, 2020 - 5:43pm
 
WTF??!! - Steely_D - Feb 11, 2020 - 5:12pm
 
Other Medical Stuff - haresfur - Feb 11, 2020 - 4:05pm
 
Bug Reports & Feature Requests - buddy - Feb 11, 2020 - 3:00pm
 
2020 Elections - miamizsun - Feb 11, 2020 - 1:12pm
 
Taxes, Taxes, Taxes (and Taxes) - rgio - Feb 11, 2020 - 11:16am
 
Corrections - ScottFromWyoming - Feb 11, 2020 - 8:40am
 
~ Have a good joke you can post? ~ - Steely_D - Feb 10, 2020 - 10:40pm
 
Republican Party - Steely_D - Feb 10, 2020 - 10:36pm
 
All Dogs Go To Heaven - Dog Pix - Antigone - Feb 10, 2020 - 3:59pm
 
Are you ready for some football? - miamizsun - Feb 10, 2020 - 3:58pm
 
Cell Phone Hell - miamizsun - Feb 10, 2020 - 3:51pm
 
Who Would You Like To See As President? - miamizsun - Feb 10, 2020 - 3:12pm
 
Photos you have taken of other people - ScottFromWyoming - Feb 10, 2020 - 1:19pm
 
Poetry Forum - ScottN - Feb 10, 2020 - 6:51am
 
Words that should be put on the substitutes bench for a year - sirdroseph - Feb 10, 2020 - 5:52am
 
What Are You Going To Do Today? - SeriousLee - Feb 9, 2020 - 1:27pm
 
The Grateful Dead - buddy - Feb 9, 2020 - 12:25pm
 
What makes you smile? - miamizsun - Feb 9, 2020 - 11:16am
 
Impeachment Time: - miamizsun - Feb 9, 2020 - 11:15am
 
KUDOS for BillG - miamizsun - Feb 9, 2020 - 11:13am
 
The War on Women - sirdroseph - Feb 9, 2020 - 8:09am
 
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!