Kodi: Difference between revisions

From James's Wiki
No edit summary
No edit summary
Line 59: Line 59:
   </videolibrary>
   </videolibrary>
</advancedsettings>
</advancedsettings>
reboot
there will be no movies or tv shows. the database is blank. go to videos, click add content on your sources. the database will be created.

Revision as of 21:11, 18 March 2018

bug...smb share don't show up anymore....add manually instead by typing in the path ect

ssh:

user osmc

pass osmc

TuneIn

ssh in and

wget https://github.com/brianhornsby/plugin.audio.tuneinradio/releases/download/v3.0.0/plugin.audio.tuneinradio-3.0.0.zip

logs

sudo nano /home/osmc/.kodi/temp/kodi.log


Set up mysql database sharing for multiple kodi boxes at home

On your mysql server

Note that I'm using a raspberry pi 3 (stretch) as a NAS server and mysql server for kodi.

sudo mysql -u root
CREATE USER 'KodiUser' IDENTIFIED BY 'KodiPassword';
GRANT ALL ON `MyVideos%`.* TO 'KodiUser';
GRANT ALL ON `MyMusic%`.* TO 'KodiUser';
FLUSH PRIVILEGES;
quit

comment out the bind in this file on server:

sudo nano /etc/mysql/mariadb.conf.d/50-server.cnf

On your kodi box

ssh in

find

<advancedsettings>

 <videodatabase>
   <type>mysql</type>
   <host>XXX.XXX.XXX.XXX</host>
   <port>3306</port>
   <user>KodiUser</user>
   <pass>KodiPassword</pass>
 </videodatabase> 
 <musicdatabase>
   <type>mysql</type>
   <host>XXX.XXX.XXX.XXX</host>
   <port>3306</port>
   <user>KodiUser</user>
   <pass>KodiPassword</pass>
 </musicdatabase>
 <videolibrary>
   <importwatchedstate>true</importwatchedstate>
   <importresumepoint>true</importresumepoint>
 </videolibrary>

</advancedsettings>

reboot

there will be no movies or tv shows. the database is blank. go to videos, click add content on your sources. the database will be created.