Skip to content

Commit

Permalink
fix show name splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
binhex committed May 28, 2024
1 parent afc484e commit c5036a7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions run/nobody/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@ function download() {

# if show_type is name then set pid_command to show name, else use pid (show name as pid)
if [[ "${show_type}" == "name" ]]; then
pid_command="${show}"
/usr/bin/get_iplayer --profile-dir /config --atomicparsley /usr/sbin/atomicparsley --get --tv-quality="fhd,hd,sd,web,mobile" --file-prefix="${show} - <senum> - <episodeshort>" "${show}" --output "/data/get_iplayer/incomplete/${show}"
else
pid_command="--pid=${show} --pid-recursive"
/usr/bin/get_iplayer --profile-dir /config --atomicparsley /usr/sbin/atomicparsley --get --tv-quality="fhd,hd,sd,web,mobile" --file-prefix="${show} - <senum> - <episodeshort>" --pid="${show}" --pid-recursive --output "/data/get_iplayer/incomplete/${show}"
fi

/usr/bin/get_iplayer --profile-dir /config --atomicparsley /usr/sbin/atomicparsley --get --tv-quality="fhd,hd,sd,web,mobile" --file-prefix="${show} - <senum> - <episodeshort>" ${pid_command} --output "/data/get_iplayer/incomplete/${show}"

done

}
Expand Down

0 comments on commit c5036a7

Please sign in to comment.