Set Icy Metadata to null on iOS
This commit is contained in:
parent
0f57b69ead
commit
24d97848ee
3 changed files with 60 additions and 16 deletions
|
@ -119,7 +119,7 @@ class AudioPlayer {
|
|||
bufferedPosition: Duration(milliseconds: data[4]),
|
||||
speed: _speed,
|
||||
duration: _duration,
|
||||
icyMetadata: IcyMetadata(
|
||||
icyMetadata: data[5] == null ? null : IcyMetadata(
|
||||
info: IcyInfo(title: data[5][0][0], url: data[5][0][1]),
|
||||
headers: IcyHeaders(
|
||||
bitrate: data[5][1][0],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue