Sha256: 042816a78a4e8ac3ee02bcd5562635ae6ca7b891b6df8ef758d88fb2a8cafaf7

Contents?: true

Size: 422 Bytes

Versions: 3

Compression:

Stored size: 422 Bytes

Contents

#!/usr/bin/env ruby

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'ncode-syosetu-polly'

if ARGV.size == 0
  puts "#$0 ncode episode_nubmer"
  exit
end

ncode, episode_number = ARGV

episode = NcodeSyosetu.client.get_episode(ncode, "dummy_title", episode_number)

builder = NcodeSyosetu::Builder::Polly.new(logger: Logger.new(STDOUT))
builder.write_episode(episode, "#{ncode}-#{episode_number}.mp3")

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ncode-syosetu-polly-0.2.3 exe/ncode2mp3
ncode-syosetu-polly-0.2.2 exe/ncode2mp3
ncode-syosetu-polly-0.2.1 exe/ncode2mp3