It is currently December 12th, 2019, 9:39 am

WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

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

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

tjhrulz » October 6th, 2017, 9:34 pm

StArL0rd84 wrote:Wow! Thanks, $MouseX:%$ totally works.
And it's so simple too, cleans up my code a lot.

Here's my almost finished skin:
Applied the same trick to the volume bar :)
almostfinished.png
YoutubePlayer_1.0.rmskin
Yeah sorry for not showing up to help sooner, I guess my email replies somehow stopped coming through for this thread. Glad to see you got it working for you.
User avatar
StArL0rd84
Posts: 336
Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

StArL0rd84 » October 7th, 2017, 7:11 am

tjhrulz wrote:Yeah sorry for not showing up to help sooner, I guess my email replies somehow stopped coming through for this thread. Glad to see you got it working for you.
Yeah np. The notification system could use a tune up.
I get my email notifications late.
Tnx again for the amazing plugin.
But now that I have you here...
The plugin already boasts a ton of features, so maybe it's too much to ask, but I am making a playlist feature with web parser. Just seem sluggish. Maybe it's something you could incorporate into the plugin in stead. Like it would auto detect if I am playing a song from a playlist and show me the name of the playlist and list the songs in it. This way I could also auto hide the skip-back/previous button if it's not a song from a playlist.

Totally understand if you can't, I can see how it could be a nightmare to code :D
(#WorkTime# = 1 ? #Work# : ([mEnergyLoss:%] > 100 ? #SleepMode# : #Rainmeter#))
PinDev
Posts: 25
Joined: April 26th, 2015, 11:37 am
Location: Earth

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

PinDev » October 7th, 2017, 9:15 am

Hi, today i just realized that the cover isn't working, even tho it's working perfectly before. I even checked with the downloadable skin in the first page but the cover also not working. Is it just me? :???:
User avatar
StArL0rd84
Posts: 336
Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

StArL0rd84 » October 7th, 2017, 9:19 am

PinDev wrote:Hi, today i just realized that the cover isn't working, even tho it's working perfectly before. I even checked with the downloadable skin in the first page but the cover also not working. Is it just me? :???:
Working fine for me.

Code: Select all

[mCover]
 Measure=Plugin
 Plugin=WebNowPlaying
 PlayerType=Cover
 DefaultPath=#@#Images\NoCover.jpg
 CoverPath=#@#Images\Cover.jpg
 Substitute="":"#@#Images\NoCover.jpg"
(#WorkTime# = 1 ? #Work# : ([mEnergyLoss:%] > 100 ? #SleepMode# : #Rainmeter#))
User avatar
kyriakos876
Posts: 915
Joined: January 30th, 2017, 2:01 am
Location: Greece

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

kyriakos876 » October 7th, 2017, 4:18 pm

It's me again reporting stuff, I was doing my visual updates on a YouTube skin I have, when I noticed that if I go to YouTube and max the volume, I get back on my skin that the volume is at "55" or "47" or some other random number, while on my browser the volume is maxed out.... And I can even turn up the volume from my skin even more (and actually hear the sound louder) while, again, the volume on YouTube at my browser is maxed out. What's up with that?
User avatar
tjhrulz
Developer
Posts: 225
Joined: October 13th, 2016, 1:28 am
Location: Earth

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

tjhrulz » October 8th, 2017, 2:40 am

StArL0rd84 wrote:Yeah np. The notification system could use a tune up.
I get my email notifications late.
Tnx again for the amazing plugin.
But now that I have you here...
The plugin already boasts a ton of features, so maybe it's too much to ask, but I am making a playlist feature with web parser. Just seem sluggish. Maybe it's something you could incorporate into the plugin in stead. Like it would auto detect if I am playing a song from a playlist and show me the name of the playlist and list the songs in it. This way I could also auto hide the skip-back/previous button if it's not a song from a playlist.

Totally understand if you can't, I can see how it could be a nightmare to code :D

This is actually something I have gone back and forth on if I should add it or not. Because I did add a queue feature in GPMDP and it was a nightmare to expose well in Rainmeter.
And then in this case not every website will support it and so how do I expose when a site does not support that?

However though I think I have come up with a good way to do this using section variables. While I will not be adding it in this plugin I do plan to use it in a future plugin that will likely be replacing this one.

@kyriakos876 What is likely happening is that because many sites (Youtube being one of them) don't always show their volume bar and controlling it using clicks would be a pain I go around them and just watch the volume of the HTML5 element itself. This is much nicer because I can always control and get updates even when it is out of view. However the downfall is that many sites don't expect someone else to change the volume of the audio/video so their volume bar is out of sync. IMO I think this is better than what you have with sites like soundcloud where I have to manually open the volume, change it, and then close it. So yes clicks from Rainmeter are sent over you just may not see it and will only hear it.
dvo
Posts: 657
Joined: February 7th, 2016, 6:08 am

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

dvo » October 8th, 2017, 6:27 pm

:D
User avatar
StArL0rd84
Posts: 336
Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

StArL0rd84 » October 21st, 2017, 11:38 am

So after trying $MouseX:%$ on Souncloud it does not seem to work properly.
It just plays the song from the start. Bummer
And the volume bar is maxed out always, but can click it to adjust the volume.
Works perfectly for YouTube tho.
(#WorkTime# = 1 ? #Work# : ([mEnergyLoss:%] > 100 ? #SleepMode# : #Rainmeter#))
User avatar
tjhrulz
Developer
Posts: 225
Joined: October 13th, 2016, 1:28 am
Location: Earth

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

tjhrulz » October 23rd, 2017, 7:38 pm

StArL0rd84 wrote:So after trying $MouseX:%$ on Souncloud it does not seem to work properly.
It just plays the song from the start. Bummer
And the volume bar is maxed out always, but can click it to adjust the volume.
Works perfectly for YouTube tho.
That sounds like that is an issue on my end, I likely already fixed it witht he rewrite but I will double check that those are working right for you.
User avatar
StArL0rd84
Posts: 336
Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.

Re: WebNowPlaying plugin. Supports sites like Youtube and Soundcloud

StArL0rd84 » October 23rd, 2017, 7:43 pm

Maybe I don't have the the latest dll's?
I've got file version 0.3.0.0
(#WorkTime# = 1 ? #Work# : ([mEnergyLoss:%] > 100 ? #SleepMode# : #Rainmeter#))