Coder Social home page Coder Social logo

rposx's People

Contributors

cgommel avatar iltofa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

rposx's Issues

Applescript support

Would love to see Applescript support so I can use Alfred to start/stop Radio Paradise.

Use "Template Images" for monochrome status bar icon

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"

rp-status-bar

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?

Use native "Next Song" keys on OSX Keyboard

The native OSX Keyboard media keys could be used like so:

  • When I press the "Next", "Play something different" is activated.
  • The client can be paused
  • Pressing the back button could jump back to the currently playing song of RP

media

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;
  }
}

Clicking the song does not open Safari

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

Support last.fm scrobbling

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.

Bluetooth command start/stop is ignored

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.