Guest User

5 User XBMC - Server Setup 1.2.1 for Windows

a guest
Jun 8th, 2014
1,229
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @ECHO OFF
  2.  
  3. ECHO --------------------------------------------------
  4. ECHO --------------------------------------------------
  5. ECHO --------------- 5 USER XBMC SCRIPT ---------------
  6. ECHO --------------------------------------------------
  7. ECHO --------------------------------------------------
  8. ECHO --------------- SERVER SETUP 1.2.1 ---------------
  9. ECHO --------------------------------------------------
  10. ECHO --------------------------------------------------
  11. ECHO ----------------- BY N. KINGSTON -----------------
  12. ECHO --------------------------------------------------
  13. ECHO --------------------------------------------------
  14. ECHO.
  15. ECHO.
  16.  
  17.  
  18.  
  19. IF EXIST "%appdata%\XBMC_Backup" (
  20.  
  21. ECHO MOVE OR DELETE: "%appdata%\XBMC_Backup"
  22. ECHO.
  23. ECHO SCRIPT WILL NOW EXIT
  24. ECHO.
  25. PAUSE
  26. EXIT
  27.  
  28. )
  29.  
  30.  
  31.  
  32. SET /P ipaddress=ENTER YOUR MYSQL SERVERS IP ADDRESS: %=%
  33.  
  34. ECHO.
  35.  
  36. SET /P username=ENTER YOUR MYSQL SERVERS USERNAME: %=%
  37.  
  38. ECHO.
  39.  
  40. SET /P password=ENTER YOUR MYSQL SERVERS PASSWORD: %=%
  41.  
  42.  
  43.  
  44. IF EXIST "%appdata%\XBMC" (
  45.  
  46. MOVE "%appdata%\XBMC" "%appdata%\XBMC_Backup"
  47.  
  48. )
  49.  
  50.  
  51.  
  52. MKDIR "%appdata%\XBMC"
  53. MKDIR "%appdata%\XBMC\userdata"
  54.  
  55.  
  56.  
  57. ECHO ^<advancedsettings^> > "%appdata%\XBMC\userdata\advancedsettings.xml"
  58.  
  59. ECHO ^<videodatabase^> >> "%appdata%\XBMC\userdata\advancedsettings.xml"
  60. ECHO ^<type^>mysql^</type^> >> "%appdata%\XBMC\userdata\advancedsettings.xml"
  61. ECHO ^<host^>%ipaddress%^</host^> >> "%appdata%\XBMC\userdata\advancedsettings.xml"
  62. ECHO ^<port^>3306^</port^> >> "%appdata%\XBMC\userdata\advancedsettings.xml"
  63. ECHO ^<user^>%username%^</user^> >> "%appdata%\XBMC\userdata\advancedsettings.xml"
  64. ECHO ^<pass^>%password%^</pass^> >> "%appdata%\XBMC\userdata\advancedsettings.xml"
  65. ECHO ^<name^>a^</name^> >> "%appdata%\XBMC\userdata\advancedsettings.xml"
  66. ECHO ^</videodatabase^> >> "%appdata%\XBMC\userdata\advancedsettings.xml"
  67.  
  68. ECHO ^<musicdatabase^> >> "%appdata%\XBMC\userdata\advancedsettings.xml"
  69. ECHO ^<type^>mysql^</type^> >> "%appdata%\XBMC\userdata\advancedsettings.xml"
  70. ECHO ^<host^>%ipaddress%^</host^> >> "%appdata%\XBMC\userdata\advancedsettings.xml"
  71. ECHO ^<port^>3306^</port^> >> "%appdata%\XBMC\userdata\advancedsettings.xml"
  72. ECHO ^<user^>%username%^</user^> >> "%appdata%\XBMC\userdata\advancedsettings.xml"
  73. ECHO ^<pass^>%password%^</pass^> >> "%appdata%\XBMC\userdata\advancedsettings.xml"
  74. ECHO ^<name^>a^</name^> >> "%appdata%\XBMC\userdata\advancedsettings.xml"
  75. ECHO ^</musicdatabase^> >> "%appdata%\XBMC\userdata\advancedsettings.xml"
  76.  
  77. ECHO ^</advancedsettings^> >> "%appdata%\XBMC\userdata\advancedsettings.xml"
  78.  
  79.  
  80.  
  81. ECHO.
  82. ECHO.
  83. ECHO --------------------------------------------------
  84. ECHO --------------------------------------------------
  85. ECHO ------------- WHAT TO DO NEXT --------------------
  86. ECHO --------------------------------------------------
  87. ECHO --------------------------------------------------
  88. ECHO ------------- 1. RUN XBMC ------------------------
  89. ECHO --------------------------------------------------
  90. ECHO --------------------------------------------------
  91. ECHO ------------- 2. WAIT 30 SECONDS -----------------
  92. ECHO --------------------------------------------------
  93. ECHO --------------------------------------------------
  94. ECHO ------------- 3. EXIT XBMC -----------------------
  95. ECHO --------------------------------------------------
  96. ECHO --------------------------------------------------
  97. ECHO ------------- 4. EXECUTE MYSQL QUERY -------------
  98. ECHO --------------------------------------------------
  99. ECHO --------------------------------------------------
  100. ECHO ------------- 5. SETUP CLIENTS -------------------
  101. ECHO --------------------------------------------------
  102. ECHO --------------------------------------------------
  103. ECHO.
  104. ECHO.
  105.  
  106.  
  107.  
  108. PAUSE
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×