• This repository has been archived on 13/Mar/2018
  • Stars
    star
    101
  • Rank 338,166 (Top 7 %)
  • Language
    Ruby
  • License
    MIT License
  • Created almost 12 years ago
  • Updated about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CLI for Rdio on Mac

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 ♫

Lyrics

Plain text, terminal-friendly lyrics are served up via makeitpersonal.co:

~ rdio current
Now playing: That Old Time Feeling / Rodney Crowell / This One's for Him: A Tribute to Guy Clark

~ rdio lyrics
Sorry, We don't have lyrics for this song yet.

~ rdio lyrics --artist="Guy Clark"

And that old time feeling goes sneakin' down the hall
Like an old gray cat in winter, keepin' close to the wall
And that old time feeling comes stumblin' up the street
Like an old salesman kickin' the papers from his feet

And that old time feeling draws circles around the block
Like old women with no children, holdin' hands with the clock
And that old time feeling falls on its face in the park
Like an old wino prayin' he can make it till it's dark

And that old time feeling comes and goes in the rain
Like an old man with his checkers, dyin' to find a game
And that old time feeling plays for beer in bars
Like an old blues-time picker who don't recall who you are

And that old time feeling limps through the night on a crutch
Like an old soldier wonderin' if he's paid too much
And that old time feeling rocks and spits and cries
Like an old lover rememberin' the girl with the clear blue eyes

And that old time feeling goes sneakin' down the hall
Like an old gray cat in winter, keepin' close to the wall

Shows

Upcoming events are served via last.fm/api

~ rdio current
Now playing: That Old Time Feeling / Rodney Crowell / This One's for Him: A Tribute to Guy Clark

~ rdio shows
Here are 10 upcoming events for Rodney Crowell
Toronto             Canada          Fri, 22 Mar 2013 20:00:00 
North Bethesda, MD  United States   Fri, 29 Mar 2013 19:30:00 
London              United Kingdom  Thu, 09 May 2013 20:00:00 
Birmingham          United Kingdom  Fri, 10 May 2013 16:16:01 
Belfast             Ireland         Sun, 12 May 2013 19:30:00 
Dublin              Ireland         Mon, 13 May 2013 20:00:00 
Brussels            Belgium         Mon, 20 May 2013 13:20:01 
Paris               France          Wed, 22 May 2013 20:00:00 
København C         Denmark         Sun, 26 May 2013 20:00:00 
Berlin              Germany         Thu, 30 May 2013 00:38:01

~ rdio shows --artist="Johnny Cash"
No upcoming events for Johnny Cash

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
    lyrics          - Show lyrics for a 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
    shows           - Show upcoming events for an artist
    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.

More Repositories

1

flint

Check your project for common sources of contributor friction.
Go
1,130
star
2

dotfiles

$HOME sweet ~/
Shell
378
star
3

grc

Mirror of Radovan Garabík's - Generic Colourizer for terminal apps
JavaScript
136
star
4

fumblr

Stop fumbling with your Tumblr theme development - mashup of my own process with Thimblr
Ruby
98
star
5

compass-wordpress

Compass plugin for creating WordPress themes using Sass
Ruby
89
star
6

compass_formalize

Compass and Sass port of Nathan Smith's Formalize project
JavaScript
84
star
7

octonaut

Simple CLI for GitHub
Ruby
70
star
8

chargify

Ruby wrapper for the chargify.com SAAS and billing API
Ruby
61
star
9

gowalla

Ruby wrapper for the Gowalla API.
Ruby
57
star
10

sass-and-compass-in-action

Code samples for Sass and Compass in Action
CSS
50
star
11

topsy

Ruby wrapper for the Topsy.com Otter API
Ruby
33
star
12

pingwynn

Questions, feedback, suggestions, etc. 🐧
28
star
13

presto

Padrino + NestaCMS
Ruby
26
star
14

athena-cli

CLI for Amazon Athena, powered by JRuby
Ruby
24
star
15

groupon

Ruby wrapper for the Groupon API
Ruby
20
star
16

transparency-data

Wrapper for the Sunlight Transparency Data API
Ruby
19
star
17

chunky-baconfile

Tasty wrapper for the Baconfile API
Ruby
14
star
18

plancast

Wrapper for the unpublished Plancast API
Ruby
13
star
19

ujs_sort_helper

Unobtrusive sort helper for Rails
JavaScript
12
star
20

readernaut

Ruby wrapper for the Readernaut social reading site API
Ruby
11
star
21

formstack

Ruby wrapper for the Formstack API
Ruby
9
star
22

dallasrb-shell

Ruby
7
star
23

buzzsprout

Ruby wrapper for the ghost Buzzsprout API
Ruby
6
star
24

nesta-plugin-sluggable

Sluggable posts for Nesta CMS
Ruby
6
star
25

authentic_jobs

Find your next gig from the console. Ruby wrapper for the Authentic Jobs API
Ruby
5
star
26

nesta-plugin-linkable

Easy link posts for Nesta CMS
Ruby
5
star
27

backtweets_helper

Rails helper for Backtweets widgets
Ruby
5
star
28

thor-tasks

Utility thor scripts
Ruby
4
star
29

nextstop

Ruby wrapper for the Nextstop.com API
Ruby
4
star
30

giact

Ruby wrapper for the Giact POST API
Ruby
3
star
31

textmate-themes

My TextMate themes
3
star
32

titanium-toolbox

WIP Ti boilerplate across several projects
3
star
33

octokit-sandbox

Play area for experimenting with Octokit
2
star
34

pengwynn.github.com

HTML
2
star
35

nesta-plugin-project-meta

Plugin for Nesta CMS to show Github, Rubygems data for projects
Ruby
2
star
36

an-test

1
star
37

bleikamp.github.com

Personal site of Internet celebrity Ben Bleikamp
1
star
38

ti-vim-snippet

`ti` snippets for writing `coffescript` and `sass`
1
star