D:/Android/sangeet_songs/295 – SirfJatt.Com.mp3
above is the path of a song on my windows machine which i want to read in android studio for my project to be able to extract metadata like artist name, so on and so forth from the same
val fileName = File("D:\Android\sangeet_songs\${songName}")
val meta = AudioFileIO.read(fileName)
this is the related part of the code
for which I’m getting this error
Reading file:pathD:/Android/sangeet_songs/295 - SirfJatt.Com.mp3:abs:/D:/Android/sangeet_songs/295 - SirfJatt.Com.mp3
2024-07-09 16:30:22.229 16209-16318 org.jaudiotagger.audio com.example.sangeet E Unable to find:D:/Android/sangeet_songs/295 - SirfJatt.Com.mp3
1