Call UpdateLibrary with path doesn't work
#1
Hi there,

I'm trying to teach a specific key on my remote to update the library for a specific folder (only my tv shows).

I've already bound the key to the UpdateLibrary command by editing the keyboard.xml in my userdata folder. If I call UpdateLibrary with only 1 Paramter (video) everything works well, but as soon as I add the second paramter for a specific path, pressing the key results in showing the "Updating library" dialog in the upper right corner for a short moment and disappearing again without actually updating the library.

My keyboard.xml looks something like this:

Code:
<keymap>
  <global>
    <remote>
        <red>XBMC.UpdateLibrary(video,/media/nas/serien/)</red>
    </remote>
  </global>
</keymap>

And xbmc.log outputs the following when i press the red button:

Code:
09:10:09 T:3040653312   DEBUG: LIRC: Update - NEW at 109119:18e 0 KEY_RED devinput (KEY_RED)
09:10:09 T:3040653312   DEBUG: OnKey: 251 (fb) pressed, action is XBMC.UpdateLibrary(video,/media/nas/serien/)
09:10:09 T:2872980544  NOTICE: Thread CVideoInfoScanner start, auto delete: false
09:10:09 T:3040653312   DEBUG: ------ Window Init (DialogExtendedProgressBar.xml) ------
09:10:09 T:2872980544  NOTICE: VideoInfoScanner: Starting scan ..
09:10:09 T:2872980544   DEBUG: CAnnouncementManager - Announcement: OnScanStarted from xbmc
09:10:09 T:2872980544   DEBUG: GOT ANNOUNCEMENT, type: 16, from xbmc, message OnScanStarted
09:10:10 T:3040653312   DEBUG: LIRC: Update - NEW at 109540:18e 0 KEY_RED_UP devinput (KEY_RED_UP)
09:10:10 T:2872980544  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
09:10:10 T:2872980544   DEBUG: CAnnouncementManager - Announcement: OnScanFinished from xbmc
09:10:10 T:2872980544   DEBUG: GOT ANNOUNCEMENT, type: 16, from xbmc, message OnScanFinished
09:10:10 T:2872980544   DEBUG: Thread CVideoInfoScanner 2872980544 terminating

To me everything seems to be ok and the path /media/nas/serien/ is also mounted and accessable (tested via cd into it in ssh, ...).

I'd really appreciate if you could help me out with this!

Thanks & best regards

ps.: I don't know if this is the best subforum for this kind of question but I didn't found no other which suited better.
pps.: I'm actually working with raspbmc on a raspberry pi if this does make any difference...
Reply
#2
I'm afraid I have to withdraw my complete statement from above because actually everything is working as it should but I just didn't realize it.

The "Updating library" dialog disappeared immediately because there where no new files in the directory. If there are new files in it and I press my "update tv shows library" button on the remote it's actually updating as expected!

Sorry for the needless thread...
Reply

Logout Mark Read Team Forum Stats Members Help
Call UpdateLibrary with path doesn't work0