How to mute radio ads on MLB broadcasts

Ads ads ads. We don’t want to hear the ads on the radio. The voices in the ads are annoying. The ads repeat over and over. How do you get rid of the ads? You could mute the sound on your computer. But a minute later, you’ll probably forget to turn the sound back on

I wrote an Applescript that mutes the sound on my computer for 64 seconds, then it automatically turns the sound back on.

I saved this Applescript as an application in my dock. Whenever ad starts, I click the application. The ads are muted for 64 seconds. Ahhh, no more ads!

I love it.

Once the 64 seconds are over, then the sound automatically turns back on. The broadcast is back. I love this application soooo much.

Funny thing, prior to 2023, the application was previously programmed for 100 seconds, because the ads used to last 100 seconds. But since MLB sped up the game last year, I had to shorten the script to 64 seconds.

The application displays a countdown screen, so you know how much time is left. When I originally wrote this script, it was 100 seconds long, so I got creative and made each second display the Cubs season record for every season from 1908 to 2016. While you are waiting for the ads to finish, you can see a year countdown to the Cubs championship. Kinda fun. The years go by much faster now that it’s 64 seconds long.

How to silence the radio ads on MLB.tv

Requirements: If you’d like to run this application, you’ll need a Mac. And you’ll need to listen to the games on your Mac.

Here’s what you need to do to install this application. You will be making the application via Script Editor. Fancy!

1. Open the application Script Editor.

2. Click “New document”.

3. Paste this code into the new document.

(* get volume settings *)
set curVolume to get volume settings

(* mute the sound *)
if output muted of curVolume is false then
	set volume with output muted
else
	set volume without output muted
end if


-- Update the initial progress information

set secondCount to 108

set theImageCount to secondCount
set progress total steps to secondCount
set progress completed steps to 0
set progress description to "The pure bliss of silence"
set progress additional description to "Preparing to process."

repeat with a from 0 to secondCount
	
	if a = 0 then set progress description to "1908 Cubs win World Series!"
	if a = 1 then set progress description to "1909: 2nd place, 6.5 behind (104-49-3)"
	if a = 2 then set progress description to "1910: Lost World Series 4-1 to Philadelphia Athletics"
	if a = 3 then set progress description to "1911: 2nd place, 7.5 behind (92-62-2)"
	if a = 4 then set progress description to "1912: 3rd place, 11.5 behind (91-59)"
	if a = 5 then set progress description to "1913: 3rd place, 13.5 behind (88-65-3)"
	if a = 6 then set progress description to "1914: 4th place, 16.5 behind (78-76-2)"
	if a = 7 then set progress description to "1915: 4th place, 17.5 behind (73-80-2)"
	if a = 8 then set progress description to "1916: 5th place, 26.5 behind (67-86-2)"
	if a = 9 then set progress description to "1917: 5th place, 24 behind (74-80-3)"
	if a = 10 then set progress description to "1918: Lost World Series 4-2 to Boston Red Sox"
	if a = 11 then set progress description to "1919: 3rd place, 21 behind (75-65-3)"
	if a = 12 then set progress description to "1920: 5th place, 18 behind (75-79-2)"
	if a = 13 then set progress description to "1921: 7th place, 30 behind (64-89)"
	if a = 14 then set progress description to "1922: 5th place, 13 behind (80-74)"
	if a = 15 then set progress description to "1923: 4th place, 12.5 behind (83-71)"
	if a = 16 then set progress description to "1924: 5th place, 12 behind (81-72-2)"
	if a = 17 then set progress description to "1925: 8th place, 27.5 behind (68-86)"
	if a = 18 then set progress description to "1926: 4th place, 7 behind (82-72-1)"
	if a = 19 then set progress description to "1927: 4th place, 8.5 behind (85-68)"
	if a = 20 then set progress description to "1928: 3rd place, 4 behind (91-63-1)"
	if a = 21 then set progress description to "1929: Lost World Series 4-1 to Philadelphia Athletics"
	if a = 22 then set progress description to "1930: 2nd place, 2 behind (90-64)"
	if a = 23 then set progress description to "1931: 3rd place, 17 behind (84-70-4)"
	if a = 24 then set progress description to "1932: Lost World Series 4-0 to New York Yankees"
	if a = 25 then set progress description to "1933: 3rd place, 6 behind (86-68-2)"
	if a = 26 then set progress description to "1934: 3rd place, 8 behind (86-65)"
	if a = 27 then set progress description to "1935: Lost World Series 4-2 to Detroit Tigers"
	if a = 28 then set progress description to "1936: 2nd place, 5 behind (87-67-1)"
	if a = 29 then set progress description to "1937: 2nd place, 3 behind (93-61)"
	if a = 30 then set progress description to "1938: Lost World Series 4-0 to New York Yankees"
	if a = 31 then set progress description to "1939: 4th place, 13 behind (84-70)"
	if a = 32 then set progress description to "1940: 5th place, 25.5 behind (75-79-2)"
	if a = 33 then set progress description to "1941: 6th place, 30 behind (70-84-2)"
	if a = 34 then set progress description to "1942: 6th place, 38 behind (68-86)"
	if a = 35 then set progress description to "1943: 5th place, 30.5 behind (74-79-1)"
	if a = 36 then set progress description to "1944: 4th place, 30 behind (75-79-1)"
	if a = 37 then set progress description to "1945: Lost World Series 4-3 to Detroit Tigers"
	if a = 38 then set progress description to "1946: 3rd place, 14.5 behind (82-71-3)"
	if a = 39 then set progress description to "1947: 6th place, 25 behind (69-85-1)"
	if a = 40 then set progress description to "1948: 8th place, 27.5 behind (64-90-2)"
	if a = 41 then set progress description to "1949: 8th place, 36 behind (61-93-1)"
	if a = 42 then set progress description to "1950: 7th place, 26.5 behind (64-89-1)"
	if a = 43 then set progress description to "1951: 8th place, 34.5 behind (62-92)"
	if a = 44 then set progress description to "1952: 5th place, 19.5 behind (77-77-1)"
	if a = 45 then set progress description to "1953: 7th place, 40 behind (65-89-1)"
	if a = 46 then set progress description to "1954: 7th place, 33 behind (64-90-1)"
	if a = 47 then set progress description to "1955: 6th place, 26 behind (72-81-1)"
	if a = 48 then set progress description to "1956: 8th place, 33 behind (60-94)"
	if a = 49 then set progress description to "1957: 7th place, 33 behind (62-92-1)"
	if a = 50 then set progress description to "1958: 5th place, 20 behind (72-82-3)"
	if a = 51 then set progress description to "1959: 5th place, 13 behind (74-80-2)"
	if a = 52 then set progress description to "1960: 7th place, 35 behind (60-94)"
	if a = 53 then set progress description to "1961: 7th place, 29 behind (64-90-1)"
	if a = 54 then set progress description to "1962: 9th place, 42.5 behind (59-103-2)"
	if a = 55 then set progress description to "1963: 7th place, 17 behind (82-80-2)"
	if a = 56 then set progress description to "1964: 8th place, 17 behind (76-86)"
	if a = 57 then set progress description to "1965: 8th place, 25 behind (72-90)"
	if a = 58 then set progress description to "1966: 10th place, 36 behind (59-103)"
	if a = 59 then set progress description to "1967: 3rd place, 14 behind (87-74-2)"
	if a = 60 then set progress description to "1968: 3rd place, 13 behind (84-78)"
	if a = 61 then set progress description to "1969: 2nd place, 8 behind (92-70-1)"
	if a = 62 then set progress description to "1970: 2nd place, 5 behind (84-78-1)"
	if a = 63 then set progress description to "1971: 3rd place, 14 behind (83-79-1)"
	if a = 64 then set progress description to "1972: 2nd place, 11 behind (85-70)"
	if a = 65 then set progress description to "1973: 5th place, 5 behind (77-84)"
	if a = 66 then set progress description to "1974: 6th place, 22 behind (66-96-1)"
	if a = 67 then set progress description to "1975: 5th place, 17.5 behind (75-87)"
	if a = 68 then set progress description to "1976: 4th place, 26 behind (75-87)"
	if a = 69 then set progress description to "1977: 4th place, 20 behind (81-81)"
	if a = 70 then set progress description to "1978: 3rd place, 11 behind (79-83)"
	if a = 71 then set progress description to "1979: 5th place, 18 behind (80-82)"
	if a = 72 then set progress description to "1980: 6th place, 27 behind (64-98)"
	if a = 73 then set progress description to "1981: 6th place, 21.5 behind (38-65)"
	if a = 74 then set progress description to "1982: 5th place, 19 behind (73-89)"
	if a = 75 then set progress description to "1983: 5th place, 19 behind (71-91-3)"
	if a = 76 then set progress description to "1984: Lost NLCS 3-2 to San Diego Padres"
	if a = 77 then set progress description to "1985: 4th place, 23.5 behind (77-84)"
	if a = 78 then set progress description to "1986: 5th place, 37 behind (70-90)"
	if a = 79 then set progress description to "1987: 6th place, 18.5 behind (76-85-1)"
	if a = 80 then set progress description to "1988: 4th place, 24 behind (77-85)"
	if a = 81 then set progress description to "1989: Lost NLCS 4-1 to San Francisco Giants"
	if a = 82 then set progress description to "1990: 4th place, 18 behind (77-85-1)"
	if a = 83 then set progress description to "1991: 4th place, 20 behind (77-83)"
	if a = 84 then set progress description to "1992: 4th place, 18 behind (78-84)"
	if a = 85 then set progress description to "1993: 4th place, 13 behind (84-78)"
	if a = 86 then set progress description to "1994: 5th place, 16.5 behind (49-64)"
	if a = 87 then set progress description to "1995: 3rd place, 12 behind (73-71-1)"
	if a = 88 then set progress description to "1996: 4th place, 12 behind (76-86)"
	if a = 89 then set progress description to "1997: 5th place, 16 behind (68-94)"
	if a = 90 then set progress description to "1998: Lost NLDS (3-0) to Atlanta Braves. 2nd place, 12.5 behind (90-73)"
	if a = 91 then set progress description to "1999: 6th place, 30 behind (67-95)"
	if a = 92 then set progress description to "2000: 6th place, 30 behind (65-97)"
	if a = 93 then set progress description to "2001: 3rd place, 5 behind (88-74)"
	if a = 94 then set progress description to "2002: 5th place, 30 behind (67-95)"
	if a = 95 then set progress description to "2003: Lost NLCS 4-3 to Florida Marlins"
	if a = 96 then set progress description to "2004: 3rd place, 16 behind (89-73)"
	if a = 97 then set progress description to "2005: 4th place, 21 behind (79-83)"
	if a = 98 then set progress description to "2006: 6th place, 17.5 behind (66-96)"
	if a = 99 then set progress description to "2007: Lost NLDS 3-0 to Arizona Diamondbacks"
	if a = 100 then set progress description to "2008: Lost NLDS 3-0 to Los Angeles Dodgers"
	if a = 101 then set progress description to "2009: 2nd place, 7.5 behind (83-78)"
	if a = 102 then set progress description to "2010: 5th place, 16 behind (75-87)"
	if a = 103 then set progress description to "2011: 5th place, 25 behind (71-91)"
	if a = 104 then set progress description to "2012: 5th place, 36 behind (61-101)"
	if a = 105 then set progress description to "2013: 5th place, 31 behind (66-96)"
	if a = 106 then set progress description to "2014: 5th place, 17 behind (73-89)"
	if a = 107 then set progress description to "2015: Lost NLCS (4-0) to New York Mets. 3rd place, 3 behind (97-65)"
	if a = 108 then set progress description to "2016: Won World Series (4-3)"
	
	-- Update the progress detail
	set progress additional description to "Waiting " & a & " of " & "108"
	
	-- Process the image
	
	-- Increment the progress
	set progress completed steps to a
	
	-- Pause for demonstration purposes, so progress can be seen
	delay 0.6
	if a = 0 then delay 1
	if a = 108 then delay 1
	
