docs: rework docs into the new website
- multipass docs moved to local-dev.md - add documentation to website - rework fogotten files - disable fogotten files Co-authored-by: Zachary Klosko <zklosko@users.noreply.github.com>
This commit is contained in:
parent
2fa10793ec
commit
6d9e7a6765
39 changed files with 698 additions and 721 deletions
4
docs/appendix/_category_.json
Normal file
4
docs/appendix/_category_.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"label": "Appendix",
|
||||
"position": 7
|
||||
}
|
|
@ -1,9 +1,13 @@
|
|||
---
|
||||
layout: article
|
||||
title: LibreTime API Usage
|
||||
category: dev
|
||||
---
|
||||
|
||||
:::info
|
||||
|
||||
We're in the process of rewriting Libretime's API. This page contains the instructions for the current version, written in PHP.
|
||||
|
||||
:::
|
||||
|
||||
The LibreTime API enables many types of information about the broadcast schedule and configuration to be retrieved from the LibreTime server. Other than the live-info and week-info data fetched by website widgets (see the chapter _Exporting the schedule_), all API requests must be authenticated using the secret API key stored in the file _/etc/airtime/api_client.cfg_ on the LibreTime server. This key is autogenerated during LibreTime installation and should be unique for each server.
|
||||
|
||||
If you intend to use the LibreTime API across a public network, for security reasons it is highly recommended that all API requests are sent over encrypted https: and that the web server is configured to accept requests to the api/ directory from specific host names or IP addresses only.
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
---
|
||||
layout: article
|
||||
title: HD Audio Modules
|
||||
git: hd-audio-modules.md
|
||||
category: admin
|
||||
---
|
||||
|
||||
This listing is provided to help ensure that the correct model parameter is passed to the ALSA kernel module for an Intel HDA soundcard, if one is fitted to your LibreTime server. See the chapter _Preparing the server_ in this book for more details.
|
||||
This listing is provided to help ensure that the correct model parameter is passed to the ALSA kernel module for an Intel HDA soundcard, if one is fitted to your LibreTime server.
|
||||
|
||||
```
|
||||
Model name Description
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
---
|
||||
layout: article
|
||||
title: Rights and Royalties
|
||||
category: manager
|
||||
---
|
||||
|
||||
If you're new to broadcasting, or have not streamed your station online before,
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
---
|
||||
title: Widgets
|
||||
category: interface
|
||||
layout: article
|
||||
---
|
||||
|
||||
Bring your Libretime broadcast to your website with embeddable widgets! Libretime comes with two widgets: a streaming player and a schedule. Both widgets use iframes to display and can be placed wherever embeddable code can on a website.
|
||||
|
@ -10,9 +8,13 @@ Bring your Libretime broadcast to your website with embeddable widgets! Libretim
|
|||
|
||||
Before using the widgets, make sure Libretime's Public API is enabled in **Settings** > **General**.
|
||||
|
||||

|
||||

|
||||
|
||||
> **Note:** Your Libretime instance needs to be accessible to the public _without the use of a VPN or SSH tunneling_ in order for the widgets to work.
|
||||
:::tip Note
|
||||
|
||||
Libretime widgets cannot function through VPNs or SSH tunneling. The instance must be accessible from the internet for the widgets to work.
|
||||
|
||||
:::
|
||||
|
||||
## Streaming Player Widget
|
||||
|
||||
|
@ -20,12 +22,12 @@ The streaming player widget inserts your Libretime stream into your website. One
|
|||
|
||||
<iframe frameborder="0" width="400" height="235" src="http://broadcast.wcrsfm.org/embed/player?stream=auto&title=Now Playing"></iframe>
|
||||
|
||||

|
||||

|
||||
|
||||
From **Widgets** > **Player**, enter a title for your streaming widget and select what stream you'd like to use. All selectible streams must first be configured in **Settings** > **Streams** (see [Settings](/docs/settings)). **Auto detect** should be fine for most.
|
||||
From **Widgets** > **Player**, enter a title for your streaming widget and select what stream you'd like to use. All selectible streams must first be configured in **Settings** > **Streams** (see [Settings](/docs/guides/settings)). **Auto detect** should be fine for most.
|
||||
|
||||
## Show Schedule Widget
|
||||
|
||||

|
||||

|
||||
|
||||
The show schedule widget displays the upcoming shows for the next seven days. There are no customizable settings for this widget.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue