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
|
end
|
||||||
|
|
||||||
defp parse_tag(<<
|
defp parse_tag(<<
|
||||||
_first::integer,
|
_first::integer,
|
||||||
_second::integer,
|
_second::integer,
|
||||||
_third::integer,
|
_third::integer,
|
||||||
_rest::binary
|
rest::binary
|
||||||
>>) do
|
>>) do
|
||||||
{%{}, binary} # has no ID3
|
# has no ID3
|
||||||
|
{%{}, rest}
|
||||||
end
|
end
|
||||||
|
|
||||||
defp parse_tag(_), do: {%{}, ""}
|
defp parse_tag(_), do: {%{}, ""}
|
||||||
|
|
Loading…
Reference in a new issue