diff --git a/src/Logchecker.php b/src/Logchecker.php index 860de1b..a036850 100644 --- a/src/Logchecker.php +++ b/src/Logchecker.php @@ -1775,7 +1775,7 @@ class Logchecker $this->account('Gap handling was not detected', 10); } elseif (strpos($Matches[2], 'Appended to next track') !== false) { $Class = 'bad'; - $this->account('Gap handling should be appended to previous track'); + $this->account('Gap handling should be appended to previous track', 10); } elseif (strpos($Matches[2], 'Appended to previous track') !== false) { $Class = 'good'; } else { diff --git a/tests/logs/eac/details/en_7.json b/tests/logs/eac/details/en_7.json new file mode 100644 index 0000000..05cb770 --- /dev/null +++ b/tests/logs/eac/details/en_7.json @@ -0,0 +1,9 @@ +{ + "ripper": "EAC", + "version": "1.0 beta 3", + "language": "en", + "combined": false, + "score": 100, + "checksum": "checksum_ok", + "details": [] +} diff --git a/tests/logs/eac/details/ru_1.json b/tests/logs/eac/details/ru_1.json new file mode 100644 index 0000000..3020de6 --- /dev/null +++ b/tests/logs/eac/details/ru_1.json @@ -0,0 +1,12 @@ +{ + "ripper": "EAC", + "version": "1.5", + "language": "ru", + "combined": false, + "score": 90, + "checksum": "checksum_ok", + "details": [ + "[Notice] Translated log from Русский (Russian) to English.", + "Gap handling should be appended to previous track (-10 points)" + ] +} diff --git a/tests/logs/eac/html/en_7.log b/tests/logs/eac/html/en_7.log new file mode 100644 index 0000000..0130359 --- /dev/null +++ b/tests/logs/eac/html/en_7.log @@ -0,0 +1,425 @@ +Exact Audio Copy V1.0 beta 3 from 29. August 2011 + +EAC extraction logfile from 20. July 2015, 13:43 + +Fred Buscaglione / A qualcuno piace Fred (cd2) + +Used Drive : Optiarc DVD RW AD-7241S Adapter: 1 ID: 0 + +Read mode : Secure +Utilize accurate stream : Yes +Defeat audio cache : Yes +Make use of C2 pointers : No + +Read offset correction : 48 +Overread into Lead-In and Lead-Out : No +Fill up missing offset samples with silence : Yes +Delete leading and trailing silent blocks : No +Null samples used in CRC calculations : Yes +Used interface : Native Win32 interface for Win NT & 2000 +Gap handling : Appended to previous track + +Used output format : User Defined Encoder +Selected bitrate : 1024 kBit/s +Quality : High +Add ID3 tag : No +Command line compressor : C:\Program Files (x86)\FLAC\flac.exe +Additional command line options : -8 -V -T "ARTIST=%artist%" -T "TITLE=%title%" -T "ALBUM=%albumtitle%" -T "DATE=%year%" -T +"TRACKNUMBER=%tracknr%" -T "GENRE=%genre%" -T "PERFORMER=%albuminterpret%" -T "COMPOSER=%composer%" %haslyrics%--tag-from-file=LYRICS="%lyricsfile%"%haslyrics% -T "ALBUMARTIST=%albumartist%" -T "DISCNUMBER=%cdnumber%" -T "TOTALDISCS=%totalcds%" -T "TOTALTRACKS=%numtracks%" -T "COMMENT=%comment%" %source% -o %dest% + + +TOC of the extracted CD + + Track | Start | Length | Start sector | End sector + --------------------------------------------------------- + 1 | 0:00.00 | 2:54.35 | 0 | 13084 + 2 | 2:54.35 | 2:36.42 | 13085 | 24826 + 3 | 5:31.02 | 2:30.12 | 24827 | 36088 + 4 | 8:01.14 | 1:58.00 | 36089 | 44938 + 5 | 9:59.14 | 2:21.62 | 44939 | 55575 + 6 | 12:21.01 | 3:12.37 | 55576 | 70012 + 7 | 15:33.38 | 2:18.12 | 70013 | 80374 + 8 | 17:51.50 | 2:08.22 | 80375 | 89996 + 9 | 19:59.72 | 3:09.59 | 89997 | 104230 + 10 | 23:09.56 | 2:11.43 | 104231 | 114098 + 11 | 25:21.24 | 3:05.10 | 114099 | 127983 + 12 | 28:26.34 | 2:13.72 | 127984 | 138030 + 13 | 30:40.31 | 2:56.62 | 138031 | 151292 + 14 | 33:37.18 | 2:09.24 | 151293 | 160991 + 15 | 35:46.42 | 2:24.69 | 160992 | 171860 + 16 | 38:11.36 | 3:17.48 | 171861 | 186683 + 17 | 41:29.09 | 2:22.00 | 186684 | 197333 + 18 | 43:51.09 | 2:49.39 | 197334 | 210047 + 19 | 46:40.48 | 2:46.37 | 210048 | 222534 + 20 | 49:27.10 | 2:38.26 | 222535 | 234410 + 21 | 52:05.36 | 2:44.26 | 234411 | 246736 + 22 | 54:49.62 | 2:31.44 | 246737 | 258105 + 23 | 57:21.31 | 2:41.49 | 258106 | 270229 + 24 | 60:03.05 | 2:33.61 | 270230 | 281765 + 25 | 62:36.66 | 2:19.30 | 281766 | 292220 + + +Track 1 + + Filename E:\FLAC\01 - Eri piccola così.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 2.4 X + Track quality 100.0 % + Test CRC 15987E0B + Copy CRC 15987E0B + Cannot be verified as accurate (confidence 4) [811E0F63], AccurateRip returned [82B5D51E] (AR v2) + Copy OK + +Track 2 + + Filename E:\FLAC\02 - Sgancia e pedala.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 2.5 X + Track quality 100.0 % + Test CRC 4A95EE02 + Copy CRC 4A95EE02 + Cannot be verified as accurate (confidence 4) [6616FE5D], AccurateRip returned [6CE8EF7E] (AR v2) + Copy OK + +Track 3 + + Filename E:\FLAC\03 - Fantastica.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 2.6 X + Track quality 100.0 % + Test CRC 316557A4 + Copy CRC 316557A4 + Cannot be verified as accurate (confidence 4) [46D8040D], AccurateRip returned [B633CDE1] (AR v2) + Copy OK + +Track 4 + + Filename E:\FLAC\04 - Tu che ne dici.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 2.6 X + Track quality 100.0 % + Test CRC B75F3A1F + Copy CRC B75F3A1F + Cannot be verified as accurate (confidence 4) [8B53C35B], AccurateRip returned [C2E47507] (AR v2) + Copy OK + +Track 5 + + Filename E:\FLAC\05 - Juke box.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 2.8 X + Track quality 100.0 % + Test CRC F62743B6 + Copy CRC F62743B6 + Cannot be verified as accurate (confidence 4) [14A1366E], AccurateRip returned [B1447BCF] (AR v2) + Copy OK + +Track 6 + + Filename E:\FLAC\06 - Lasciati baciare.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 3.1 X + Track quality 100.0 % + Test CRC 0D08A045 + Copy CRC 0D08A045 + Cannot be verified as accurate (confidence 4) [FD361A95], AccurateRip returned [41CA3901] (AR v2) + Copy OK + +Track 7 + + Filename E:\FLAC\07 - Boccuccia di rosa.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 3.0 X + Track quality 100.0 % + Test CRC 6EDFD51D + Copy CRC 6EDFD51D + Cannot be verified as accurate (confidence 4) [7B6C77DE], AccurateRip returned [C0F766F5] (AR v2) + Copy OK + +Track 8 + + Filename E:\FLAC\08 - Tequila.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 3.0 X + Track quality 100.0 % + Test CRC 9D7BDCA3 + Copy CRC 9D7BDCA3 + Cannot be verified as accurate (confidence 4) [CDD9E371], AccurateRip returned [C18F2197] (AR v2) + Copy OK + +Track 9 + + Filename E:\FLAC\09 - Sei chic.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 3.4 X + Track quality 100.0 % + Test CRC AC7C88B6 + Copy CRC AC7C88B6 + Cannot be verified as accurate (confidence 4) [816FBE12], AccurateRip returned [B4999DE5] (AR v2) + Copy OK + +Track 10 + + Filename E:\FLAC\10 - Noi duri.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 3.3 X + Track quality 100.0 % + Test CRC 6D8C3679 + Copy CRC 6D8C3679 + Cannot be verified as accurate (confidence 4) [85A0D5AE], AccurateRip returned [B18E224E] (AR v2) + Copy OK + +Track 11 + + Filename E:\FLAC\11 - Love in Portofino.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 3.6 X + Track quality 100.0 % + Test CRC BB494D40 + Copy CRC BB494D40 + Cannot be verified as accurate (confidence 4) [B6656BF6], AccurateRip returned [0AEAC2CF] (AR v2) + Copy OK + +Track 12 + + Filename E:\FLAC\12 - Sofisticata.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 3.5 X + Track quality 100.0 % + Test CRC 7500E743 + Copy CRC 7500E743 + Cannot be verified as accurate (confidence 4) [929C22CD], AccurateRip returned [5A6BA6E3] (AR v2) + Copy OK + +Track 13 + + Filename E:\FLAC\13 - Nel blu dipinto di blu.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 3.7 X + Track quality 100.0 % + Test CRC D5FB5DC3 + Copy CRC D5FB5DC3 + Cannot be verified as accurate (confidence 4) [01F73FA6], AccurateRip returned [976E7B60] (AR v2) + Copy OK + +Track 14 + + Filename E:\FLAC\14 - Che notte.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 3.6 X + Track quality 100.0 % + Test CRC BFF65A11 + Copy CRC BFF65A11 + Cannot be verified as accurate (confidence 4) [95367FB2], AccurateRip returned [FD143A7D] (AR v2) + Copy OK + +Track 15 + + Filename E:\FLAC\15 - Che bambola.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 3.8 X + Track quality 100.0 % + Test CRC 47DB3A86 + Copy CRC 47DB3A86 + Cannot be verified as accurate (confidence 4) [076D8554], AccurateRip returned [52D0681C] (AR v2) + Copy OK + +Track 16 + + Filename E:\FLAC\16 - Ogni notte così.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 4.2 X + Track quality 100.0 % + Test CRC 85FD8E4F + Copy CRC 85FD8E4F + Cannot be verified as accurate (confidence 4) [9FC2D862], AccurateRip returned [D11166F4] (AR v2) + Copy OK + +Track 17 + + Filename E:\FLAC\17 - Giacomino.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 3.9 X + Track quality 100.0 % + Test CRC FF35BF66 + Copy CRC FF35BF66 + Cannot be verified as accurate (confidence 4) [954D7CC2], AccurateRip returned [30940402] (AR v2) + Copy OK + +Track 18 + + Filename E:\FLAC\18 - Giorgio (del Lago Maggiore).wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 4.2 X + Track quality 100.0 % + Test CRC 4DA03E7C + Copy CRC 4DA03E7C + Cannot be verified as accurate (confidence 4) [1D69B750], AccurateRip returned [CADEEFAD] (AR v2) + Copy OK + +Track 19 + + Filename E:\FLAC\19 - Lo stregone (Witch doctor).wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 4.3 X + Track quality 100.0 % + Test CRC 23AF8811 + Copy CRC 23AF8811 + Cannot be verified as accurate (confidence 4) [950B4063], AccurateRip returned [2AEB4BB2] (AR v2) + Copy OK + +Track 20 + + Filename E:\FLAC\20 - Buonasera (signorina).wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 3.6 X + Track quality 99.9 % + Test CRC A7F928F4 + Copy CRC A7F928F4 + Cannot be verified as accurate (confidence 4) [9C691163], AccurateRip returned [565C47D3] (AR v2) + Copy OK + +Track 21 + + Filename E:\FLAC\21 - Whisky facile.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 3.7 X + Track quality 99.9 % + Test CRC 05F7AE87 + Copy CRC 05F7AE87 + Cannot be verified as accurate (confidence 4) [6651729A], AccurateRip returned [2927F6B4] (AR v2) + Copy OK + +Track 22 + + Filename E:\FLAC\22 - Le bambole d'Italia.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 4.4 X + Track quality 100.0 % + Test CRC 2D65E982 + Copy CRC 2D65E982 + Cannot be verified as accurate (confidence 4) [E2E4744C], AccurateRip returned [63A774E3] (AR v2) + Copy OK + +Track 23 + + Filename E:\FLAC\23 - La tazza di tè.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 3.8 X + Track quality 99.9 % + Test CRC B5D24246 + Copy CRC B5D24246 + Cannot be verified as accurate (confidence 4) [3FCE5FE4], AccurateRip returned [3E45B612] (AR v2) + Copy OK + +Track 24 + + Filename E:\FLAC\24 - Cocco bello.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 4.6 X + Track quality 100.0 % + Test CRC B797FBCA + Copy CRC B797FBCA + Cannot be verified as accurate (confidence 4) [A9F05E80], AccurateRip returned [005463A0] (AR v2) + Copy OK + +Track 25 + + Filename E:\FLAC\25 - Armen's theme.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 4.6 X + Track quality 100.0 % + Test CRC F3C9DFB5 + Copy CRC F3C9DFB5 + Cannot be verified as accurate (confidence 4) [F31A0A47], AccurateRip returned [414EB39F] (AR v2) + Copy OK + + +No tracks could be verified as accurate +You may have a different pressing from the one(s) in the database + +No errors occurred + +End of status report + +---- CUETools DB Plugin V2.1.3 + +[CTDB TOCID: 5XkX.09.ovc2q64BSzk0tVJAtU8-] found, Submit result: 5XkX.09.ovc2q64BSzk0tVJAtU8- has been confirmed +[1cf69d9c] (6/6) Accurately ripped + +==== Log checksum 8D73F0AE52AE13C6595F75382F0E96D40F98BF3F5047EA70F55E055FF25E6EFE ==== \ No newline at end of file diff --git a/tests/logs/eac/html/ru_1.log b/tests/logs/eac/html/ru_1.log new file mode 100644 index 0000000..a185fd7 --- /dev/null +++ b/tests/logs/eac/html/ru_1.log @@ -0,0 +1,178 @@ +Exact Audio Copy V1.5 from 20. February 2020 + +EAC extraction logfile from 26. June 2020, 17:06 + +Tiësto / In My Memory + +Used Drive : ASUS DRW-24D5MT Adapter: 1 ID: 0 + +Read mode : Secure +Utilize accurate stream : Yes +Defeat audio cache : Yes +Make use of C2 pointers : No + +Read offset correction : 6 +Overread into Lead-In and Lead-Out : No +Fill up missing offset samples with silence : Yes +Delete leading and trailing silent blocks : No +Null samples used in CRC calculations : Yes +Used interface : Native Win32 interface for Win NT & 2000 +Gap handling : Appended to next track + +Used output format : User Defined Encoder +Selected bitrate : 1024 kBit/s +Quality : High +Add ID3 tag : No +Command line compressor : C:\Program Files (x86)\Exact Audio Copy\Flac\flac.exe +Additional command line options : -5 -V -T "ARTIST=%artist%" -T "TITLE=%title%" -T "ALBUM=%albumtitle%" -T "DATE=%year%" -T +"TRACKNUMBER=%tracknr%/%numtracks%" -T "GENRE=%genre%" -T "COMMENT=%comment%" %source% -o %dest% + + +TOC of the extracted CD + + Track | Start | Length | Start sector | End sector + --------------------------------------------------------------------- + 1 | 0:00.00 | 11:05.43 | 0 | 49917 + 2 | 11:05.43 | 5:00.48 | 49918 | 72465 + 3 | 16:06.16 | 6:43.67 | 72466 | 102757 + 4 | 22:50.08 | 6:05.71 | 102758 | 130203 + 5 | 28:56.04 | 9:06.53 | 130204 | 171206 + 6 | 38:02.57 | 5:09.59 | 171207 | 194440 + 7 | 43:12.41 | 9:03.36 | 194441 | 235201 + 8 | 52:16.02 | 6:45.69 | 235202 | 265645 + 9 | 59:01.71 | 10:22.17 | 265646 | 312312 + 10 | 69:24.13 | 9:09.08 | 312313 | 353495 + + +Track 1 + + Filename C:\Users\vital\Music\01 Magik Journey.wav + + Pre-gap length 0:00:02.00 + + Peak level 100.0 % + Extraction speed 5.6 X + Track quality 100.0 % + Test CRC 05EB32AA + Copy CRC 05EB32AA + Cannot be verified as accurate (confidence 3) [35C531D3], AccurateRip returned [8EA0A87F] (AR v2) + Copy OK + +Track 2 + + Filename C:\Users\vital\Music\02 Close to You.wav + + Peak level 100.0 % + Extraction speed 6.1 X + Track quality 100.0 % + Test CRC 85D454C1 + Copy CRC 85D454C1 + Cannot be verified as accurate (confidence 3) [BAA34EA5], AccurateRip returned [9925B4CE] (AR v2) + Copy OK + +Track 3 + + Filename C:\Users\vital\Music\03 Dallas 4 PM.wav + + Peak level 100.0 % + Extraction speed 6.8 X + Track quality 100.0 % + Test CRC A42DCB78 + Copy CRC A42DCB78 + Accurately ripped (confidence 2) [2426BFF5] (AR v1) + Copy OK + +Track 4 + + Filename C:\Users\vital\Music\04 In My Memory.wav + + Peak level 100.0 % + Extraction speed 7.3 X + Track quality 100.0 % + Test CRC 0559D827 + Copy CRC 0559D827 + Cannot be verified as accurate (confidence 3) [223173C2], AccurateRip returned [BE82BF1E] (AR v2) + Copy OK + +Track 5 + + Filename C:\Users\vital\Music\05 Obsession.wav + + Peak level 100.0 % + Extraction speed 8.1 X + Track quality 100.0 % + Test CRC DFFFAD51 + Copy CRC DFFFAD51 + Cannot be verified as accurate (confidence 3) [A2FB78C2], AccurateRip returned [83029EEB] (AR v2) + Copy OK + +Track 6 + + Filename C:\Users\vital\Music\06 Battleship Grey.wav + + Peak level 100.0 % + Extraction speed 8.1 X + Track quality 100.0 % + Test CRC E1E66F4F + Copy CRC E1E66F4F + Cannot be verified as accurate (confidence 3) [D4AB02D0], AccurateRip returned [CB8EA489] (AR v2) + Copy OK + +Track 7 + + Filename C:\Users\vital\Music\07 Flight 643.wav + + Peak level 100.0 % + Extraction speed 8.5 X + Track quality 99.9 % + Test CRC C8780705 + Copy CRC C8780705 + Cannot be verified as accurate (confidence 3) [DA6B2B0A], AccurateRip returned [5F72ADEF] (AR v2) + Copy OK + +Track 8 + + Filename C:\Users\vital\Music\08 Lethal Industry.wav + + Peak level 100.0 % + Extraction speed 9.3 X + Track quality 100.0 % + Test CRC 7EA7A19F + Copy CRC 7EA7A19F + Cannot be verified as accurate (confidence 3) [6A0A4FEF], AccurateRip returned [F975A142] (AR v2) + Copy OK + +Track 9 + + Filename C:\Users\vital\Music\09 Suburban Train.wav + + Peak level 100.0 % + Extraction speed 10.1 X + Track quality 100.0 % + Test CRC D994A104 + Copy CRC D994A104 + Cannot be verified as accurate (confidence 3) [D0E0F886], AccurateRip returned [7CFC0BA5] (AR v2) + Copy OK + +Track 10 + + Filename C:\Users\vital\Music\10 In My Memory (Gabriel and Dresden Elephant Memory vocal).wav + + Peak level 100.0 % + Extraction speed 9.8 X + Track quality 99.9 % + Test CRC A824CFD1 + Copy CRC A824CFD1 + Cannot be verified as accurate (confidence 3) [D1AF6C76], AccurateRip returned [1386AF72] (AR v2) + Copy OK + + + 1 Trackи скопированы точно + 9 Trackи не удалось проверить на точность + +Some tracks could not be verified as accurate + +No errors occurred + +End of status report +==== Log checksum 34B5DC90918816DB245B991607949DBE41863E5FA9B8EC15E93052AC5D4D5F48 ==== \ No newline at end of file diff --git a/tests/logs/eac/originals/ru_1.log b/tests/logs/eac/originals/ru_1.log new file mode 100644 index 0000000..01ccdb3 Binary files /dev/null and b/tests/logs/eac/originals/ru_1.log differ