Library mode doesn't work after upgrade...
#1
Hi

Having used XBMC for 6 months I've upgraded. I've restored my ATV to the latest Apple firmware (4.3), re-jailbroken with SeasOnPass, installed XBMC and the latest nightly build.

I've scanned my source to library several times.

Library mode no longer works for audio. If I view by artist I can see the albums and their artwork but selecting one either nothing happens at all, or I see the track list but get an error on trying to play it - something like "can't find the next item". It's fine in file view and Party Mode.

Any ideas? It all worked seamlessly before. I've checked the log file and there's nothing that points to any errors or warnings.

Help much appreciated!
Reply
#2
Quote:I've checked the log file and there's nothing that points to any errors or warnings.

Post it anyways. The log file will not simply say "here's your problem".
Reply
#3
Here's the last few lines after trying to select an album in Library mode (it wouldn't even show me the track list).

Code:
18:46:41 T:78409728   DEBUG: Loading additional tag info for file smb://192.168.1.20/Public/Shared Music/iTunes/iTunes Music/Crash Test Dummies/God Shuffled His Feet/03 Mmm Mmm Mmm Mmm.m4a
18:46:41 T:78409728   DEBUG: CFileSMB::Open - opened Public/Shared Music/iTunes/iTunes Music/Crash Test Dummies/God Shuffled His Feet/03 Mmm Mmm Mmm Mmm.m4a, fd=10001
18:46:41 T:78409728   DEBUG: CFileSMB::Close closing fd 10001
18:46:41 T:78409728   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
18:46:41 T:78409728   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
18:46:42 T:93388800    INFO: AudioDecoder: File is queued
18:47:08 T:83230720   DEBUG: Thread Jobworker 83230720 terminating (autodelete)
18:48:46 T:78409728   DEBUG: ExecuteXBMCAction : Translating ReplaceWindow(MusicLibrary)
18:48:46 T:78409728   DEBUG: ExecuteXBMCAction : To ReplaceWindow(MusicLibrary)
18:48:46 T:78409728   DEBUG: Activating window ID: 10502
18:48:46 T:78409728   DEBUG: ------ Window Deinit (MyMusicSongs.xml) ------
18:48:46 T:78409728   DEBUG: ------ Window Init (MyMusicNav.xml) ------
18:48:46 T:78409728    INFO: Loading skin file: MyMusicNav.xml
18:48:47 T:78409728   DEBUG: CGUIMediaWindow::GetDirectory (musicdb://2/5/)
18:48:47 T:78409728   DEBUG:   ParentPath = [musicdb://2/5/]
18:48:47 T:78409728   DEBUG: GetAlbumsByWhere query: select * from albumview where (idAlbum IN (select song.idAlbum from song where song.idArtist=5) or idAlbum IN (select song.idAlbum from song join exartistsong on song.idSong=exartistsong.idSong where exartistsong.idArtist=5) or idAlbum IN (select album.idAlbum from album where album.idArtist=5) or idAlbum IN (select exartistalbum.idAlbum from exartistalbum where exartistalbum.idArtist=5))
18:48:47 T:78409728   DEBUG: GetAlbumsByWhere - query took 7 ms
18:48:47 T:78409728   DEBUG: Album format left  = [%B]
18:48:47 T:78409728   DEBUG: Album format right = [%A]
18:48:47 T:78409728   DEBUG: Album format left  = [%B]
18:48:47 T:78409728   DEBUG: Album format right = [%A]
18:48:47 T:78409728   DEBUG: Album format left  = [%B]
18:48:47 T:78409728   DEBUG: Album format right = [%A]
18:48:47 T:89780224   DEBUG: Thread Jobworker start, auto delete: 1
18:48:49 T:89780224   DEBUG: DoWork - took 479 ms to load special://masterprofile/Thumbnails/Music/Fanart/12d07e97.tbn
18:48:51 T:78409728   DEBUG: CGUIMediaWindow::GetDirectory (musicdb://2/5/212/)
18:48:51 T:78409728   DEBUG:   ParentPath = [musicdb://2/5/]
18:48:51 T:89780224   DEBUG: GetSongsByWhere query = select * from songview where (idAlbum=212) and (idArtist=5 or idSong IN (select exartistsong.idSong from exartistsong where exartistsong.idArtist=5)or idSong IN (select song.idSong from song join album on song.idAlbum=album.idAlbum where album.idArtist=5)or idSong IN (select song.idSong from song join exartistalbum on song.idAlbum=exartistalbum.idAlbum join album on song.idAlbum=album.idAlbum where exartistalbum.idArtist=5 and album.strExtraArtists != ''))
18:48:51 T:78409728   ERROR: GetDirectory - Error getting musicdb://2/5/212/
18:48:51 T:78409728   ERROR: CGUIMediaWindow::GetDirectory(musicdb://2/5/212/) failed
18:48:51 T:78409728   DEBUG: CGUIMediaWindow::GetDirectory (musicdb://2/5/)
18:48:51 T:78409728   DEBUG:   ParentPath = [musicdb://2/]
18:48:51 T:89780224   DEBUG: GetAlbumsByWhere query: select * from albumview where (idAlbum IN (select song.idAlbum from song where song.idArtist=5) or idAlbum IN (select song.idAlbum from song join exartistsong on song.idSong=exartistsong.idSong where exartistsong.idArtist=5) or idAlbum IN (select album.idAlbum from album where album.idArtist=5) or idAlbum IN (select exartistalbum.idAlbum from exartistalbum where exartistalbum.idArtist=5))
18:48:51 T:89780224   DEBUG: GetAlbumsByWhere - query took 8 ms
18:48:51 T:78409728   DEBUG: Album format left  = [%B]
18:48:51 T:78409728   DEBUG: Album format right = [%A]
18:48:51 T:78409728   DEBUG: Album format left  = [%B]
18:48:51 T:78409728   DEBUG: Album format right = [%A]
18:48:51 T:78409728   DEBUG: Album format left  = [%B]
18:48:51 T:78409728   DEBUG: Album format right = [%A]
Reply
#4
Right, I have now noticed the error lines

Code:
18:48:51 T:78409728   ERROR: GetDirectory - Error getting musicdb://2/5/212/
18:48:51 T:78409728   ERROR: CGUIMediaWindow::GetDirectory(musicdb://2/5/212/) failed

Don't know what that means or how to fix it tho!
Reply
#5
Always post full debug log via pastebin ... don't cut and paste parts ...
The normal XBMC log IS NOT a debug log, to enable debug logging you must toggle it on under XBMC Settings - System or in advancedsettings.xml. Use XBMC Debug Log Addon to retrieve it.
Reply
#6
CrashX Wrote:Always post full debug log via pastebin ... don't cut and paste parts ...

OK thanks. Is that the right file? I've followed the link in your signature in enable logging but it's not an available option when I go to the repository.

Never heard of pastebin so hope this is correct!

http://pastebin.com/gRNGYw0u
Reply
#7
There is nothing going on in that logfile.

Did you try and look at the library?

Start XBMC, enable debug logging in settings, go to the library and demonstrate your problem, exit.

Then post the logfile
Reply
#8
OK, just fired up XBMC. Enabled debugging. Went to Artists in Music in Library, selected and artists, 2 albums there (with artwork), selected an album but no response.

Downloaded log file:

http://pastebin.com/qa8hijN9

Thanks for all your help!
Reply
#9
Something is a little wonky there. First thing I would try would be to go to system -> music and clean the database.

If that fixes the database problems you will probably need to rescan the source. If it does not, you can delete the music database and then rescan.

The db is:
/var/mobile/Library/Preferences/XBMC/userdata/Database/MyMusic7.db
Reply
#10
Thank you.

I've done a clean and re-scan about 3 times already so I'll try deleting the Music DB.

Thanks again
Reply
#11
Yay! That seems to have done the job! Haven't had a chance to thoroughly test it yet but a quick check seems successful..

thanks again!
Reply

Logout Mark Read Team Forum Stats Members Help
Library mode doesn't work after upgrade...0