cli

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindBook

func BindBook(directory, ffmpegCmd string, overwrite bool) (string, error)

func BindBookHandler

func BindBookHandler(u *url.URL) error

func BindChapters

func BindChapters(directory, ffmpegCmd string, overwrite bool) error

func BindChaptersHandler

func BindChaptersHandler(u *url.URL) error

func ChapterMetadata

func ChapterMetadata(directory, importMetadata, title, author string, overwrite bool) error

func ChapterMetadataHandler

func ChapterMetadataHandler(u *url.URL) error

func CleanupHandler

func CleanupHandler(u *url.URL) error

func Cover

func Cover(bookFilename, coverFilename, mp4artCmd string) error

func CoverHandler

func CoverHandler(u *url.URL) error

func CreateAudiobook

func CreateAudiobook(
	textFilename string,
	outputDirectory string,
	provider, reqion, key string,
	voiceParams []string,
	importMetadata, title, author string,
	coverFilename string,
	ffmpegCmd, mp4artCmd string,
	overwrite bool) error

func CreateAudiobookHandler

func CreateAudiobookHandler(u *url.URL) error

func Info

func Info(filename, provider string, costPerMillionChars float64) error

func InfoHandler

func InfoHandler(u *url.URL) error

func Languages

func Languages(provider, language, key string) error

func LanguagesHandler

func LanguagesHandler(u *url.URL) error

func Synthesize

func Synthesize(
	textFilename string,
	outputDirectory string,
	provider, region, key string,
	voiceParams []string,
	overwrite bool) error

func SynthesizeHandler

func SynthesizeHandler(u *url.URL) error

func Translate

func Translate(filename, provider, from, to, key string) error

func TranslateHandler

func TranslateHandler(u *url.URL) error

func Voices

func Voices(provider, region, key, locale string) error

func VoicesHandler

func VoicesHandler(u *url.URL) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