Kodi Community Forum
Kodi add music manually with SSH - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: Kodi add music manually with SSH (/showthread.php?tid=223617)



Kodi add music manually with SSH - Feather2 - 2015-04-06

Hello
I have a raspberry Pi 2 with a raspbian disto.
I installed Kodi follwoing this link http://michael.gorven.za.net/. through a SSH connection.
I installed remote KOdi (Kore) on my tablet and I have the connection to my raspberry but I don't have access to music.

I put some mp3 files under the directory /home/pi/musique.

I created under /home/kodi/.kodi/userdata a sources.xml file with a link to the directory:

<sources>
<music>
<default>Pi Collection</default>
<source>
<name>Pi Collection</name>
<path pathversion="1">/home/pi/musique</path>
<allowsharing>true</allowsharing>
</source>
</music>
</sources>


I rebooted the raspberry with the DEBUGLEVEL = 2

In kodi.log I can see

15:30:08 T:1961684992 NOTICE: Disabled debug logging due to GUI setting. Level 1.
15:30:08 T:1961684992 NOTICE: Log level changed to "LOG_LEVEL_DEBUG"
15:30:08 T:1961684992 NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
15:30:08 T:1961684992 DEBUG: CMediaSourceSettings: <video> tag is missing or sources.xml is malformed
15:30:08 T:1961684992 DEBUG: CMediaSourceSettings: <programs> tag is missing or sources.xml is malformed
15:30:08 T:1961684992 DEBUG: CMediaSourceSettings: <pictures> tag is missing or sources.xml is malformed
15:30:08 T:1961684992 DEBUG: CMediaSourceSettings: <files> tag is missing or sources.xml is malformed
15:30:08 T:1961684992 DEBUG: CMediaSourceSettings: Setting <default> source to : Pi Collection
15:30:08 T:1961684992 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
15:30:08 T:1961684992 DEBUG: CPlayerCoreConfig::<ctor>: created player DVDPlayer for core 1
15:30:08 T:1961684992 DEBUG: CPlayerCoreConfig::<ctor>: created player oldmplayercore for core 1
15:30:08 T:1961684992 DEBUG: CPlayerCoreConfig::<ctor>: created player PAPlayer for core 3
15:30:08 T:1961684992 DEBUG: CPlayerSelectionRule::Initialize: creating rule: system rules
15:30:08 T:1961684992 DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtv

Do you have any idea of the problem or do you have way of doing (command) in order to find the problem ?

Thank you very much of your help !


RE: Kodi add music manually with SSH - Milhouse - 2015-04-06

If you're not seeing a music library, you need to scan your music first ("Update library").


Kodi add music manually with SSH - Rafalovitch.tom - 2015-04-07

Try right clicking on the folder and "scan to library"


RE: Kodi add music manually with SSH - Feather2 - 2015-04-08

As reminder I have only a ssh connection and a remote connection on my tablet (kore remote)
I tried to force the scan by adding "scanonstartup=true" in .xml configurationfile -> no change
I tried to scan or update the library from my tablette -> nothing happens