Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Previously deleted files still remain
« previous next »
  • Print
Pages: [1] 2

Author Topic: Previously deleted files still remain  (Read 8897 times)

Offline studente

  • Member
  • *
  • Posts: 9
Previously deleted files still remain
« on: February 29, 2008, 04:39:12 AM »
Hello Guys,

I'm new here, so a big hello to everybody :)

I'm on 1gb Ipod nano , using rockbox r15981-071230. I was used to copying music to my ip through Itunes, so, as you know - I added some folders to the library and then to my already booted ipod (draging entire folders). As to deleting - I selected the files i want to delete and then used "the delete" function in iTunes.
I noticed, as I was deleting my folders adding new ones, these older still remained as  empty "ghost folders", so I had a little look at he manual and found out deleting the database files in ".rockbox" folder was a good way to recreate it so I did.
Now, the database is fine, and "the ghosts" disappeared, but I surprisingly found some files that have already been deleted are still in my db and contain playable music.
I'm ok with them now, but when I try to play around with the database they probably still be there..
They must be somewhere on ipod, in one of the folders, but not in the one I'am holding my music.
Can anyone suggest me a solution or link me a good how-to please?
« Last Edit: February 29, 2008, 06:26:53 AM by studente »
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Previously deleted files still remain
« Reply #1 on: February 29, 2008, 05:31:26 AM »
Try running the plugin DiskTidy.  You may have the files in the hidden recycle bin folder, and disk tidy will remove them.  You can check where the file actually is by playing it, then using the context menu to look at the playlist.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline studente

  • Member
  • *
  • Posts: 9
Re: Previously deleted files still remain
« Reply #2 on: March 02, 2008, 09:00:00 AM »
quote]Try running the plugin DiskTidy.  You may have the files in the hidden recycle bin folder, and disk tidy will remove them.  You can check where the file actually is by playing it, then using the context menu to look at the playlist.[/quote]


Good to know :) After I used the plugin it cleaned up 16 files, the empty folders are still there, though.
I thought it could be Itunes to cause this, so I used finder (on OSX) and just dragged and dropped some folders in Ipd window and eliminated some by moving their folders to the trash icon..but there are still  those empty ones in my database (After the restart).
So, here comes the question - Is it common, these folders remain? and is one supposed to get rid of  them manually?
Logged

Offline Febs

  • Member
  • *
  • Posts: 2701
Re: Previously deleted files still remain
« Reply #3 on: March 02, 2008, 09:07:40 AM »
Quote from: studente on March 02, 2008, 09:00:00 AM
After I used the plugin it cleaned up 16 files, the empty folders are still there, though.
I thought it could be Itunes to cause this, so I used finder (on OSX) and just dragged and dropped some folders in Ipd window and eliminated some by moving their folders to the trash icon..but there are still  those empty ones in my database (After the restart).
So, here comes the question - Is it common, these folders remain? and is one supposed to get rid of  them manually?

I'm confused by your question.  The database does not show "folders."  It shows metadata information like title, artist, album and genre.  The file browser, on the other hand, does show folders.  

So are you saying that empty folders remain when you are using the file browser to browse?  If so, then you, you need to delete these manually.  Rockbox does not remove empty folders.  

Or are you saying that there are entries in the database for items that you have deleted?  If so, you need to update the database.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way
Please do not send me support questions via PM.

Offline studente

  • Member
  • *
  • Posts: 9
Re: Previously deleted files still remain
« Reply #4 on: March 02, 2008, 09:19:43 AM »
Quote
I'm confused by your question.  The database does not show "folders."  It shows metadata information like title, artist, album and genre.  The file browser, on the other hand, does show folders.  

Ah...you're right, that's true. It's a metadata information that remains after deleting the entire folder (seen so in the file manager).

Quote
I'm confused by your question.  The database does not show "folders."  It shows metadata information like title, artist, album and genre.  The file browser, on the other hand, does show folders.  

No, this has nothing to do with the file browser.

Quote
Or are you saying that there are entries in the database for items that you have deleted?  If so, you need to update the database.

Let me make one thing clear please - I created the db by dragging whole folders to my Ipod content, so, maybe I shoud have done this with music files only, not folders? Can't be?
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Previously deleted files still remain
« Reply #5 on: March 02, 2008, 03:06:38 PM »
Quote from: studente on March 02, 2008, 09:19:43 AM
Let me make one thing clear please - I created the db by dragging whole folders to my Ipod content, so, maybe I shoud have done this with music files only, not folders? Can't be?

The folders you've dragged contain no meta data as they're not files. Therefore information for them is not found in the database. What I'm saying here is that it doesn't matter whether you've copied music files individually or in folders - it makes no difference to the database.
Logged

Read The Manual Please

Offline studente

  • Member
  • *
  • Posts: 9
