It is currently March 29th, 2024, 9:45 am

Now Playing with WMP

Get help with installing and using Rainmeter.
Seefor
Posts: 8
Joined: December 26th, 2011, 9:18 am
Location: Germany

Now Playing with WMP

Post by Seefor »

Hey guys,
I've got some problems with the "Now Playing" in Rainmeter 2.1+2.2. Downloaded 2.2 but still doesn't work.
When I choose a Media Player (tried it with WMP 12, Itunes and VLC) the "Now Playing" of each skin I tried don't recognize that there is a song playing.
Need some help please. :?
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: Now Playing with WMP

Post by poiru »

What skins did you try?
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Now Playing with WMP

Post by Seahorse »

You need to edit the skin so that the player is defined in the main measure. Then you need to save and refresh the skin. Some skins will launch the player for you, but you can launch it manually anyhow and see if you get some results.

From my own skin, you can see the comments and and alternative played comments out by using a leading ;

Code: Select all

[MeasurePlayer]
Measure=Plugin
Plugin=NowPlaying.dll
; Set to AIMP, foobar2000, iTunes, MediaMonkey, MusicBee, Spotify, Winamp, WMP etc
PlayerName=Winamp
;PlayerName=WMP
;PlayerPath=C:\Program Files (x86)\Winamp\winamp.exe
PlayerType=TITLE
So as you can see I am using Winamp PlayerName=Winamp. If i popped a ; in front of that line, removed it from the one below PlayerName=WMP, saved and refreshed it would now support Windows Media Player.

Nowplaying manual page.
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

Seefor
Posts: 8
Joined: December 26th, 2011, 9:18 am
Location: Germany

Re: Now Playing with WMP

Post by Seefor »

@poiru:
Tried it with Enigma and ABP.

@Seahorse:
My code looks like this....can't find a value to fill in a path or so...

Code: Select all

;---------------------------------------------------------------------
; ENIGMA MUSIC

