A Windows application written in C# using .NET Framework 4.5. Created for my friend Yvonne.
This application is used to monitor a Google Chrome tab which has a YouTube video open, and writes the title of the video to a .txt file on your computer at an interval - by default, this is done every 5 seconds. The interval and output path and filename are configurable.
You can then create an overlay in a streaming program such as Streamlabs OBS which shows the contents of the text file. This allows you to have music playing on YouTube in the background on your computer, and have the title of the video shown on-screen on your Twitch, YouTube, etc stream. Instructions on how to configure StreamLabs OBS to do this are below if needed.
Visit the Releases page to download the latest version.
All you need to do is simply unzip the application into its own folder and run YoutubeTitleForYvvone.exe
. No installation process is required.
The application requires the .NET Framework 4.6.2 runtime to be installed on your computer. You should already have this installed on your computer from Windows Updates if you are using Windows 8 or above. In case you do need to install it manually, you can download it here: https://dotnet.microsoft.com/en-us/download/dotnet-framework/thank-you/net462-offline-installer
The application is straight forward to use. Instructions are also provided within the application, but the steps are provided here.
nowplaying.txt
within the application's directory by default.If you don't get any YouTube tabs in the results in step 2 above, try clicking the "Options" button and check to make sure the specified "Chrome Language" matches the display language of your Google Chrome. The application will attempt to automatically detect the language based on your Windows language, but if the setting is incorrect, then choose the correct option and try again.
Click the "Options" button in the application to configure the interval and output filename.
The tab title is automatically cleaned to get just the video title. It will attempt to remove:
Once you have selected the tab as per step #4 above, you can now minimize or make the Google Chrome window full screen and the application will still work. This means that you could start a YouTube playlist and minimize the window - the application will still pick up the currently playing video title when YouTube progresses to the next video in the playlist.
This is possible using some magic where at each refresh interval, the Chrome window with the selected YouTube tab will be restored from being minimized, but it will be invisible and won't catch keys or clicks. The current title will then be retrieved and the window will be minimized again until the next refresh interval. During testing, this did not cause any issues while playing a game in full screen, so there should not be any side effects to this. If you do experience issues, you can leave the Chrome window unminimized to prevent this behaviour.
If you close the selected YouTube tab or move it to a different window, come back to the application and start again by searching for YouTube tabs using button #1, then follow the process from the beginning. Moving the tab around within the same Chrome window by dragging it is OK and won't require reselecting the tab.
To configure the application, click the "Options" button in the top right.
You can specify the following options:
These settings are stored in YoutubeTitleForYvvone.exe.config
in the application's folder.
These instructions explain how to add a text file overlay to your stream using StreamLabs OBS (https://streamlabs.com/). The instructions are provided for information purposes and have nothing to do with this YoutubeTitleForYvonne application.
nowplaying.txt
in the application folder, but you can also configure this in the Options screen.To improve the visual appearance, follow these steps to setup scrolling. This makes the text scroll within a constrained area like a ticker, similar to the old HTML marquee effect from the 1990s/2000s.