update package name

This commit is contained in:
aynakeya
2024-04-07 03:27:45 -07:00
parent 66f7173c15
commit e05c3cf5c1
21 changed files with 25 additions and 24 deletions

3
.gitignore vendored
View File

@@ -1 +1,2 @@
.idea
.idea
go.sum

2
go.mod
View File

@@ -1,4 +1,4 @@
module github.com/AynaLivePlayer/miaosic
module miaosic
go 1.20

View File

@@ -1,11 +1,11 @@
package bilibili
import (
"github.com/AynaLivePlayer/miaosic"
"github.com/AynaLivePlayer/miaosic/providers"
"github.com/aynakeya/deepcolor"
"github.com/aynakeya/deepcolor/dphttp"
"github.com/tidwall/gjson"
"miaosic"
"miaosic/providers"
"regexp"
)

View File

@@ -1,8 +1,8 @@
package bilibili
import (
"github.com/AynaLivePlayer/miaosic"
"github.com/stretchr/testify/require"
"miaosic"
"testing"
)

View File

@@ -1,7 +1,7 @@
package bilibili
import (
"github.com/AynaLivePlayer/miaosic"
"miaosic"
)
func init() {

View File

@@ -1,6 +1,6 @@
package bilibili
import "github.com/AynaLivePlayer/miaosic"
import "miaosic"
func (n *Bilibili) MatchPlaylist(uri string) (miaosic.MetaData, bool) {
return miaosic.MetaData{}, false

View File

@@ -3,13 +3,13 @@ package bilivideo
import (
"errors"
"fmt"
"github.com/AynaLivePlayer/miaosic"
"github.com/AynaLivePlayer/miaosic/providers"
"github.com/aynakeya/deepcolor"
"github.com/aynakeya/deepcolor/dphttp"
"github.com/jinzhu/copier"
"github.com/spf13/cast"
"github.com/tidwall/gjson"
"miaosic"
"miaosic/providers"
"regexp"
)

View File

@@ -1,9 +1,9 @@
package bilivideo
import (
"github.com/AynaLivePlayer/miaosic"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"miaosic"
"regexp"
"strings"
"testing"

View File

@@ -1,6 +1,6 @@
package bilivideo
import "github.com/AynaLivePlayer/miaosic"
import "miaosic"
func (n *BilibiliVideo) MatchPlaylist(uri string) (miaosic.MetaData, bool) {
return miaosic.MetaData{}, false

View File

@@ -2,8 +2,6 @@ package kuwo
import (
"fmt"
"github.com/AynaLivePlayer/miaosic"
"github.com/AynaLivePlayer/miaosic/providers"
"github.com/aynakeya/deepcolor"
"github.com/aynakeya/deepcolor/dphttp"
"github.com/spf13/cast"
@@ -11,6 +9,8 @@ import (
"html"
"math"
"math/rand"
"miaosic"
"miaosic/providers"
"regexp"
"strconv"
"strings"

View File

@@ -1,9 +1,9 @@
package kuwo
import (
"github.com/AynaLivePlayer/miaosic"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"miaosic"
"testing"
)

View File

@@ -1,6 +1,6 @@
package kuwo
import "github.com/AynaLivePlayer/miaosic"
import "miaosic"
func (n *Kuwo) MatchPlaylist(uri string) (miaosic.MetaData, bool) {
return miaosic.MetaData{}, false

View File

@@ -1,7 +1,7 @@
package local
import (
"github.com/AynaLivePlayer/miaosic"
"miaosic"
"os"
"path"
"strings"

View File

@@ -1,9 +1,9 @@
package local
import (
"github.com/AynaLivePlayer/miaosic"
"github.com/dhowden/tag"
"github.com/sahilm/fuzzy"
"miaosic"
"os"
"path"
"path/filepath"

View File

@@ -2,8 +2,8 @@ package local
import (
"fmt"
"github.com/AynaLivePlayer/miaosic"
"github.com/sahilm/fuzzy"
"miaosic"
"sort"
"strings"
"testing"

View File

@@ -1,6 +1,6 @@
package netease
import "github.com/AynaLivePlayer/miaosic"
import "miaosic"
func init() {
miaosic.RegisterProvider(NewNetease())

View File

@@ -4,8 +4,8 @@ import (
"encoding/base64"
"encoding/json"
"fmt"
"github.com/AynaLivePlayer/miaosic"
neteaseApi "github.com/XiaoMengXinX/Music163Api-Go/api"
"miaosic"
"net/http"
)

View File

@@ -1,11 +1,11 @@
package netease
import (
"github.com/AynaLivePlayer/miaosic"
neteaseApi "github.com/XiaoMengXinX/Music163Api-Go/api"
neteaseTypes "github.com/XiaoMengXinX/Music163Api-Go/types"
neteaseUtil "github.com/XiaoMengXinX/Music163Api-Go/utils"
"github.com/spf13/cast"
"miaosic"
"regexp"
"strconv"
"strings"

View File

@@ -1,8 +1,8 @@
package netease
import (
"github.com/AynaLivePlayer/miaosic"
"github.com/stretchr/testify/require"
"miaosic"
"strings"
"testing"
)

View File

@@ -1,6 +1,6 @@
package netease
import "github.com/AynaLivePlayer/miaosic"
import "miaosic"
func (n *Netease) MatchPlaylist(uri string) (miaosic.MetaData, bool) {
return miaosic.MetaData{}, false

View File

@@ -1,8 +1,8 @@
package providers
import (
"github.com/AynaLivePlayer/miaosic"
"github.com/aynakeya/deepcolor/dphttp"
"miaosic"
)
type FileApiParam struct {