Версия 1.0.3 - фикс парсинга атрибутов тега #EXTM3U
All checks were successful
release / release (push) Successful in 1m15s
All checks were successful
release / release (push) Successful in 1m15s
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
|||||||
"github.com/redis/go-redis/v9"
|
"github.com/redis/go-redis/v9"
|
||||||
)
|
)
|
||||||
|
|
||||||
const VERSION = "1.0.2"
|
const VERSION = "1.0.3"
|
||||||
|
|
||||||
// Arguments описывает аргументы командной строки
|
// Arguments описывает аргументы командной строки
|
||||||
type Arguments struct {
|
type Arguments struct {
|
||||||
|
|||||||
@@ -164,7 +164,7 @@ func (pls *Playlist) Parse() Playlist {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if strings.HasPrefix(line, "#EXTM3U") {
|
if strings.HasPrefix(line, "#EXTM3U") {
|
||||||
pls.Attributes = parseAttributes(content)
|
pls.Attributes = parseAttributes(line)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user