diff --git a/ReleasePatterns.js b/ReleasePatterns.js index c37d2a9..e9e51f8 100644 --- a/ReleasePatterns.js +++ b/ReleasePatterns.js @@ -2,7 +2,7 @@ * ReleasePatterns - All needed patterns for properly parsing releases. * * @author Wellington Estevo - * @version 1.0.4 + * @version 1.0.5 */ // Reusable vars @@ -167,6 +167,8 @@ const patterns = { 'h264': 'h\\.?264', 'h265': 'h\\.?265', 'HEVC': 'HEVC', + 'VP8': 'VP8', + 'VP9': 'VP9', 'MP4': 'MP4', 'MPEG': 'MPEG', 'MPEG2': 'MPEG2', diff --git a/package.json b/package.json index e645666..b45c4e2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "release-parser", - "version": "1.0.4", + "version": "1.0.5", "description": "A library for parsing scene release names into human readable data.", "main": "ReleaseParser.js", "bin": "cli.js", diff --git a/test/ParserTest.js b/test/ParserTest.js index 3374fa6..3300e9a 100644 --- a/test/ParserTest.js +++ b/test/ParserTest.js @@ -4,5 +4,5 @@ import ReleaseParser from '../ReleaseParser.js' -console.log( ' [Parsed] ' + ReleaseParser( 'RSP.OGG.Vorbis.Player.OCX.v2.5.0-Lz0', '0DAY' ).toString() ) -console.log( '[Expected] Title: RSP OGG Vorbis Player OCX / Group: Lz0 / Format: OGG / Version: 2.5.0 / Type: App' ) \ No newline at end of file +console.log( ' [Parsed] ' + ReleaseParser( 'Ultimate.Expedition.S01E01.Weve.All.Got.A.Screw.Loose.2160p.iNTERNAL.WEB.HDR.VP9-13', 'TV-HD' ).toString() ) +console.log( '[Expected] Show: Ultimate Expedition / Title: Weve All Got A Screw Loose / Group: 13 / Season: 1 / Episode: 1 / Flags: HDR, Internal / Format: VP9 / Resolution: 2160p / Type: TV' ) \ No newline at end of file