Advertisement
Guest User

Untitled

a guest
Jul 31st, 2020
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. my steps
  2. 1. sudo apt-get install mariadb-server
  3. 2. sudo nano /etc/mysql/mariadb.conf.d/50-server.cnf
  4. 3. The the bin-address
  5. eg
  6. bind-address = 192.168.1.10
  7. 4. sudo service mariadb restart
  8. 5. mariadb -u root -p
  9. Enter the following commands:
  10. Type in: CREATE USER 'kodi' IDENTIFIED BY 'kodi'; and press return
  11. Type in: GRANT ALL ON *.* TO 'kodi'; and press return
  12. Type in: flush privileges; and press return
  13. Close out the command line tool with \q
  14. I add the following advancedsetting file in both devices
  15.  
  16. my advancedsettings.xml
  17.  
  18. <advancedsettings version="1.0">
  19. <videodatabase>
  20. <type>mysql</type>
  21. <host>192.168.1.10</host>
  22. <port>3306</port>
  23. <user>kodi</user>
  24. <pass>kodi</pass>
  25. </videodatabase>
  26. <musicdatabase>
  27. <type>mysql</type>
  28. <host>192.168.1.10</host>
  29. <port>3306</port>
  30. <user>kodi</user>
  31. <pass>kodi</pass>
  32. </musicdatabase>
  33. <videolibrary>
  34. <importwatchedstate>true</importwatchedstate>
  35. <importresumepoint>true</importresumepoint>
  36. </videolibrary>
  37. <video>
  38. <excludefromscan>
  39. <regexp>[-\._ ](extrafanart|sample|trailer|extrathumbs)[-\._ ]</regexp>
  40. </excludefromscan>
  41. <excludefromlisting>
  42. <regexp>[-._ \\/](extrafanart|sample|trailer|extrathumbs)[-._ \\/]</regexp>
  43. </excludefromlisting>
  44. <!-- Featurettes: Section Start -->
  45. <excludefromscan action="append">
  46. <regexp>/Featurettes/</regexp>
  47. <regexp>[\\/]Featurettes[\\/]</regexp>
  48. </excludefromscan>
  49. <excludetvshowsfromscan action="append">
  50. <regexp>/Featurettes/</regexp>
  51. <regexp>[\\/]Featurettes[\\/]</regexp>
  52. </excludetvshowsfromscan>
  53. <!-- Featurettes: Section End -->
  54. </video>
  55. </advancedsettings>
  56.  
  57. Nothing happens of second device
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement