lib/airplayer/app.rb in airplayer-0.0.5 vs lib/airplayer/app.rb in airplayer-0.0.6
- old
+ new
@@ -1,9 +1,9 @@
require 'thor'
module AirPlayer
class App < Thor
- desc 'play <URI|FILE|DIR> [-r|--repeat] [-s|--shuffle]', 'Play video(URI or local video file path or video directory)'
+ desc 'play <URI|Podcast XML|FILE|DIR> [-r|--repeat] [-s|--shuffle]', 'Play video(URI or Podcast XML URI or local video file path or video directory)'
method_option :repeat, :aliases => '-r', :desc => 'Repeat play', :type => :boolean
method_option :shuffle, :aliases => '-s', :desc => 'Shuffle play', :type => :boolean
def play(target)
controller = Controller.new
Playlist.new(options).add(target).entries do |media|