How to Make Clean Library Shortcut

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jkeough41 Offline
Junior Member
Posts: 9
Joined: Aug 2010
Reputation: 0
Post: #1
Currently Update Library is easy to get to by pressing "c" in the movies area and others.

Is there a way to add "Clean Library" to this context menu?
If pointed in the proper direction I can do some code manipulation, I am very inexperienced with coding, but can do some things by brute force.

Thanks
find quote
aaronb Offline
Senior Member
Posts: 151
Joined: Apr 2007
Reputation: 0
Location: Colorado
Post: #2
What are you using to control your system (i.e. keyboard, remote, Xbox controller, etc)? You could just map an unused key to the Clean Library function
find quote
jkeough41 Offline
Junior Member
Posts: 9
Joined: Aug 2010
Reputation: 0
Post: #3
Thats true, I'll do that for now but I would really like it to be in the menus easy to find.

It would be easier for the users I'm setting this up for who are not computer savvy.
find quote
Praesten Offline
Member
Posts: 92
Joined: Jul 2009
Reputation: 0
Post: #4
You can also set it up so it cleans library on every update, it's awesome. This goes in your .xbmc/userdata/advancedsettings.xml:

Code:
<videolibrary>
    <cleanonupdate>true</cleanonupdate>
  </videolibrary>
(This post was last modified: 2011-01-01 14:54 by Praesten.)
find quote
jkeough41 Offline
Junior Member
Posts: 9
Joined: Aug 2010
Reputation: 0
Post: #5
Thanks, I do like that idea but the reason I want it manually is because of external hard drive use.

If for instance an external is used as part of the library it would lose those in the library and then take forever downloading the information again when its attached
find quote
jkeough41 Offline
Junior Member
Posts: 9
Joined: Aug 2010
Reputation: 0
Post: #6
Forgot to mention I am using a keyboard
find quote
mehturt Offline
Junior Member
Posts: 18
Joined: Dec 2009
Reputation: 0
Location: EU
Post: #7
jkeough41: did you find a solution for this?
find quote
jhsrennie Offline
Team-XBMC Developer
Posts: 7,237
Joined: Nov 2008
Reputation: 117
Location: Chester, UK
Post: #8
You could write a script to do it and add the script under the Programs heading ...

JR
find quote