BlitterStudio / MB_SubSonic

MusicBee SubSonic plugin
GNU General Public License v3.0
115 stars 13 forks source link

Exception when dragging track in the Playing tracks #23

Closed midwan closed 7 years ago

midwan commented 7 years ago

Whenever a track is dragged from Subsonic into the playing tracks it is unable to play the file added to the queue and produces the message below in the error log:

2/22/2017 10:48:02 AM - 10.0.14393.0 - 3.0.6132.15853 - System.NullReferenceException: Object reference not set to an instance of an object.
   at MusicBee.MusicBeeMain.#=qmw6gXBADHDwaj56Ko3_JLB5sGfysEpfMPjs0DNEVuSA=._Lambda$__1()

2/22/2017 10:55:01 AM - 10.0.14393.0 - 3.0.6132.15853 - url: Subsonic:\Lamb Of God/2006 - Sacrament/Lamb Of God - 01 - Walk With Me In Hell.mp3\Lamb Of God\2006 - Sacrament\Lamb Of God - 01 - Walk With Me In Hell.mp3
System.IO.FileNotFoundException: Unable to find the specified file.
   at #=qL2UZEcvMrPitgReDO3HbSgdypFfX_8TMfrXivfOsZtI=.#=qGQC_2o9Q5sZ9bkzuAKP65w==(#=qZsbih$YwvJ5OgcdcG81xQg== #=qJUxXiyd3fKZJQzTV3u9E1Q==, #=qI_C_6$a81pAebbaYnO7VwtLwgieay75o4_nnJJNNjuc= #=qWNEajmyquudIW8ofKsTsYw==, Boolean #=qfXs3HYh95yMKW4A03MtoNw==, Boolean #=qYs2Z6UwWi2c8xan9u90i7Q==, Boolean #=qW_1SBa15KDNcwqSjJ8CjkKy0xdpWGG4_icDEloyt0YA=, Boolean #=qx3l6wHqqNyxPLhx6yQ9A7g==, Int32 #=qdVu9os5zbCfLiiWxwl9Wf26fSqcmhm8bAdrWpZC7RoI=)
   at #=qL2UZEcvMrPitgReDO3HbSgdypFfX_8TMfrXivfOsZtI=.#=qbfludmPPl53g5kMHMTqovQ==(Object #=qsM$WObGdzVdE22zJ22ekag==)
midwan commented 7 years ago

Note: MusicBee seems to be reporting a different (incorrect) URL for the track when it's placed in the Play Queue. The incorrect URL cannot be resolved by Subsonic and thus it reports that the file cannot be found.

Reported to Steven to check if this is a MusicBee bug.

andocromn commented 7 years ago

yes, still occurs. thanks for the update

midwan commented 7 years ago

Confirmed bug in the plugin, fix will be pushed out in a bit. :)

andocromn commented 7 years ago

just wanted to post a workaround - i figured out that right click and queue next works

midwan commented 7 years ago

@andocromn Thanks, I have already fixed the source of this also in the master branch. Just waiting for another little thing to get implemented by Steven, then I can release a new version of the binary also. :)

andocromn commented 7 years ago

tested with v2.11 works great thanks again