Sha256: eb206806b9858af66b438c1ac0f75647f654b220003ec2dc9bf17b365b2e1dc2

Contents?: true

Size: 394 Bytes

Versions: 1

Compression:

Stored size: 394 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
builder.write_episode(episode, "#{ncode}-#{episode_number}.mp3")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ncode-syosetu-polly-0.2.0 exe/ncode2mp3