It doesn't matter if you had cleared the application data. The converted format for the song is still in your internal storage. I cleared both data and cache. The newly formatted song is still in the Samsung Music app and it still plays instead getting the "failed to play track" error.
I tried to clear the cache and data before I tried my way. Still got the "failed to play" error. So I did some digging to find out that some songs are in .wma format instead of .mp3 or .m4a. Those songs need to be converted in order to work in the Samsung Music app.
Easiest way I have found to convert them if you have access to a pc is a media player like vlc which has a convert option.
Problem with wma files is they are made for windows media player which are a problem to play on android
Itunes on the PC has a convert option as well but not sure if it handles wma files
I did not know this. I appreciate the information. I just tried to find a temporary solution to this problem until I could access my computer to convert the files.
There are android apps in the play store that will convert your files to m4a or MP3 but you would have to search for them.
Know I used Itunes to convert my MP3 files to m4a files and reading it looks like it does the same for wma files, also found it quicker as you could convert an album or batch at once.
The only other thing that I think could be stopping playback is media rights but not sure how to check this apart from going into windows media player and checking the properties for each file
First go into File menu and add folder or file to library.
Go to Edit menu and select preferences.
Under General there is a box that says import settings, click on this and select the import using pull down menu AAC is m4a but there is also a MP3 option.
Select the songs you want to convert and under the file menu select convert and it will create a copy of the file in the format you set.