-
Notifications
You must be signed in to change notification settings - Fork 197
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
Internet radio export Unexpected error #822
Comments
Thanks for the report. When this happens, can you find any more information from nextcloud.log or owncloud.log (depending on which cloud you use)? |
Hope that helps. Nextcloud 20.0.7 PHP 7.4 Ubuntu 20.04
|
I also encountered this issue. I noticed when I entered the folder where I wanted to export the playlist to, it said there were no files in there, even though I double-checked and I have several .pls files in that folder. It still let me click "Choose" without selecting a file, and that's when the Hope this helps: |
Okay, I could reproduce the error now on NC 20.0.7. The API of the Nextcloud file picker seems to have changed a bit, and this now breaks the exporting functionality. The problem affects also playlist exporting. I'm not sure, when has it broken, but I think I still successfully used export on some earlier hotfix of NC20. @MattRC7 Not showing any files there is normal, we are using the filepicker dialog in folder selection mode. Hence, it shows only folders and no files. The text "No files in here" is quite misleading, though. |
There has always been a small API difference on the filepicker between ownCloud and Nextcloud, but this was not taken into account in the Music app. However, the use of the picker had worked correctly simply by chance (*) up until Music 1.0.0 added some argument type declarations on the back-end. Coupled by the activation of the strict typing in NC14, this made the bug very visible and broke the playlist exporting functionality. (*) We were passing integer 1 as argument `oncollision` while it was supposed to be the string "abort". However, any unknown argument values had the same handling as the string "abort", hiding the bug as long as no-one was checking the argument types. refs #822
Upon closer examination, it was revealed that the playlist and radio exporting is broken on Music v1.0.0 with all the supported Nextcloud versions except 13. There is an API difference between ownCloud and Nextcloud, which I hadn't taken into account, but the exporting had worked also on NC regardless, simply by chance. On v1.0.0, we ran out of luck and the bug became apparent. Fix for this is now implemented, and I'm planning to make a hotfix release soon. |
Hotfix v1.0.1 for this issue is now released to the Nextcloud app store. |
I Try to Export my list. Goto Export in a Files and it shows Unexpected error
The text was updated successfully, but these errors were encountered: