How breaks work
Checked against version 0.1.0 · Updated
With breaks on, every program starts at :00, :15, :30, or :45. Spots from your break library fill the time between.
With commercial breaks on, SpiteTV for Apple TV starts every program on the quarter hour: :00, :15, :30, or :45. The time between the end of one program and the start of the next fills with spots from your break library. A short card covers whatever time is left. With breaks off, programs run back to back at their true start times, such as 8:31.
This page describes how the app is built to schedule breaks. Breaks need Premium and a break library: see Set up commercial breaks.
The quarter hour
- Each program gets a slot: its length rounded up to the next 15 minutes. A 22-minute episode gets a 30-minute slot.
- The program plays from the start of its slot.
- The rest of the slot is the break. The 22-minute episode leaves an 8-minute break.
- A program that ends exactly on a quarter hour gets no break.
There are no breaks inside a program. Breaks always come after one.
Filling the break
- Spots are picked at random until about 2 minutes are left.
- For the last 2 minutes the app chooses the closest fit from up to 16 spots.
- If over a minute would still be empty, spots can repeat.
- One card covers what is left. At 5 seconds or more it is a "coming up next" card with the next title. Under 5 seconds it is the channel's ident.
A spot that would end more than half a second past the quarter hour does not start. A long spot is cut at the quarter hour. A program never starts early.
Which spots a channel plays
- Ratings: no channel plays spots rated TV-MA, R, NC-17, or X, except the After Dark channels.
- Kids channels: Kids and Cartoons channels play only spots rated TV-Y, TV-Y7, TV-G, or G, and never "Beer & Alcohol". About 70% of each kids break comes from "Toys & Games", "Video Games", and "Kids Food".
- Era: spots close to the program's year come first: within 2 years, then 5, then any year.
- Decade channels use spots from their own years when you have them.
- Holiday channels fill up to half of each break with that holiday's spots.
- Holiday spots elsewhere play only in season. For example, Christmas spots play on other channels from Nov 1 to Dec 31. See Tagging spots.
- Kids mode filters the spots before any of these rules.
These rules use your tags. When your library has no data for a rule, the rule is skipped.
Spacing and sameness
A break avoids every spot from the 2 breaks before it, while the library allows. Breaks follow the same schedule logic as programs, so every Apple TV on the same library shows the same spots at the same time.
On screen
- The guide never draws breaks as cells. A break joins the program before it.
- The banner and the mini strip show "Commercial break" during one.
- The guide preview never plays a break.
After a program fails
If a program fails to play, spots fill the rest of its scheduled time, in blocks of up to 15 minutes with 60-second "coming up next" cards between them. The channel stays on schedule. With breaks off, the next program starts at once and the channel runs ahead of its schedule.
If it does not work
- A channel has no breaks. Its rules leave no spot in your library. The channel runs back to back.
- The same spots keep playing. The library is small for that channel's rules. Add more spots to the break library.
- Kids channels play the same few spots. Few spots carry a kids rating. Rate more spots in Plex.
Related
Was something wrong? Email support and we fix the page.
