INTERACT FORUM

Windows => Third Party Plug-ins, Programs, and Skins => Topic started by: Scolex on January 31, 2011, 06:31:51 pm

Title: Rainmeter skin for MC
Post by: Scolex on January 31, 2011, 06:31:51 pm
Ok so I have redone the skin to be modular in nature and created a configuration utility.

Modules:
Future additions:
If you so desire you can uncheck the "Apply Theme" box in Rainstaller. If you choose that route I suggest that after installation you navigate to
C:\Users\*user*\AppData\Roaming\Rainmeter\Themes\FirstRun and open the Rainmeter.thm in a text editor. Copy all the contents of the file except
the entries under [Rainmeter] into Rainmeter.ini found in C:\Users\*user*\AppData\Roaming\Rainmeter After you have copy/pasted the contents if
you use the refresh all command from one of the several places it is available the Launcher will appear (well kinda see below)
 
You may be wondering why I have decided to load a theme so here is the explanation.
In order for the refresh command in the launcher to work properly the skins must have the group tag in rainmeter.ini
and the only way to ensure that is to load a theme or manually edit the rainmeter.ini.
By using either of thoes methods the refresh command will work correctly.

If you choose to load the theme on initial load only the Launcher is active, in order for it to appear you have to hover over it,
this is by design. The location will be centered in your primary monitor. I have configured the installer in this manor because there
are settings that are required. My suggestion would be to first click on the "ReadMe" link after reading that open the configuration
utility and make the required settings. Now you have the choice to either open "Themes"
and load the configuration seen in pic 1 below by selecting "RiverFront" from the themes menu or open RainBrowser
and add what ever you wish.  

Download the rmskin (http://www.bowling-info.com/misc/RiverFront.rmskin)

Just a couple of layouts I threw together real quick.
(http://www.bowling-info.com/misc/rf1.jpg)
notice that the "Track x of xx" line is removed by setting SizePN to 0
(http://www.bowling-info.com/misc/rf2.jpg)

PS: I have reached a final name that I think is fitting when you consider what it is used for.
Title: Re: Rainmeter skin for MC (still in development)
Post by: kurushi on January 31, 2011, 07:15:52 pm
Lovely skin even i don't use rainmeter :D
Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on January 31, 2011, 07:19:26 pm
Lovely skin even i don't use rainmeter :D

Thanks
Have you ever tried it out? It really is an amazing program IMHO worth buying and it is free.
Title: Re: Rainmeter skin for MC (still in development)
Post by: Fabricio on February 01, 2011, 12:40:40 pm
Hello,

Thanks, but don't show: cover art, button pause/play, name track.

I am using Rainmeter 1.4 Beta rev 724 (RC1), Media Center 15.0.173, Win XP SP3.
Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 01, 2011, 01:04:11 pm
I see you are using Win XP which uses a different user folder structure you will have to edit a few lines
in the ini file let me see what the location would be on XP and that should fix it.
Title: Re: Rainmeter skin for MC (still in development)
Post by: Fabricio on February 01, 2011, 01:08:44 pm
Are you on the local machine or over network?

Local machine.

Thanks,

Fabricio, from Brazil.
Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 01, 2011, 01:26:47 pm
You need to change the following

[MeterDisplayImage]
Meter=IMAGE
X=10
Y=10
H=140
W=140
ImageName="%userprofile%\AppData\Roaming\J River\Media Center 15\Temp\Thumbnails\[MeasureImageLocation].jpg"

to

[MeterDisplayImage]
Meter=IMAGE
X=10
Y=10
H=140
W=140
ImageName="%userprofile%\Application Data\J River\Media Center 15\Temp\Thumbnails\[MeasureImageLocation].jpg"

let me know if that fixes it

I am also getting my old XP laptop out for testing.
Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 01, 2011, 01:54:26 pm
Works for me on XP SP3 after editing the line referenced earlier.
You also need to have Media Server running.
Title: Re: Rainmeter skin for MC (still in development)
Post by: Arbiter on February 01, 2011, 02:59:40 pm
Works for me on XP SP3 after editing the line referenced earlier.
You also need to have Media Server running.

I take that back  15.0.173 does something different with the temp thumbnails and I don't get album art anymore.
back to work.

Works like a charm on 15.0.173! at least the minimalistic version. I couldn't get the jrmc1 version to work. I really like it so far, although i took the liberty to set "Update=100", because the refresh rate wasn't smooth enough at the default value of 1000.

I have 3 Requests!:

1)Is there any way to scale down the Coverart and/or the whole skin?  Any command i could try on my own?
2)When the code is stable (which i believe it is, for the jrmc2 skin at least) you could "beautify" the display of cover art by adding jewel case or something else to make it look like cdart :D
3)It would be awesome to display the rating stars beneath or after the song name :)
Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 01, 2011, 03:21:48 pm
I have 3 Requests!:

1)Is there any way to scale down the Coverart and/or the whole skin?  Any command i could try on my own?
2)When the code is stable (which i believe it is, for the jrmc2 skin at least) you could "beautify" the display of cover art by adding jewel case or something else to make it look like cdart :D
3)It would be awesome to display the rating starts beneath or after the song name :)

I have added rating on mine.
When rating is present and the field in MC is blank it causes an issue because the tag
doesn't get writen to MCWS which throws the measures off, I am seeking a resolution.
Resolved

To change the size of the entire skin and/or cover art edit the bold parts of the sections below in the .ini file

[MeterBackground]
Meter=IMAGE
X=1
Y=1
H=160
W=320

SolidColor=0,0,0,100

