First thing. If you have an existing Kodi video database on your Kodi machine, you should make a backup. Refer to http://www.kodi.tv/ forums for that.
With that done, you must first make sure that your OMV machine aquires the same IP address every time it starts up. This is called Static IP address. Refer to http://www.dlink.com/-/media/Consumer_Products/DIR/DIR 860L/Manual/DIR860LA1manual042213v10US.pdf Go to page 53 to do this.
Reboot your router and then your OMV machine. The IP address I assigned to my OMV machine from my router is 192.168.1.100. Yours will be different because of the IP range that your router is set to.
For the sake of simplicity, I will refer to your assigned IP address as 192.168.x.x
Now that your OMV machine has a static IP address, we can begin with the guide
Step:
1. Install omv-extras if you have not already. If you have, skip to step 2.
2. Install the mysql plugin
3. Select the mysql plugin from the list to the left of the omv webgui.
4. Enable it and select a volume that the databases will reside on.
5. In the OMV webgui, on the mysql section, you will change the bind address to 192.168.x.x (remember that the ip address is the one you assigned to your OMV machine and not with any letters in it.)
6. on the OMV machine itself, log in as root
7. Type in the command (without the quotation marks) "service mysql stop" and it should stop.
8. Type in the command (without the quotation marks) "nano /etc/mysql/my.cnf"
9. Go down to the entry Bind Address = 127.0.0.0
10. Change it to 192.168.x.x (remember that the ip address is the one you assigned to your OMV machine and not with any letters in it.)
11. Type in the command (without the quotation marks) "service mysql start" and it should start.
12. In the OMV webgui, on the mysql section, click on "launch management site"
13. Log in as user root with password openmediavault
14. In the menut "Tools" select "User manager"
15. Once the user manager subwindow appears, click on "Add User"
16. User name will be: kodi
Host will be: %
Password will be: kodi
confirm password will be: kodi
17. Click on global privileges tab and check Select all/None box.
18. Click button "update user"
With that done on your OMV machine, you now need to add the mysql info to the advancedsettings.xml in Kodi. This will be in the userdata folder.
contents will be (of course the 192.168.x.x will be the IP address you assigned your OMV machine) Refer to http://kodi.wiki/view/MySQL/Setting_up_Kodi
<advancedsettings>
<useddsfanart>true</useddsfanart>
<cputempcommand>cputemp</cputempcommand>
<gputempcommand>gputemp</gputempcommand>
<videolibrary>
<cleanonupdate>true</cleanonupdate>
</videolibrary>
<samba>
<clienttimeout>30</clienttimeout>
</samba>
<network>
<disableipv6>true</disableipv6>
</network>
<videodatabase>
<type>mysql</type>
<host>192.168.x.x</host>
<port>3306</port>
<user>kodi</user>
<pass>kodi</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.x.x</host>
<port>3306</port>
<user>kodi</user>
<pass>kodi</pass>
</musicdatabase>
<videolibrary>
<importwatchedstate>true</importwatchedstate>
<importresumepoint>true</importresumepoint>
</videolibrary>
</advancedsettings>
Alles anzeigen
I apologize that this guide is rather crude, but I'm not even really awake yet. Translation coming.
Translation:
우선. 당신이 당신의 KODI 시스템에서 기존 KODI 비디오 데이터베이스가있는 경우, 당신은 백업을 만들어야합니다. 그에 대한 포럼을 kodi.tv/을 참조하십시오.
그 짓을, 당신은 먼저 OMV 시스템이 동일한 IP 주소는 시작할 때마다 취득 해 있는지 확인해야합니다. 이것은 고정 IP 주소라고합니다. 수동 dlink.com/-/media/Consumer_Products/DIR/DIR 860L / 참조 / DIR860LA1manual042213v10US.pdf이 작업을 수행하는 53 페이지로 이동합니다.
라우터 다음 OMV 시스템을 다시 부팅합니다. 내 라우터에서 내 OMV 머신에 할당 된 IP 주소는 192.168.1.100입니다. 당신 때문에 라우터로 설정되어 IP 범위의 다릅니다.
간단히하기 위해, 나는으로 192.168.xx로 할당 된 IP 주소를 참조합니다
이제 OMV 머신은 고정 IP 주소를 지니고 있으니 가이드와 함께 시작할 수있다
단계 :
당신이 이미하지 않은 경우 1. OMV-엑스트라를 설치합니다. 당신이있는 경우, 2 단계로 건너 뜁니다.
2. MySQL의 플러그인을 설치
OMV의 웹 GUI의 왼쪽에있는 목록에서 MySQL의 플러그인을 선택합니다.
4.를 활성화하고 데이터베이스에 상주 할 볼륨을 선택합니다.
OMV의 웹 GUI에서 5. MySQL의 섹션에, 당신은으로 192.168.xx 바인드 주소를 변경합니다 (IP 주소가 당신이 당신의 OMV 기계로하지 그 어떤 문자로 할당 한 것을 기억합니다.)
OMV 기계 자체에 6. 루트로 로그인
7. "서비스 mysql을 정지"(인용 부호 제외) 명령을 입력하고 그것을 중지해야합니다.
(인용 부호 제외) 명령에 8. "나노 /etc/mysql/my.cnf"
9. 항목 바인드 주소 = 127.0.0.0로 내려 가서
그것으로 192.168.xx 10. 변경 (IP 주소는 당신이 당신의 OMV 기계로하지 그 어떤 문자로 할당 한 것을 기억합니다.)
11. "서비스 MySQL의 시작"(인용 부호 제외) 명령을 입력하고 그것을 시작해야합니다.
12. OMV의 웹 GUI에서, MySQL의 섹션에 "발사 관리 사이트"를 클릭
암호 openmediavault와 사용자 루트로 (13) 로그인
menut 14. "도구"는 "사용자 관리"를 선택
사용자 관리자 서브 윈도우가 표시되면 (15), "사용자 추가"를 클릭
16. 사용자 이름은 다음과 같습니다 KODI
호스트는 다음과 같습니다 %
암호는 다음과 같습니다 KODI
될 것입니다 암호를 확인 : KODI을
글로벌 권한 탭 (17)을 클릭하고 모든 / 없음 상자를 선택하십시오.
18. 버튼 "사용자 업데이트"
즉 당신의 OMV 기계에서 수행, 당신은 지금 KODI의 advancedsettings.xml에 MySQL의 정보를 추가해야합니다. 이 유저 데이터 폴더에있을 것입니다.
내용은 (물론으로 192.168.xx가 IP 주소가 당신이 당신의 OMV 기계에 할당됩니다)입니다 참조 http://kodi.wiki/view/MySQL/Setting_up_Kodi
<advancedsettings>
<useddsfanart>true</useddsfanart>
<cputempcommand>cputemp</cputempcommand>
<gputempcommand>gputemp</gputempcommand>
<videolibrary>
<cleanonupdate>true</cleanonupdate>
</videolibrary>
<samba>
<clienttimeout>30</clienttimeout>
</samba>
<network>
<disableipv6>true</disableipv6>
</network>
<videodatabase>
<type>mysql</type>
<host>192.168.x.x</host>
<port>3306</port>
<user>kodi</user>
<pass>kodi</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.x.x</host>
<port>3306</port>
<user>kodi</user>
<pass>kodi</pass>
</musicdatabase>
<videolibrary>
<importwatchedstate>true</importwatchedstate>
<importresumepoint>true</importresumepoint>
</videolibrary>
</advancedsettings>
Alles anzeigen
나는이 가이드는 다소 조잡 것을 죄송하지만 나는 아직도 정말 깨어 아니에요.
_______________________________________________________________________________________
And it appears you solved your issue. Great! Leaving this here since it took a bit to gather my thoughts and took a bit of effort to type it out.