Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
VGSources
Node-RED

How to Schedule a YouTube Playlist Rotation with Node-RED

Node-RED can trigger playlist rotation on a schedule, while authenticated YouTube Data API calls perform the insertions and deletions. Here’s how to plan the rule, handle IDs and OAuth, and avoid common failures.

By VGSources Team 5 min read

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use Node-RED to run a time-zone-aware schedule, then call YouTube’s Data API to add or remove playlist videos. Node-RED handles when the rotation runs; YouTube’s API performs the playlist changes. Before building the flow, decide which videos should be added or removed at each trigger—there is no universal rotation policy.

Choose the rotation rule and schedule

First define what “rotation” means for your channel. For example, you might add a selected video at a chosen local time, remove an older playlist entry, or perform both operations. Decide which video is selected, what happens when the playlist is empty or already contains it, and whether the playlist should have a maximum length. These are policy choices your flow must implement.

For scheduling, the community package node-red-contrib-cron-plus documents cron and date schedules, dynamic schedule control, time-zone support, and persistent schedule state. Its Flow Library listing identifies version 3.2.0; package versions and behavior can change, so check the current documentation before depending on a feature.

Set the intended time zone

Choose UTC or a region/area time zone deliberately. If the rotation should follow local wall-clock time, use the relevant regional zone rather than assuming a fixed UTC offset. Cron-plus documents that a repeated local time during a daylight-saving transition fires once; if a forward clock change skips the scheduled time, the schedule runs as soon as possible after the transition.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Choose how the flow will change the playlist

You have two implementation routes: use a community YouTube node only if you verify it supports the write operations you need, or call the YouTube Data API from Node-RED with authenticated HTTP requests. The node-red-node-youtube Flow Library listing identifies version 0.0.5 and documents nodes for listing channels, playlists, and playlist items. Its public description does not establish playlist write support, so do not treat it as a confirmed end-to-end rotation solution.

Route What to verify or build
Community YouTube node Confirm that the installed version supports the exact insert or delete operation, OAuth setup and renewal, useful error reporting, and maintenance suitable for your use. The version 0.0.5 listing documents listing nodes, not verified write behavior.
Direct YouTube Data API calls Build authenticated HTTP requests in the flow, manage OAuth authorization and token renewal, and handle request bodies, responses, and errors. The API documents the playlist write operations and their required identifiers.

Build the scheduled rotation flow

  1. Create and configure a schedule. In Node-RED, install and configure cron-plus, then create a cron or date schedule for the rotation. Set the schedule’s time zone and, if you rely on state surviving a restart, configure persistent schedule state according to the package documentation.
  2. Authorize API access. Set up OAuth for the Google account that can edit the target playlist. Use an allowed OAuth scope listed in the API reference for the operation you plan to perform. A schedule trigger by itself does not grant permission to edit YouTube data.
  3. List the current playlist items. At each trigger, query the target playlist’s items and retain the destination playlist ID and each returned playlist-item ID. Decide from the results which video to add or which playlist entry to remove.
  4. Insert a video when the policy calls for it. Call playlistItems.insert with the destination playlist ID and the video resource ID in the request body. The video ID is not the playlist-item ID.
  5. Delete an entry when the policy calls for it. Call playlistItems.delete using the playlist-item ID returned for the entry you intend to remove—not the video ID.
  6. Record results and stop on ambiguous failures. Log the scheduled time, operation, target identifiers, response status, and error details. If a request times out or returns an ambiguous error, check the playlist state before retrying; blind repeated writes can produce duplicates or remove the wrong entry.

OAuth, identifiers, and API limits to account for

Use the right identifier for each operation

An insert needs the destination playlist ID and the video resource ID in its request body. A delete needs the playlist-item ID, which identifies the particular entry in the playlist and differs from the video ID. Preserve both kinds of IDs in your flow instead of treating them as interchangeable.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Authorize writes and handle API errors

The YouTube API references for insert and delete list the OAuth scopes allowed for those calls. The API can return authorization failures, missing IDs or resources, duplicate playlist videos, unsupported playlist operations, or a maximum-item condition. Branch on the response and log enough information to diagnose the failure; do not assume every scheduled trigger succeeded.

Budget quota for scheduled writes

Google’s YouTube Data API documentation, accessed October 3, 2026, lists a cost of 50 quota units per playlistItems.insert call and 50 per playlistItems.delete call. The API guide reports a default allowance of 10,000 units per day combined for other endpoints and says default quota may change. Check the current API reference and your project’s quota console before setting a frequent schedule; listing playlist contents and other API calls also affect quota.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Test the flow and troubleshoot failures

Before relying on a recurring schedule, test with a playlist you can safely edit. Confirm the trigger’s time and time zone, inspect the list response, and verify that an insert or delete changes only the intended entry. Check the playlist again after any uncertain response before retrying.

  • The schedule fires at the wrong time: Check the cron expression and the configured time zone. A fixed UTC schedule will not necessarily stay at the same local time when daylight-saving rules change.
  • The schedule does not survive a restart: Check the cron-plus persistent schedule configuration and the Node-RED host’s persistence setup.
  • The API reports an authorization failure: Confirm that OAuth was completed for an account with permission to edit the playlist, that the token is valid, and that the selected scope allows the write operation.
  • An insert adds an unexpected duplicate or fails: Re-check the playlist before retrying and implement the duplicate policy you chose. The API documents duplicate-video errors; do not blindly repeat an insert after an unclear response.
  • A delete fails or targets the wrong item: Confirm that the request uses the playlist-item ID for the specific entry, not the video ID, and that the item still exists in the intended playlist.
  • The API reports a missing resource, unsupported operation, or maximum-item condition: Inspect the response and current playlist state, then adjust the chosen rotation rule or target before resuming.
  • The flow reaches quota limits: Reduce unnecessary reads or write frequency and check current project quota details. Scheduled retries can add calls without fixing the underlying error.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Keep playlist rotation separate from livestreaming

This flow schedules changes to a YouTube playlist; it does not by itself keep a livestream running. If your separate goal is to loop uploaded videos as a continuous YouTube live stream, StreamNeo is a cloud option: upload a recording or build a playlist, add your YouTube stream key once, and go live. It plays uploaded videos to YouTube, not from a camera.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

Or let it run in the cloud

With StreamNeo, nothing has to stay on at home; uploaded video streams at its original quality up to 4K 60fps for one flat price per slot. It automatically recovers if YouTube drops the stream. The first day is free with no card, and the Monthly plan is $9.99 per month.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

Start your free StreamNeo day.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

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

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from Patch Notes

Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.