mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-11-21 15:41:00 +00:00
Fix mp3 parser
This commit is contained in:
parent
6233b438c2
commit
1934b68db6
1 changed files with 7 additions and 6 deletions
|
@ -86,12 +86,13 @@ defmodule LiveBeats.MP3Stat do
|
|||
end
|
||||
|
||||
defp parse_tag(<<
|
||||
_first::integer,
|
||||
_second::integer,
|
||||
_third::integer,
|
||||
_rest::binary
|
||||
>>) do
|
||||
{%{}, binary} # has no ID3
|
||||
_first::integer,
|
||||
_second::integer,
|
||||
_third::integer,
|
||||
rest::binary
|
||||
>>) do
|
||||
# has no ID3
|
||||
{%{}, rest}
|
||||
end
|
||||
|
||||
defp parse_tag(_), do: {%{}, ""}
|
||||
|
|
Loading…
Reference in a new issue