Android Question Problem opening .mp3 in Exoplayer using SMB

barryhuntpinncomp

Member
Licensed User
Longtime User
Hello,
I have a problem with a simple program to play a .mp3 file from a NAS server using EXOPlayer. I can list the file using SMB list files option but I get an error when I try to play the file from the same location. The error is:
Error: com.google.android.exoplayer2.upstream.FileDataSource$FileDataSourceException: com.google.android.exoplayer2.upstream.FileDataSource$FileDataSourceException: java.io.FileNotFoundException: /192.168.178.37:8080/music/Instrumental/Echos of madison County/1.mp3: open failed: ENOENT (No such file or directory)
I have attached the B4A zip file and included the log.

Any help would be much appreciated.

Many Thanks,

Barry
 

Attachments

  • SMBPlayer.zip
    9 KB · Views: 117
Top