Downloads
release
dev builds
extras
themes
Documentation
manual
wiki
device status
Support
forums
mailing lists
IRC
Development
bugs
patches
dev guide
Search
Donate
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Welcome to the Rockbox Technical Forums!
Rockbox Technical Forums
Rockbox General
Rockbox General Discussion
iTunesDB to Tag Cache converter
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: iTunesDB to Tag Cache converter (Read 6962 times)
Adam
Developer
Member
Posts: 48
iTunesDB to Tag Cache converter
«
on:
September 26, 2006, 11:33:48 AM »
http://hcs64.com/files/itdbtc00.zip
Here's a bit of C that takes an iTunesDB file (found on an iPod in /iPod_Control/iTunes) and generates a Rockbox Tag Cache database for it. I've done some simple testing and it seems to work OK for me, let me know of problems.
You'll need libgpod (and the associated development files, in libgpod-devel, for instance) to build it, perhaps later I'll implement the iTunesDB reading myself.
Logged
RaeNye
Developer
Member
Posts: 161
Re: iTunesDB to Tag Cache converter
«
Reply #1 on:
September 26, 2006, 02:22:51 PM »
Why not put it on flyspray?
More chance of people seeing/improving it there.
Logged
Llorean
Member
Posts: 12931
Re: iTunesDB to Tag Cache converter
«
Reply #2 on:
September 26, 2006, 02:24:34 PM »
I'd say this would qualify as something that could be included in /tools/, though it may be better if the dependencies were lessened.
Logged
Adam
Developer
Member
Posts: 48
Re: iTunesDB to Tag Cache converter
«
Reply #3 on:
September 26, 2006, 03:18:47 PM »
Yeah, it's sort of tied into libgpod, which is tied into glib, didn't think I could get away with throwing up a patch. Perhaps when I have it a bit more standalone. Should I put it up on flyspray as is?
Logged
lowlight
Developer
Member
Posts: 194
Re: iTunesDB to Tag Cache converter
«
Reply #4 on:
September 26, 2006, 03:54:25 PM »
I'd suggest putting it on the wiki with build & usage instructions.
Logged
Adam
Developer
Member
Posts: 48
Re: iTunesDB to Tag Cache converter
«
Reply #5 on:
September 27, 2006, 08:04:22 AM »
Ok, well here's what I have now:
http://www.rockbox.org/twiki/bin/view/Main/ConvertiTunesDBtoTagCache
Should I put a link to it from the IPodFAQ page, under the other suggestion involving foo_pod?
Logged
Llorean
Member
Posts: 12931
Re: iTunesDB to Tag Cache converter
«
Reply #6 on:
September 27, 2006, 08:12:22 AM »
That would be a good idea.
Logged
mikeage
Member
Posts: 110
Re: iTunesDB to Tag Cache converter
«
Reply #7 on:
September 27, 2006, 08:58:49 AM »
At the risk of asking a really stupid question... what good is this? TagCache itself is quite good at scanning the disk and creating it's own DB.
foo_pod is useful because it allows the creation of an iTunesDB file, without moving around files. This seems like it would only help by saving a little bit of battery life.
Or am I missing something really obvious?
Logged
Llorean
Member
Posts: 12931
Re: iTunesDB to Tag Cache converter
«
Reply #8 on:
September 27, 2006, 09:02:32 AM »
If you have a small capacity player, like the Nano, and use iTunes to manage it, you could potentially replace the entire contents of the player while resyncing it for a trip or something. The program could regenerate TagCache much more quickly without Rockbox having to deal with a massive change in the file contents, or reinitializing. As well it'll be much faster than TagCache Initialization I imagine.
Logged
Adam
Developer
Member
Posts: 48
Re: iTunesDB to Tag Cache converter
«
Reply #9 on:
September 27, 2006, 09:09:21 AM »
I've been asked a lot about why, here's some of my reasons:
Many of my files aren't tagged
It takes too long to scan everything
I'm happy with how everything is set up in the iTunesDB
Pretty much I want something that takes a few seconds to run, leaves me with the same interface to my files as I had with the Apple firmware, and doesn't change anything that doesn't need changing.
Logged
mikeage
Member
Posts: 110
Re: iTunesDB to Tag Cache converter
«
Reply #10 on:
September 27, 2006, 10:07:24 AM »
Ok, thanks for the clarification.
I actually should probably apologize for the original mail... I didn't mean to imply that it was worthless or a waste of time. I just didn't what use(s) it had
Good work
Logged
xlarge
Member
Posts: 191
Re: iTunesDB to Tag Cache converter
«
Reply #11 on:
September 27, 2006, 10:20:00 AM »
Does it transfer rating?
Logged
Adam
Developer
Member
Posts: 48
Re: iTunesDB to Tag Cache converter
«
Reply #12 on:
September 27, 2006, 01:35:23 PM »
No, at the moment it does not transfer rating, playcount, etc., but it could (I even have a note in the source to that effect). If you're interested I'll see about implementing it.
Logged
xlarge
Member
Posts: 191
Re: iTunesDB to Tag Cache converter
«
Reply #13 on:
September 27, 2006, 01:40:47 PM »
I think people would like that... and perhaps the other way around aswell... to sync playcount/rating with itunes software.
Logged
Adam
Developer
Member
Posts: 48
Re: iTunesDB to Tag Cache converter
«
Reply #14 on:
September 27, 2006, 02:02:18 PM »
Hmm, I just looked into it, while I can directly transfer over playcount, the rating is not stored in the tagcache, rather it is calculated from the playtime, length, and playcount of the track. I'm going to try to set the playtime value to mimic iTunes' explicit rating system.
Logged
Print
Pages: [
1
]
2
« previous
next »
Rockbox Technical Forums
Rockbox General
Rockbox General Discussion
iTunesDB to Tag Cache converter
SMF 2.0.17
|
SMF © 2019
,
Simple Machines
Rockbox Privacy Policy
XHTML
RSS
WAP2
Page created in 0.103 seconds with 15 queries.