-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Issue on scan adding music #763
Comments
Thanks for the report. That is not something which I would have seen or heard of before. Which version of ownCloud or Nextcloud are you using? Which version of the Music app? Which database management system and which PHP version? After the failed scan, can you find any more info from owncloud.log or nextcloud.log (depending on which one you use)? |
Hi, and thanks for your answer. The nextcloud.log gave me the answer, the fopen function was disabled. Which is strange because i'm pretty sure I enable it when i installed nextcloud. Was it disabled during a PHP version update ? Anyway all settled, and works like a charm. Sorry for wasting your time and thanks for your help ! |
Okay, glad you could work it out. When you say that fopen was disabled, do you mean that the PHP option |
Yes exactly, the option allow-url-fopen was off. Can't tell you why... |
Okay, it might be good idea for me to try to make the app fail more gracefully in case allow_url_fopen = false. You are probably not the only user who will run into this, so it would be nice if the app could tell directly what is wrong. |
Eight years ago, there may have been some reason to disable scanning if the php.ini file didn't have the option `allow_url_fopen` enabled. However, nowadays there doesn't seem to be any reason for that; the scanning works just fine without it. Also, it's pointless to try to enable it within the php code because that will never work because of the security reasons. Where the `allow_url_fopen` is actually needed, is to fetch the data from Last.fm in case the integration is enabled. But even there, there's no reason to check the status of the setting separately because fetching the data will just fail and emit an understandable error message to the log which will guide the admin to the root cause. refs #763
After finally spending some time to investigate this, I couldn't find any valid reason to require |
Hello,
Sorry about my english...
I'm trying to use the Music add-on but I have somme issues:
I tried multiple things: differents tracks, different file formats(.mp3 .wav,etc). Uninstall the music add on and the audio player add on before reinstall the music add on.
But nothing seems to work.
Is there someone here to help me ?
Thanks !
Vijay
The text was updated successfully, but these errors were encountered: