Skip to content

Commit bdc9e0e

Browse files
committed
#1776 the word soundtrack usually means music
1 parent c0af89c commit bdc9e0e

File tree

1 file changed

+1
-1
lines changed
  • js&css/web-accessible/www.youtube.com

1 file changed

+1
-1
lines changed

js&css/web-accessible/www.youtube.com/player.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ ImprovedTube.playerPlaybackSpeed = function () {
7979
if (this.storage.player_dont_speed_education === true && category === 'Education') {return;}
8080
if (this.storage.player_force_speed_on_music === true) {player.setPlaybackRate(Number(option)); video.playbackRate = Number(option); return;}
8181
let titleAndKeywords = document.getElementsByTagName('meta')?.title?.content + " " + document.getElementsByTagName('meta')?.keywords?.content || false;
82-
let musicRegexMatch = /official (music )?video|lyrics|cover[\)\]]|[\(\[]cover|cover version|karaok|(sing|play)[- ]?along|OK|OK|الكاريوكي|караоке||/i.test(titleAndKeywords);
82+
let musicRegexMatch = /official (music )?video|lyrics|cover[\)\]]|[\(\[]cover|cover version|soundtrack|karaok|(sing|play)[- ]?along|OK|OK|الكاريوكي|караоке||/i.test(titleAndKeywords);
8383
let notMusicRegexMatch = /do[ck]u|interv[iyj]|back[- ]?stage||entrevista||||wawancara|مقابلة|интервью|entretien| ||||وثائقي|документальный/i.test(titleAndKeywords); // (Tags/keywords shouldnt lie & very few songs titles might have these words)
8484
let duration = document.querySelector('meta[itemprop=duration]')?.content || false; // Example: PT1H20M30S
8585
if (duration) {

0 commit comments

Comments
 (0)