kuwo

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SECRET_KEY = []byte("ylzsxkwm")

	DesModeEncrypt = 0
	DesModeDecrypt = 1
)

Thanks to https://github.com/Levi233/MusicPlayer/blob/master/app/src/main/java/com/chenhao/musicplayer/utils/crypt/KuwoDES.java

Functions

func Decrypt added in v0.1.7

func Decrypt(src []byte) []byte

func Encrypt added in v0.1.7

func Encrypt(src []byte) []byte

func GetBigInt added in v0.1.7

func GetBigInt() *big.Int

func PutBigInt added in v0.1.7

func PutBigInt(x *big.Int)

Types

type Kuwo

type Kuwo struct {
	providers.DeepcolorProvider
	PlaylistRegex0 *regexp.Regexp
	PlaylistRegex1 *regexp.Regexp
	IdRegex0       *regexp.Regexp
	IdRegex1       *regexp.Regexp
	// contains filtered or unexported fields
}

func NewKuwo

func NewKuwo() *Kuwo

func (*Kuwo) GetName

func (k *Kuwo) GetName() string

func (*Kuwo) GetPlaylist added in v0.1.5

func (n *Kuwo) GetPlaylist(meta miaosic.MetaData) (*miaosic.Playlist, error)

func (*Kuwo) MatchMedia

func (k *Kuwo) MatchMedia(keyword string) (miaosic.MetaData, bool)

func (*Kuwo) MatchPlaylist added in v0.1.5

func (n *Kuwo) MatchPlaylist(uri string) (miaosic.MetaData, bool)

func (*Kuwo) Qualities added in v0.2.0

func (k *Kuwo) Qualities() []miaosic.Quality

Jump to

Keyboard shortcuts

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