How to define profile directory (PMS.conf)

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

How to define profile directory (PMS.conf)

Postby punchline » Mon Oct 29, 2012 12:40 am

Hi,

I read the FAQ and knew how to do it with GUI, but I just cant understand how to do it with PMS_CONFIG script on the Windows enviornment. Can some one help me?

Everytime I need to setup again if I reboot my Windows for the GUI version, so I wanted to know the script version.

Where should I place the PMS_CONFIG script if which file?

Thanks.
punchline
 
Posts: 4
Joined: Sun Oct 28, 2012 11:07 pm

Re: How to define profile directory (PMS.conf)

Postby meskibob » Mon Oct 29, 2012 1:52 am

I provide NO application support via PM or email, so please post your question to the forum per the Forum Rules.
meskibob
Moderator
 
Posts: 4761
Joined: Mon Jan 19, 2009 4:11 pm

Re: How to define profile directory (PMS.conf)

Postby chocolateboy » Mon Oct 29, 2012 2:02 am

punchline wrote:I read the FAQ and knew how to do it with GUI, but I just cant understand how to do it with PMS_CONFIG script on the Windows enviornment.


If you're referring to FAQ: How can I launch PMS with a custom profile?, then Google is your friend:

http://support.microsoft.com/kb/310519
http://www.itechtalk.com/thread3595.html
chocolateboy
Project Member
 
Posts: 2579
Joined: Wed Sep 16, 2009 10:05 am

Re: How to define profile directory (PMS.conf)

Postby punchline » Mon Oct 29, 2012 12:54 pm

Thanks, meskibob and chocolateboy!
Now I learned how to use Windows environmental variable.

I came up with another questions. Please help me understand.

How can you run the multiple servers with different PMS.conf on the defined Windows environmental variable? It seems you could only launch the server with one PMS.conf because you could only define one Windows environmental variable. Although, I do know how to do it in the GUI version.

Also, how do I use pms.profile.path property? I just want to know if I could change the default PMS.conf path to where I want ultimately so that I don't even have to think about changing the Windows environmental variable after reinstalling the OS. I saw inside PMS.jar and found few property file but it was binary and uneditable.

Thanks
punchline
 
Posts: 4
Joined: Sun Oct 28, 2012 11:07 pm

Re: How to define profile directory (PMS.conf)

Postby chocolateboy » Mon Oct 29, 2012 1:28 pm

punchline wrote:how do I use pms.profile.path property?


You can set it in PMS.bat and launch PMS that way.

How can you run the multiple servers with different PMS.conf


If you don't want to use the GUI, you can create a different .bat file for each profile.
chocolateboy
Project Member
 
Posts: 2579
Joined: Wed Sep 16, 2009 10:05 am

Re: How to define profile directory (PMS.conf)

Postby punchline » Tue Oct 30, 2012 8:26 am

Thank you very very much chocolateboy!! You gave me a big clue!

Since I use Japanese environment, it seems that there is an issue executing the bat file by doubleclick but no problem by command prompt. So I used the Windows shortcut to avoid that issue. I end up using the following scripts;

Link:
"C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -Dpms.profile.path="D:\Server\PS3 Media Server\Data\PMSPS3.conf" -classpath update.jar;pms.jar net.pms.PMS

Working Folder:
"D:\Server\PS3 Media Server"

Again Thanks
punchline
 
Posts: 4
Joined: Sun Oct 28, 2012 11:07 pm

Re: How to define profile directory (PMS.conf)

Postby chocolateboy » Tue Oct 30, 2012 10:03 am

Thanks. I've added that to the FAQ.
chocolateboy
Project Member
 
Posts: 2579
Joined: Wed Sep 16, 2009 10:05 am

Re: How to define profile directory (PMS.conf)

Postby punchline » Tue Oct 30, 2012 12:19 pm

One last thing. It seems that -Djava.net.preferIPv4Stack=true was required for my environment. Now I finally can open AND play from my PS3.

Link:
"C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -Dpms.profile.path="D:\Server\PS3 Media Server\Data\PMSPS3.conf" -Djava.net.preferIPv4Stack=true -classpath update.jar;pms.jar net.pms.PMS

Working Folder:
"D:\Server\PS3 Media Server"
punchline
 
Posts: 4
Joined: Sun Oct 28, 2012 11:07 pm


Return to General Help and Support

Who is online

Users browsing this forum: Google [Bot] and 16 guests