Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
CLI for Rdio on Mac
Ruby Shell
Tree: c55457d557

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
spec
tmp/fakehome
.gitignore
.rspec
CONTRIBUTING.md
Gemfile
Gemfile.lock
LICENSE.md
README.md
Rakefile
rdio-cli.gemspec

README.md

Rdio CLI

A simple command line interface for Rdio. Requires the desktop app to be installed since playback controls talk to the app via AppleScript.

Installation

gem install rdio-cli

Usage

Rdio CLI is powered by GLI and has a Git-like (sub)command interface:

$ rdio current
Now playing: All The Roadrunning / Mark Knopfler And Emmylou Harris / Real Live Roadrunning
$ rdio current "♫ %{track} ♫"
♫ All The Roadrunning ♫

Full usage help

$ rdio help
NAME
    rdio - Simple CLI for Rdio

SYNOPSIS
    rdio [global options] command [command options] [arguments...]

VERSION
    0.0.1

GLOBAL OPTIONS
    --access_secret=arg   - (default: )
    --access_token=arg    - (default: )
    --consumer_key=arg    - (default: )
    --consumer_secret=arg - (default: )
    --help                - Show this message
    --version             -

COMMANDS
    authorize, auth - Authorize Rdio account
    browse          - Open the current track in Rdio player
    current         - Display the current track info
    help            - Shows a list of commands or help for one command
    initconfig      - Initialize the config file using current global options
    link            - Get a shareable link for the current track
    mute            - Mute the Rdio player
    next            - Skip to next track
    pause           - Pause the player
    play            - Plays the current track
    previous, prev  - Play previous track
    quit, q         - Quit Rdio
    snag            - Add the current track or album to your collection
    toggle          - Toggle playback
    user            - Show the current Rdio user
    version, v      - Get CLI and application version info
    volume, vol     - Set volume for player

TODO

  • [✓] Snag current track to collection
  • [ ] Snag current album to collection
  • [ ] Create a playlist
  • [ ] Follow a user
  • [ ] Tail a user?

Credits

Copyright

Copyright (c) 2012 Wynn Netherland. See LICENSE for details.

Something went wrong with that request. Please try again.