Giter Club home page Giter Club logo

atom-rdio's Introduction

for Atom

Adds Rdio controls to Atom and displays the currently playing song in the status bar.

Requirements

Features

  • Opens current track directly inside Rdio.app when clicking the title;
  • Sound bars animation pauses when Rdio is paused.

Code Mood™

What if I told you that every bits of code that you write has a mood? Introducing the Rdio: Play Code Mood command, where your code actually tells Rdio what to play.

Madness! How is that possible? It’s actually quite simple. It will convert your current pane’s code (or selection if you have an active selection) into an MD5 digest and keeps only the first 6 digits. It will then ask Rdio.app to play the track number. Rdio does a pretty good job at always playing something. You will always get the same song from an unchanged file.

Every variable, every constant, every method, every single line of code has it’s own mood. Add a new feature, get a new song! Hopefully your code sounds as good as it looks ❤️

Do note that no API calls are made, so if your code wants to play an unavailable track, there’s nothing I can do to stop it. Rdio will fallback to auto play or do nothing. Check your Developer Tools to get more information about each track chosen.

Commands

# Playstate
Play
Pause
Toggle

# Track
Next
Previous
Play Code Mood
Open Current Track

# Collection
Add
Remove

# Mobile
Sync
Unsync

Credits

atom-rdio's People

Contributors

etiennelem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

atom-rdio's Issues

Make it clearer that this package only works on OSX with rdio installed

Installed atom-rdio on windows and ran a play command...
Got some errors, and after creating an issue here and looking at the stack trace...
runApplescript? I guess this package only works on OSX, then.

The package should specify "os": ["darwin"] in the package.json
From there, it should be atom/apm's responsibility to warn users about incompatibilities

mac only?

is this mac only?
also, where do i put my rdio api key?

Uncaught Error: write EPIPE

  1. Opened rdio.com
  2. Ctrl+p -> rdio: Play

Atom Version: 0.205.0
System: Microsoft Windows 8.1
Thrown From: Rdio package, v0.5.1

Stack Trace

Uncaught Error: write EPIPE

At events.js:141

Error: write EPIPE
  at exports._errnoException (util.js:734:11)
  at Socket._writeGeneric (net.js:668:26)
  at Socket._write (net.js:687:8)
  at doWrite (_stream_writable.js:295:12)
  at writeOrBuffer (_stream_writable.js:282:5)
  at Socket.Writable.write (_stream_writable.js:210:11)
  at Socket.write (net.js:612:40)
  at runApplescript (C:\Users\Fernando\.atom\packages\Rdio\node_modules\applescript\lib\applescript.js:58:23)
  at Object.execString (C:\Users\Fernando\.atom\packages\Rdio\node_modules\applescript\lib\applescript.js:19:10)
  at C:\Users\Fernando\.atom\packages\Rdio\lib\rdio-desktop.coffee:55:19

Commands

     -7:15.9.0 core:select-all (atom-text-editor.editor.mini.is-focused)
     -7:14.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -6:11.3.0 core:select-all (atom-text-editor.editor.mini.is-focused)
  2x -6:08.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:38.8.0 command-palette:toggle (ul.list-inline.tab-bar.inset-panel)
  3x -1:36.3.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -1:34.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:34.8.0 rdio:play (ul.list-inline.tab-bar.inset-panel)
     -1:08.7.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -1:07.4.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -1:05.5.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -1:05.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:05.2.0 rdio:play (atom-text-editor.editor)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "twilight"
    ]
  }
}

Installed Packages

# User
emmet, v2.3.10
file-icons, v1.5.7
minimap, v4.9.2
Rdio, v0.5.1
twilight, v0.3.0
wordpress-api, v1.2.1

# Dev
No dev packages

Package.getStylesheetsPath is deprecated.

Store package style sheets in the styles/ directory instead of stylesheets/ in the Rdio package

Package.getStylesheetsPath (/Users/spaulo/.homebrew/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package.js:430:9)
Package.getStylesheetPaths (/Users/spaulo/.homebrew/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package.js:441:32)
Package.loadStylesheets (/Users/spaulo/.homebrew/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package.js:423:38)
<unknown> (/Users/spaulo/.homebrew/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package.js:167:19)

New settings feature has a typo

The current release's toggle for the CSS animation doesn't seem to work. After taking a look, I think the rdio here should be Rdio. Atom seems to take the name you defined in your package.json as the prefix for the settings key.

Failed to load the Rdio package

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.194.0 ⚠️ in 1.0 API Preview Mode ⚠️
System: Mac OS X 10.10.2
Thrown From: Rdio package, v0.5.1

Stack Trace

Failed to load the Rdio package

At Cannot read property 'prototype' of undefined

TypeError: Cannot read property 'prototype' of undefined
    at __extends (/Users/sroberts/.atom/packages/Rdio/lib/rdio-view.coffee:5:199)
    at /Users/sroberts/.atom/packages/Rdio/lib/rdio-view.coffee:16:5
    at Object.<anonymous> (/Users/sroberts/.atom/packages/Rdio/lib/rdio-view.coffee:191:5)
    at Object.<anonymous> (/Users/sroberts/.atom/packages/Rdio/lib/rdio-view.coffee:193:4)
    at Module._compile (module.js:452:26)
    at Object.requireCoffeeScript (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
    at Module.load (module.js:347:32)
    at Function.Module._load (module.js:302:12)
    at Module.require (module.js:357:17)
    at require (module.js:376:17)

Commands

Config

{
  "core": {}
}

Installed Packages

# User
Rdio, v0.5.1
autocomplete-plus, v2.12.0
dash-on-cursor, v0.1.0
file-icons, v1.5.4
go-plus, v3.3.6
jsonlint, v1.1.0
linter, v0.12.1
linter-pyflakes, v0.0.4
linter-write-good, v0.4.2
regex-railroad-diagram, v0.7.4

# Dev
No dev packages

Window resizing really slow if song is playing

I noticed that when a song is playing that window resizing on atom can get really slow (i.e. click and drag from a side/corner of the main atom window). If I pause the song the atom-rdio control is still present, but resizing returns to normal. So, it seems to be only an issue while the song is playing. Regardless... ❤️ the extension!

No longer working

It looks like this package no longer works with recent versions of atom. Checked atom-spotify and it appears to have a similar issue ( jakemarsh/atom-spotify#14 )... but I don't use spotify.

The current track doesn't show in the status line and none of the commands seem to have any effect.

Atom version: 0.169.0
Rdio Version: 2.38
Mac OS 10.10.1

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.