Posts

Post not yet marked as solved
0 Replies
481 Views
Hi,I'm having issues with drag and drop from the new music app. It appears that the app is sometimes sending bad data.When tracks are dragged from the Music app, sometimes XML will be passed, other times a list of files will be passed.When XML is sent to my app, I have no issues parsing the XML and pulling out the file paths from the data.However, when a list of files is sent, sometimes, some of the files will be invalid. The audio files are there on the drive within the music library folders, and if I drag them from Finder it works perfectly. It's only when they are dragged from the Music app.I initially thought this was a problem with my code, however I have also tried dragging these tracks into VLC and Quicktime Player. VLC just ignores the drag & drop operation and Quicktime shows an error message stating 'The file can’t be found'.The thing is, the file does exist and if I drag a whole playlist across (which forces the Music app to send XML), I can parse the XML and open the problem file no problem at all. So the file is fine and when referenced from passed XML, it works perfectly. It's just when the Music app sends a list of files, certain files don't work. There appears to be no rhyme or reason as to which audio files will fail, however it will always be the same ones.Although this only happens on one or two tracks on my machine, I have customers who can no longer drag any songs from the Music app to my app for playback. Every track passed fails.Anyone seen this before?
Posted
by TheFifth.
Last updated
.