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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  songs are doubling up in database
« previous next »
  • Print
Pages: [1]

Author Topic: songs are doubling up in database  (Read 2871 times)

Offline starboy5

  • Member
  • *
  • Posts: 17
songs are doubling up in database
« on: January 03, 2008, 05:25:34 PM »
Hi there.

I have a ipod video 30gb. When browsing songs in my database, they seem to be doubled up. E.g. when I view a particular artists's album, it has the correct list of songs in there.. and then they are repeated.

I went back to settings, and clicked initialise database (to start from scratch), and it seems to be the same. Is there a setting I've missed that doubles up songs?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: songs are doubling up in database
« Reply #1 on: January 03, 2008, 06:45:13 PM »
This has so far always meant that you really do have two copies of that song on your player, you just don't see the other copy because it's somewhere like your recycle bin.

Create a playlist with the duplicate songs, save it, and open it in a text editor, as an example, and you'll see immediately whether they really are the same file or not.
Logged

Offline starboy5

  • Member
  • *
  • Posts: 17
Re: songs are doubling up in database
« Reply #2 on: January 03, 2008, 07:58:39 PM »
good idea.. and I got to find out how to make playlists  ;D

The files really are the same though.. here is a fragment from that file:

Quote
/music/Avril Lavigne/Let Go/Avril Lavigne-Things I'll Never Say.ogg
/music/Avril Lavigne/Let Go/Avril Lavigne-I'm With You.ogg
/music/Avril Lavigne/Let Go/Avril Lavigne-Things I'll Never Say.ogg
Logged

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: songs are doubling up in database
« Reply #3 on: January 03, 2008, 10:06:55 PM »
Quote from: Llorean on January 03, 2008, 06:45:13 PM
you just don't see the other copy because it's somewhere like your recycle bin.

Player's have recycle bins? I always assumed that it was like deleting something from a flash drive.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: songs are doubling up in database
« Reply #4 on: January 03, 2008, 10:09:57 PM »
HD based players are usually treated by windows like a USB hard disk. Thus they have recycle bins, in most cases.
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: songs are doubling up in database
« Reply #5 on: January 04, 2008, 03:13:42 AM »
Unless you turn them off of course...
Logged

Read The Manual Please

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: songs are doubling up in database
« Reply #6 on: January 04, 2008, 03:40:08 AM »
Quote from: starboy5 on January 03, 2008, 07:58:39 PM
good idea.. and I got to find out how to make playlists  ;D

The files really are the same though.. here is a fragment from that file:

Quote
/music/Avril Lavigne/Let Go/Avril Lavigne-Things I'll Never Say.ogg
/music/Avril Lavigne/Let Go/Avril Lavigne-I'm With You.ogg
/music/Avril Lavigne/Let Go/Avril Lavigne-Things I'll Never Say.ogg

So it would seem there is a problem with the database somewhere, as the FAT filesystem does not allow duplicate files.

Try going to /.rockbox/ and deleting all the *.tcd files (database_idx, database_0...database_8 in my case), then re-initialise your database...
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline starboy5

  • Member
  • *
  • Posts: 17
Re: songs are doubling up in database
« Reply #7 on: January 04, 2008, 07:02:39 PM »
Quote
HD based players are usually treated by windows like a USB hard disk. Thus they have recycle bins, in most cases.

Yeah. When I delete files using Ubuntu, it creates a directory called .Trash-1000

Quote
Try going to /.rockbox/ and deleting all the *.tcd files (database_idx, database_0...database_8 in my case), then re-initialise your database...

Yip, after doing that, my files now display correctly in the database.

The only thing I can think of that I changed (in terms of the database) when it started doubling up songs was setting both Load to RAM and Auto Update to yes.
Logged

Offline draeath

  • Member
  • *
  • Posts: 16
  • Some random techie
    • draeath's waste of space
Re: songs are doubling up in database
« Reply #8 on: January 05, 2008, 04:15:58 PM »
On my Sansa e200r, auto-update causes that same issue.

Somewhere (don't remember where) it was stated that it is caused because auto-update doesn't check for deleted files etc because it would take too long.
Logged
PGP Key: 0xBD652112

Offline starboy5

  • Member
  • *
  • Posts: 17
Re: songs are doubling up in database
« Reply #9 on: January 07, 2008, 04:23:04 AM »
thanks for that input. I've disabled the auto-update now.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  songs are doubling up in database
 

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

Page created in 0.101 seconds with 15 queries.