It is currently March 29th, 2024, 3:59 pm

NowPlaying plugin - Multiple Media Player Support

Share and get help with Plugins and Addons
bek88
Posts: 38
Joined: August 26th, 2009, 8:41 am

Re: NowPlaying plugin - Multiple Media Player Support

Post by bek88 »

Hallo Poiru,

in Windows 7 (64 bit) there are 2 program directories for 64bit/32bit programs:
"Program Files" and "Program Files (x86)".
So the bangs !CommandMeasure "MainMeasure" "OpenPlayer"/"TogglePlayer" don't function,
if a 32-bit program (e.g. AIMP3) is installed in Program Files (x86).
Maybe you can correct/extend the search for the player program.
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: NowPlaying plugin - Multiple Media Player Support

Post by poiru »

bek88 wrote:Hallo Poiru,

in Windows 7 (64 bit) there are 2 program directories for 64bit/32bit programs:
"Program Files" and "Program Files (x86)".
So the bangs !CommandMeasure "MainMeasure" "OpenPlayer"/"TogglePlayer" don't function,
if a 32-bit program (e.g. AIMP3) is installed in Program Files (x86).
Maybe you can correct/extend the search for the player program.
NowPlaying gets the AIMP path from the registry. Can you check what you have at:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AIMP3
(using regedit)
bek88
Posts: 38
Joined: August 26th, 2009, 8:41 am

Re: NowPlaying plugin - Multiple Media Player Support

Post by bek88 »

Well, the uninstall string is completely missing :(
Perhaps it's a not completed uninstall from AIMP2.
I found some rests in the registry.
I will completely scan the registry and remove these residuals.
Then I will unstall AIMP3 und make a fresh install.
That didn't help :(

I inserted "InstallLocation" and "DisplayIcon" manually with Regedit
and now it works :)
User avatar
Krainz
Posts: 186
Joined: May 27th, 2012, 5:16 am

Re: NowPlaying plugin - Multiple Media Player Support

Post by Krainz »

Hello poiru, it seems to be that NowPlaying.dll isn't working with WMP when I run Rainmeter with administrator rights. How can I fix this?

By the way, I need to run with admin rights to quickly switch themes with my meter
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: NowPlaying plugin - Multiple Media Player Support

Post by poiru »

Krainz wrote:Hello poiru, it seems to be that NowPlaying.dll isn't working with WMP when I run Rainmeter with administrator rights. How can I fix this?
I'll take a look at it.
Krainz wrote:By the way, I need to run with admin rights to quickly switch themes with my meter
Do you mean when switching themes using SkinInstaller.exe /LoadTheme? Could you create a new topic for this in the appropriate place?
bek88 wrote:Then I will unstall AIMP3 und make a fresh install.
That didn't help :(
Alright. I'll install AIMP3 later on and make it work without needing to manually add registry entries. And, by the way, you can always use the PlayerPath option :)
trailofdead
Posts: 1
Joined: June 9th, 2012, 7:03 pm

Re: NowPlaying plugin - Multiple Media Player Support

Post by trailofdead »

I just formatted my computer and forgot to backup my skin. How do I display the album art that is in the folder of the track being played? file name is folder.jpg.
User avatar
Krainz
Posts: 186
Joined: May 27th, 2012, 5:16 am

Re: NowPlaying plugin - Multiple Media Player Support

Post by Krainz »

poiru wrote: I'll take a look at it.
Really? Thank you!
poiru wrote: Do you mean when switching themes using SkinInstaller.exe /LoadTheme? Could you create a new topic for this in the appropriate place?
Well, surely I would, but I don't see the part of having to run as an admin as much of a problem.
Matt
Posts: 104
Joined: November 20th, 2009, 7:23 am

Re: NowPlaying plugin - Multiple Media Player Support

Post by Matt »

@poiru, I finally added NUMBER and YEAR measures to my lightly-modified Rainify media player skin, and I noticed the YEAR string displays 0 if the date tag is empty or contains something screwy. Is that preferred over returning an empty string like the PLAYER, ARTIST, and ALBUM measures? A zero in the track number meter makes sense to me, but it looks a little strange for YEAR and makes substituting in "N/A" more difficult. Not a big deal, I'm just curious.

By the way, I've got some date tags like "2010-10-05T07:00:00Z" and "2010-01-19" and YEAR will still kick out "2010" without choking. That rocks. :great:
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: NowPlaying plugin - Multiple Media Player Support

Post by poiru »

Matt wrote:@poiru, I finally added NUMBER and YEAR measures to my lightly-modified Rainify media player skin, and I noticed the YEAR string displays 0 if the date tag is empty or contains something screwy. Is that preferred over returning an empty string like the PLAYER, ARTIST, and ALBUM measures? A zero in the track number meter makes sense to me, but it looks a little strange for YEAR and makes substituting in "N/A" more difficult. Not a big deal, I'm just curious.
It is intentional. You can use the following to substitute it:

Code: Select all

Substitute="^0$":"N/A"
RegExpSubstitute=1
Matt
Posts: 104
Joined: November 20th, 2009, 7:23 am

Re: NowPlaying plugin - Multiple Media Player Support

Post by Matt »

Thanks. Clearly it's time I learned more about substitutions and regular expressions. :oops: