Kodi Community Forum
Infinite loop of doom scanning Music library - 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: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Infinite loop of doom scanning Music library (/showthread.php?tid=52617)



Infinite loop of doom scanning Music library - dteirney - 2009-06-10

I have my advancedsettings.xml file configured to exclude any Podcast directory within my Music collection (managed by iTunes).

Code:
<audio>
                <excludefromscan>
                        <regexp>Podcasts</regexp>
                </excludefromscan>
                <excludefromlisting>
                        <regexp>Podcasts</regexp>
                </excludefromlisting>
</audio>

I turned on automatic updating of the Music library and there appears to be an infinite loop somewhere as I had an xbmc.log file that was over 1Gb full of the same repeated information:
Quote:01:06:42 T:2931809168 M:2658230272 DEBUG: ExcludeFileOrFolder: File '/var/multimedia/music/Downloads/Podcasts/' excluded. (Matches exclude rule RegExp:'podcasts')
01:06:42 T:2931809168 M:2658230272 DEBUG: ExcludeFileOrFolder: File '/var/multimedia/music/Downloads/Podcasts/' excluded. (Matches exclude rule RegExp:'podcasts')
01:06:42 T:2931809168 M:2658230272 DEBUG: ExcludeFileOrFolder: File '/var/multimedia/music/Downloads/Podcasts/' excluded. (Matches exclude rule RegExp:'podcasts')
01:06:42 T:2931809168 M:2658230272 DEBUG: ExcludeFileOrFolder: File '/var/multimedia/music/Downloads/Podcasts/' excluded. (Matches exclude rule RegExp:'podcasts')
01:06:42 T:2931809168 M:2658230272 DEBUG: ExcludeFileOrFolder: File '/var/multimedia/music/Downloads/Podcasts/' excluded. (Matches exclude rule RegExp:'podcasts')
01:06:42 T:2931809168 M:2658230272 DEBUG: ExcludeFileOrFolder: File '/var/multimedia/music/Downloads/Podcasts/' excluded. (Matches exclude rule RegExp:'podcasts')

Have I screwed up my regular expression or is something not working right? Using week old SVN.


- spiff - 2009-06-10

bug.

see MusicInfoScanner.cpp, line 332 in relation to line 386


- dteirney - 2009-06-10

Sweet. I'll look at that when my development box is back online - unless someone fixes it up in the next day or so.


- sho - 2009-06-10

HAH, and I thought I was going nuts.
http://trac.xbmc.org/ticket/6598


- spiff - 2009-06-10

seems both of your personalities had the same idea ;P


- mkortstiege - 2009-06-10

Still, can't reproduce here ..


- dteirney - 2009-06-11

Patch uploaded. Would like it reviewed as I'm not sure why the existing code used a while loop. Details in http://trac.xbmc.org/ticket/6598