Music Artists Disappearing from Library Mode
#1
Hello All,

I have a strange problem I've been trying to solve for a while now with no luck. First off some background on my setup. I have all my music stored on a WHS box that is connected to a Windows 7 (32-bit) machine running XBMC Dharma (Night Skin). The music is stored like this:

\\WHS\Music\Alternative\30 Seconds to Mars\Capricorn
or
\\WHS\Music\Hard Rock\36 Crazyfists\Bitterness The Star

When I browse my music in File Mode everything is 100% fine and all my artists and albums show up. The issue arises when I switch to library mode. After initially scanning in all my different genres (Alternative, Blues, Classic Rock, Classical, Dance, etc) into the library via Menu --> Scan Item to Library all the artists show up correctly but after the box goes to sleep and wake up a couple times a large percentage of my Artists are missing.

I should probably add that once the XBMC box is idle for 15 minutes the WHS box will also go to sleep after a further 15 minutes. Once the XBMC box is woken up the WHS box also wakes up right away (slight delay of course).

Here's some screenshots to explain what's going on:

File Mode:
Image

Library Mode
Image

I've even gone into the mediasources.xml and sources.xml files and added the sources manually to make sure they are hard coded in. The code is below:

mediasources.xml
********************************************************
<mediasources>
<network>
<location id="0">smb://WHS/Movies/</location>
<location id="1">smb://WHS/Videos/Home Movies/</location>
<location id="2">smb://WHS/Videos/TV Shows/</location>
<location id="3">smb://WHS/Videos/Sports/</location>
<location id="4">smb://WHS/Videos/Stand Up Comedy/</location>
<location id="5">smb://WHS/Videos/Exercise Videos/</location>
<location id="6">smb://WHS/Videos/Music Videos/</location>
<location id="7">smb://WHS/Videos/Race Videos/</location>
<location id="8">smb://WHS/Photos/2003/</location>
<location id="9">smb://WHS/Photos/2004/</location>
<location id="10">smb://WHS/Photos/2005/</location>
<location id="11">smb://WHS/Photos/2006/</location>
<location id="12">smb://WHS/Photos/2007/</location>
<location id="13">smb://WHS/Photos/2008/</location>
<location id="14">smb://WHS/Photos/2009/</location>
<location id="15">smb://WHS/Photos/2010/</location>
<location id="16">smb://WHS/Photos/Cars/</location>
<location id="17">smb://WHS/Photos/Miscellaneous/</location>
<location id="18">smb://WHS/Music/Alternative/</location>
<location id="19">smb://WHS/Music/Blues/</location>
<location id="20">smb://WHS/Music/Classic Rock/</location>
<location id="21">smb://WHS/Music/Classical/</location>
<location id="22">smb://WHS/Music/Dance/</location>
<location id="23">smb://WHS/Music/Disco/</location>
<location id="24">smb://WHS/Music/Downtempo/</location>
<location id="25">smb://WHS/Music/Drum & Bass/</location>
<location id="26">smb://WHS/Music/Ethnic/</location>
<location id="27">smb://WHS/Music/Hard Rock/</location>
<location id="28">smb://WHS/Music/Jazz/</location>
<location id="29">smb://WHS/Music/New Age/</location>
<location id="30">smb://WHS/Music/Pop/</location>
<location id="31">smb://WHS/Music/Punk/</location>
<location id="32">smb://WHS/Music/Rap/</location>
<location id="33">smb://WHS/Music/Soft Rock/</location>
<location id="34">smb://WHS/Music/Soundtracks/</location>
</network>
</mediasources>
********************************************************

