diff options
| author | myOmikron <git@omikron.dev> | 2023-01-25 21:48:12 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-02-24 12:49:24 +0100 |
| commit | 07abe80065aa0ff3c203b2b0dcfb20c7a0a8c7c5 (patch) | |
| tree | 78bafd0fd2d5f55145d5aecc8a63222d483638e2 /youtube.go | |
| parent | c3c450eeb037adab5873cbd63ed772c4b7121a63 (diff) | |
| download | WRMS-07abe80065aa0ff3c203b2b0dcfb20c7a0a8c7c5.tar.gz WRMS-07abe80065aa0ff3c203b2b0dcfb20c7a0a8c7c5.zip | |
General cleanup and deprecation fixes
Diffstat (limited to 'youtube.go')
| -rw-r--r-- | youtube.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ func (b *YoutubeBackend) Search(pattern string) []Song { llog.Error("youtube-dl failed with: %s", err) } - songs := []Song{} + songs := make([]Song, 0) for _, l := range strings.Split(string(results), "\n") { if l == "" { continue |
