home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2009 May / maximum-cd-2009-05.iso / DiscContents / XBMC_for_Windows-8.10.exe / scripts / AppleMovieTrailers / default.py next >
Encoding:
Python Source  |  2008-11-17  |  1.7 KB  |  48 lines

  1. # AppleMovieTrailers script revision: 2372 - built with build.bat version 1.0 #
  2.  
  3. # main import's
  4. import sys
  5. import os
  6.  
  7. # Script constants
  8. __scriptname__ = "Apple Movie Trailers"
  9. __author__ = "Apple Movie Trailers (AMT) Team"
  10. __url__ = "http://code.google.com/p/xbmc-scripting/"
  11. __svn_url__ = "http://xbmc-scripting.googlecode.com/svn/trunk/Apple%20Movie%20Trailers"
  12. __credits__ = "XBMC TEAM, freenode/#xbmc-scripting"
  13. __version__ = "pre-0.99.7.1"
  14. __svn_revision__ = "2372"
  15.  
  16. # Shared resources
  17. BASE_RESOURCE_PATH = xbmc.translatePath( os.path.join( os.getcwd(), "resources" ) )
  18. sys.path.append( os.path.join( BASE_RESOURCE_PATH, "lib" ) )
  19. # append the proper platforms folder to our path, xbox is the same as win32
  20. env = ( os.environ.get( "OS", "win32" ), "win32", )[ os.environ.get( "OS", "win32" ) == "xbox" ]
  21. sys.path.append( os.path.join( BASE_RESOURCE_PATH, "platform_libraries", env ) )
  22. # create our language object
  23. __language__ = xbmc.Language( os.getcwd() ).getLocalizedString
  24.  
  25. # Main team credits
  26. __credits_l1__ = __language__( 910 )#"Head Developer & Coder"
  27. __credits_r1__ = "Killarny"
  28. __credits_l2__ = __language__( 911 )#"Coder & Skinning"
  29. __credits_r2__ = "Nuka1195"
  30. __credits_l3__ = __language__( 912 )#"Graphics & Skinning"
  31. __credits_r3__ = "Pike"
  32.  
  33. # additional credits
  34. __add_credits_l1__ = __language__( 1 )#"Xbox Media Center"
  35. __add_credits_r1__ = "Team XBMC"
  36. __add_credits_l2__ = __language__( 913 )#"Usability"
  37. __add_credits_r2__ = "Spiff & JMarshall"
  38. __add_credits_l3__ = __language__( 914 )#"Language File"
  39. __add_credits_r3__ = __language__( 2 )#"Translators name"
  40.  
  41.  
  42. # Start the main gui
  43. if __name__ == "__main__":
  44.     # main window
  45.     import gui
  46.     # clear all modules
  47.     sys.modules.clear()
  48.