Packagers: Build customization changes in the next release

Announcements about PS3 Media Server

Packagers: Build customization changes in the next release

Postby chocolateboy » Sat Jul 09, 2011 10:17 am

This is a non-breaking change (and, in fact, a bug fix) as far as the official build is concerned, but it will affect packagers of custom Windows builds in the next release (currently scheduled to be 1.31.0).

A new class, net.pms.configuration.Build, has been added as a one-stop location for settings that custom builds are most likely to customize. The next release will optionally re-enable update checking, which previously used an update URL hardwired in PMS.java. This is now defined in Build.java, along with some other build-specific settings.

By setting IS_UPDATABLE in Build.java to false, update checks (manual and automatic) can be unconditionally disabled for Windows builds that can't/won't use the update mechanism. (There is no need to disable update checks in builds for other platforms as they're currently only supported on Windows.) Alternatively, custom builds that do want to take advantage of this mechanism can substitute their own server URL by setting UPDATE_SERVER_URL to an appropriate value. Finally, custom builds can define a build-specific profile directory name by means of the PROFILE_DIRECTORY_NAME field. This can be used to ensure that a custom build's profile files don't conflict with those used by the official build.

See the Build.java source for more details.
chocolateboy
Project Member
 
Posts: 2579
Joined: Wed Sep 16, 2009 10:05 am

Re: Packagers: Build customization changes in the next relea

Postby yakamoneye » Sun Jul 10, 2011 4:41 am

bonjour, il y aurait il francophone dans la salle qui pourrai m'expliquer ce que veut dire ce post, car j'ai des notions d'anglais mais la je sèche sur quelques sens de phrases
merci a toute l’équipe

yaka
yakamoneye
 
Posts: 5
Joined: Sat Jan 29, 2011 5:07 am
Location: quebec

Re: Packagers: Build customization changes in the next relea

Postby Raptor399 » Sun Jul 10, 2011 4:55 pm

Maybe Google translate helps?
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: Packagers: Build customization changes in the next relea

Postby yakamoneye » Sun Jul 10, 2011 11:00 pm

oui cela aide pour le sens général.

cela a fait l'affaire mais tout n'est pas clair clair

merci de ton aide
yakamoneye
 
Posts: 5
Joined: Sat Jan 29, 2011 5:07 am
Location: quebec

Re: Packagers: Build customization changes in the next relea

Postby G-rom » Mon Jul 11, 2011 10:42 am

look at your PM yakamoneye :roll:
---------------------------------------------------
regarde tes MP yakamoneye :roll:
G-rom
 
Posts: 24
Joined: Sat Mar 13, 2010 5:50 pm

Re: Packagers: Build customization changes in the next relea

Postby DeFlanko » Sun Jul 17, 2011 7:38 pm

Developed a few CONF files...
DeFlanko
 
Posts: 111
Joined: Sat Dec 05, 2009 6:49 pm
Location: San Pedro, CA


Return to Announcements

Who is online

Users browsing this forum: No registered users and 8 guests