Skip to content

A YouTube "Now Playing" script for Hexchat that shows the current YouTube song, channel, views, likes and uploaded time frame

License

Notifications You must be signed in to change notification settings

Moodkiller/Hexchat-YouTube-NowPlaying

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Setup

  1. Copy / download youtube_nowplaying.py to your Hexchat addons directory: %appdata%\HexChat\addons
  2. Install PyGetWindow
  3. In Hexchat, load the script with /LOAD youtube_nowplaying.py

Usage

  1. Play a song from YouTube in Chrome, Brave, Edge or Firefox.
  2. Type /ytnp into your desired channel

Output:

image

Note: the two lines above can be disabled, they are just part of the debugging.

Features

  • Uses API to scrape any info you like from a video. Currently setup to show Title, Channel, Views (human format), Likes (human format) and Uploaded timeframe (human format)
  • Will display the current active playing song (i.e you can have mulitple YouTube tabs open but the script will only use the active tab as its source)
  • Debugging: Will display any errors if the API call failed (i.e in the case of reaching a limit)
  • If API reaches its limit / fails, script will fall back to just showing the title pulled from the active tab in the browser

About

A YouTube "Now Playing" script for Hexchat that shows the current YouTube song, channel, views, likes and uploaded time frame

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages