From 8113077fd96f362fb04269283c2a04edb74bc1e8 Mon Sep 17 00:00:00 2001 From: jo Date: Wed, 16 Feb 2022 09:48:01 +0100 Subject: [PATCH] chore: fix broken links --- .github/workflows/housekeeping.yml | 3 +++ analyzer/README.md | 4 ++-- docs/_interface-localization.md | 14 -------------- docs/_troubleshooting.md | 2 +- docs/getting-started/reverse-proxy.md | 6 +++--- 5 files changed, 9 insertions(+), 20 deletions(-) diff --git a/.github/workflows/housekeeping.yml b/.github/workflows/housekeeping.yml index 4f635f530..a9d822170 100644 --- a/.github/workflows/housekeeping.yml +++ b/.github/workflows/housekeeping.yml @@ -46,6 +46,9 @@ jobs: --exclude-all-private --exclude-mail --exclude 'example\.(com|org)' + --exclude '\$server_name\$request_uri' + --exclude 'https://dir.xiph.org/cgi-bin/yp-cgi' + --exclude 'https://radio.indymedia.org/cgi-bin/yp-cgi' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/analyzer/README.md b/analyzer/README.md index b08d527d4..4d9169c7f 100644 --- a/analyzer/README.md +++ b/analyzer/README.md @@ -61,9 +61,9 @@ To send an test message to libretime-analyzer, you can use the message_sender.ph For example, run: ```bash -php tools/message_sender.php '{ "tmp_file_path" : "foo.mp3", "final_directory" : ".", "callback_url" : "http://airtime.localhost/rest/media/1", "api_key" : "YOUR_API_KEY" }' +php tools/message_sender.php '{ "tmp_file_path" : "foo.mp3", "final_directory" : ".", "callback_url" : "http://localhost/rest/media/1", "api_key" : "YOUR_API_KEY" }' -php tools/message_sender.php '{"tmp_file_path":"foo.mp3", "import_directory":"/srv/airtime/stor/imported/1","original_filename":"foo.mp3","callback_url": "http://airtime.localhost/rest/media/1", "api_key":"YOUR_API_KEY"}' +php tools/message_sender.php '{"tmp_file_path":"foo.mp3", "import_directory":"/srv/airtime/stor/imported/1","original_filename":"foo.mp3","callback_url": "http://localhost/rest/media/1", "api_key":"YOUR_API_KEY"}' ``` ## Logging diff --git a/docs/_interface-localization.md b/docs/_interface-localization.md index c582bcd3a..8261f3c15 100644 --- a/docs/_interface-localization.md +++ b/docs/_interface-localization.md @@ -52,20 +52,6 @@ and update the header information in the new copy of the `airtime.po` file using nano legacy/locale/de_CH/LC_MESSAGES/airtime.po ``` -For the example of Swiss German, the header of the file should now look like this: - -```bash -# SWISS GERMAN (de_CH) translation for LibreTime. -# Copyright (C) 2013 Sourcefabric -# This file is distributed under the same license as the LibreTime package. -# Sourcefabric , 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: LibreTime 3.0-Alpha\n" -"Report-Msgid-Bugs-To: https://discourse.libretime.org/\n" -``` - After using an online translation tool to begin a new localization, you can load the exported .po file into Poedit and complete your translation there. Enter the localization team's contact information and language into Poedit's **Edit -> Preferences** and **Catalog -> Settings** dialogs, which will be added to the .po file. When you save a .po file in Poedit, the corresponding binary .mo file will be compiled automatically. Finally, **git add**, **git commit** and **git push** these new .mo and .po files to your GitHub fork of the project, and send a git pull request (https://help.github.com/articles/using-pull-requests) to the LibreTime developers. The localization can then be added to a forthcoming LibreTime release. diff --git a/docs/_troubleshooting.md b/docs/_troubleshooting.md index 07f929f25..313521f51 100644 --- a/docs/_troubleshooting.md +++ b/docs/_troubleshooting.md @@ -42,7 +42,7 @@ troubleshooting checklist. - **Streaming player on Microsite and Listen player on Dashboard not working?** The problem could be caused by a bug in writing to the database during the setup wizard. This can be fixed by going to **Settings** -> **Stream Settings** and toggling the **Default Streaming** and **Custom/ 3rd Party Streaming** option, accepting the popup dialogues, and clicking **Save** at the top of the settings page. - **File not importing successfully?** LibreTime has been known to work with MP3 and WAV files, encoded using 41,100 Hz. Variable Bit Rate (VBR) files are currently hit or miss with the importer. Please convert your file to an MP3 or WAV at 41,100 Hz. and try uploading again. - **Podcast hosted by Anchor.fm not importing?** There is no known work-around at this time. Ask your producers to provide their show files manually or check with the show's distributer. -- **Tracks won't publish?** We know the Publish screen is broken and we're working on it. A potential work-around is to use an external podcast host like [Anchor.fm](https://www.anchor.fm) or [Blubrry](https://blubrry.com/). +- **Tracks won't publish?** We know the Publish screen is broken and we're working on it. A potential work-around is to use an external podcast host like [Anchor.fm](https://anchor.fm) or [Blubrry](https://blubrry.com/). - **Can't hear any sound coming from your soundcard (for analog audio output)?** If you are using ALSA as your audio driver, use `alsamixer` to see the current volume your system is set to. If still nothing, go to **Settings** > **Streams** and make sure **Hardware Audio Output** is checked. If you need to play a tone to help you troubleshoot, you can use `speaker-test` (does not come installed with LibreTime). ## 4. Read the docs diff --git a/docs/getting-started/reverse-proxy.md b/docs/getting-started/reverse-proxy.md index 585c46af6..580ff566b 100644 --- a/docs/getting-started/reverse-proxy.md +++ b/docs/getting-started/reverse-proxy.md @@ -71,14 +71,14 @@ server { location / { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; - proxy_pass http://libretime/; + proxy_pass http://192.168.1.10/; } } EOF ``` This Nginx configuration ensures that all traffic uses SSL to the reverse proxy, and -traffic is proxied to `libretime`. +traffic is proxied to `192.168.1.10`. Next, the SSL certificate needs to be generated and the site activated. @@ -89,7 +89,7 @@ sudo certbot certonly -d libretime.example.com -a standalone sudo systemctl start nginx ``` -You can now go to *https://libretime.example.com* and go +You can now go to `https://libretime.example.com` and go through the installer. On `General Settings`, you need to change the Webserver Port to `443` and add the following CORS URLs: