Skip to content

Commit

Permalink
Update trash_syno_installer.sh to add QSV check on jellyfin selection.
Browse files Browse the repository at this point in the history
Added the Quicksync check for when Jellyfin is selected as media server.
  • Loading branch information
bokkoman authored Jun 13, 2024
1 parent b1dbbc7 commit 3ce02ee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions script/trash_syno_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -717,14 +717,15 @@ while true; do
for options in "${selected_options[@]}"; do
mkdir -p "${docker_conf_dir}/appdata/${options}"
get_app_compose "${options}"
[[ "${options}" == 'plex' ]] && plex_installed="yes"
[[ "${options}" == 'plex' ]] && plex_installed="yes"
[[ "${options}" == 'jellyfin' ]] && jellyfin_installed="yes"
[[ "${options}" == 'qbittorrent' ]] && qbit_installed="yes" && mkdir -p "${docker_data_dir}"/torrents/{tv,movies}
[[ "${options}" == 'radarr' ]] && mkdir -p "${docker_data_dir}/media/movies"
[[ "${options}" == 'sonarr' ]] && mkdir -p "${docker_data_dir}/media/tv"
[[ "${options}" =~ ^(sabnzbd|nzbget)$ ]] && mkdir -p "${docker_data_dir}"/usenet/complete/{tv,movies}
done

if [[ "${plex_installed}" == "yes" ]]; then
if [[ "${plex_installed}" == "yes" || "${jellyfin_installed}" == "yes" ]]; then
#check for quick sync
if [[ -d "$qsv" ]]; then
### Do nothing if $qsv exists.
Expand Down

0 comments on commit 3ce02ee

Please sign in to comment.