grunk

package
v0.0.0-...-99acde9 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2014 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QUALITY_HIGHRES = "highres"
	QUALITY_HD1080  = "hd1080"
	QUALITY_HD720   = "hd720"
	QUALITY_LARGE   = "large"
	QUALITY_MEDIUM  = "medium"
	QUALITY_SMALL   = "small"
	QUALITY_MIN     = "min"
	QUALITY_MAX     = "max"
	QUALITY_UNKNOWN = "unknown"

	FORMAT_MP4     = "mp4"
	FORMAT_WEBM    = "webm"
	FORMAT_FLV     = "flv"
	FORMAT_3GP     = "3ggp"
	FORMAT_UNKNOWN = "unknown"

	AUDIO_BITRATE_AUTO   = 0
	AUDIO_BITRATE_LOW    = 64
	AUDIO_BITRATE_MEDIUM = 128
	AUDIO_BITRATE_HIGH   = 192

	DEFAULT_DESTINATION     = "./%title%.%format%"
	DEFAULT_DESTINATION_MP3 = "./%title%.mp3"
)
View Source
const FFMPEG = "ffmpeg"
View Source
const SOUNDCLOUD_ID = "27b079ec70d5787cee129f9b31ba5f4f"

Variables

This section is empty.

Functions

func CookieGrabber

func CookieGrabber() string

func CreateCommaStringList

func CreateCommaStringList(values []string, allowed []string) *commaStringList

func GetRoomMedia

func GetRoomMedia(room string, AUTH_COOKIE string) map[string]string

func PlayCmdLine

func PlayCmdLine(id string) (success bool)

func PlaySoundcloud

func PlaySoundcloud(id string) (success bool)

func PlayYoutube

func PlayYoutube(id string) (success bool)

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func (*Config) AudioBitrate

func (cfg *Config) AudioBitrate(stream stream) (audio_bitrate uint)

func (*Config) OutputPath

func (cfg *Config) OutputPath(stream stream, name string) (path string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL