user-2411
08-08-2019, 03:09 PM
I am trying to run get_iplayer from a button on my local, private, php web server on linux using shell_exec. The program runs but cannot save to cache, which it thinks is in the filesystem root - /radio.cache and /tv.cache. I have confirmed this is where the program is trying to update the caches but it cannot copy them to .old as the permissions are wrong (http instead of root). They shouldn't be there anyway.
I cannot find a way of writing/updating the caches in the default ~/.get_iplayer folder from the web page, although my code can read them there. There does not seem to be a way of specifying the caches folder.
I would have expected get_iplayer to place the caches in the folder from which it is run if it's not using the default one (in this case, /srv/xxx/) or at least in a sub-folder; or better, to specify the path in the options file. The options file used is in /etc/.get_iplayer/ so it would be useful if the caches were there.
Is there any way to specify the path used for caches?
I cannot find a way of writing/updating the caches in the default ~/.get_iplayer folder from the web page, although my code can read them there. There does not seem to be a way of specifying the caches folder.
I would have expected get_iplayer to place the caches in the folder from which it is run if it's not using the default one (in this case, /srv/xxx/) or at least in a sub-folder; or better, to specify the path in the options file. The options file used is in /etc/.get_iplayer/ so it would be useful if the caches were there.
Is there any way to specify the path used for caches?