[Rainmeter]
Author=Kaelri
AppVersion=2001000
Group=EnigmaSidebar
LeftMouseDoubleClickAction=!Execute [!WriteKeyValue Variables Variant1 #Variant2#][!WriteKeyValue Variables Variant2 #Variant3#][!WriteKeyValue Variables Variant3 #Variant1#][!Refresh]

[Variables]
@include=#SKINSPATH#Enigma\Resources\Variables\UserVariables.inc

;---------------------------------------------------------------------
; STYLES

@include2=#SKINSPATH#Enigma\Resources\Styles\#Stylesheet#\Variables.inc
@include3=#SKINSPATH#Enigma\Resources\Styles\#Stylesheet#\SidebarMusic.inc
Variant1=Art
Variant2=Full
Variant3=Normal

;---------------------------------------------------------------------
; MEASURES

@include4=#SKINSPATH#Enigma\Resources\Measures\Music.inc
CurrentPlayer=WMP

;---------------------------------------------------------------------
; METERS

[Background]
Meter=IMAGE
MeterStyle=StyleMusic#Variant1#Background

[Border]
Meter=IMAGE
MeterStyle=StyleMusic#Variant1#Border

[Header]
Meter=STRING
MeterStyle=StyleMusic#Variant1#Header

;-----------------------
; ART

[IconBack]
Meter=IMAGE
MeterStyle=StyleMusic#Variant1#IconBack

[Icon]
Meter=IMAGE
MeterStyle=StyleMusic#Variant1#Icon
MeasureName=MeasureCover
LeftMouseUpAction=!Execute ["[MeasureCover]"]
ToolTipTitle=View Full Size
ToolTipText=Click to view this track's cover art at full-size.

[Curtain]
Meter=IMAGE
MeterStyle=StyleMusic#Variant1#Curtain

;-------------------------
; TEXT

[Track]
Meter=STRING
MeterStyle=StyleMusic#Variant1#Text | StyleMusic#Variant1#TextFirst
MeasureName=MeasureTrack

[Artist]
Meter=STRING
MeterStyle=StyleMusic#Variant1#Text | StyleMusic#Variant1#TextSecond
MeasureName=MeasureArtist

[Album]
Meter=STRING
MeterStyle=StyleMusic#Variant1#Text | StyleMusic#Variant1#TextThird
MeasureName=MeasureAlbum

[Time]
Meter=STRING
MeterStyle=StyleMusic#Variant1#Time
MeasureName=MeasureTimePosition

;-------------------------
; BUTTONS

[Prev]
Meter=STRING
MeterStyle=StyleMusic#Variant1#Button | StyleMusic#Variant1#ButtonFirst
LeftMouseUpAction=!PluginBang "MeasureMediaPlayer Previous"
ToolTipTitle=Previous
ToolTipText=Go back to the previous track in the current playlist.

[Play]
Meter=STRING
MeterStyle=StyleMusic#Variant1#Button | StyleMusic#Variant1#ButtonSecond[MeasureState]
LeftMouseUpAction=!PluginBang "MeasureMediaPlayer PlayPause"
ToolTipTitle=Play/Pause
ToolTipText=Pause the playing track, or resume playing if paused.
DynamicVariables=1

[Next]
Meter=STRING
MeterStyle=StyleMusic#Variant1#Button | StyleMusic#Variant1#ButtonThird
LeftMouseUpAction=!PluginBang "MeasureMediaPlayer Next"
ToolTipTitle=Next
ToolTipText=Go to the next track in the current playlist.

[Progress]
Meter=BAR
MeterStyle=StyleMusic#Variant1#Progress
MeasureName=MeasureTimeProgress

;---------------------------------------------------------------------
; METADATA

[Metadata]
Name=Enigma Music
Config=Enigma | Sidebar | Music
Description=Shows information about the song currently playing in your chosen media player.
Instructions=· Double-click to switch to the next variant. | · Middle-click to refresh. | · Load Enigma\Options.ini to change options for this skin.
Version=3.1
Tags=Music | iTunes | Winamp | CD Art Display | Sidebar
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Enigma\Resources\Images\Preview.png
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Now Playing with WMP

Post by Seahorse »

I don't use Enigma, but near the bottom I spied this: Load Enigma\Options.ini to change options for this skin. probably covered in the Enigma Help thread somewhere is that is not the answer.
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

Seefor
Posts: 8
Joined: December 26th, 2011, 9:18 am
Location: Germany

Re: Now Playing with WMP

Post by Seefor »

In the Option.ini I can choose between the different Players, but it can't recognize any music player.
Maybe someone who's using Enigma + WMP could paste his code?
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Now Playing with WMP

Post by Seahorse »

NowPlaying manual:
WMP: PlayerName=WMP
Fully supported, except for the REPEAT/SHUFFLE types.
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

Seefor
Posts: 8
Joined: December 26th, 2011, 9:18 am
Location: Germany

Re: Now Playing with WMP

Post by Seefor »

I think there's just a data which is broken cause it doesn't work with none of the fully or restricted supported players.

The measure-values of my Music.ini of the Enigma-skin:
Before:

Code: Select all

; MEASURES

@include4=#SKINSPATH#Enigma\Resources\Measures\Music.inc
CurrentPlayer=WMP
After I pasted in some measure-code from the example skin in the manual.

Code: Select all

; MEASURES

@include4=#SKINSPATH#Enigma\Resources\Measures\Music.inc
CurrentPlayer=WMP
[MeasurePlayer]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=WMP
; The MAIN MEASURE specifies the media player name here.
PlayerType=WMP
PlayerPath=C:\Program Files (x86)\Windows Media Player\wmplayer.exe
DisableLeadingZero=0

[MeasureArtist]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MeasurePlayer]
; SECONDARY MEASURES specify the name of the main measure here.
; The main measure name must be enclosed in square brackets.
PlayerType=ARTIST

[MeasureAlbum]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MeasurePlayer]
PlayerType=ALBUM
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: Now Playing with WMP

Post by smurfier »

PlayerType=WMP is invalid.

The actual measures used by Enigma for the music skin are located at Enigma\Rescources\Measures\Music.inc
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
Seefor
Posts: 8
Joined: December 26th, 2011, 9:18 am
Location: Germany

Re: Now Playing with WMP

Post by Seefor »

So I just have to replace the "#CurrentPlayer#" in

Code: Select all

[MeasureMediaPlayer]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=#CurrentPlayer#
with WMP?