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

Audio player only found ~10% of my files during scan, and threw some filename errors #329

Closed
nachoparker opened this Issue Aug 28, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@nachoparker

nachoparker commented Aug 28, 2018

Hi,

First, thank you for your hard work in this app, it is really nice.

I have a 35k file music collection, and the scan process only found a couple hundred.

screenshot_2018-08-27 audio player - nextcloudpi

There were also some errors related to non English characters, such as this song, called montañita.mp3

{"reqId":"W4N-xn8AAQEAAAWoPO0AAAIj","level":3,"time":"2018-08-27T04:43:28+00:00","remoteAddr":"1xxx9","user":"xxxx","app":"PHP","method":"POST","url":"\/index.php\/apps\/audioplayer\/scanforaudiofiles","message":"fopen(\/media\/myCloudDrive\/ncdata\/Music\//Monta?ita.mp3): failed to open stream: No such file or directory at \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#282","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}

Note that the Nextcloud Music app correctly found all my files. Some other error types that I see in the log

{"reqId":"W33IhH8AAQEAABYkMOoAAE0G","level":3,"time":"2018-08-22T20:46:17+00:00","remoteAddr":"xxxx","user":"xxx","app":"PHP","method":"POST","url":"\/index.php\/apps\/audioplayer\/scanforaudiofiles","message":"Undefined index: comments at \/var\/www\/nextcloud\/apps\/audioplayer\/lib\/Controller\/ScannerController.php#558","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}

{"reqId":"W32zpH8AAQEAABYkL4YAAFQj","level":3,"time":"2018-08-22T20:22:26+00:00","remoteAddr":"20xxx54","user":"xxx","app":"PHP","method":"POST","url":"\/index.php\/apps\/audioplayer\/scanforaudiofiles","message":"ftell() expects parameter 1 to be resource, null given at \/var\/www\/nextcloud\/apps\/audioplayer\/3rdparty\/getid3\/getid3.php#1682","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"W32zpH8AAQEAABYkL4YAAFQj","level":3,"time":"2018-
{"reqId":"W32zpH8AAQEAABYkL4YAAFQj","level":3,"time":"2018-08-22T20:22:26+00:00","remoteAddr":"2xxx4","user":"xxx","app":"PHP","method":"POST","url":"\/index.php\/apps\/audioplayer\/scanforaudiofiles","message":"fread() expects parameter 1 to be resource, null given at \/var\/www\/nextcloud\/apps\/audioplayer\/3rdparty\/getid3\/getid3.php#1705","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}

{"reqId":"W32zpH8AAQEAABYkL4YAAFQj","level":3,"time":"2018-08-22T20:22:26+00:00","remoteAddr":"2xxx4","user":"xxx","app":"PHP","method":"POST","url":"\/index.php\/apps\/audioplayer\/scanforaudiofiles","message":"ftell() expects parameter 1 to
be resource, null given at \/var\/www\/nextcloud\/apps\/audioplayer\/3rdparty\/getid3\/getid3.php#1682","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"W32zpH8AAQEAABYkL4YAAFQj","level":3,"time":"2018-08-22T20:22:25+00:00","remoteAddr":"2xxxx4","user":"xxx","app":"PHP","method":"POST","url":"\/index.php\/apps\/audioplayer\/scanforaudiofiles","message":"Undefined index: mpeg at \/var\/www\/nextcloud\/apps\/audioplayer\/3rdparty\/getid3\/module.audio.mp3.php#1629","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}

Hope this helps!

@Rello

This comment has been minimized.

Owner

Rello commented Sep 1, 2018

Hello,
thank you for the report. I will look through your logs and come back to you

@Rello Rello self-assigned this Sep 1, 2018

@Rello

This comment has been minimized.

Owner

Rello commented Sep 21, 2018

Hello,

I looked through the code and there is nothing I can do about it. I am using standard Nextcloud classes here. I don´t have issues with unicode names on my side.

Unfortunately I can not support here because I don´t know what the issue with the server setup might be.

Regards...

@Rello Rello closed this Sep 21, 2018

@nachoparker

This comment has been minimized.

nachoparker commented Sep 22, 2018

I see, thanks for looking at it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment