@@ -42,6 +42,51 @@ describe('release types', () => {
4242 [ 'should detect type before comment' , 'Enter Suicidal Angels - EP (Remastered 2021)' , new Set ( [ 'EP' ] ) ] ,
4343 [ 'should detect EP suffix' , 'Zero Distance EP' , new Set ( [ 'EP' ] ) ] ,
4444 [ 'should detect demo type' , 'Parasite Inc. (Demo)' , new Set ( [ 'Demo' ] ) ] ,
45+ // Soundtrack releases
46+ ...( [
47+ // Titles with original/official <medium> soundtrack
48+ 'The Lord of the Rings: The Return of the King (Original Motion Picture Soundtrack)' ,
49+ 'The Bodyguard - Original Soundtrack Album' ,
50+ 'Plants Vs. Zombies (Original Video Game Soundtrack)' ,
51+ 'Stardew Valley (Original Game Soundtrack)' ,
52+ 'L.A. Noire Official Soundtrack' ,
53+ 'Tarzan (Deutscher Original Film-Soundtrack)' ,
54+ 'Die Eiskönigin Völlig Unverfroren (Deutscher Original Film Soundtrack)' ,
55+ // Soundtrack from the ... <medium>
56+ 'KPop Demon Hunters (Soundtrack from the Netflix Film)' ,
57+ 'The Witcher: Season 2 (Soundtrack from the Netflix Original Series)' ,
58+ 'The White Lotus (Soundtrack from the HBO® Original Limited Series)' ,
59+ 'Inception (Music from the Motion Picture)' ,
60+ // Releases referring to score instead of soundtrack
61+ 'Fantastic Mr. Fox - Additional Music From The Original Score By Alexandre Desplat - The Abbey Road Mixes' ,
62+ 'Scott Pilgrim Vs. The World (Original Score Composed by Nigel Godrich)' ,
63+ 'F1® The Movie (Original Score By Hans Zimmer)' ,
64+ 'EUPHORIA SEASON 2 OFFICIAL SCORE (FROM THE HBO ORIGINAL SERIES)' ,
65+ 'The Bible (Official Score Soundtrack)' ,
66+ 'The Good Wife (The Official TV Score)' ,
67+ // Releases with OST abbreviation
68+ 'O.S.T. Das Boot' ,
69+ 'Alvin & The Chipmunks / OST' ,
70+ // German release titles
71+ 'Get Up (Der Original Soundtrack zum Kinofilm)' ,
72+ 'Ein Mädchen namens Willow - Soundtrack zum Film' ,
73+ 'Das Boot (Soundtrack zur TV Serie, zweite Staffel)' ,
74+ // Swedish release titles
75+ 'Fucking Åmål - Musiken från filmen' ,
76+ 'Fejkpatient (Musik från TV-serien)' ,
77+ 'Kärlek Fårever (Soundtrack till Netflix-filmen)' ,
78+ // Norwegian release titles
79+ 'Kvitebjørn (Musikken fra filmen)' ,
80+ 'Døden på Oslo S (Musikken fra teaterforestillingen)' ,
81+ // Musical releases
82+ 'The Lion King: Original Broadway Cast Recording' ,
83+ ] . map ( (
84+ title ,
85+ ) : FunctionSpec < typeof guessTypesFromTitle > [ number ] => [
86+ 'should detect soundtrack type' ,
87+ title ,
88+ new Set ( [ 'Soundtrack' ] ) ,
89+ ] ) ) ,
4590 ] ;
4691
4792 describe ( 'exact case match' , ( ) => {
0 commit comments