Cant play audiobooks
-
So I actually found out that that I was in Stream via the dropdown, the errors are still a problem though.
However, as of now I have the dropdown on webplayer
I now get these options
Which is what I expect, however, I still cannot play files.When I click the play button, I Get these logs
-
@girish said in Cant play audiobooks:
@privsec maybe you can try adjusting php's memory limit which is 128MB by default. You can edit the php.ini using the file manager:
memory_limit = 512M
I'm not very adept at PHP. Is there a pro/con to having higher memory? If not, what would happen if I set it to 1000M?
-
@privsec Usually, a single PHP script shouldn't require so much memory (like 1GB). But it really depends on the app ultimately how much memory it uses. https://github.com/ampache/ampache/wiki/FAQ#im-getting-errors-about-memory-limits-being-reached--out-of-memory seems suggest we have to try to bump it up if it gives some memory errors.
-
Ok, I added the line
I restarted the app
It still giving me that error
-
@privsec as answered in the support ticket, for others.
Ampache overwrites the
memory_limit
value set inphp.ini
so in order to increase the limit, it has to be set in/app/data/config/ampache.cfg.php
In this particular case the mp3 file being an audio book was rather large, above 100Mb so ampache works once the value is set to
memory_limit = 512M
Also given that it is a php app, an app restart is not required, just reload the page in the browser.