flix playlist cant writem4a
This commit is contained in:
parent
0d4f173eb9
commit
578003a20b
2
main.go
2
main.go
@ -788,6 +788,7 @@ func writeM4a(w *mp4.Writer, info *SongInfo, meta *AutoGenerated, data []byte, t
|
||||
return err
|
||||
}
|
||||
|
||||
if !strings.Contains(meta.Data[0].ID, "pl."){
|
||||
plID, err := strconv.ParseUint(meta.Data[0].ID, 10, 32)
|
||||
if err != nil {
|
||||
return err
|
||||
@ -798,6 +799,7 @@ func writeM4a(w *mp4.Writer, info *SongInfo, meta *AutoGenerated, data []byte, t
|
||||
return err
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if len(meta.Data[0].Relationships.Tracks.Data[index].Relationships.Artists.Data[0].ID) > 0 {
|
||||
atID, err := strconv.ParseUint(meta.Data[0].Relationships.Tracks.Data[index].Relationships.Artists.Data[0].ID, 10, 32)
|
||||
|
Loading…
x
Reference in New Issue
Block a user