-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AFP gets wrong path for .ds files #2412
Comments
Initial investigation shows Some plugins seem to call |
Thanks for reporting @softrabbit and for investigating @tresf. I guess this is what @zonkmachine tried to describe in his comment back in July in #1719. I wonder why he didn't explain the problem any further or opened an issue for it. |
Because I thought the bug was on my side. |
@lukas-w, are you sure you fixed this? I still see this behavior in master. |
Still works for me on 1290e33. |
OK, will dig deeper into this. To be sure, I blew away and recreated my target and build directories before pulling the latest souce and building, configured with
Open the instrument for one of the .ds tracks, e.g. the fifth track, So I reinstated the printf I mentioned in the original message (
|
Ah, that's a different issue. Your original report was about preview and opening from the sample browser bar. This is about loading a project that has the file saved as a relative path. Looking into it, |
@lukas-w, maybe a bit on the terse side, but the original report does mention loading a project... |
Yeah, fair enough |
@softrabbit Can you confirm ca8f80d fixes it? |
Yes, it works now. Looks to me like this took care of #2468 as well 👍 |
Thanks for testing! |
Noticed a project I loaded was missing samples in master. And then I noticed previewing .ds files and loading them from the file browser bar didn't work. Using the file browser in AFP works. A
printf
at the top ofDrumSynth::GetDSFileSamples
showed different paths being passed for a test file:data:/samples/drumsynth/acoustic/Brush1.ds
, the one that fails/home/raine/src/lmms/target/share/lmms/samples/drumsynth/acoustic/Brush1.ds
, install directory prepended, the one that worksThe text was updated successfully, but these errors were encountered: