finish qq provider

fix session cmd: save session every in every command

add qq init

fix init sequence

update gitignore

fix miaosic cmd

add kugou album info in search

update qq music api.
This commit is contained in:
aynakeya
2025-07-06 23:50:19 +08:00
parent d2d10c3855
commit 971f5fc4e5
26 changed files with 2003 additions and 4 deletions

18
providers/qq/util_test.go Normal file
View File

@@ -0,0 +1,18 @@
package qq
import (
"fmt"
"github.com/stretchr/testify/require"
"testing"
"time"
)
func TestHash33(t *testing.T) {
require.Equal(t, 1318936952, hash33("123fdas32asdf", 321))
}
func TestName(t *testing.T) {
if time.UnixMilli(1756987630 * 1000).Before(time.Now().Add(24 * time.Hour)) {
fmt.Println(123)
}
}