Posts: 362
Joined: Jul 2010
Reputation:
3
I am running XBMC on a Win7 box. I have a couple drive shares, which I copy new TV Shows/Movies into from my primary computer.
I'd love to have a way, either script or a keystroke, which I could force a library update on the video/audio library.
I've never used scripts here before, so I'm new to that. I did read through the wikis and such, but I'm not exactly sure where to find and search for a script. The link in the wiki goes to an empty page.
Posts: 4,146
Joined: Jan 2008
Reputation:
40
Please search for UpdateLibrary + httapi. There're quite some threads about it.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 362
Joined: Jul 2010
Reputation:
3
Excellent, thank you. I am completely new to the xbmc/linux front.
Right now, I'm running XBMC on Win7.
Can I set up an SSH/Telnet session into XBMC, or do I have to be running an XBMC/Linux install to do that?
I was thinking of using my media script from my other computer to send a ssh command to kick off a library update. (once I figured out how)
Posts: 362
Joined: Jul 2010
Reputation:
3
Thank you. I actually did see the post that mentioned that, but it was a big vague. I'm not that familiar with everything, so I'm still learning and reading.
Posts: 362
Joined: Jul 2010
Reputation:
3
Just updated it, but have to go to work, so I'll test it when I get back.
Posts: 216
Joined: Jan 2006
Reputation:
4
Fergus
Senior Member
Posts: 216
Taking a different perspective all together, are you sure you want/need this functionality? You can set XBMC to automatically scan the Video and Music libraries for new content whenever XBMC starts (or wakes).
Look for an option called 'Update library on startup' in the GUI if you don't want to tinker with scripts and don't need a dedicated keyboard shortcut. Personally, I set my XBMC to update the library whenever it's started up, so it can find anything I've recently added to my NAS share. Works a treat.
Posts: 362
Joined: Jul 2010
Reputation:
3
My system is always on. Its based on Win7 at the moment, but if I move it to a Live install, (installed on the drive), I'll start looking at the sleep options.