You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many things have changed in the torrent world in the last 7 years. I ran into issue #96 and applied ManuelOverdijk's regex patch but then I saw that the parsing had many more shortcomings. I work with RARBG formatted torrents only so YMMV. I am no regex ninja but here are the changes I've made to the patterns in parts/common,js:
Modified:
// ManuelOverdijk's modif
year: /([[(]?((?:19[0-9]|20[0123])[0-9])[])]?)/,
// switched WEB and WEBRip
// watch it, long ass line
quality: /(?:PPV.)?[HP]DTV|(?:HD)?CAM|B[rR]Rip|WEBRip|WEB|TS|(?:PPV )?WEB-?DL(?: DVDRip)?|H[dD]Rip|DVDRip|DVDRiP|DVDRIP|CamRip|W[EB]B[rR]ip|[Bb]lu[Rr]ay|DvDScr|hdtv/,
// added x265
codec: /xvid|x264|x265|h.?264/i,
// added DD2.0
audio: /MP3|DD5.?1|DD2.?0|Dual[- ]Audio|LiNE|DTS|AAC(?:.?2.0)?|FLAC(?:.?2.0)?|AC3(?:.5.1)?/,
language: /rus.eng|FRENCH|RUSSIAN|SPANISH|JAPANESE|ENGLISH|KOREAN|PORTUGUESE|SWEDISH|VIETNAMESE|FINNISH|GERMAN|CHINESE|DANISH|ITALIAN/,
Added:
// CRITERION is not really a platform but I don't feel like adding a new field
platform: /DSNP|AMZN|NF|HMAX|CRITERION/,
// probably missing many languages sub
sub: /ENGSUB/,
Hope this helps someone.
The text was updated successfully, but these errors were encountered:
Many things have changed in the torrent world in the last 7 years. I ran into issue #96 and applied ManuelOverdijk's regex patch but then I saw that the parsing had many more shortcomings. I work with RARBG formatted torrents only so YMMV. I am no regex ninja but here are the changes I've made to the patterns in parts/common,js:
Modified:
// ManuelOverdijk's modif
year: /([[(]?((?:19[0-9]|20[0123])[0-9])[])]?)/,
// switched WEB and WEBRip
// watch it, long ass line
quality: /(?:PPV.)?[HP]DTV|(?:HD)?CAM|B[rR]Rip|WEBRip|WEB|TS|(?:PPV )?WEB-?DL(?: DVDRip)?|H[dD]Rip|DVDRip|DVDRiP|DVDRIP|CamRip|W[EB]B[rR]ip|[Bb]lu[Rr]ay|DvDScr|hdtv/,
// added x265
codec: /xvid|x264|x265|h.?264/i,
// added DD2.0
audio: /MP3|DD5.?1|DD2.?0|Dual[- ]Audio|LiNE|DTS|AAC(?:.?2.0)?|FLAC(?:.?2.0)?|AC3(?:.5.1)?/,
language: /rus.eng|FRENCH|RUSSIAN|SPANISH|JAPANESE|ENGLISH|KOREAN|PORTUGUESE|SWEDISH|VIETNAMESE|FINNISH|GERMAN|CHINESE|DANISH|ITALIAN/,
Added:
// CRITERION is not really a platform but I don't feel like adding a new field
platform: /DSNP|AMZN|NF|HMAX|CRITERION/,
// probably missing many languages sub
sub: /ENGSUB/,
Hope this helps someone.
The text was updated successfully, but these errors were encountered: