It is currently December 3rd, 2022, 1:47 pm

Windows Now Playing

Share and get help with Plugins and Addons
User avatar
Yincognito
Rainmeter Sage
Posts: 4817
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Windows Now Playing

Post by Yincognito »

PrincessPandaMeter wrote: November 9th, 2022, 1:49 am Excuse me, but when attempting to implement the code for retrieving the title of the audio playing, all it does is return a comma. The skin provided works normally, but for some reason, my code doesn't.
It works for me, with your code (skin at bottom left in the screenshot, the code at the right):
Windows NowPlaying.jpg
P.S. The question marks are probably because Rainmeter doesn't support Unicode characters past a certain limit (U+FFFE if I'm not mistaken), so not many emojis there. Maybe you can share which song you're having issues with, and what "music platform" are you trying to interrogate (the YouTube one seems to work fine, as you can see).
You do not have the required permissions to view the files attached to this post.
User avatar
Yincognito
Rainmeter Sage
Posts: 4817
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Windows Now Playing

Post by Yincognito »

balala wrote: November 9th, 2022, 8:26 amAlso, not sure what provided skin are you talking about.
The one in this post - he just replaced the code.
User avatar
balala
Rainmeter Sage
Posts: 14758
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Windows Now Playing

Post by balala »

Yincognito wrote: November 9th, 2022, 2:38 pm The one in this post - he just replaced the code.
:? It seems I made a confusion. :? Again. My bad...
Sorry for my mistake.
User avatar
Yincognito
Rainmeter Sage
Posts: 4817
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Windows Now Playing

Post by Yincognito »

balala wrote: November 9th, 2022, 3:51 pm :? It seems I made a confusion. :? Again. My bad...
Sorry for my mistake.
No problem, as always. ;-)
User avatar
PrincessPandaMeter
Posts: 4
Joined: November 9th, 2022, 1:45 am

Re: Windows Now Playing

Post by PrincessPandaMeter »

Yincognito wrote: November 9th, 2022, 2:28 pm It works for me, with your code (skin at bottom left in the screenshot, the code at the right):
Windows NowPlaying.jpg

P.S. The question marks are probably because Rainmeter doesn't support Unicode characters past a certain limit (U+FFFE if I'm not mistaken), so not many emojis there. Maybe you can share which song you're having issues with, and what "music platform" are you trying to interrogate (the YouTube one seems to work fine, as you can see).
Here's what it looks like on my Rainmeter:
Image
(yes, it's one of my favorite Sonic the Hedgehog songs ever)
Don't rain on my parade!
Image
User avatar
PrincessPandaMeter
Posts: 4
Joined: November 9th, 2022, 1:45 am

Re: Windows Now Playing

Post by PrincessPandaMeter »

Okay, I just realized why it wasn't working at all.

I didn't use the "WindowsNowPlaying.exe" software that came with the skin. I thought the ".ini" file came with the software itself. :(

Apologies for wasting everyone's time, though I may stick around here because I'm genuinely interested in Rainmeter!
Don't rain on my parade!
Image
User avatar
Yincognito
Rainmeter Sage
Posts: 4817
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Windows Now Playing

Post by Yincognito »

PrincessPandaMeter wrote: November 9th, 2022, 10:03 pm Okay, I just realized why it wasn't working at all.

I didn't use the "WindowsNowPlaying.exe" software that came with the skin. I thought the ".ini" file came with the software itself. :(

Apologies for wasting everyone's time, though I may stick around here because I'm genuinely interested in Rainmeter!
Yeah, the .ini file can never come with a 'software' itself, since it's just a text file where you write down the "options" (or keywords / commands, if you like) that are then interpreted by Rainmeter (the actual software) and can use other executables (from .dll-s of Rainmeter plugins like RunCommand, to additional programs like the "WindowsNowPlaying.exe" in this case). While Rainmeter does include its standard plugin .dll-s, a skin 'package' (i.e. a .rmskin file) can include the rest (e.g. other non standard .dll-s, or various other executables like the one you mentioned) to be copied appropriately once the skin package is "installed".

Nice to hear that you found out why it wasn't working and managed to solve the issue. No need to apologize for asking things, that helps with the learning process, and Rainmeter is indeed interesting since you can do quite a lot with it, once you master the basics. :thumbup: