Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##############################
- # FILTER SECTION
- ##############################
- filter_sec() {
- if [ $cat_set ==1 ]
- then
- if [[ "$nzb_name" =~ (LINUX) ]];then
- selected_cat=4
- elif [[ "$nzb_name" =~ (Linux) ]];then
- selected_cat=4
- elif [[ "$nzb_name" =~ (Lz0PDA) ]];then
- selected_cat=5
- elif [[ "$nzb_name" =~ (iPWNPDA) ]];then
- selected_cat=5
- elif [[ "$nzb_name" =~ (IPPDA) ]];then
- selected_cat=5
- elif [[ "$nzb_name" =~ (LMiPDA) ]];then
- selected_cat=5
- elif [[ "$nzb_name" =~ (AnDrOiD) ]];then
- selected_cat=5
- elif [[ "$nzb_name" =~ (COREPDA) ]];then
- selected_cat=5
- elif [[ "$nzb_name" =~ (ErESPDA) ]];then
- selected_cat=5
- elif [[ "$nzb_name" =~ (BiNPDA) ]];then
- selected_cat=5
- elif [[ "$nzb_name" =~ (SyMPDA) ]];then
- selected_cat=5
- elif [[ "$nzb_name" =~ (ANDROiD) ]];then
- selected_cat=5
- elif [[ "$nzb_name" =~ (Unleashed) ]];then
- selected_cat=12
- elif [[ "$nzb_name" =~ (ALiAS) ]];then
- selected_cat=12
- elif [[ "$nzb_name" =~ (MacOSX.Cracked.GAME) ]];then
- selected_cat=13
- elif [[ "$nzb_name" =~ (ARBiTRAGEPDA) ]];then
- selected_cat=5
- elif [[ "$nzb_name" =~ (oNePiEcEPDA) ]];then
- selected_cat=5
- elif [[ "$nzb_name" =~ (MSGPDA) ]];then
- selected_cat=5
- elif [[ "$nzb_name" =~ (BiTRAGEPDA) ]];then
- selected_cat=5
- elif [[ "$nzb_name" =~ (MSMPDA) ]];then
- selected_cat=5
- elif [[ "$nzb_name" =~ (Ebook) ]];then
- selected_cat=9
- elif [[ "$nzb_name" =~ (eBOOk) ]];then
- selected_cat=9
- elif [[ "$nzb_name" =~ (EBook) ]];then
- selected_cat=9
- elif [[ "$nzb_name" =~ (eBook) ]];then
- selected_cat=9
- elif [[ "$nzb_name" =~ (MacOSX) ]];then
- selected_cat=2
- elif [[ "$nzb_name" =~ (MACOSX) ]];then
- selected_cat=2
- elif [[ "$nzb_name" =~ (-TRACKFIX-) ]];then
- selected_cat=3
- tag="FIX"
- elif [[ "$nzb_name" =~ (-FLAC-) ]];then
- selected_cat=22
- tag="FLAC"
- fi
- fi
- if [ $cat_set ==7 ]
- then
- if [[ "$nzb_name" =~ (-FLAC-) ]];then
- selected_cat=22
- tag="FLAC"
- elif [[ "$nzb_name" =~ (-TRACKFIX-) ]];then
- selected_cat=3
- tag="FIX"
- fi
- fi
- #END FUNCTION
- }
Add Comment
Please, Sign In to add comment