Skip to main content
Question

Programmatically Checking if DVD Region is Set?

  • October 8, 2010
  • 2 replies
  • 16 views

Forum|alt.badge.img+4

Anyone know if this is possible with an extension attribute?

- Jay Heath

2 replies

Forum|alt.badge.img+31
  • Honored Contributor
  • October 8, 2010

I checked and did not see a way you could grab the region code from the command line. However, in the past I have modified the /etc/authorization file to allow users to set their own regions. There is an app you can drop into Casper to make this possible.

http://jenniferandjon.com/software/index.php?main_page=product_music_info&cPath=66&products_id=192

All this app does is modify that file, doesn't actually install anything.


Forum|alt.badge.img+31
  • Honored Contributor
  • October 8, 2010

There is a setregion command in the DVD private framework folder, however Apple's manual page says you cannot use this from the command line. A quick google search shows people using perl to gather data and then run it through the binary. However, I never saw any results.

bash-3.2# locate setregion /Library/Application Support/JAMF/Composer/Sources/netboot/ROOT/System/Library/Frameworks/DVDPlayback.framework/Versions/A/setregion /System/Library/Frameworks/DVDPlayback.framework/Versions/A/setregion

there also seems to be one in my JAMF folder, but that could be from something I captured with Composer a while ago.

-Tom