Skip to content
This repository was archived by the owner on Jun 2, 2024. It is now read-only.

Commit 8563840

Browse files
author
Robert Thomas
committed
Plexus v0.7
Added a configuration file, and a config function so that modifications can be handled appropriately. Added a check_variable function to prevent repeating the same function several times (audio and video codec checks). The help function now gets called when no commands or flags are used. Also removed profile flag from ffmpeg commands due to potential compatibility issues. This should be revisited in the future.
1 parent ff7fd08 commit 8563840

File tree

8 files changed

+1266
-289
lines changed

8 files changed

+1266
-289
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ curl https://plexus.robt.me/install.sh | sudo bash
1313
Alternatively, you can manually install Plexus to a custom location on your device.
1414
Install any missing dependencies and create all of the temporary folders required:
1515
``` bash
16-
sudo apt-get install curl ffmpeg unzip -y mkdir -p /mnt/plexus /tmp/plexus /tmp/plexus/encode /tmp/plexus/encode/convert /tmp/plexus/encode/converted /tmp/plexus/rclone
16+
sudo apt-get install curl ffmpeg unzip -y
17+
mkdir -p /mnt/plexus /tmp/plexus /tmp/plexus/encode /tmp/plexus/encode/convert /tmp/plexus/encode/converted $HOME/.config/plexus
1718
```
1819

1920
Next, download the executable itself:

docs/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@ <h3 class="block-title">Manual</h3>
5757
<br>
5858
<p>Install any missing dependencies and create all of the temporary folders required:</p>
5959
<p><code>sudo apt-get install curl ffmpeg unzip -y</code></p>
60-
<p><code>mkdir -p /mnt/plexus /tmp/plexus /tmp/plexus/encode /tmp/plexus/encode/convert /tmp/plexus/encode/converted /tmp/plexus/rclone</code></p>
60+
<p><code>mkdir -p /mnt/plexus /tmp/plexus /tmp/plexus/encode /tmp/plexus/encode/convert /tmp/plexus/encode/converted "$HOME"/.config/plexus</code></p>
61+
<br>
62+
<p>Download the default config file and move it into the correct location:</p>
63+
<p><code>curl -O https://plexus.robt.me/versions/releases/latest/plexus.conf</code></p>
64+
<p><code>mv plexus.conf "$HOME"/.config/plexus/</code></p>
6165
<br>
6266
<p>Next, download the executable itself:</p>
6367
<p><code>curl -O https://plexus.robt.me/versions/releases/latest/plexus</code></p>

docs/install.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
#!/usr/bin/env bash
2-
printf "\\n\\e[93m=== Plexus v0.6 - Developed by Robert Thomas ==="
2+
printf "\\n\\e[93m=== Plexus v0.7 - Developed by Robert Thomas ==="
33
printf "\\n=== https://github.com/Wolveix/plexus ==="
44
printf "\\n\\e[32mInstalling missing dependencies.\\n\\n\\e[94m"
55
apt-get install curl ffmpeg unzip -y
66
printf "\\n\\e[32mCreating directories if they don't already exist.\\n\\e[94m"
7-
mkdir -p /mnt/plexus /tmp/plexus /tmp/plexus/encode /tmp/plexus/encode/convert /tmp/plexus/encode/converted /tmp/plexus/rclone
7+
mkdir -p /mnt/plexus /tmp/plexus /tmp/plexus/encode /tmp/plexus/encode/convert /tmp/plexus/encode/converted $HOME/.config/plexus
88
rclone_version=$(rclone -V)
99
if [[ "$rclone_version" != *"os/arch: "* ]]; then printf "\\n\\e[32mInstalling RClone.\\n\\n\\e[94m"; curl https://rclone.org/install.sh | sudo bash; printf "\\e[32mRClone installed.\\n"; fi
1010
rclone_remotes=$(rclone listremotes)
1111
if [ -z "$rclone_remotes" ]; then printf "\\n\\e[32mYou don't have any RClone remotes setup. Set one up by running 'rclone config'\\n\\n\\e[94m"; fi
1212
cd /tmp/plexus || exit
13+
curl -O https://plexus.robt.me/versions/releases/latest/plexus.conf
14+
mv plexus.conf "$HOME"/.config/plexus/
1315
curl -O https://plexus.robt.me/versions/releases/latest/plexus
1416
chmod u+x plexus
1517

docs/versions/index.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,16 @@ <h2 class="section-title">Downloads</h2>
5454
</tr>
5555
</thead>
5656
<tbody>
57+
<tr>
58+
<th scope="row">0.7</th>
59+
<td><a href="https://plexus.robt.me/versions/releases/v0.7/plexus">Link</a></td>
60+
<td><a href="https://github.com/Wolveix/Plexus/commit/?" target="_blank">?</a></td>
61+
<td><a href="https://github.com/Wolveix">@Wolveix</a></td>
62+
</tr>
5763
<tr>
5864
<th scope="row">0.6</th>
5965
<td><a href="https://plexus.robt.me/versions/releases/v0.6/plexus">Link</a></td>
60-
<td><a href="https://github.com/Wolveix/Plexus/commit/?" target="_blank">?</a></td>
66+
<td><a href="https://github.com/Wolveix/Plexus/commit/44ad193aaf698e64f268aeb6b83a62f4830c0823" target="_blank">ff7fd08</a></td>
6167
<td><a href="https://github.com/Wolveix">@Wolveix</a></td>
6268
</tr>
6369
<tr>
@@ -66,6 +72,12 @@ <h2 class="section-title">Downloads</h2>
6672
<td><a href="https://github.com/Wolveix/Plexus/commit/44ad193aaf698e64f268aeb6b83a62f4830c0823" target="_blank">44ad193</a></td>
6773
<td><a href="https://github.com/Wolveix">@Wolveix</a></td>
6874
</tr>
75+
<tr>
76+
<th scope="row">0.4</th>
77+
<td><a href="https://github.com/Wolveix/Plexus/archive/v0.4.zip">Link</a></td>
78+
<td><a href="https://github.com/Wolveix/Plexus/commit/651bcf7ec7918fdd57c405093a2d5af20d4f0d6a" target="_blank">651bcf7</a></td>
79+
<td><a href="https://github.com/Wolveix">@Wolveix</a></td>
80+
</tr>
6981
</tbody>
7082
</table>
7183
</div>

0 commit comments

Comments
 (0)