How to get audio metadata from its path in flutter?

天大地大妈咪最大 提交于 2019-12-11 11:12:34

问题


I have path of the audio file like "sdcard://music/ABC.mp3" . How to get other details such as album, artist, duration etc from that path.


回答1:


You can use fluter_music_player plugin to play, pause, album artist, duration etc. It's support both ios and android.

See Flutter Music Player this sample Music player flutter project using this plugin



来源:https://stackoverflow.com/questions/50828437/how-to-get-audio-metadata-from-its-path-in-flutter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!