It is currently March 29th, 2024, 1:16 am
Is there a way I can have a song playing thingy that check the title of the Youtube video I'm watching?
-
- Posts: 4
- Joined: April 20th, 2017, 3:07 am
Is there a way I can have a song playing thingy that check the title of the Youtube video I'm watching?
Just like a generic thing which will say "Now Playing x", doesn't need anything else, preferable not infact. I just need it to check the title of the YouTube video that is playing in my Chrome browser and say what it is. My coding skills are limited but I'm happy to learn. Thanks for any help
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Is there a way I can have a song playing thingy that check the title of the Youtube video I'm watching?
For a such task, you should use the WebParser plugin, which would have to read the title of the open YouTube page. The problem is that the URL of that page should be used into the parent WebParser measure, but that's not an easy stuff. I don't see an easy way to tell that measure which is the needed URL.Rainmeterguy wrote:Just like a generic thing which will say "Now Playing x", doesn't need anything else, preferable not infact. I just need it to check the title of the YouTube video that is playing in my Chrome browser and say what it is. My coding skills are limited but I'm happy to learn. Thanks for any help
Starting from this point, a few years ago, I wrote a small app, exactly for such things. As I wrote there, I'm not sure if it'll work with Chrome, because I'm still not using this browser, but maybe it worth a try.
Here is the link: https://forum.rainmeter.net/viewtopic.php?p=107510#p107510
The posted package contains an exe file, be careful. Although I wrote the code of that file and I can assure you it doesn't contains anything harmful, treat it carefully.
-
- Posts: 4
- Joined: April 20th, 2017, 3:07 am
Re: Is there a way I can have a song playing thingy that check the title of the Youtube video I'm watching?
I actually saw your post, as it's literally the only thread on the internet about it. I tried running the exe (GetURL) but it doesn't do anything. It doesn't even run as a secondary application, even when run as admin. If I use the rainmeter skin it just has a grey box which saysbalala wrote:For a such task, you should use the WebParser plugin, which would have to read the title of the open YouTube page. The problem is that the URL of that page should be used into the parent WebParser measure, but that's not an easy stuff. I don't see an easy way to tell that measure which is the needed URL.
Starting from this point, a few years ago, I wrote a small app, exactly for such things. As I wrote there, I'm not sure if it'll work with Chrome, because I'm still not using this browser, but maybe it worth a try.
Here is the link: https://forum.rainmeter.net/viewtopic.php?p=107510#p107510
The posted package contains an exe file, be careful. Although I wrote the code of that file and I can assure you it doesn't contains anything harmful, treat it carefully.
Youtube:
#URL#
Do you know what I'm doing wrong?
-
- Posts: 860
- Joined: August 22nd, 2016, 11:32 pm
- Location: Surrey, B.C., Canada
Re: Is there a way I can have a song playing thingy that check the title of the Youtube video I'm watching?
Post your code so we can see what you are doing.
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
Deviant Art Page
-
- Posts: 4
- Joined: April 20th, 2017, 3:07 am
Re: Is there a way I can have a song playing thingy that check the title of the Youtube video I'm watching?
It's just the stuff linked in the post aboveCyberTheWorm wrote:Post your code so we can see what you are doing.
-
- Rainmeter Sage
- Posts: 5384
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Is there a way I can have a song playing thingy that check the title of the Youtube video I'm watching?
This only works with Internet Explorer (I used Version 11), and it shows the video title...Rainmeterguy wrote:I actually saw your post, as it's literally the only thread on the internet about it. I tried running the exe (GetURL) but it doesn't do anything. It doesn't even run as a secondary application, even when run as admin. If I use the rainmeter skin it just has a grey box which says
Youtube:
#URL#
Do you know what I'm doing wrong?
It did not work with FireFox, Chrome, or Vivaldi...
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Posts: 826
- Joined: November 20th, 2012, 11:58 pm
Re: Is there a way I can have a song playing thingy that check the title of the Youtube video I'm watching?
OFF TOPIC:
I follow its development and I use it from its first version. I like it.eclectic-tech wrote:Vivaldi...
-
- Rainmeter Sage
- Posts: 5384
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Is there a way I can have a song playing thingy that check the title of the Youtube video I'm watching?
I like it too, but it is still in development, and has 'bugged out' a few times on me while using.FreeRaider wrote:OFF TOPIC:
I follow its development and I use it from its first version. I like it.
That not a problem, just have to start it up again
I use Firefox now, had use Chrome for years, until lately it started messing up by covering confirmation popups
Yandex browser is a pretty good browser also!
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Posts: 4
- Joined: April 20th, 2017, 3:07 am
Re: Is there a way I can have a song playing thingy that check the title of the Youtube video I'm watching?
You can press a button and allow all popups from the site forevereclectic-tech wrote:I like it too, but it is still in development, and has 'bugged out' a few times on me while using.
That not a problem, just have to start it up again
I use Firefox now, had use Chrome for years, until lately it started messing up by covering confirmation popups
Yandex browser is a pretty good browser also!
-
- Rainmeter Sage
- Posts: 5384
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Is there a way I can have a song playing thingy that check the title of the Youtube video I'm watching?
Allowing popups is not the answer. They are enabled...Rainmeterguy wrote:You can press a button and allow all popups from the site forever
A confirmation popup from any site should always be set as "topmost", but some jerk at Google thinks otherwise... they appear behind the disabled browser and extension install windows and cannot be selected or switched to. All you can do is blindly click escape, arrows, or space bar to continue... just a royal pain
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::