It is currently March 28th, 2024, 2:32 pm

NowPlaying plugin - Multiple Media Player Support

Share and get help with Plugins and Addons
cmcinroy
Posts: 13
Joined: February 21st, 2012, 1:25 pm

Re: NowPlaying plugin - Multiple Media Player Support

Post by cmcinroy »

I'm using foobar2000 and still get "1 " for the track number and "0 " for the year, as I had been getting with the last few beta releases.

I have beta 1259 (Mar 18) installed (Win7 pro 64-bit, fb2k 1.1.11). Here are the relevant sections of my skin:

Code: Select all

[mPlayer]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=foobar2000
PlayerType=TITLE
PlayerPath=
DisableLeadingZero=0
Substitute="":"N\A"
; Return value is 1 on error
IfEqualValue=1
IfEqualAction=!Execute [!RainmeterShowMeter ErrorMessage][!RainmeterRedraw]

...

[mTrack]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=NUMBER

[mDate]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=YEAR

...

[Track]
Meter=STRING
MeterStyle=styleLeftText
MeasureName=mTrack
X=10
Y=40
W=190
H=14
ClipString=1
Text="%1"

[Year]
Meter=STRING
MeterStyle=styleLeftText
MeasureName=mDate
X=10
Y=56
W=190
H=14
ClipString=1
Text="%1"
Grantp
Posts: 82
Joined: November 29th, 2010, 5:28 pm

Re: NowPlaying plugin - Multiple Media Player Support

Post by Grantp »

That works fine for the YEAR but when Rainmeter first started mNumber is 1 - . Play a song then stop the player it then displays fine IE nothing displayed.

Any further ideas?

Cheers Grant
eddie the head
Posts: 12
Joined: June 20th, 2011, 12:30 am

Re: NowPlaying plugin - Multiple Media Player Support

Post by eddie the head »

i get 0 on both tracknumber and year in f2k.
latest rainmeter beta, latest foobar, and the 1.0.3 plugin for foobar (as can be found in the beta manual). with the 1.0 plugin for foobar i got the same as cmcinroy.
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm
Contact:

Re: NowPlaying plugin - Multiple Media Player Support

Post by poiru »

Grantp wrote:That works fine for the YEAR but when Rainmeter first started mNumber is 1 - . Play a song then stop the player it then displays fine IE nothing displayed.
I'll fix this for the next beta.
eddie the head wrote:i get 0 on both tracknumber and year in f2k.
latest rainmeter beta, latest foobar, and the 1.0.3 plugin for foobar (as can be found in the beta manual). with the 1.0 plugin for foobar i got the same as cmcinroy.
cmcinroy wrote:I'm using foobar2000 and still get "1 " for the track number and "0 " for the year, as I had been getting with the last few beta releases.
Will fix, thanks for reporting. Expect an update to the foo-rainmeter plugin in a day or two.
eddie the head
Posts: 12
Joined: June 20th, 2011, 12:30 am

Re: NowPlaying plugin - Multiple Media Player Support

Post by eddie the head »

awesome, looking forward to it.

now, i know the answer's probably going to be no, but... is there any way i can put the lyrics in two columns?
plenty of horizontal space on my monitor, not nearly enough vertical.
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: NowPlaying plugin - Multiple Media Player Support

Post by smurfier »

eddie the head wrote:awesome, looking forward to it.

now, i know the answer's probably going to be no, but... is there any way i can put the lyrics in two columns?
plenty of horizontal space on my monitor, not nearly enough vertical.
That's what I wrote LineScroller for.
eddie the head
Posts: 12
Joined: June 20th, 2011, 12:30 am

Re: NowPlaying plugin - Multiple Media Player Support

Post by eddie the head »

how can i use that to show the lyrics side by side when it's larger than the allowed screen? i thought that just scrolled, and i've used clickthrough for my skin, and autoscrolling never seems to suit.

by the way, how do i get the lyrics plugin to read the lyrics from the tags in the files themselves? if that's even possible. i love the auto download function, but it'd be nice if i could get it to download if and only if there's no lyrics present in the song itself.
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: NowPlaying plugin - Multiple Media Player Support

Post by smurfier »

eddie the head wrote:how can i use that to show the lyrics side by side when it's larger than the allowed screen? i thought that just scrolled, and i've used clickthrough for my skin, and autoscrolling never seems to suit.
Since it splits the lyrics into two lines, each line being a certain number of characters wide, then places those lines into predefined meters, you could use it to set up two columns of text. The only issue is then lyrics that are longer than the space space you provide.
Grantp
Posts: 82
Joined: November 29th, 2010, 5:28 pm

Re: NowPlaying plugin - Multiple Media Player Support

Post by Grantp »

poiru wrote: I'll fix this for the next beta.
Thanks poiru look foward to it.

Cheers for help yet again
cmcinroy
Posts: 13
Joined: February 21st, 2012, 1:25 pm

Re: NowPlaying plugin - Multiple Media Player Support

Post by cmcinroy »

poiru wrote: Will fix, thanks for reporting. Expect an update to the foo-rainmeter plugin in a day or two.
Awesome. Thanks, poiru!
Post Reply