It is currently March 28th, 2024, 12:08 pm

WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Plugins and Addons popular with the Community
Post Reply
User avatar
tjhrulz
Developer
Posts: 267
Joined: October 13th, 2016, 1:28 am
Location: Earth
Contact:

WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Post by tjhrulz »

Guess who's back? Back again? Tj's back with another music plugin. (I just realized that rhymes)

If you ever wanted the full NowPlaying experience for web players in Rainmeter now you can have it. Automatically switches between the supported web players and the list is pretty extensive these days. For it to work you will need to download one of the following extensions for your appropriate web browser

Chromium Browsers: https://chrome.google.com/webstore/detail/webnowplaying-redux/jfakgfcdgpghbbefmdfjkbdlibjgnbli
Firefox: https://addons.mozilla.org/en-US/firefox/addon/webnowplaying-redux/


The latest build of the Rainmeter plugin can be found here: https://github.com/keifufu/WebNowPlaying-Redux-Rainmeter/releases/latest

Documentation for Rainmeter skins these days can be found here: https://wnp.keifufu.dev/rainmeter/usage


Link to Rainmeter plugin's github: https://github.com/keifufu/WebNowPlaying-Redux-Rainmeter
Link to browser extension's github: https://github.com/keifufu/WebNowPlaying-Redux


Also for anyone else looking for other programs or to build a program that integrates in with the browser extensions see the full docs here: https://wnp.keifufu.dev/

Also huge thanks to keifufu who has been maintaining the project these days and been doing an amazing job at it! <3
Last edited by tjhrulz on July 25th, 2023, 10:59 pm, edited 8 times in total.
User avatar
kyriakos876
Posts: 919
Joined: January 30th, 2017, 2:01 am
Location: Greece

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Post by kyriakos876 »

Nice job. I've been looking for something like this! thanks for sharing :)
dvo wrote:it doesn't support youtube ... :D firefox webnowplaying doesn't show title or artist ...
or do you need a account for this to on youtube? :?
if i load your skin with the plugin you say and open a youtube page and play it i only see na/na all other things are not reacting
on the skin :thumbdown:
It works fine with me (Vivaldi browser) but I am singed in on YouTube so that might be your problem.
User avatar
tjhrulz
Developer
Posts: 267
Joined: October 13th, 2016, 1:28 am
Location: Earth
Contact:

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Post by tjhrulz »

dvo wrote:it doesn't support youtube ... :D firefox webnowplaying doesn't show title or artist ...
or do you need a account for this to on youtube? :?
if i load your skin with the plugin you say and open a youtube page and play it i only see na/na all other things are not reacting
on the skin :thumbdown:
Woops I forgot too mention in the post that in order to get Firefox working you have to allow unsecure Websockets on secure webpages. Simply go to the about:config page in Firefox and set network.websocket.allowInsecureFromHTTPS to true. Thanks for catching that.
User avatar
kyriakos876
Posts: 919
Joined: January 30th, 2017, 2:01 am
Location: Greece

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Post by kyriakos876 »

Hello friend, loving this plugin so far :)

Is it possible that you could add the following?
1) Views counter.
2) Dislikes counter.
3) Likes Counter.
4) Subscribe button.

-Thanks in advance!
User avatar
tjhrulz
Developer
Posts: 267
Joined: October 13th, 2016, 1:28 am
Location: Earth
Contact:

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Post by tjhrulz »

kyriakos876 wrote:Hello friend, loving this plugin so far :)

Is it possible that you could add the following?
1) Views counter.
2) Dislikes counter.
3) Likes Counter.
4) Subscribe button.

-Thanks in advance!
Is it possible, yes.
Will I add them? Not in the way you think and it may be a while before it happens. The point of this plugin is to support every website with the same feature set.

However if you go to spotify you will notice that I request a spotify token so that I can get a higher res album art and the correct album title. My long term plans are to add support for twitch to better fill out some missing info on live streams. Then I will start to make it so you can use many of the features of the spotify, twitch, and youtube APIs. In theory then you would be able to do what you want.
User avatar
kyriakos876
Posts: 919
Joined: January 30th, 2017, 2:01 am
Location: Greece

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Post by kyriakos876 »

tjhrulz wrote:Is it possible, yes.
Will I add them? Not in the way you think and it may be a while before it happens. The point of this plugin is to support every website with the same feature set.

However if you go to spotify you will notice that I request a spotify token so that I can get a higher res album art and the correct album title. My long term plans are to add support for twitch to better fill out some missing info on live streams. Then I will start to make it so you can use many of the features of the spotify, twitch, and youtube APIs. In theory then you would be able to do what you want.
Sounds about right... I will let time do its thing then :D
helloyou
Posts: 1
Joined: September 8th, 2017, 3:33 pm

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Post by helloyou »

Is there some way to get the URL of the current song? Like with PlayerType=URL or smth.

I'd like to implement a button which copies the URL to your clipboard so that you can easily download the song.
User avatar
tjhrulz
Developer
Posts: 267
Joined: October 13th, 2016, 1:28 am
Location: Earth
Contact:

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Post by tjhrulz »

helloyou wrote:Is there some way to get the URL of the current song? Like with PlayerType=URL or smth.

I'd like to implement a button which copies the URL to your clipboard so that you can easily download the song.
Do you want the mp3 or the page? Because returning the URL the page is currently on is easy and I would be willing to add but returning the URL of the song itself for several of these is not possible with the current implementation because they have safeties to prevent getting that easily.
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Post by balala »

tjhrulz wrote:Do you want the mp3 or the page? Because returning the URL the page is currently on is easy and I would be willing to add but returning the URL of the song itself for several of these is not possible with the current implementation because they have safeties to prevent getting that easily.
Just a simple idea on how a video can be downloaded from YouTube. I don't know if this can be implemented in Rainmeter (never tried), but if you want to download it, you have just to add a ss, before the youtube.com, in the URL. Eg to download the video with the https://www.youtube.com/watch?v=s-YsO84qYak URL, you have to open the https://www.ssyoutube.com/watch?v=s-YsO84qYak URL. This URL will open a site where the video can be downloaded.
Again, I never tried to implement this procedure in Rainmeter, but someone could try.
User avatar
StArL0rd84
Posts: 424
Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Post by StArL0rd84 »

Not a big coder so when I followed the link to the extension to the master files on the github page I got really confused as to how to install it in my browser. But then I searched the official Chrome extension site for it and found it.
Maybe you should mention in your post to find it there or provide a link.
Post Reply