Re: Previously deleted files still remain
« Reply #6 on: March 03, 2008, 02:53:07 PM »
Quote
The folders you've dragged contain no meta data as they're not files. Therefore information for them is not found in the database.

What do you mean by °information not found in the database", I agree, the folders don't contain any recognizable data, but are displayed correctly in the db, along those empty one

Quote
What I''m saying here is that it doesn't matter whether you've copied music files individually or in folders - it makes no difference to the database.

But you've just said the folders can't be recognized as containing data...I'am confused a bit ???
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Previously deleted files still remain
« Reply #7 on: March 03, 2008, 02:58:00 PM »
The database is ONLY a database of Metadata. Folders do not have Metadata, so they do not show up in the database. It is constructed entirely from tags on files.

You need to differentiate between "metadata" and "data". The folder itself contains no metadata. The folder MIGHT contain files (data), and those files might contain metadata. But the folder itself doesn't matter at all, and is ignored by the database.
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Previously deleted files still remain
« Reply #8 on: March 04, 2008, 03:03:19 AM »
Quote from: studente on March 03, 2008, 02:53:07 PM
but are displayed correctly in the db, along those empty one

No they're not.

What you're seeing in the database are not "folders" they are views of files which contain the same metadata.

For example :

If I have a folder of music on my PC called "Faith No More", and all the music files therein contain the metadata tag for Artist which is set to "Faith No More" as well. I then copy that folder and all its content to my Rockboxed DAP, and initialise the database. Then the database will group all those files together in something which looks like a folder - but isn't. It's just grouped all the files with that artist tag together under one Artist heading. It has not taken the name from the folder on the PC, or on the Rockboxed device's disk.

If however the folder were called "Something entirely different", but still just contained those files all by "Faith No More", and I repeated the copy exercise to my DAP - the database would still only contain something which appears to be a folder called "Faith No More" under Artists - there would be no trace of anything called "Something entirely different", since the database didn't care what folder the files were in when it indexed them.

Does that help explain it ?
Logged

Read The Manual Please

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Previously deleted files still remain
« Reply #9 on: March 04, 2008, 01:54:35 PM »
Quote from: studente on February 29, 2008, 04:39:12 AM
I was used to copying music to my ip through Itunes, so, as you know - I added some folders to the library and then to my already booted ipod (draging entire folders). As to deleting - I selected the files i want to delete and then used "the delete" function in iTunes.

It sounds very much like you are synching via iTunes.  In this case iTunes loads the files with random names into folders such as /iPod_Control/Music/F01/.  So I'm confused by all of this discussion about folders.  Did folders containing files get explicitly written to the iPod or did you use iTunes to synch your music?
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline studente

  • Member
  • *
  • Posts: 9
Re: Previously deleted files still remain
« Reply #10 on: March 06, 2008, 09:41:58 AM »
Quote
Does that help explain it ?

Yes it does. Now it's just clear to me.

Quote
Did folders containing files get explicitly written to the iPod or did you use iTunes to synch your music?

No, I didn't use iTunes this time, I've written the files to the Ipod.

As (thanks to you) I understand, we've got something to do with a "broken" metadata then, which once deleted saves some information on ipod, right?
Logged

Offline studente

  • Member
  • *
  • Posts: 9
Re: Previously deleted files still remain
« Reply #11 on: March 25, 2008, 05:48:22 AM »
Problem Resolved!! :)

I've found out, it's enough to rebuild the databse every time you add a new metadata or folder, otherwise empty information still accumulates.

Thanks for your help

P.S Just in case anyone of you figured out another solution, feel free to post it here.
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: Previously deleted files still remain
« Reply #12 on: March 25, 2008, 08:10:44 AM »
Try turning on "Auto Update" in the database menu.  It'll do this for you when you turn it on.



and here's a quote from the wikipedia entry for ID3 tags:

ID3 is a metadata container most often used in conjunction with the MP3 audio file format. It allows information such as the title, artist, album, track number, or other information about the file to be stored in the file itself.
Logged

zajacattack

  • Guest
Re: Previously deleted files still remain
« Reply #13 on: March 25, 2008, 07:02:11 PM »
Quote from: MarcGuay on March 25, 2008, 08:10:44 AM
Try turning on "Auto Update" in the database menu.  It'll do this for you when you turn it on.

I wouldn't recommend that. It will spin up the disk on every start-up then and use the battery more. Especially since it is only necessary to re-initialize or update when you add or remove files.
Logged

Offline studente

  • Member
  • *
  • Posts: 9
Re: Previously deleted files still remain
« Reply #14 on: March 25, 2008, 07:12:01 PM »
Quote
I wouldn't recommend that. It will spin up the disk on every start-up then and use the battery more. Especially since it is only necessary to re-initialize or update when you add or remove files.

Thanks for advice. Did you mean reupdating the db on every metadata change is harmfull to the Ipod drive ?

What would you recommend then?
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Previously deleted files still remain
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.114 seconds with 15 queries.