end repeat

-- Reset the progress information
set progress total steps to 0
set progress completed steps to 0
set progress description to ""
set progress additional description to ""





(* turn sound back on *)
set volume without output muted

4) In Script Editor, go to the top menu and select: File > Export… 

5) In the save dialog box use the following settings 

• Export as: Change the name of the file to something like “volume mute 64 seconds application” (it doesn’t matter what you name it, I just like to use a different name from the source script file). 

• Where: (Pick wherever you’d like to save this on your computer)

• File Format: “Application” (screenshot)

• Options: OFF Show startup screen

• Options: OFF Stay open after un handler

• Options: ON Run-only

• Code Sign: Don’t Code Sign (I don’t even know what that is)
Here’s a screenshot of all these options

6) Click “save”

7) Now move your application to your dock. 

When the ads start, click the application. Enjoy the silence.

If you use this code, let me know.

It would be fun to know if others are using this. Or if you run into issues installing the code, contact me.

Adding other stats to the application

At some point, I’ll add other countdowns. Like, the Cub with the most HR for each year. Cub with the best ERA every year. Stuff like that. And the app would pull up the set randomly. If there’s a stat set you’d like to see, let me know.

Enjoyed this blog post?

Join the creatives who receive 57hits blog posts via the email newsletter
(Whenever it posts. Around 1-2 times per month)

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.