It is currently July 12th, 2020, 4:05 am

Changing The Path To An Application

General topics related to Rainmeter.
Gregory2001
Posts: 81
Joined: May 28th, 2010, 2:29 pm

Changing The Path To An Application

Post by Gregory2001 »

I need to do this but I'm not sure how. Can anybody help? Thanks.
User avatar
jsmorley
Developer
Posts: 21014
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Changing The Path To An Application

Post by jsmorley »

Gregory2001 wrote:
March 16th, 2020, 11:48 pm
I need to do this but I'm not sure how. Can anybody help? Thanks.
I'm sorry, but this is nowhere near enough information to even begin to answer.
Gregory2001
Posts: 81
Joined: May 28th, 2010, 2:29 pm

Re: Changing The Path To An Application

Post by Gregory2001 »

JRiver Media Center went from Media Center 25 to 26 and now "CAD:::" no longer works for Now Playing skins. Thanks.
User avatar
balala
Rainmeter Sage
Posts: 11009
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Changing The Path To An Application

Post by balala »

Gregory2001 wrote:
March 17th, 2020, 12:43 am
JRiver Media Center went from Media Center 25 to 26 and now "CAD:::" no longer works for Now Playing skins. Thanks.
This has been discussed a few times before. Take a look please to the following discussions, especially to the second one:
https://forum.rainmeter.net/viewtopic.php?f=5&t=34407#p170031
https://forum.rainmeter.net/viewtopic.php?f=5&t=31909&start=10#p161141
Gregory2001
Posts: 81
Joined: May 28th, 2010, 2:29 pm

Re: Changing The Path To An Application

Post by Gregory2001 »

I am aware of this but I don't know how to change the path from 25 to 26. Thanks.
User avatar
balala
Rainmeter Sage
Posts: 11009
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Changing The Path To An Application

Post by balala »

Gregory2001 wrote:
March 17th, 2020, 1:21 pm
I don't know how to change the path from 25 to 26.
What path? There is no path. Or is?
Gregory2001
Posts: 81
Joined: May 28th, 2010, 2:29 pm

Re: Changing The Path To An Application

Post by Gregory2001 »

Re: JRiver Media Center
Post by jsmorley » Tue Apr 02, 2019 11:03 am

Gregory2001 wrote: ↑Tue Apr 02, 2019 10:44 am
Yes, something changed on the last upgrade but I still don't understand why it works for you and not here. Here on MC25, Soita (or any other skin) won't even open the player.
Well, that is likely just that you havn't changed the path to the application, which is different depending on the version.

"C:\Program Files\J River\Media Center 25\Media Center 25.exe"
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4040
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Changing The Path To An Application

Post by eclectic-tech »

Gregory2001 wrote:
March 17th, 2020, 2:23 pm
Re: JRiver Media Center
Post by jsmorley » Tue Apr 02, 2019 11:03 am

Gregory2001 wrote: ↑Tue Apr 02, 2019 10:44 am
Yes, something changed on the last upgrade but I still don't understand why it works for you and not here. Here on MC25, Soita (or any other skin) won't even open the player.
Well, that is likely just that you havn't changed the path to the application, which is different depending on the version.

"C:\Program Files\J River\Media Center 25\Media Center 25.exe"
You can tell the NowPlaying measure where to find your media player, so the open command works, by setting the PlayerPath in the measure to the path to your player.

Code: Select all

[MeasurePlayer]
Measure=NowPlaying
Player=CAD
PlayerType=TITLE
PlayerPath=C:\Program Files\J River\Media Center 26\Media Center 26.exe
I will not install J River Media Center 26 to find out what the correct path is, but with a little searching I am sure you can find the correct path value.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4040
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Changing The Path To An Application

Post by eclectic-tech »

Gregory2001 wrote:
March 17th, 2020, 12:43 am
JRiver Media Center went from Media Center 25 to 26 and now "CAD:::" no longer works for Now Playing skins. Thanks.
I try very hard not to recommend software on forums, but you have been looking for answers for a loooong time.

You could try installing CD Art Display 3.0 for Windows. According to some older post on the J River forum, it will work with older J River versions by setting the "Options", "Player", "Selected Player" to "Registered Player".
cad.png
It also has a skin editor that may help you design the style of interface you desire.
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 11009
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Changing The Path To An Application

Post by balala »

Gregory2001 wrote:
March 17th, 2020, 12:43 am
JRiver Media Center went from Media Center 25 to 26 and now "CAD:::" no longer works for Now Playing skins. Thanks.
Just tried and found out that it does work for me. Installed JRiver Media Center 26.0.30 and tried the example code existing on the NowPlaying measure's help page. Works perfectly.
The installation path of my JRiver Media Center is c:\Program Files\J River\Media Center 26\Media Center 26.exe. I tried to add the PlayerPath=c:\Program Files\J River\Media Center 26\Media Center 26.exe option (having the previously posted path into the PlayerPath option as you can see) option to the parent NowPlaying measure. I also added a [MeterOpen] meter to the code:

Code: Select all

[MeterOpen]
Meter=String
X=20R
Y=5
FontColor=FFFF00
Text=Open
LeftMouseUpAction=[!CommandMeasure "MeasurePlayer" "OpenPlayer"]
When clicking the above Open string, JRiver Media Center opens correctly. So everything seems to be working.
My thought is that in your case the PlayerPath option is either not set correctly (but probably it is correct), or most probably, the option is not added to the parent measure. In such a case, the OpenPlayer might not work.
In order to can take a look, please post the code of your skin. Thanks.