Comments (3)
I released v2.7.1 with config values to change the log dir and cache dir.
from radio-api.
Oh, I understand the problem with the disks of the hardware.
Would it be an idea to create a symlink for the ./data
or ./data/cache
folder to some other disk/ location? For Radio-API all would look the same and the operating system would save the files in the right place.
A user changing ./data/
to a ramdisk will need a custom „backup strategy“ and if a custom strategy is needed, a custom symlink should not be problematic. (At least I guess.)
I have a litte headache about storing the main config, podcast, and radio list files from ./data
somewhere else (they are written on change in the web interface and when a new radio connects).
Two logfiles are also created in ./data
, they can be moved somewhere else.
A configuration value to change the cache directory to a different value than ./data/cache
seems less problematic to me, too. However, the cache contains the list of last radio stations used with RadioBrowser and the list to highlight new episodes of podcasts (but these lists can be exported for backup reasons, as it is done with Docker and Redis).
As far as I know a default PHP installation is enough and no special extensions are needed. For EndURL the cURL extension is needed, but EndURL is only used if it is enabled in the web interface for a podcast.
(mbstring and simplexml are used too, but as far as I understand they are somewhat default.)
Regarding the proxy, there might be a small misunderstanding:
The built in proxy is only used to translate audio streams from HTTPS to HTTP because the radio is not capable of SSL. It will only be used for station/ podcasts where it is activated in the web interface. If no station or podcast uses it, it won’t be used.
Replacing this proxy with a different one will be quite difficult and needs to be implemented for each software. I just looked at HAproxy, which does not seem to have the required feature called X-Sendfile or X-Accel.
But generally:
A webserver providing PHP (like Apache, NGINX+PHP-FPM, or similar) is not part of the non Docker version of Radio-API and needs to be provided by each user for running Radio-API (like any „normal“ PHP applications).
from radio-api.
I created the config values to change the logdir and cache dir in a new branch more-configs. There I updated the Setup.md.
I also added a ./utils/backup-restore.php
script to manually export all relevant data from the cache.
The folder ./data
still contains config, list of radio stations, list of podcasts, and the list of known radios.
from radio-api.
Related Issues (20)
- Domain GUI and Radio
- Question ("How To" Videos) HOT 5
- Medion Radio - Network Timeout HOT 7
- Question about nextcloud share HOT 8
- Update own Streams via interval HOT 3
- No GUI interface on the web server. My installation settings are wrong? HOT 2
- Sonoro radio not supported? HOT 4
- Uncaught RedisException: Connection refused HOT 2
- Authentication for token-protected stream HOT 4
- Characters with diacritics are stripped HOT 2
- Rewirting of URLs with parameters HOT 5
- Does this software require redis dependency to function? HOT 26
- "Update Available" still shown after Update
- v2.8.3 with CONF_USE_JSON_CACHE=true errors HOT 4
- Station logo not shown everytime HOT 5
- time.wifiradiofrontier.com HOT 2
- KIMB-technologies/Radio-API HOT 9
- Got a problem after PHP-Update to 8.3. HOT 2
- Need Help HOT 10
- Einstellungen : Reihenfolge ändern HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from radio-api.