Advertisement
Guest User

Modified video_format.yml

a guest
Nov 5th, 2023
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.17 KB | None | 0 0
  1. #######################################################################################
  2. # Custom Video Format Overlay #
  3. # Modified by: JagerBombed19x #
  4. # CHANGES: Split 'WEB' into 'WEB-DL' and 'WEB-RIP' #
  5. # Added: 'UHD BLU-RAY' | 'HDRIP' | 'SDRIP' | 'HDTV' | 'SDTV' | 'CAM' #
  6. # For any naming scheme including more than the default media sources #
  7. # Video Source can either be in folder naming or video file naming for Movies and #
  8. # only video file naming for Shows #
  9. # Examples: Oppenheimer (2023) [Web-DL] | Oppenheimer (2023) 1080p AAC Telesync.mkv #
  10. # Loki (2023)\Season 2\Loki - S02E02 - Breaking Brad [2160p - Web-DL].mkv #
  11. #######################################################################################
  12.  
  13. external_templates:
  14. pmm: templates
  15. template_variables:
  16. default:
  17. text_<<key>>: <<overlay_name>>
  18. horizontal_align: left
  19. vertical_align: bottom
  20. horizontal_offset_uhdbluray: 15
  21. back_width_uhdbluray: 405
  22. back_height_uhdbluray: 105
  23.  
  24. conditionals:
  25. vertical_offset:
  26. default: 15
  27. conditions:
  28. - vertical_align: center
  29. value: 0
  30. - vertical_align: top
  31. value: 15
  32. - vertical_align: bottom
  33. value: 30
  34. horizontal_offset:
  35. default: 15
  36. conditions:
  37. - horizontal_align: center
  38. value: 0
  39. - horizontal_align: [left, right]
  40. value: 15
  41. group: quality
  42. back_color: "#00000099"
  43. back_width: 305
  44. back_height: 105
  45. final_name: text(<<text_<<key>>>>)
  46.  
  47. templates:
  48. video_format:
  49. default:
  50. regex_<<key>>: <<regex>>
  51. conditionals:
  52. regex:
  53. conditions:
  54. - key: remux
  55. value: '(?i)\b(remux|remuxed)\b'
  56. - key: bluray
  57. value: '(?i)\b(blu[ ._-]?ray|bd|br|hd[ ._-]?dvd)\b'
  58. - key: uhdbluray
  59. value: '(?i)\b(uhd[ ._-]?blu-ray|uhd[ ._-]?blu[ ._-]?ray)\b'
  60. - key: web-dl
  61. value: '(?i)\bweb[ ._-]?dl\b'
  62. - key: web-rip
  63. value: '(?i)\b(webrip|web[ ._-]?rip)\b'
  64. - key: hdrip
  65. value: '(?i)\b(1080p[ ._-]?hdrip|720p[ ._-]?hdrip)\b'
  66. - key: sdrip
  67. value: '(?i)\b(480p[ ._-]?hdrip|360p[ ._-]?hdrip|288p[ ._-]?hdrip)\b'
  68. - key: hdtv
  69. value: '(?i)\b(hd[ ._-]?tv|1080p[ ._-]?tv|720p[ ._-]?tv|1080p - TV|720p - TV)\b'
  70. - key: dvd
  71. value: '(?i)\bdvd\b'
  72. - key: cam
  73. value: '(?i)\b(telesync|cam|telecine)\b'
  74. - key: sdtv
  75. value: '(?i)\b(sd[ ._-]?tv|480p[ ._-]?tv|360p[ ._-]?tv|288p[ ._-]?tv|480p - TV|360p - TV|288p - TV)\b'
  76. ignore_blank_results: true
  77. plex_all: true
  78. filters:
  79. filepath.regex: <<regex_<<key>>>>
  80.  
  81. overlays:
  82.  
  83. REMUX:
  84. variables: {key: remux, weight: 110}
  85. template: [name: standard, name: video_format]
  86.  
  87. UHD BLU-RAY:
  88. variables: {key: uhdbluray, weight: 100}
  89. template: [name: standard, name: video_format]
  90.  
  91. BLU-RAY:
  92. variables: {key: bluray, weight: 90}
  93. template: [name: standard, name: video_format]
  94.  
  95. WEB-DL:
  96. variables: {key: web-dl, weight: 80}
  97. template: [name: standard, name: video_format]
  98.  
  99. WEB-RIP:
  100. variables: {key: web-rip, weight: 70}
  101. template: [name: standard, name: video_format]
  102.  
  103. HD-RIP:
  104. variables: {key: hdrip, weight: 60}
  105. template: [name: standard, name: video_format]
  106.  
  107. SD-RIP:
  108. variables: {key: sdrip, weight: 50}
  109. template: [name: standard, name: video_format]
  110.  
  111. HDTV:
  112. variables: {key: hdtv, weight: 40}
  113. template: [name: standard, name: video_format]
  114.  
  115. DVD:
  116. variables: {key: dvd, weight: 30}
  117. template: [name: standard, name: video_format]
  118.  
  119. CAM:
  120. variables: {key: cam, weight: 20}
  121. template: [name: standard, name: video_format]
  122.  
  123. SDTV:
  124. variables: {key: sdtv, weight: 10}
  125. template: [name: standard, name: video_format]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement