SHARE
TWEET

Untitled

a guest Mar 18th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Return cam before anything else
  2.         if (f.contains(".cam.")
  3.                 || f.contains("camrip")
  4.                 || f.contains("hdcam")
  5.                 || f.contains("hd-cam")
  6.                 || f.contains("hd cam")
  7.                 || f.contains("hd.cam")
  8.                 /*|| f.contains("dvd scr")
  9.                 || f.contains("dvd.scr")
  10.                 || f.contains("dvdscr")*/
  11.                 )
  12.             return Quality.CAM;
  13.  
  14.         if (f.contains("2160"))
  15.             return Quality.HD4k2160p;
  16.  
  17.         if (f.contains("1080"))
  18.             return Quality.HD1080p;
  19.  
  20.         if (f.contains("720"))
  21.             return Quality.HD720p;
  22.  
  23.         if (f.contains("hdtv"))
  24.             return HDTV;
  25.  
  26.         if (f.contains("hdrip")
  27.                 || f.contains("webrip")
  28.                 || f.contains("webdl")
  29.                 || f.contains("web-dl")
  30.                 )
  31.             return HDRip;
  32.  
  33.  
  34.         if (f.contains("480"))
  35.             return Quality.SD;
  36.  
  37.  
  38.         return Quality.Unknown;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top