Skip to content

Commit

Permalink
Update traktarr.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Dec 16, 2019
1 parent 6a9efb4 commit 73647e7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions menu/traktarr/traktarr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -395,18 +395,20 @@ EOF

}
maxyear() {


tee <<-EOF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 Limit of max allowed Year
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Set a Number from [ 1900 ] - [ 2100 ]
Set a Number from [ $(date +"%Y") ] - [ 2100 ]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
EOF
read -p '↘️ Type Number | Press [ENTER]: ' typed </dev/tty
if [[ "$typed" -ge "1900" && "$typed" -le "2100" ]]; then
if [[ "$typed" -ge "1950" && "$typed" -le "2100" ]]; then
echo "$typed" >/var/plexguide/traktarr/pgtrakyear.max && question1
else badinput; fi
}
Expand Down

0 comments on commit 73647e7

Please sign in to comment.