Kodi add music manually with SSH
#1
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 !
Reply
#2
If you're not seeing a music library, you need to scan your music first ("Update library").
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#3
Try right clicking on the folder and "scan to library"
Reply
#4
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
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi add music manually with SSH0