radiorenamer

package module
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: MIT Imports: 11 Imported by: 0

README

radiorenamer

Overview

radigoで取得した ファイル名 <yyyymmddhhmmss>-<station>.aac、または<yyyymmddhhmmss>-<station>-<areaid>.aacから

  • radikoから番組情報取得
  • ファイル名をリネーム
  • タグを付与
  • m4aとして保存

します。

Usage

$ radiorenamer <yyyymmddhhmmss>-<station>.aac
or 
$ radiorenamer <yyyymmddhhmmss>-<station>-<areaid>.aac

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Duration

func Duration(ctx context.Context, input string) (float32, error)

func PutM4aTag

func PutM4aTag(ctx context.Context, input, output string, metadata []string) error

PutM4aTag concatenate files of the same type.

func Run

func Run(filename string)

Types

type Tag

type Tag struct {
	Title   string
	Title2  string
	Artist  string
	PubDate time.Time
	Comment string
}

func CreateTagFromPg

func CreateTagFromPg(pg *radiko.Prog, station string) Tag

Directories

Path Synopsis
cmd
radiorenamer command

Jump to

Keyboard shortcuts

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