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

Commit

Permalink
Plexus v0.8
Browse files Browse the repository at this point in the history
- Added basic support for RClone cache
- Added config check to install script
- Added dependency handling
- Added install function
- Added mount function
- Added RClone cache config option
- Added RClone remove config option
- Added unmount function
- Changed /tmp/plexus directories to $HOME/.plexus to maintain data
- [Encode] All streams now get converted, not just the first video and first audio streams/
- Improved colour use throughout program
- Improved config file check to download a new version if one doesn't currently exist
- Increased default CRF value from 18 to 20
- Made install script quieter
- Removed RClone check from install script
- Removed unzip dependency from install script
  • Loading branch information
Robert Thomas committed Sep 26, 2018
1 parent f793c5c commit d0436e7
Show file tree
Hide file tree
Showing 8 changed files with 1,341 additions and 57 deletions.
25 changes: 12 additions & 13 deletions docs/install.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
#!/usr/bin/env bash
printf "\\n\\e[93m=== Plexus v0.7.3d - Developed by Robert Thomas ==="
printf "\\n=== https://github.com/Wolveix/plexus ==="
printf "\\n\\e[32mInstalling missing dependencies.\\n\\n\\e[94m"
apt-get install curl ffmpeg unzip -y
printf "\\n\\e[32mCreating directories if they don't already exist.\\n\\e[94m"
mkdir -p /mnt/plexus /tmp/plexus/encode/convert /tmp/plexus/encode/converted /tmp/plexus/rclone $HOME/.config/plexus
rclone_version=$(rclone -V)
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
rclone_remotes=$(rclone listremotes)
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
printf "\\e[93m=== Plexus v0.8 - Developed by Robert Thomas ==="
printf "\\n=== https://github.com/Wolveix/Plexus ==="
printf "\\n\\e[36mInstalling any missing dependencies.\\n\\e[94m"
apt-get install curl ffmpeg -y -qq
printf "\\n\\e[36mCreating directories if they don't already exist.\\n\\e[94m"
mkdir -p $HOME/.config/plexus /mnt/plexus $HOME/.plexus/encode/convert $HOME/.plexus/encode/converted $HOME/.plexus/rclone /tmp/plexus
cd /tmp/plexus || exit
curl -O https://plexus.robt.me/versions/releases/latest/plexus.conf
mv plexus.conf "$HOME"/.config/plexus/
curl -O https://plexus.robt.me/versions/releases/latest/plexus
if [[ -f "$HOME/.config/plexus/plexus.conf" ]]
then
curl -O https://plexus.robt.me/versions/releases/latest/plexus.conf 2>/dev/null
mv plexus.conf "$HOME"/.config/plexus/
fi
curl -O https://plexus.robt.me/versions/releases/latest/plexus 2>/dev/null
chmod u+x plexus

OS="$(uname)"
Expand Down
6 changes: 6 additions & 0 deletions docs/versions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ <h2 class="section-title">Downloads</h2>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">0.8</th>
<td><a href="https://plexus.robt.me/versions/releases/v0.8/plexus">Link</a></td>
<td><a href="https://github.com/Wolveix/Plexus/commit/?" target="_blank">?</a></td>
<td><a href="https://github.com/Wolveix">@Wolveix</a></td>
</tr>
<tr>
<th scope="row">0.7</th>
<td><a href="https://plexus.robt.me/versions/releases/v0.7/plexus">Link</a></td>
Expand Down
267 changes: 248 additions & 19 deletions docs/versions/releases/latest/plexus

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions docs/versions/releases/latest/plexus.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
audio_codec="aac"
convert_dir="/tmp/plexus/encode/convert"
converted_dir="/tmp/plexus/encode/converted"
convert_dir="$HOME/.plexus/encode/convert"
converted_dir="$HOME/.plexus/encode/converted"
ffmpeg_preset="faster"
list_file="/tmp/plexus/list.txt"
list_file="$HOME/.plexus/list.txt"
media_dir="/mnt/plexdrive"
rclone_cache="Cache:"
rclone_remote="GDrive:"
video_codec="h264"
video_library="libx264"
Loading

0 comments on commit d0436e7

Please sign in to comment.