iltofa / rposx Goto Github PK
View Code? Open in Web Editor NEWThe official OS X client to the Radio Paradise web radio.
Home Page: http://www.ilTofa.com/rphd/index.html
The official OS X client to the Radio Paradise web radio.
Home Page: http://www.ilTofa.com/rphd/index.html
"Default" icon must be in color (for the RP branding).
An options should be made in settings to have a B&W status menu icon.
Would love to see Applescript support so I can use Alfred to start/stop Radio Paradise.
I use the "Black & White System Menu Icon" option, which I like a lot. But I often use >1 monitor, and the inactive monitors grey out the icons. For this app, the icon becomes an opaque oval with a little tail for the bottom of the "P"
Instead, can you make the "RP" part of the logo completely transparent and set the image to be a "template image" so that it is still identifiable on the inactive monitors?
in preferences.
The native OSX Keyboard media keys could be used like so:
See this StackOverflow article:
I accomplished this in my own application by subclassing NSApplication (and setting the app's principal class to this subclass). It catches seek and play/pause keys and translates them to specific actions in my app delegate.
Relevant lines:
#import <IOKit/hidsystem/ev_keymap.h> - (void)sendEvent:(NSEvent *)event { // Catch media key events if ([event type] == NSSystemDefined && [event subtype] == 8) { int keyCode = (([event data1] & 0xFFFF0000) >> 16); int keyFlags = ([event data1] & 0x0000FFFF); int keyState = (((keyFlags & 0xFF00) >> 8)) == 0xA; // Process the media key event and return [self mediaKeyEvent:keyCode state:keyState]; return; } // Continue on to super [super sendEvent:event]; } - (void)mediaKeyEvent:(int)key state:(BOOL)state { switch (key) { // Play pressed case NX_KEYTYPE_PLAY: if (state == NO) [(TSAppController *)[self delegate] togglePlayPause:self]; break; // Rewind case NX_KEYTYPE_FAST: if (state == YES) [(TSAppController *)[self delegate] seekForward:self]; break; // Previous case NX_KEYTYPE_REWIND: if (state == YES) [(TSAppController *)[self delegate] seekBack:self]; break; } }
I've been using RP for quite a while and today when a song played that I liked I wanted to rate it, opening the song in Safari.app.
But clicking a Song does no longer seem to open my browser.
Version of RP: 2.0 (98)
OSX 10.11.6
It would be awesome if this supported scrobbling to last.fm! There aren't a lot of great ways to listen to RP and scrobble the played tracks.
Probably we should do this by using IORegisterForSystemPower
As per cgommel request.
As mentioned in Boris Zech's comment on the App Store there should be an automated storage of wndow states and positions that persists re-starts of the App.
Howdee folks,
Looks like pausing the stream is not working when a bluetooth device sends the command. I have a wireless headset connected to my computer (Mac OS Mojave) and when I press pause then the app keeps playing. Spotify and other audio apps work fine and indeed pause the playback.
Cheers,
Danny
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.