mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2025-12-06 18:32:50 +08:00
1.2.0 feature: qqmusic
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -3,7 +3,7 @@ name: Build
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- disabled
|
||||
|
||||
jobs:
|
||||
build-windows:
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
|
||||
- name: Bundle assets
|
||||
run: |
|
||||
go install fyne.io/fyne/v2/cmd/fyne@latest
|
||||
go install fyne.io/tools/cmd/fyne@latest
|
||||
fyne bundle --name resImageIcon --package resource ./assets/icon2.png > ./resource/bundle.go
|
||||
|
||||
- name: Build application
|
||||
|
||||
@@ -233,6 +233,7 @@ func registerCmdHandler() {
|
||||
|
||||
// 创建媒体对象
|
||||
var media *vlc.Media
|
||||
log.Debugf("[VLC PlayControl] get player media %s", mediaUrls[0].Url)
|
||||
if strings.HasPrefix(mediaUrls[0].Url, "http") {
|
||||
media, err = vlc.NewMediaFromURL(mediaUrls[0].Url)
|
||||
} else {
|
||||
|
||||
Submodule pkg/miaosic updated: 5f59badfe1...60e0074221
Reference in New Issue
Block a user