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
| | |-+  Initialize database results in odd database errors
« previous next »
  • Print
Pages: [1]

Author Topic: Initialize database results in odd database errors  (Read 1089 times)

Offline Fraoch

  • Member
  • *
  • Posts: 8
Initialize database results in odd database errors
« on: December 05, 2011, 11:03:11 AM »
Hello:

I loaded music onto an iPod Nano 2G running Rockbox 3.9.1 using Banshee 2.2.1 on Ubuntu Linux 11.10.  My understanding is that Banshee works with the default iPod firmware and formats the music database on the iPod that way, i.e. it does not treat the iPod as a mass-storage device and doesn't just copy files over.

I then used Rockbox's "initialize database" feature which resulted in an odd error - 13000-some-odd items were found, but I only have 902 tracks.  This results in 10-15 copies of each track listed along with control files named "libgpod" in the database.  The tracks play back fine but random playback is problematic with so many superfluous copies floating around along with unplayable "libgpod" files in the database as well.

I see the Rockbox manual suggests copying music over to a directory and not having the synchronizing software treat the iPod like an iPod.  However I believe I read the "initialize database" function tries to use the iPod's default music database structure so it should have worked.

I enabled metadata logging and the log file is attached - it seems to indicate it's importing data from the iPod's database rather than one track at a time.

I read some old (2007) info that in order to get Banshee to work with Rockbox you must get Banshee to treat the iPod as a USB MSC device:

http://osdir.com/ml/gnome.mono.banshee/2007-04/msg00016.html

http://act1v8.wordpress.com/2007/10/07/make-banshee-recognize-your-mass-storage-device-as-a-dap/

Should I go this route or should Rockbox be able to use an iPod-formatted database?

Thank you.

* metadata.log.txt (0.76 kB - downloaded 86 times.)
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Initialize database results in odd database errors
« Reply #1 on: December 05, 2011, 11:50:00 AM »
As a first step try checking the filesystem.
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Initialize database results in odd database errors
« Reply #2 on: December 05, 2011, 03:53:44 PM »
Rockbox's database is agnostic regarding Apple's iTunesDB.  It doesn't care whether files were synced so that they are indexed in iTunesDB.  The advice not to have synchronizing software treat it as an iPod is motivated by the ability to browse via the file browser (which isn't really feasible with Apple's obfuscated file naming scheme).  Rockbox should index the files properly no matter what names/paths they have and independently of whether an iTunesDB exists, which also indexes those files.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Initialize database results in odd database errors
 

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

Page created in 0.076 seconds with 15 queries.