Add Clean Library to context menu

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Marck Offline
Junior Member
Posts: 35
Joined: Sep 2012
Reputation: 0
Post: #1
Hi, any chance to make the clean library function a bit more accessible, e.g as an extra option in the context menu within the library?

I use this function quite frequently

Rg
Marck
find quote
artrafael Offline
Team-XBMC Forum Moderator
Posts: 6,353
Joined: Jul 2010
Reputation: 113
Location: USA
Post: #2
Hmm... it's not "normal" to have to forcibly clean your library so frequently. You may want to do some RCA to determine why it's getting corrupted so often.
find quote
Marck Offline
Junior Member
Posts: 35
Joined: Sep 2012
Reputation: 0
Post: #3
My library is quite dynamic, the ones I dislike are removed from the NAS. But that doens't remove it from the library
find quote
artrafael Offline
Team-XBMC Forum Moderator
Posts: 6,353
Joined: Jul 2010
Reputation: 113
Location: USA
Post: #4
You can open the context menu for the item you don't wish to keep and select "Remove from library" and, if file rename/deletion is enabled, you will be asked if you wish to remove the physical file as well. This procedure removes both the file and library entry for that file.
find quote
Maetrik Offline
Donor
Posts: 413
Joined: Jan 2011
Reputation: 1
Location: Berlin, Germany
Post: #5
artafael, that is only removing the file itself, not the folder nor additional files like nfo, tbn, jpg or trailers. And that's not what Marck asked for. I also clean my database very often as i delete all the movies on my NAS that i dont like. Why should i do this one by one when it can be done through a database cleaning after deleting some movies? I don't need that in the context menu but please try to answer the question and not to give hints what can be done either.

@Marck: you should ask this in the general help and support forum or in the skin specific forum for the skin you use as this is not an ATV2 issue
(This post was last modified: 2012-10-24 23:50 by Maetrik.)
find quote
Marck Offline
Junior Member
Posts: 35
Joined: Sep 2012
Reputation: 0
Post: #6
Thanks Maetrik !

Realized a bit too late that it was better to post in the general forum. ATV2 user, so this is the default forum for me.

And of course I agree with your comment. Don't want to delete stuff one by one. And I also don't want to keep track which movies I have removed from the NAS and which ones from the library.

My idea to make the clean library option more accessible is just a suggestion to improve the usability of the product.

Also the library is not getting corrupted, just want to clean up the dead wood.
find quote
isamu.dragon Offline
Posting Freak
Posts: 979
Joined: Feb 2009
Reputation: 7
Location: T.A.R.D.I.S.
Post: #7
if you are adding and removing so much, why not use the advanced setting to clean on update?
Code:
    <videolibrary>
        <cleanonupdate>true</cleanonupdate>
    </videolibrary>

[Image: all-thin-banner@2x.jpg]
XBMC Server/Client:
Database Type: MySQL
OS: WIN7 64-Bit/XBMCbuntu CPU: i7/Intel Atom (Dual Core)
GPU: Nvidia GeForce GTX 760/Nvidia GeForce GT 520M RAM: 16GB/2GB (512MB GPU)
XBMC Version: Gotham/XBMCbuntu Gotham
find quote
Fice Offline
Member
Posts: 91
Joined: Jan 2010
Reputation: 3
Post: #8
Or you could map:
Code:
CleanLibrary(video)

to one of your buttons on the remote
find quote
verysoftpaper Offline
Junior Member
Posts: 45
Joined: Jul 2012
Reputation: 0
Post: #9
The problem with this is that XBMC might delete your entire library if it doesn't find your network filesystem or your external hard drive.
It should not delete in case it can't mount the network filesystem, or the mount point for the external HDD can't be found.

This is an essencial usability feature that PLEX already has for some time now. This might seem irrelevant for those who like to collect movies, but for those who need to delete movies frequently to free up space, it is a PITA to have to go and clean files manually everytime.

If/when XBMC fixes this, I'm ready to jump ship, until then with PLEX I must stay Sad

+1
(This post was last modified: 2013-07-25 22:36 by verysoftpaper.)
find quote
Martijn Offline
Team Kodi
Posts: 11,411
Joined: Jul 2011
Reputation: 165
Location: Dawn of time
Post: #10
And saying that in six threads is not gonna help
STOP SPAMMING!!!!!

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
(This post was last modified: 2013-07-25 22:47 by Martijn.)
find quote