[MeterDisplayImage]
Meter=IMAGE
X=10
Y=10
H=140
W=140
Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 01, 2011, 03:49:04 pm
removed no longer valid
Title: Re: Rainmeter skin for MC (still in development)
Post by: Fabricio on February 01, 2011, 06:55:11 pm
Hello,

Cover art organized here: C:\Documents and Settings\Fabricio\Dados de aplicativos\J River\Media Center 15\Cover Art\

Help-me. Please.

Thanks.

Fabricio, from Brazil.
Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 01, 2011, 08:18:06 pm
Sorry for the slow response I didn't have internet because of bad weather.

Try this version if it doesn't work I will need to know how the album art is named.
I set it to the default naming format the Media Center uses for Album Art

Custom version (http://www.bowling-info.com/misc/fabricio.zip)
Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 01, 2011, 08:33:18 pm
Sorry guys but my iternet is going in and out so I won't be able to help until the weather gets better. I am typing with my phone.
Title: Re: Rainmeter skin for MC (still in development)
Post by: Fabricio on February 02, 2011, 05:18:28 am
Thanks for help.

Sorry, but, don't working. Why?

Title: Re: Rainmeter skin for MC (still in development)
Post by: Arbiter on February 02, 2011, 05:29:51 am
Sorry guys but my iternet is going in and out so I won't be able to help until the weather gets better. I am typing with my phone.

Ouch sorry about your connection.

I played around with the skin last night and made a few changes to the mini version to meet my taste^^ :

-I reduced the update rate to 100ms so the the song position goes smooth and the track changes are reflected instantly
-I reduced the overal size of the skin and cover art by using the commands you mentioned
-i added the album text beneath the artist name

I'm sending you a private message with my custom version so you can check it and/or include it on your release if you like it. I'm tottally noob in rainmeter skin development and programming in general, so i couldn't figure out how to output the rating number into rating stars :P

I really like how it looks so far and i ditched mini lyrics. Rainmeter ftw!


ps: for those who have problems with the skin make sure you enable the library server in the options, as the skin pulls out information from the playing now page.


Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 02, 2011, 06:21:22 am
Thanks for help.

Sorry, but, don't working. Why?



I need to know how you have named your album art to help more can you take a screen shot of your
album art folder in details view so maybe I can figure out how you have them named.


Arbiter
Modify as you see fit I forgot to add rating to mini version sorry I will add once internet is back.
Title: Re: Rainmeter skin for MC (still in development)
Post by: Fabricio on February 02, 2011, 08:28:38 am
I need to know how you have named your album art to help more can you take a screen shot of your
album art folder in details view so maybe I can figure out how you have them named.

Where i see? Please.

Quote
Arbiter
Modify as you see fit I forgot to add rating to mini version sorry I will add once internet is back.

Ok.

Thanks ...
Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 02, 2011, 12:07:08 pm
I have an easy way to fix this.


The files will all have the correct naming architecture after doing this and it should work.

Portuguese version using google translator (just trying to make things easier)  ;D
Eu tenho uma maneira fácil de corrigir isso.


Os arquivos terão todas a arquitetura nomenclatura correta depois de fazer isso e ele deve funcionar.
Title: Re: Rainmeter skin for MC (still in development)
Post by: Fabricio on February 02, 2011, 04:31:02 pm
I have an easy way to fix this.

  • Open MC
  • Go to Audio-->Albums
  • edit-->select all
  • tools-->Cover Art-->Save Cover Art to External Location Specified In Options

The files will all have the correct naming architecture after doing this and it should work.

Portuguese version using google translator (just trying to make things easier)  ;D
Eu tenho uma maneira fácil de corrigir isso.

  • Abrir MC
  • Ir para Áudio-->Álbuns
  • Editar-->Selecionar tudo
  • Ferramentas-->Cover Art-->Salvar a arte da tampa externa local especificado em Opções

Os arquivos terão todas a arquitetura nomenclatura correta depois de fazer isso e ele deve funcionar.


Dont working ... Is bad,
Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 03, 2011, 11:27:33 pm
Revised elapsed/total time code to prevent play/pause button from disappearing and time displaying "0:00/Live" to Play button visible and "Stopped" displayed for time when playback is stopped.
This was occurring due to the fact that MC does not write "PositionDisplay" field to MCWS when in stopped state.

For those of you interested in this little project I apologize for the slow development but I have run into some unforeseen and unexpected detours.
Title: Re: Rainmeter skin for MC (still in development)
Post by: Arbiter on February 04, 2011, 03:53:39 am
Revised elapsed/total time code to prevent play/pause button from disappearing and time displaying "0:00/Live" to Play button visible and "Stopped" displayed for time when playback is stopped.
This was occurring due to the fact that MC does not write "PositionDisplay" field to MCWS when in stopped state.

For those of you interested in this little project I apologize for the slow development but I have run into some unforeseen and unexpected detours.

Which were resolved^^ hehe. I've been waiting for years for someone to start developing something like that. So i'm sure all of us here interested in this can wait a little while longer :P
Title: Re: Rainmeter skin for MC (still in development)
Post by: Arbiter on February 06, 2011, 12:57:11 pm
Any updates on this lovely skin ? When are you going to upload it to deviant art and #Rainmeter ?:)


By the way, Rainmeter 2.0 just released.
Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 06, 2011, 02:55:18 pm
Any updates on this lovely skin ? When are you going to upload it to deviant art and #Rainmeter ?:)


By the way, Rainmeter 2.0 just released.

No I had to put it on the back burner for a bit due to more pressing responsibilities.
I am going to wait until it is complete before uploading it anywhere else.
I will definitely have to check out the changes in Rainmeter 2.0.
Title: Re: Rainmeter skin for MC (still in development)
Post by: Fabricio on February 06, 2011, 07:27:32 pm
No I had to put it on the back burner for a bit due to more pressing responsibilities.
I am going to wait until it is complete before uploading it anywhere else.
I will definitely have to check out the changes in Rainmeter 2.0.

Hello,

How are you?

update for MC16 ...

Thanks, good work

Fabricio, from Brazil.
Title: Re: Rainmeter skin for MC (still in development)
Post by: Fabricio on February 07, 2011, 09:19:08 am
Hello,
Have bug.
if the album have variuos artists not show cover art.
Exemple: album: Absolute Love Deluxe have various artists.
For me: Album artist (auto) or album artist= Absolute Love Deluxe

Saved cover art how Absolute Love Deluxe - Absolute Love Deluxe, but not show cover art.

Not working whit "&". Example: album Love, Pain & The Whole Crazy Thing (Keith Urban), renamed for Love, Pain e The Whole Crazy Thing.

Why?

Help-me, please.

Thanks,

Fabricio, from Brazil.

Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 07, 2011, 11:25:33 am
Hello,
Have bug.
if the album have variuos artists not show cover art.
Exemple: album: Absolute Love Deluxe have various artists.
For me: Album artist (auto) or album artist= Absolute Love Deluxe

Saved cover art how Absolute Love Deluxe - Absolute Love Deluxe, but not show cover art.

Not working whit "&". Example: album Love, Pain & The Whole Crazy Thing (Keith Urban), renamed for Love, Pain e The Whole Crazy Thing.

Why?

Help-me, please.

Thanks,

Fabricio, from Brazil.



The reason this happens is MC writes the [Artist] to MCWS and the cover art uses [album artist (auto)] for names
The skin is looking for "Whitney Houston - Absolute Love Deluxe.jpg" and the cover art is named
"Absolute Love Deluxe - Absolute Love Deluxe.jpg"
You can not have a & in a file name and it must be converted to something else.
Here is a list of characters that can not be used in a file name
<
>
:
"
/
\
|
?
*
Title: Re: Rainmeter skin for MC (still in development)
Post by: Fabricio on February 07, 2011, 12:55:52 pm
The reason this happens is MC writes the [Artist] to MCWS and the cover art uses [album artist (auto)] for names
The skin is looking for "Whitney Houston - Absolute Love Deluxe.jpg" and the cover art is named
"Absolute Love Deluxe - Absolute Love Deluxe.jpg"
You can not have a & in a file name and it must be converted to something else.
Here is a list of characters that can not be used in a file name
<
>
:
"
/
\
|
?
*


The skin is looking for "Whitney Houston - Absolute Love Deluxe.jpg";

I have to save cover art "artist - Absolute Love Deluxe"?

Look:

Whitney Houston - Absolute Love Deluxe.jpg

Lionel Richie - Absolute Love Deluxe.jpg

Richard Marx - Absolute Love Deluxe.jpg?

Without conditions, i have multiples albuns, variuos artists ...

??

Please, help-me

Fabricio, from Brazil.



Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 07, 2011, 05:32:22 pm
Yes
Title: Re: Rainmeter skin for MC (still in development)
Post by: Fabricio on February 07, 2011, 06:44:11 pm
Help-me

How salve artist - Album? no album artist (auto).

How to do? How you do?

Please,

Thanks,

Fabricio, from Brazil.
Title: Re: Rainmeter skin for MC (still in development)
Post by: Fabricio on February 08, 2011, 09:29:33 am
Hello,

I think, also

(http://img528.imageshack.us/img528/142/jrmc4tl.jpg) (http://img528.imageshack.us/i/jrmc4tl.jpg/)

Regards,

Fabricio, from Brazil

Title: Re: Rainmeter skin for MC (still in development)
Post by: kurushi on February 13, 2011, 02:13:31 pm
Thanks
Have you ever tried it out? It really is an amazing program IMHO worth buying and it is free.

Hi,
sorry for the late...
In fact i have try rainmeter since one week now and finally i don't use it (i have played a little with it and try the 3 factory skins)
But thx it's was funny it remember me bbox or litestep...
Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 16, 2011, 04:16:42 am
removed by author
Title: Re: Rainmeter skin for MC (still in development)
Post by: Fabricio on February 16, 2011, 05:01:03 am
Scolex,

I like of the idea.
Quote
PSS: os Fabricio criarei uma versão portuguesa da utilidade cong para você assim você dont têm de usar constantemente promt.
.

Thanks by the consideration.

I am waiting... Your work are Excellent.

Fabricio, from Brazil.

Title: Re: Rainmeter skin for MC (still in development)
Post by: Fabricio on February 18, 2011, 05:25:44 am
Hi,

I am waiting yet.

Regards ...
Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 18, 2011, 11:43:57 am
Fui fazer a tradução mas muitos deles é demasiado longa para ajustar-se dentro da área de texto portanto adivinho que você terá de usar promt.

Paciência o meu bom homem ele merecerá esperar. ;D Tive de cuidar de algum outro negócio portanto o desenvolvimento foi atrasado.
Title: Re: Rainmeter skin for MC (still in development)
Post by: BumbleDawg on February 18, 2011, 03:50:33 pm
Did a bit of fast tweaking to get MC working with my rainmeter.
(http://i52.tinypic.com/141kzeo.jpg)

Try as I might, I just can't get the Cover Art, and Progress Bar working. :/

In anycase, hoping for super breakthroughs on your end Scolex. :)
Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 18, 2011, 04:04:11 pm
Progress bar was a little tricky although I have it working, I had to use some calcs to convert PositionMS and DurationMS to get it to work.
Cover Art has also given me some fits when using temp files created by MC so I am pulling images from my Cover Art folder and have a
version that uses the temp files. I have no idea why but the temp version works for some people and not for others. I have had it work for hours
and then all of the sudden stop for no reason at all. Pulling from the cover art folder works every time though as long as the naming of the
pics is consistent.
I will be releasing what I have right now before the weekends is over just need to make some tweaks and fix a couple of bugs.
I have isolated the bugs but haven't been able to give them a shot of RAID just yet.

You mind if I see what you have maybe there is something in it that works better than what I am doing.
Looks nice by the way.
Title: Re: Rainmeter skin for MC (still in development)
Post by: BumbleDawg on February 18, 2011, 04:36:31 pm
Quote
Progress bar was a little tricky although I have it working, I had to use some calcs to convert PositionMS and DurationMS to get it to work.
Ah I had the same idea, based on reverse engineering the other player skins. But for some reason it just won't move. :/

I might have set it up wrongly, since the the RegExp calling is veeery fickle in functioning.

Setting up 6 StringIndexes in this SPECIFIC ORDER works for me.
Quote
RegExp="(?siU)Name="State">(.*)</Item>.*Name="ElapsedTimeDisplay">(.*)</Item>.*Name="Artist">(.*)</Item>.*Name="Album">(.*)</Item>.*Name="Name">(.*)</Item>"
But the moment I substitute any of these values with other values, i.e "RemainingTimeDisplay" replacing "State", and it promptly stops functioning. Numerous refreshes won't revive it, and even restarting Rainmeter doesn't help. Revert it back to the previous set, and it functions normally lol.

I've gotten around this by setting individual Measures for each value as you have in one of your examples Scollex, that works good, but is a bit lengthy codewise lol.

Soon as I get the Progress Bars working, I'm pretty confident I can do the circle progress bars. Like these.
(http://i56.tinypic.com/eugb6d.jpg)

As for cover art, I've extracted all my cover art from my Library in to a separate folder. Where do I go from there? :D

Anyhoo, thank you for getting the ball rolling on Rainmeter for MC. Am a avid user of Rainmeter but so bummed with the lack of plugin/external support for the best media player out there. And this just hits the spot.
Title: Re: Rainmeter skin for MC (still in development)
Post by: BumbleDawg on February 19, 2011, 07:27:47 am
(http://i53.tinypic.com/2afebe8.jpg)

Micro-napped, then tackled it again. Got the progress bar working. :D All it needs now is cover art.
Title: Re: Rainmeter skin for MC (still in development)
Post by: Fabricio on February 19, 2011, 04:44:21 pm
Fui fazer a tradução mas muitos deles é demasiado longa para ajustar-se dentro da área de texto portanto adivinho que você terá de usar promt.

Paciência o meu bom homem ele merecerá esperar. ;D Tive de cuidar de algum outro negócio portanto o desenvolvimento foi atrasado.

without problem.
I was sick. almost I die.

Good bye ...
Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 22, 2011, 02:11:05 am
I had planned on releasing my updated version over the weekend but I have run into some unexplainable behavior and I am waiting to come up with a solution or get a reply explaining the behavior from one of the rainmeter gurus.
The problem is with the position/progress bar and some buttons that are sized dynamically in that with all but the 2 narrowest possible bar widths the behavior is as expected but with those 2 widths the button behavior and positioning is corrupt.
Title: Re: Rainmeter skin for MC (still in development)
Post by: BumbleDawg on February 22, 2011, 02:23:36 am
Ah I see.

I still can't the cover art to work even with your code Scolex. And was hoping to try one of your default skins to see if cover art works with yours so I can port it over to mine.

As for the progress bar, I'm getting erratic behaviour in a different manner. For some songs, the progress bar is accurate, but for some its too fast/slow. Odd really.

In any case, take your time and cheers again for the cover art help. :)
Title: Re: Rainmeter skin for MC (still in development) edit: revised
Post by: Scolex on February 23, 2011, 05:17:53 pm
Original posted completely rewritten and a link to the new version.
Let me know if you have any troubles.
Title: Re: Rainmeter skin for MC (still in development)
Post by: Scolex on February 23, 2011, 05:33:05 pm
As for the progress bar, I'm getting erratic behavior in a different manner. For some songs, the progress bar is accurate, but for some its too fast/slow. Odd really.

The erratic behavior you are getting if it is the same as mine is from the track cross-fade period and/or the "do not play silence (leading and trailing)" option.
If you watch the regular progress bar it also gets cut short at times.
Title: Re: Rainmeter skin for MC (still in development) edit: revised
Post by: BumbleDawg on February 23, 2011, 09:11:44 pm
Hmm. Default loading of RiverFront doesn't load anything lol. And the variables altered via the configuration tool also don't seem to be taking.

But it's most likely because I'm on MC16, although I did use the configuration tool to change MC15 to MC16.
In the end I manually edited the .inis' to reflect my setup (IP address of server, and MC16.exe etc) and I got track info + ratings working.

Still working on making it compatible to my setup. Still no dice on the cover art, but its possible because I'm storing it in a separate folder. "G:\Music\Covers". Again I've altered the strings in the .ini but they still don't show. :/

I'll work on it some more to make it work on my setup. :)

Lastly, I must say its annoying having all the different parts in separate folders and loading them as separate configs lol. Its really hard to move the whole config as they are individual parts and additionally, I use Win+D quite often, and its kinda hard to set each item to "On Desktop".

In anycase cheers for your work Scolex. Much appreciated.

Edit: Position bar doesn't turn up. Checked the .ini and

[Variables]
@include=D:\Documents\Rainmeter\Skins\RiverFront\Resources\Variables\UserVariables.inc

[MeasureVars]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=file://D:\Documents\Rainmeter\Skins\RiverFront\Resources\Variables\UserVariables.inc <======
RegExp="(?siU)PosBarW=(.*)\n.*PosBarH=(.*)\n"

Shouldn't it be a variable or a default C:\ for the most users Documents folder?

Edit 2:
The same line appears in the CoverArt.ini too.

Edit 3:
#MCxx# needs to be changed to #MCxx#.exe for Playing Controls.ini
Title: Re: Rainmeter skin for MC (still in development) edit: revised
Post by: BumbleDawg on February 23, 2011, 09:21:36 pm
Oh, quirk I discovered. Track info only displays properly when the Album field is filled. Songs without an Album field don't show any track info.

Edit: Still can't get cover art to work. :/

Edit 2: Got it working!! Via an alternate method that doesn't require web parsing. But it only works if the user uses the Track Info display.
Info to come while I finalize the code.
Title: Re: Rainmeter skin for MC (still in development) edit: revised
Post by: Scolex on February 23, 2011, 11:20:13 pm
Oh, quirk I discovered. Track info only displays properly when the Album field is field. Songs without an Album field don't show any track info.

Edit: Still can't get cover art to work. :/

Edit 2: Got it working!! Via an alternate method that doesn't require web parsing. But it only works if the user uses the Track Info display.
Info to come while I finalize the code.

I am not aware of the quirk you mention with the Album field or what exactly you mean by "Album field is field".
Did you mean "Album field is filled".

Corrected the D:\doc........ with #SKINSPATH# which is what I thought I had done, I always forget something.
Not sure why you are having trouble with the cover art if you are using the non temp version however I have never been able to get the temp version working with MC16.
Title: Re: Rainmeter skin for MC (still in development) edit: revised
Post by: Scolex on February 23, 2011, 11:34:32 pm
Hmm. Default loading of RiverFront doesn't load anything lol. And the variables altered via the configuration tool also don't seem to be taking.

But it's most likely because I'm on MC16, although I did use the configuration tool to change MC15 to MC16.
In the end I manually edited the .inis' to reflect my setup (IP address of server, and MC16.exe etc) and I got track info + ratings working.

#MCxx# needs to be changed to #MCxx#.exe for Playing Controls.ini

1. The default load only loads the Launcher which is hidden until you hover over it, this was explained in my updated original post.
2. For the variable altered via the config to take effect you have to enter the value then click "set value" and after all changes are made click "save all" and refresh the skins.
3. #MCxx# does not need to be changed you enter the .exe in the config utility the default value that shows on initial run is stated that way (MC15.exe) so I thought it would be self explanatory that the .exe was required.

Did you read my updated original post and the read me in their entirety?
Title: Re: Rainmeter skin for MC (still in development) edit: revised
Post by: BumbleDawg on February 24, 2011, 01:20:51 am
Quote
1. The default load only loads the Launcher which is hidden until you hover over it, this was explained in my updated original post.
2. For the variable altered via the config to take effect you have to enter the value then click "set value" and after all changes are made click "save all" and refresh the skins.
3. #MCxx# does not need to be changed you enter the .exe in the config utility the default value that shows on initial run is stated that way (MC15.exe) so I thought it would be self explanatory that the .exe was required.
I'm aware of what the launcher is. :) And I did click set value, but didn't save all. Perhaps I'll try again.
As for #MCxx#, all I did was change xx to 16. So it did say MC16.exe. But still the player controls didn't work. Retrying now anyhow.

Admittedly I didn't read the readme.pdf in entirety, so all blame on me, but it does seem rather complicated now that I've read it. :P
Trying it step by step anyway.

--------------------------------------------------------------------------------------------------------

In the meantime, I found an alternate way to display the cover art. For users who use Track Info.

(http://i51.tinypic.com/idgfig.jpg)

You can only use this if you use the Track Info display in MC.
http://www.mediafire.com/?xain395e3dpqq6c

This config displays just the cover image. The rest of the player is NOT INCLUDED in this zip. It is just the cover and you can move it where wherever you please.
Clicking the cover art now opens the folder where the currently playing track is.

Credit in part goes to Scolex for the inspiration. :P

PS: I'm also attempting to beautify the cover art displays, playing around with shadows, and cd covers. I'll post when I have something solid to show.

Edit:
No dice with rain configurator. :(
But I've I've got my configuration working splendidly and I couldn't ask for more. Couldn't have done it without you Scolex. Thanks again.

Edit: Clicking the cover art now opens the folder where the currently playing track is.
Title: Re: Rainmeter skin for MC (still in development) edit: revised
Post by: Scolex on February 24, 2011, 01:47:14 am
Just an FYI I am planning to jump into the deep end and attempt to create a rainmeter plugin for MC, sink or swim I am not sure but I am going to attempt it anyway. If successful most of the hang-ups will go away. I have never done any real programming so I am not making any promises.
I just looked at the code for the cover art that works with Track Info and it is quite close to how I was retrieving it with the temp format, nice rendition.
Would you be interested in a collaboration on creating a plugin?

On a side note my brain fart of forgetting to change D:\....... to #SKINSPATH# may have caused many or even all of the problems you experienced due to the fact that Rm seems to get real confused when it can't find something.

You didn't answer what did you mean by "Album field is field"? Did you mean "Album field is filled"
Title: Re: Rainmeter skin for MC (still in development) edit: revised
Post by: BumbleDawg on February 24, 2011, 01:54:46 am
I would love to, but I have zero programming know how. Not even a tiny bit lol.

I'll just hold a rope while you go treading the deep end. Doing the basic stuff.

I'm trying to implement an alternate image display when there isn't cover art to display a nocover.png.
(http://i56.tinypic.com/2cn8rx5.jpg)

And as mentioned previously, to overlay some effects on the main image like shadows.

Quote
You didn't answer what did you mean by "Album field is field"? Did you mean "Album field is filled"
Ah yes. I meant filled. I get my thought processes crossed sometimes when typing. Worry becomes vary, field becomes filled and vice versa. lawl
Title: Re: Rainmeter skin for MC (still in development) edit: revised
Post by: Scolex on February 24, 2011, 02:06:22 am
Now that I know what you mean I have seen this behavior when I was testing Rating in that if there was no rating for a track the entire skin would break. This was when everything was in a single skin. I need to work on an if/else for when the RegExp field is not found. I have virtually zero programming know how also but I figure with help, 1 of 2 thing will happen, we would either help each other tread code or help each other drown in it. :D
I have been looking at the source code for the iTunes plugin and SDK for iTunes to try and get an idea of what is going on. If I can get a grasp on what/why things were done I can maybe port it to MC or at least learn enough to create something new.
Title: Re: Rainmeter skin for MC (still in development) edit: revised
Post by: Arbiter on February 26, 2011, 08:18:55 am
@Scolex: I was finally able to reproduce the bug you were experiencing with the temp folder. It seems that it's a change in JRMC16's mcws and it just doesn't produce the thumbnails into the temp folder. I switched to the cover-art folder implementation but i came across a huge problem that i can't solve due to the info mcws provides.


Let's say we have an album compilation by multiple artists. The cover art mc will create will be in the form of "(multiple artists) - [Album].jpg . How can you configure the skin to use that instead of the now playing artist ?
Title: Re: Rainmeter skin for MC (still in development) edit: revised
Post by: Arbiter on February 26, 2011, 09:58:12 am
@Scolex: I was finally able to reproduce the bug you were experiencing with the temp folder. It seems that it's a change in JRMC16's mcws and it just doesn't produce the thumbnails into the temp folder. I switched to the cover-art folder implementation but i came across a huge problem that i can't solve due to the info mcws provides.


Let's say we have an album compilation by multiple artists. The cover art mc will create will be in the form of "(multiple artists) - [Album].jpg . How can you configure the skin to use that instead of the now playing artist ?

Scratch that. I found a way to retrieve the cover art images without the need of a cover-art location. All that is needed, is a simple line add into your code:

[MeasureImageLocation]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1
Url=#URL#
;StringIndex=1
RegExp="(?siU)File=(.*)</Item>"

[MeasureImageLocation2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1
Url=http://127.0.0.1:28690/MCWS/v1/File/GetImage?File=[MeasureImageLocation]&Type=Thumbnail
FinishAction=!RainmeterRedraw
StringIndex=1
Download=1
DownloadFile=coverart.jpg

and then a meter, that will use the downloaded image from mcws:

[AlbumArt]
Meter=IMAGE
MeasureName=MeasureImageLocation2
X=27
Y=14
H=102
W=102


So basically what it does is. It querries the MCWS server from the cover-art image patth and then it downloads the image into the skins directory. Then it just calls it up and displays. It properly shows every album image, no matter if it's a compilation or whatever and it displays your predifined "noalbum image" if the song doesn't have one. The only drawback is that, that file it creates cannot be deleted even if the skin is refreshed.
Title: Re: Rainmeter skin for MC (still in development) edit: revised
Post by: BumbleDawg on February 26, 2011, 10:23:22 am
If you read my previous post (http://"http://yabb.jriver.com/interact/index.php?topic=62104.msg419377#msg419377"), and if you use Track Info, there's a simpler way to call up cover art.

MC downloads and keeps a copy of the cover art in the Track Info folder. %userprofile%\Roaming\J River\Media Center 16\Temp\Track Info as image.jpg, which constantly refreshes songs play. This also works without the need for a cover art directory.

Good to know we have multiple options for calling cover art. :D
Title: Re: Rainmeter skin for MC (still in development) edit: revised
Post by: Scolex on February 27, 2011, 11:25:53 am
@Arbiter and BumbleDawg thanks for the input it is greatly appreciated, I have not done anything with the skin since my last post as I have been running a high fever for the last 48hours or so. I will definitely look into both options once I am feeling better.

Bumbledawg the config utility has to be run from the same location as it is in my skin if it is not it will not work. If you want to use it I can create one that will run for your config you would just have to tell me the name of the folder it would be placed in "*folder*\resources\variables" it might be a few days due to my current battle with this fever.
Title: Re: Rainmeter skin for MC (still in development) edit: revised
Post by: eclypse on March 31, 2011, 05:58:28 am
Does this version work with JRiver Media Jukebox, or juste media center, because i cannot make it work properly with MJ
Title: Re: Rainmeter skin for MC (still in development) edit: revised
Post by: Scolex on March 31, 2011, 07:27:18 am
Does this version work with JRiver Media Jukebox, or juste media center, because i cannot make it work properly with MJ

I am not sure as I don't have nor have I ever had Jukebox so I am not aware of it's capabilities.
I will look into it time permitting.
Title: Re: Rainmeter skin for MC
Post by: JimH on March 31, 2011, 08:09:46 am
In the main.xml file for the skin, try changing this
<MJMS version="3.0">
to this
<MJMS version="2.0">

I'm not sure it will work, but it's worth trying.
Title: Re: Rainmeter skin for MC
Post by: Scolex on March 31, 2011, 04:49:55 pm
In the main.xml file for the skin, try changing this
<MJMS version="3.0">
to this
<MJMS version="2.0">

I'm not sure it will work, but it's worth trying.

Jim you misunderstand what the skin is for. The skin is used by Rainmeter and there are no references to MJMS version or any xml files.
The skin is in effect webremote only it runs as a gadget (Rainmeter skin).
Title: Re: Rainmeter skin for MC
Post by: eclypse on April 02, 2011, 03:20:25 am
Thanks man, Also i've got the problem to make it work with MC, i don't know if it's because i got the trial version, nothing appear on the skin... :-\
Title: Re: Rainmeter skin for MC
Post by: Scolex on April 02, 2011, 07:11:58 am
Thanks man, Also i've got the problem to make it work with MC, i don't know if it's because i got the trial version, nothing appear on the skin... :-\

What version of MC?
Do you have media server enabled and configured?
media server: tools-->options-->Startup
config: tools-->options-->Media Network
Title: Re: Rainmeter skin for MC
Post by: eclypse on April 02, 2011, 12:55:16 pm
Thanks man, now it's working
Title: Re: Rainmeter skin for MC
Post by: MrHaugen on April 08, 2011, 07:54:07 am
For us that is only using local MC, is it possible to edit the Rainmeter Music widgets or skins to allow control of MC? I have no idea of how this works, or if it can even be done.

An example from the Enigma Music-Art "widget", which I would love to control MC with:

Code: [Select]
; ------------------------------------------------------------------------------------------------
; ENIGMA MUSIC
; Class: Sidebar

[Rainmeter]
Author=Kaelri.LCD@gmail.com
AppVersion=1001000
Update=1000
MiddleMouseDownAction=!RainmeterActivateConfig #CURRENTCONFIG# Music.ini
MouseOverAction=!Execute [!RainmeterHideMeter Album][!RainmeterShowMeter Prev][!RainmeterShowMeter Play][!RainmeterShowMeter Next][!RainmeterShowMeter Time]
MouseLeaveAction=!Execute [!RainmeterShowMeter Album][!RainmeterHideMeter Prev][!RainmeterHideMeter Play][!RainmeterHideMeter Next][!RainmeterHideMeter Time]

[Metadata]
Name=Enigma Music | Art
Config=Enigma | Sidebar | Music
Description=Shows information about the song currently playing in iTunes.
Instructions=Mouseover to reveal player controls.
Version=2.7 RC4
Tags=Music | iTunes | Sidebar
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Variant=1

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

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

[MeasureTrack]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentTrackName

[MeasureArtist]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentTrackArtist

[MeasureAlbum]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentTrackAlbum

[MeasureTime]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetPlayerPosition

[MeasureTMinute]
Measure=Calc
Formula=(MeasureTime - (MeasureTime % 60)) /60

[MeasureTSecond]
Measure=Calc
Formula=MeasureTime % 60

[MeasureTZero]
Measure=Calc
Formula=(MeasureTime % 60) < 10 ? 0 : 1
Substitute="1":""

[MeasureProgress]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetPlayerPositionPercent
MaxValue=100

[MeasurePrev]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=PreviousTrack

[MeasurePause]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=PlayPause

[MeasureNext]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=NextTrack

[MeasureArt]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentTrackArtwork

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

[StyleText]
X=54
;X=176
Y=16r
H=15
W=122
ClipString=1
FontFace=#Font#
FontSize=#Height2#
StringAlign=LEFT
StringStyle=NORMAL
AntiAlias=1

[StyleButton]
X=16r
Y=47
FontColor=#Color1#
StringStyle=BOLD
FontSize=10
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Hidden=1

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

[Border]
Meter=IMAGE
SolidColor=#ColorBorder#
X=0
Y=4
W=80
H=1

[Background]
Meter=IMAGE
SolidColor=0, 0, 0, 2
X=0
Y=1
W=180
H=70

[Label]
Meter=STRING
X=85
Y=0
FontColor=#Color1#
FontFace=#Font#
FontSize=#Height3#
StringAlign=LEFT
StringStyle=NORMAL
Text="N o w   P l a y i n g"
AntiAlias=1

[IconBack]
Meter=IMAGE
ImageName=#SKINSPATH#Enigma\Resources\Images\MusicAlbum.#ColorIcon#.png
X=4
Y=15
W=45
H=45

[Icon]
Meter=IMAGE
MeasureName=MeasureArt
X=5
Y=16
H=43
W=43

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

[Track]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureTrack
Y=15
FontColor=#Color1#

[Artist]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureArtist
FontColor=#Color2#

[Album]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureAlbum
FontColor=#Color2#

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

[Prev]
Meter=STRING
MeterStyle=StyleButton
X=54
Text="7"
LeftMouseDownAction=!Execute [!RainmeterShowMeter PrevPush][!RainmeterHideMeter Prev][!RainmeterRedraw]

[PrevPush]
Meter=STRING
MeterStyle=StyleButton
X=r
FontColor=#ColorActive#
Text="7"
LeftMouseUpAction=!Execute [!RainmeterPluginBang "MeasurePrev"][!RainmeterHideMeter PrevPush][!RainmeterShowMeter Prev][!RainmeterRedraw]

[Play]
Meter=STRING
MeterStyle=StyleButton
Text=";"
LeftMouseDownAction=!Execute [!RainmeterShowMeter PlayPush][!RainmeterHideMeter Play][!RainmeterRedraw]

[PlayPush]
Meter=STRING
MeterStyle=StyleButton
X=r
FontColor=#ColorActive#
Text=";"
LeftMouseUpAction=!Execute [!RainmeterPluginBang "MeasurePause"][!RainmeterHideMeter PlayPush][!RainmeterShowMeter Play][!RainmeterRedraw]

[Next]
Meter=STRING
MeterStyle=StyleButton
Text="8"
LeftMouseDownAction=!Execute [!RainmeterShowMeter NextPush][!RainmeterHideMeter Next][!RainmeterRedraw]

[NextPush]
Meter=STRING
MeterStyle=StyleButton
X=r
FontColor=#ColorActive#
Text="8"
LeftMouseUpAction=!Execute [!RainmeterPluginBang "MeasureNext"][!RainmeterHideMeter NextPush][!RainmeterShowMeter Next][!RainmeterRedraw]

[Time]
Meter=STRING
MeasureName=MeasureTMinute
MeasureName2=MeasureTZero
MeasureName3=MeasureTSecond
X=20r
Y=1r
StringAlign=LEFT
StringStyle=BOLD
FontColor=#Color1#
FontFace=#Font#
FontSize=#Height2#
AntiAlias=1
Text="%1.%2%3"
Hidden=1

;-------------------------
; BORDER 2

[ProgressBackground]
Meter=IMAGE
SolidColor=192, 192, 192, 80
X=0
Y=70
W=180
H=1

[Progress]
MeasureName=MeasureProgress
Meter=BAR
X=r
Y=r
H=1
W=180
BarColor=#ColorBorder#
BarOrientation=HORIZONTAL
Title: Re: Rainmeter skin for MC
Post by: Scolex on April 08, 2011, 02:26:22 pm
For us that is only using local MC, is it possible to edit the Rainmeter Music widgets or skins to allow control of MC? I have no idea of how this works, or if it can even be done.

An example from the Enigma Music-Art "widget", which I would love to control MC with:

Not without a plugin for MC, the skin you referenced uses the iTunesPlugin.dll in Rainmeter.
You can still use media server even if you don't have other computers connecting to it.
There aren't any caveats to running the server app.
Maybe one of these days I will have time to learn C++ or C# and I can create a plugin for MC.
I looked into it but it was pretty intimidating to me.
Title: Re: Rainmeter skin for MC
Post by: MrHaugen on April 10, 2011, 11:40:21 am
Of-course. I'll try running the server locally. That should work well. Thanks.
Title: Re: Rainmeter skin for MC
Post by: BumbleDawg on June 09, 2011, 10:06:36 pm
A Rainmeter 2.1 beta has been released with a dedicated cross player NowPlaying.dll that supports all media functions with full support for AIMP, Foobar200, MediaMonkey, MusicBee, iTunes, WinAmp, and WMP. No idea if it works with MC, but we should have a go at it.

http://rainmeter.net/RainCMS/?q=NowPlaying_beta
Title: Re: Rainmeter skin for MC
Post by: remixedcat on July 29, 2011, 12:54:42 pm
any word on media jukebox support?? I'd love this!
Title: Re: Rainmeter skin for MC
Post by: instigator on August 24, 2011, 10:16:03 am
Hi and congratulations for your project.
I have some problems when I'm trying use this. Doesn't work for me at all.
Doesn't show anything,(cover art, track info, nothing) so I hope that you can help me.
I use Windows 7 x64 and Rainmeter 2.1
Title: Re: Rainmeter skin for MC
Post by: Scolex on August 25, 2011, 03:16:31 am
Hi and congratulations for your project.
I have some problems when I'm trying use this. Doesn't work for me at all.
Doesn't show anything,(cover art, track info, nothing) so I hope that you can help me.
I use Windows 7 x64 and Rainmeter 2.1


I have not tested on 2.1 as my desktop crashed and I have not had the $ to fix it so I am stuck using my old tablet for everyday computer duties and it is everything it can do to keep up with what I need without additional background apps running.

What version of MC are you using?
Do you have media server running?  It is required for the skin to work properly since it uses the Media Center Web Service (MCWS).
Title: Re: Rainmeter skin for MC
Post by: HTPC4ME on November 21, 2011, 04:11:22 am
is this still in development? any new news? does it work with 17?
Thanks
Title: Re: Rainmeter skin for MC
Post by: leezer3 on March 16, 2012, 08:35:30 am
is this still in development? any new news? does it work with 17?
Thanks

If you install the CAD plugin along with Now Playing, you'll get some very nice skin stuff, which works with 17 nicely :)
For example, this works perfectly:
http://poiru.deviantart.com/art/Soita-for-Rainmeter-209864541

(None of these have anything to do with me!)
-Leezer-
Title: Re: Rainmeter skin for MC
Post by: InflatableMouse on April 19, 2012, 04:26:15 pm
Never knew there was something for MC to work with Rainmeter!

I'd love to get a control widget working with MC. The new playingnow.dll seems to work but its not showing track info or coverart. Just next/pause/back.

What is this CAD plugin you speak of?

Edit: nevermind, got it!

https://code.google.com/p/jr-intcad/downloads/detail?name=intcad100.exe&can=2&q=

and use "CAD" for player in the widget.

Awesome :D.