-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
use path from config when resolving playlist items #510
Conversation
Hi, but:
because your approach makes sense for absolute file paths only. the other 2 cases of that if are relative paths. and they will be based on the (absolute nextcloud-)location of the playlist file. So this will have whatever music directory you have already attached. what do you think? |
|
Sorry, I was mistaken: The problem is not due to the folder specified in config, but due to external storage only. |
I will test locally also. |
Hello, old: $streamfile[0]->getPath() new: $streamfile[0]->getInternalPath() Then the title needs to be matched to this position. in your case its missing the subfolder. |
ok, it is solved. there was another issue! https://github.com/Rello/audioplayer/blob/master/lib/Controller/CategoryController.php#L500-L501 can you try on your side? |
(cherry picked from commit 9264449)
Hi,
looks odd, did you mix up old and new? Regarding the case with relative path and '../' I can't say, because I do not have such playlists. |
Can confirm working for relative path with '../' |
Thats correct of course. 🤦🏼♂️ |
done |
(cherry picked from commit b3fdf2e)
fix #495