Page 1 of 13

WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Posted: August 20th, 2017, 2:05 am
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

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Posted: August 29th, 2017, 12:44 pm
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.

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Posted: August 29th, 2017, 2:16 pm
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.

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Posted: August 29th, 2017, 4:23 pm
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!

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Posted: August 29th, 2017, 4:34 pm
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.

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Posted: August 29th, 2017, 4:46 pm
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

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Posted: September 8th, 2017, 3:35 pm
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.

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Posted: September 8th, 2017, 9:03 pm
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.

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Posted: September 8th, 2017, 9:12 pm
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.

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

Posted: October 4th, 2017, 11:00 am
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.