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

the Todd Rundgren topic - Steely_D - May 29, 2020 - 6:34pm
 
kurtster's quiet vinyl - kurtster - May 29, 2020 - 5:52pm
 
suggest "clasical music" - kcar - May 29, 2020 - 3:49pm
 
Fake News*  ?  ! - R_P - May 29, 2020 - 3:20pm
 
Favorite Quotes - miamizsun - May 29, 2020 - 3:10pm
 
Trump - Red_Dragon - May 29, 2020 - 3:10pm
 
Covid-19 hits home at RP - fractalv - May 29, 2020 - 3:07pm
 
FLAC Streaming - TheKing2 - May 29, 2020 - 2:19pm
 
submissions - TheKing2 - May 29, 2020 - 2:18pm
 
Lyrics that strike a chord today... - Lazy8 - May 29, 2020 - 2:06pm
 
COVID-19 - R_P - May 29, 2020 - 2:02pm
 
• • • The Once-a-Day • • •  - buddy - May 29, 2020 - 12:48pm
 
Name My Band - buddy - May 29, 2020 - 12:45pm
 
Race in America - R_P - May 29, 2020 - 12:24pm
 
Well, DUH!! - KarmaKarma - May 29, 2020 - 11:43am
 
Epic Facebook Statuses - Proclivities - May 29, 2020 - 11:42am
 
Free Books and Free Culture Online - R_P - May 29, 2020 - 11:34am
 
Talk Behind Their Backs Forum - oldviolin - May 29, 2020 - 10:15am
 
The RANT Forum - steeler - May 29, 2020 - 9:39am
 
The Buffoonery - oldviolin - May 29, 2020 - 9:28am
 
Radio Paradise Comments - Coaxial - May 29, 2020 - 9:27am
 
Dialing 1-800-Manbird - oldviolin - May 29, 2020 - 9:20am
 
Bug Reports & Feature Requests - islander - May 29, 2020 - 8:42am
 
Little known information...maybe even facts - miamizsun - May 29, 2020 - 8:10am
 
Mixtape Culture Club - miamizsun - May 29, 2020 - 8:01am
 
Baseball, anyone? - ScottFromWyoming - May 29, 2020 - 7:01am
 
Hong Kong - miamizsun - May 29, 2020 - 4:56am
 
Counting with Pictures - ScottN - May 28, 2020 - 9:39pm
 
Live Music - R_P - May 28, 2020 - 8:57pm
 
Movie Recommendation - Red_Dragon - May 28, 2020 - 3:56pm
 
Australia and New Zealand Music - miamizsun - May 28, 2020 - 3:55pm
 
Climate Change - R_P - May 28, 2020 - 3:26pm
 
Derplahoma Questions and Points of Interest - Red_Dragon - May 28, 2020 - 2:13pm
 
Things You Thought Today - Proclivities - May 28, 2020 - 1:25pm
 
Canada - R_P - May 28, 2020 - 12:52pm
 
Capitalism and Consumerism... now what? - islander - May 28, 2020 - 11:29am
 
Amazon Echo/Alexa stream not working - BillG - May 28, 2020 - 8:09am
 
Today in History - Red_Dragon - May 28, 2020 - 5:21am
 
Vinyl Only Spin List - kurtster - May 28, 2020 - 12:55am
 
What Did You Do Today? - whatshisname - May 27, 2020 - 11:40pm
 
Favorite Books from Your Youth - kcar - May 27, 2020 - 9:20pm
 
260,000 Posts in one thread? - oldviolin - May 27, 2020 - 8:57pm
 
Reinstock '05 Link Repository - AliGator - May 27, 2020 - 7:18pm
 
Those lovable acronym guys & gals - R_P - May 27, 2020 - 5:19pm
 
Photos you have taken of yourself - n4ku - May 27, 2020 - 4:14pm
 
Way Cool Video - miamizsun - May 27, 2020 - 3:02pm
 
YouTube: Music-Videos - miamizsun - May 27, 2020 - 3:00pm
 
Strips, cartoons, illustrations - R_P - May 27, 2020 - 2:56pm
 
Shuttle, ISS and other Real Space Ships - islander - May 27, 2020 - 2:22pm
 
(Big) Media Watch - R_P - May 27, 2020 - 1:40pm
 
Overheard - miamizsun - May 27, 2020 - 1:30pm
 
Republican Party - R_P - May 27, 2020 - 1:13pm
 
Economix - R_P - May 27, 2020 - 10:40am
 
Outstanding Covers - oldviolin - May 27, 2020 - 8:52am
 
Books - Proclivities - May 27, 2020 - 7:58am
 
Resume stream vs. jump to live - pclancey - May 27, 2020 - 7:22am
 
RP Main Mix on TuneIn unavailable? - BillG - May 27, 2020 - 6:10am
 
Squirrels Just Want To Have Fun! - R_P - May 26, 2020 - 6:05pm
 
Unable to stream via Echo 8 - Jonmarvin - May 26, 2020 - 5:08pm
 
Trump Lies - haresfur - May 26, 2020 - 3:43pm
 
Happy Birthday To Me! - kcar - May 26, 2020 - 1:42pm
 
Environment - R_P - May 26, 2020 - 9:38am
 
New Song Submissions system - KurtfromLaQuinta - May 25, 2020 - 6:52pm
 
Tech & Science - Steely_D - May 25, 2020 - 2:54pm
 
UK Heos Denon not available - Patienceman - May 25, 2020 - 1:50pm
 
2020 Elections - sirdroseph - May 25, 2020 - 12:40pm
 
Sonos - toomanyollys - May 25, 2020 - 11:02am
 
HELP! Sound Cutting out problem - BillG - May 25, 2020 - 10:17am
 
Phine Phound Photographs - haresfur - May 24, 2020 - 9:28pm
 
Taxes, Taxes, Taxes (and Taxes) - haresfur - May 24, 2020 - 2:35pm
 
Tidal / Spotify - Steely_D - May 24, 2020 - 1:05pm
 
RP App problems on iPod? - jtessier1841 - May 24, 2020 - 9:52am
 
In My Room - buddy - May 23, 2020 - 5:34pm
 
Interesting or Weird Cover Versions - Coaxial - May 23, 2020 - 1:29pm
 
Google Home NOT compatible?? - d_m_g_3 - May 23, 2020 - 9:32am
 
Index » Internet/Computer » Streaming/Media » RP Windows Desktop Notification Applet
Post to this Topic
gvajda

gvajda Avatar

Location: UK
Gender: Male


Posted: Mar 22, 2020 - 11:52am

Hi All,


RP_Notify v1.2
is available for download from github: https://github.com/gvajda/radi...

This version is a major internal redesign for improved user experience and stability (including the fix for the raised issue). To be honest, this is what the previous version (v1.1) should have been. I list below the user experience related changes, for the full list of changes please see the release notes

User experience updates:
  • Some menu elements are updated with better names (see screenshots)
  • Clicking on toast settings in the menu will display a representative toast notification to show what changed
  • Add Login/Logout button to the tray menu
  • Data delete request doesn't need a second attempt when logging is enabled - will delete config folder in one step
  • Multiple or all trackers can be enabled at the same time - ex. official RP players and Foobar2000- regardless of they are active or not
    • The active tracker (if there is any) will be displayed in bold in the tray menu
    • Tracking an enabled player will automatically start when nothing is actively tracked and the first player becomes available
    • Tracking an enabled player will automatically start at Startup. The priority at startup in case of multiple trackers are enabled and multiple players are available:
      Official RP player ← Foobar2000 ← Live stream
      Note: if multiple official RP players are available at startup then one will be randomly selected (for example if the web player in the browser and the iPhone app player are both active at startup)
  • Official RP player tracking tweaks:
    • Move "Track official RP players" setting to the persistent configuration (no need to re-enable after every startup)
    • Available official RP players will show the played channel in the tray menu even if they are not actively selected
    • Now the user can "un-track" an official RP player by clicking on it in the menu without disabling the official RP player tracking
    • List of official RP players will be updated - including the played channel displayed in the tray menu - if the tracking is enabled even if none of them is actively selected
      Note: when an RP player is active then they are updated more often, otherwise at the end of the song
      Note: if the official RP tracking is enabled but no player is actively selected then any changes in the player list will activate the tracking (like changing a channel)
    • If the web player on the RP site is paused then restarted, the remaining song time is refreshed in the tooltip text / toast progress bar
      Note: this only works with the web player, the RP API didn't refresh the song expiration when tested on the iPhone app (it will show that the song reached the end until the next song starts)


PS: I originally started this project to SAVE TIME by not switching browser tabs for song info and rating. That was a very silly idea. At least I enjoy spending time with it.

The next feature will be to add Foobar2000 controls in the applet tray menu. The idea is that if  the Foobar2000 tracking is enabled and it's running in the background then a new menu section will be added to change the streamed channel or start/stop playing in Foobar2000. I have no ETA for this, but if there is any interest in this feature then I might release a working beta version.
mirceat



Posted: Mar 3, 2020 - 6:55am

RP_Notify.exe v1.1 has been downloaded on a PC and a laptop. Mixed feedback, so far. The applet crash on the PC has been reported on github. The applet works on the laptop, but it takes some time to asses it.
gvajda

gvajda Avatar

Location: UK
Gender: Male


Posted: Mar 2, 2020 - 3:16pm


I released v1.1 of the applet.

Added features:
  • Track official Radio Paradise players - display updates of songs played in the browser or mobile apps, including the "My Favorites" channel
    Note: this feature works without logging in if the player/browser is on the same network (has the same IP)
  • Prompt for song rating - display a toast notification with the song rating input field 20 seconds before the song ends or if the channel is changed. Optional and only available if the user is logged in
    Tip: very useful to grow the song pool of the "My Favorites" channel
It's available at the same location: 
https://github.com/gvajda/radio-paradise-song-notification

    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!