Music not adding to library
#1
Hi all,

Fairly new xbmc user here but I'm having some problems with the SVN PPAs (also had the same problem with the ones from the intrepid PPAs).

#aptitude show xbmc
Version: 9.04~alpha1svn19538-jaunty1

#aptitude show xbmc-common
Version: 9.04~alpha1svn19538-jaunty1

I've added a source for my music (MP3) collection, titled "Music" in the home directory of my xbmc user. The permissions of all the files are 755.

I can view and play back the music via the 'files' view but when I try to scan them to the libary the scanning content bit pops up for a fraction of a second then closes again. Here's some snippets from my sources.xml
Code:
<music>
        <default></default>
        <source>
            <name>Music</name>
            <path>/home/xbmc/Media/Music/</path>
        </source>
    </music>

I've enabled debug logging, the only thing logged to STDOUT is:

Quote:The XBMC_HOME environment variable is not set

My xbmc.log shows (apologies for the lengthy paste, didn't know what would be useful)

Code:
18:17:04 T:3049359248 M:937009152    INFO: Loading skin file: DialogMusicScan.xml
18:17:04 T:3049359248 M:937009152   DEBUG: Load DialogMusicScan.xml: 5.02ms
18:17:04 T:3049359248 M:937009152   DEBUG: Load OSDProgressBack.png: 0.3ms (bundled)
18:17:04 T:3049359248 M:937009152   DEBUG: Load OSDProgressMid.png: 0.3ms (bundled)
18:17:04 T:3049359248 M:937009152   DEBUG: Alloc resources: 7.44ms (5.65 ms skin load, 0.21 ms preload)
18:17:04 T:3049359248 M:937009152    INFO: Music scan has started ... enabling Tag Reading, and Remote Thumbs
18:17:04 T:2877098896 M:937119744   DEBUG: Running thread 2877098896
18:17:04 T:2877098896 M:937119744   DEBUG: thread start, auto delete: 0
18:17:04 T:2877098896 M:937119744   DEBUG: Process - Starting scan
18:17:04 T:2897308560 M:937119744   DEBUG: Running thread 2897308560
18:17:04 T:2897308560 M:937119744   DEBUG: thread start, auto delete: 0
18:17:04 T:2897308560 M:937119744   DEBUG: staticThread, deleting thread graphic context
18:17:04 T:2897308560 M:937119744   DEBUG: Thread 2897308560 terminating
18:17:04 T:2877098896 M:937119744   DEBUG: Sort, sorting took 0 millis
18:17:04 T:2877098896 M:937119744   DEBUG: DoScan Skipping dir '/home/xbmc/Media/Music/My Chemical Romance/' due to no change
18:17:04 T:2877098896 M:937119744   DEBUG: Sort, sorting took 0 millis
18:17:04 T:2877098896 M:937119744   DEBUG: DoScan Skipping dir '/home/xbmc/Media/Music/My Chemical Romance/I Brought You My Bullets, You Brought Me Your Love/' due to no change
18:17:04 T:2877098896 M:937119744   DEBUG: Sort, sorting took 0 millis
18:17:04 T:2877098896 M:937119744   DEBUG: DoScan Skipping dir '/home/xbmc/Media/Music/My Chemical Romance/The Black Parade/' due to no change
18:17:04 T:2877098896 M:937119744   DEBUG: Sort, sorting took 1 millis
18:17:04 T:2877098896 M:937119744   DEBUG: DoScan Skipping dir '/home/xbmc/Media/Music/My Chemical Romance/Three Cheers For Sweet Revenge/' due to no change
18:17:04 T:2877098896 M:937119744   DEBUG: Process - Finished scan
18:17:04 T:2877098896 M:937119744  NOTICE: My Music: Scanning for music info using worker thread, operation took 00:00
18:17:04 T:2877098896 M:937119744    INFO: Music scan was stopped or finished ... restoring FindRemoteThumbs
18:17:04 T:3049359248 M:937119744   DEBUG: Load DialogProgressBG.png: 26.1ms (bundled)
18:17:04 T:3049359248 M:937119744   DEBUG: CGUIMediaWindow::GetDirectory (/home/xbmc/Media/Music/)
18:17:04 T:3049359248 M:937119744   DEBUG:   ParentPath = [/home/xbmc/Media/Music/]
18:17:04 T:3049359248 M:937119744   DEBUG: RetrieveMusicInfo() took 0 msec
18:17:04 T:3049359248 M:937119744   DEBUG: Sort, sorting took 0 millis
18:17:04 T:2877098896 M:937119744   DEBUG: staticThread, deleting thread graphic context
18:17:04 T:2877098896 M:937119744   DEBUG: Thread 2877098896 terminating
18:17:04 T:2868706192 M:937119744   DEBUG: Running thread 2868706192
18:17:04 T:2868706192 M:937119744   DEBUG: thread start, auto delete: 0
18:17:04 T:2868706192 M:937119744   DEBUG: staticThread, deleting thread graphic context
18:17:04 T:2868706192 M:937119744   DEBUG: Thread 2868706192 terminating
18:17:04 T:3049359248 M:937119744   DEBUG: CGUIMediaWindow::GetDirectory (/home/xbmc/Media/Music/)
18:17:04 T:3049359248 M:937119744   DEBUG:   ParentPath = [/home/xbmc/Media/Music/]
18:17:04 T:3049359248 M:937119744   DEBUG: RetrieveMusicInfo() took 0 msec
18:17:04 T:3049359248 M:937119744   DEBUG: Sort, sorting took 0 millis
18:17:04 T:2868706192 M:937119744   DEBUG: Running thread 2868706192
18:17:04 T:2868706192 M:937119744   DEBUG: thread start, auto delete: 0
18:17:04 T:2868706192 M:937119744   DEBUG: staticThread, deleting thread graphic context
18:17:04 T:2868706192 M:937119744   DEBUG: Thread 2868706192 terminating
18:17:04 T:3049359248 M:937119744   DEBUG: Load MediaItemBG.png: 17.5ms (bundled)
18:17:04 T:3049359248 M:937119744   DEBUG: Load MenuItemFO.png: 3.0ms (bundled)

Any pointers to the cause would be appreciated Smile
Reply
#2
It thinks it has already scanned it. Remove the MyMusic db (~/.xbmc/userdata/Database directory) and try to rescan.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#3
tslayer Wrote:It thinks it has already scanned it. Remove the MyMusic db (~/.xbmc/userdata/Database directory) and try to rescan.


Thanks! - Removing MyMusic7.db solved it, cheers
Reply

Logout Mark Read Team Forum Stats Members Help
Music not adding to library0