Sha256: ecb6cbb520bdbe27ec71da1d98659c95130d6038afda79a0f3e9dfc3187f3684

Contents?: true

Size: 293 Bytes

Versions: 12

Compression:

Stored size: 293 Bytes

Contents

# frozen_string_literal: true

module DownloadTV
  ##
  # Manages the subtitles (WIP)
  class Subtitles
    def initialize
      @a = Addic7ed.new
    end

    def get_subs(show)
      @a.get_subs(show)
    rescue NoSubtitlesError
      puts "No subtitles found for #{show}"
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
download_tv-2.6.5 lib/download_tv/subtitles.rb
download_tv-2.6.4 lib/download_tv/subtitles.rb
download_tv-2.6.3 lib/download_tv/subtitles.rb
download_tv-2.6.2 lib/download_tv/subtitles.rb
download_tv-2.6.1 lib/download_tv/subtitles.rb
download_tv-2.6.0 lib/download_tv/subtitles.rb
download_tv-2.5.5 lib/download_tv/subtitles.rb
download_tv-2.5.4 lib/download_tv/subtitles.rb
download_tv-2.5.3 lib/download_tv/subtitles.rb
download_tv-2.5.2 lib/download_tv/subtitles.rb
download_tv-2.5.1 lib/download_tv/subtitles.rb
download_tv-2.5.0 lib/download_tv/subtitles.rb