INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: possible to clear library of "dead" records?  (Read 6779 times)

foodog

  • Recent member
  • *
  • Posts: 8
possible to clear library of "dead" records?
« on: June 13, 2005, 10:13:59 am »

I previously added 10,000 pictures which I later deleted from my drive and from the MC library; however, when I import media, those 10,000 records still get analyzed. Is there a way to completely clear the records from the library?
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: possible to clear library of "dead" records?
« Reply #1 on: June 13, 2005, 10:55:23 am »

deleted from my drive and from the MC library

Where do you think MC gets them from? Do you mean that the dead image file links reappear in the library after every import? Do you have some kind of image playlists in your import folders?
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

foodog

  • Recent member
  • *
  • Posts: 8
Re: possible to clear library of "dead" records?
« Reply #2 on: June 13, 2005, 09:47:14 pm »

It's not the images that are getting analyzed. It's the records in the MC library.

When you select Import Media and then click on the Start Search button, in the Importing Media window, you will see:

analyzing library
file: x of y

I only have about 1000 media files in MC but MC loops through over 10,000 records.

I'm assuming that MC keeps these records in the library because there is an "exclude files previously removed from library" option.
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: possible to clear library of "dead" records?
« Reply #3 on: June 14, 2005, 04:14:13 am »

I guess MC has to do that if you have enabled the option. Actually, I cannot see other ways of checking if the files have been in the library earlier. MC has to have a list of the deleted files and it must somehow compare every new file with the list. I suppose this does not usually slow things down too much because often people import a lot more than delete.

You could simply not to use that "exclude..." option if you have already deleted the files from the disk or you could make a new library and delete the previous one.

I don't know if it is possible to reset the deleted files list. It should be, because otherwise the deleted files will hang around forever. My current "main" library is basically the same library I started 3 years ago with MJ8. I must have deleted thousands of files during the years. I would not like to keep the deleted files lurking in the library in the future. Perhaps someone from JRiver could explain how this works.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

foodog

  • Recent member
  • *
  • Posts: 8
Re: possible to clear library of "dead" records?
« Reply #4 on: June 14, 2005, 04:29:44 am »

Quote
You could simply not to use that "exclude..." option if you have already deleted the files from the disk or you could make a new library and delete the previous one.

I'm not using the "exclude" option.

There are a couple of problems with starting over with a new library:
1. If you are aren't saving tags in the files themselves then you will lose this information with the new library (e.g. ratings).
2. You will lose all of your playlists. Cloning the library won't work because it seems to make an exact copy, including the "dead" records. I also tried exporting and importing playlists but there appears to be a bug somewhere with this: no data was imported. In addition, when you export a smartlist it creates a list of the media files and not of the smarlist criteria.

Logged

SwellGuy

  • Guest
Re: possible to clear library of "dead" records?
« Reply #5 on: June 14, 2005, 09:30:12 am »

foodog,

What version of MC are you running?
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: possible to clear library of "dead" records?
« Reply #6 on: June 14, 2005, 09:33:54 am »

foodog,

What version of MC are you running?

Foodog posted in the 11.0.290 bug thread. I guess his/her version is at least that.


I don't know if it is possible to reset the deleted files list. It should be, because otherwise the deleted files will hang around forever. My current "main" library is basically the same library I started 3 years ago with MJ8. I must have deleted thousands of files during the years. I would not like to keep the deleted files lurking in the library in the future. Perhaps someone from JRiver could explain how this works.
Any comments on this?
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: possible to clear library of "dead" records?
« Reply #7 on: June 14, 2005, 09:37:37 am »

If the file no longer exists on the hard drive, MC erases any reference to it during import if you have fix broken links and include network drives enabled.

You can see everything in the database with the search: ~d=a
Logged
Matt Ashland, JRiver Media Center

dcwebman

  • Citizen of the Universe
  • *****
  • Posts: 2154
Re: possible to clear library of "dead" records?
« Reply #8 on: June 15, 2005, 08:39:30 am »

You can see everything in the database with the search: ~d=a

This was interesting. I found a number of files that had <varies> in either the Artist, Genre, or Filename field. Pointing on them got "file not found" but I'm not sure if they're references to playlists or something else. Some of them have weird numbers in the Image File field. Is it safe to delete all these?
Jeff
Logged
Jeff

dcwebman

  • Citizen of the Universe
  • *****
  • Posts: 2154
Re: possible to clear library of "dead" records?
« Reply #9 on: June 17, 2005, 07:10:38 am »

Bump. Not sure if it's safe to delete the entries I identified or not.
Logged
Jeff

SwellGuy

  • Guest
Re: possible to clear library of "dead" records?
« Reply #10 on: June 17, 2005, 09:01:38 am »

dcwebman,

Backup your library and delete away. We are curious about the DB entries you described so if you're willing, email your backup to Matt or I and we'll take a look at it. Thanks.
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: possible to clear library of "dead" records?
« Reply #11 on: June 18, 2005, 04:25:14 am »

FYI, I removed over 3000 normally hidden database files, which were previously deleted from the main library, without any problems.

I guess the deleted files will never get removed from the database automatically if the cleaning functions in the import dialog are not used.

I made some smartlists for making the manual cleaning easier in the future:

- a playlist group named DBs and into it:

- a smartlist named DB Main, uses  ~d=m

- a smartlist named DB CD, uses  ~d=c

- a smartlist named DB Playing Now, uses  ~d=t

- a smartlist named DB Explorer, uses  ~d=e

- a smartlist named DB Delete, uses  ~d=a  and an exclusion of the other DB smartlists: "Not Playlist: DB Main, DB CD, DB Playing Now, DB Explorer".

The playlist group DBs shows all files in the library including the normally hidden files and the DB Delete smartlist shows the files that can be safely deleted.


One question though, what is the purpose of the Explorer database? It seems to be empty all the time.

EDIT

I think I got it. The Explorer database keeps information about the files that have been browsed with Drives & Devices during the current MC session. This db gets cleared on exit/restart (except the browsed files that are in the Playing Now).

EDIT 2  (3/2007)

My current "DB delete" rule looks like this:
DB: All   Not Playlist: DB Main, DB CD, DB Playing Now, DB Explorer   Not Genre: Podcast
The actual "edit by typing" code is this:
~d=a -playlistid==1000064206,=675452638,=830687242,=883564058,=596886313 -[Genre]=[Podcast]
I addded the "podcast exclusion" because I want MC to keep track of the deleted podcasts. The numbers are references that MC uses internally.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

dcwebman

  • Citizen of the Universe
  • *****
  • Posts: 2154
Re: possible to clear library of "dead" records?
« Reply #12 on: June 18, 2005, 04:29:46 pm »

dcwebman,

Backup your library and delete away. We are curious about the DB entries you described so if you're willing, email your backup to Matt or I and we'll take a look at it. Thanks.

I can email the zip. I just need an email address to send it to.
Jeff
Logged
Jeff

dcwebman

  • Citizen of the Universe
  • *****
  • Posts: 2154
Re: possible to clear library of "dead" records?
« Reply #13 on: June 21, 2005, 07:52:15 am »

This is getting too weird. I just installed 298 before I got ready to send the backup, looked at the smartlist of ~d=a and none of the <varies> problems I saw before are there. I didn't do anything to clean up the library so I don't know what's going on. I got Rick's email address so if I see it happen again, I'll send the backup.
Jeff
Logged
Jeff

JONCAT

  • Guest
Re: possible to clear library of "dead" records?
« Reply #14 on: November 11, 2005, 09:41:44 am »

I always have the cleaning functions enabled and a lot of the entries I found were from cd's or dvd's that I had played with MC or even ripped.

JC
Logged
Pages: [1]   Go Up