sources.xml
********************************************************
<sources>
<programs>
<default pathversion="1"></default>
</programs>
<video>
<default pathversion="1"></default>
<source>
<name>Sports</name>
<path pathversion="1">smb://WHS/Videos/Sports/</path>
</source>
<source>
<name>Exercise Videos</name>
<path pathversion="1">smb://WHS/Videos/Exercise Videos/</path>
</source>
<source>
<name>Stand Up Comedy</name>
<path pathversion="1">smb://WHS/Videos/Stand Up Comedy/</path>
</source>
<source>
<name>Race Videos</name>
<path pathversion="1">smb://WHS/Videos/Race Videos/</path>
</source>
<source>
<name>Home Movies</name>
<path pathversion="1">smb://WHS/Videos/Home Movies/</path>
</source>
<source>
<name>Movies</name>
<path pathversion="1">smb://WHS/Movies/</path>
</source>
<source>
<name>Music Videos</name>
<path pathversion="1">smb://WHS/Videos/Music Videos/</path>
</source>
</video>
<music>
<default pathversion="1"></default>
<source>
<name>Alternative</name>
<path pathversion="1">smb://WHS/Music/Alternative/</path>
</source>
<source>
<name>Blues</name>
<path pathversion="1">smb://WHS/Music/Blues/</path>
</source>
<source>
<name>Classic Rock</name>
<path pathversion="1">smb://WHS/Music/Classic Rock/</path>
</source>
<source>
<name>Classical</name>
<path pathversion="1">smb://WHS/Music/Classical/</path>
</source>
<source>
<name>Dance</name>
<path pathversion="1">smb://WHS/Music/Dance/</path>
</source>
<source>
<name>Disco</name>
<path pathversion="1">smb://WHS/Music/Disco/</path>
</source>
<source>
<name>Downtempo</name>
<path pathversion="1">smb://WHS/Music/Downtempo/</path>
</source>
<source>
<name>Drum &amp; Bass</name>
<path pathversion="1">smb://WHS/Music/Drum &amp; Bass/</path>
</source>
<source>
<name>Ethnic</name>
<path pathversion="1">smb://WHS/Music/Ethnic/</path>
</source>
<source>
<name>Hard Rock</name>
<path pathversion="1">smb://WHS/Music/Hard Rock/</path>
</source>
<source>
<name>Jazz</name>
<path pathversion="1">smb://WHS/Music/Jazz/</path>
</source>
<source>
<name>New Age</name>
<path pathversion="1">smb://WHS/Music/New Age/</path>
</source>
<source>
<name>Pop</name>
<path pathversion="1">smb://WHS/Music/Pop/</path>
</source>
<source>
<name>Punk</name>
<path pathversion="1">smb://WHS/Music/Punk/</path>
</source>
<source>
<name>Rap</name>
<path pathversion="1">smb://WHS/Music/Rap/</path>
</source>
<source>
<name>Soft Rock</name>
<path pathversion="1">smb://WHS/Music/Soft Rock/</path>
</source>
<source>
<name>Soundtracks</name>
<path pathversion="1">smb://WHS/Music/Soundtracks/</path>
</source>
</music>
<pictures>
<default pathversion="1"></default>
<source>
<name>2003</name>
<path pathversion="1">smb://WHS/Photos/2003/</path>
</source>
<source>
<name>2004</name>
<path pathversion="1">smb://WHS/Photos/2004/</path>
</source>
<source>
<name>2005</name>
<path pathversion="1">smb://WHS/Photos/2005/</path>
</source>
<source>
<name>2006</name>
<path pathversion="1">smb://WHS/Photos/2006/</path>
</source>
<source>
<name>2007</name>
<path pathversion="1">smb://WHS/Photos/2007/</path>
</source>
<source>
<name>2008</name>
<path pathversion="1">smb://WHS/Photos/2008/</path>
</source>
<source>
<name>2009</name>
<path pathversion="1">smb://WHS/Photos/2009/</path>
</source>
<source>
<name>2010</name>
<path pathversion="1">smb://WHS/Photos/2010/</path>
</source>
<source>
<name>Cars</name>
<path pathversion="1">smb://WHS/Photos/Cars/</path>
</source>
<source>
<name>Miscellaneous</name>
<path pathversion="1">smb://WHS/Photos/Miscellaneous/</path>
</source>
<source>
<name>2011</name>
<path pathversion="1">smb://WHS/Photos/2011/</path>
</source>
</pictures>
<files>
<default pathversion="1"></default>
</files>
</sources>
********************************************************

Sorry for the long post but I've tried to cover everything off that I can possible think off.

Can anyone point me in the right direction please?

Thank you very much in advance!
Reply
#2
I had a similar problem. I turned off "update on startup" and it was all solved.

I took this to mean that the XBMC update started before the WHS box had a chance to get up to speed and therefore the update couldn't find some of the albums - so removed them from the library. I found this odd behaviour as I didn't have clean on update on as an option.

This means I now have to manually add things to my music library but thats no big deal really.
Openelec on ASRock ION 330 / Kodi on Win 7 PC
Reply
#3
I thought that maybe that would be the problem. DO you know if there's a way to delay the update? Maybe have the update start 10 seconds after XBMC starts up? That should give the WHS box enough time to wake up fully.

I'm quite sure I don't have clean-on-update enabled on my box either...
Reply
#4
There is an add-on somewhere that triggers a library update at a specified interval which, I guess, may be able to do what you are after.

out of interest, was it always the same artists that went missing (i.e. the ones with a genre starting with A or B etc)?
Openelec on ASRock ION 330 / Kodi on Win 7 PC
Reply
#5
Actually now that I think about it I had missing artists all the way up to R from different genres. I should have taken a closer look...

I scanned them all in again and disabled the update so I'll see how it handles wake ups over the next couple days.

The reason asked about delaying the update was because I didn't want to have to manually update my movies and tv shows but now I realize that those are to independent settings (update on startup for moives/tv shows and update on startup for music).

I left the video update library on update check off so hopefully this works. The strange thing now that I think about it is that I never had an issue with TV shows or Movies disappearing... Maybe they're handled in a different way inside XBMC?

That add-oin might be something to look into if now movies and videos start disappearing.
Reply

Logout Mark Read Team Forum Stats Members Help
Music Artists Disappearing from Library Mode0