iTunesDB File Format 文件格式

╄→尐↘猪︶ㄣ 提交于 2020-11-16 01:55:46

为了有兴趣研究的朋友留下记录方便后人!

开始因为不爽ipod class歌曲去重手动搜索歌曲问题一直纠结,于是萌发想自己动手写个工具自动去重,但是却没有能导出歌曲列表的功能!

于是就从ipod里面找希望能看到什么配置文件或者DB是存着这些歌曲列表信息的文件;就找到了字眼DB文件“iTunesDB”

接着开始找资料!零散的资料就如下了!


关于ipod的文件类型说明

http://blog.chinaunix.net/uid-7773715-id-2044084.html

基础信息

iPod数据库文件存放于iPod的一个路径为/iPod_Control/iTunes/的隐藏目录中,并无其他保护.

iPod 数据库文件
文件名  描述
iTunesDB 这个是iPod的主数据库,包含所有适于iPod播放的歌曲信息以及播放列表信息,iPod的固件从来不会读写此数据文件,而相反的,在歌曲同步的时候,iTunes会完全的覆写此文件.
Play Counts 这是iPod的返回信息文件.它包含用于改变iPod中歌曲的所有可用信息, 当你进行歌曲同步的时候, iTunes 读取此文件中的信息,并且根据读取到的信息来修改iTunesDB中的信息. 做完这些之后, iTunes便会擦除这个文件, 以防止重复修改数据类的错误.如果该文件不存在的话,iPod会自动创建它.
OTGPlaylist / OTGPlaylist_# These are the playlist files created by the iPod when you create a new playlist. 4th Gen and up iPod's can create multiple OTGPlaylists. These have the same format as the 3rd gen models, they just get numbers appended to the name. iTunes will turn these into normal playlists and then delete these files during an autosync. The OTGPlaylists cannot survive changing the contents of the iPod.
iTunesEQPresets This is where the equalizer presets that you create in iTunes get stored on the iPod. The format of this file is easy and well understood, but strangely, no iPod actually uses this file yet. You can create an EQ preset in iTunes, sync with an iPod, and the EQ will be put in here by iTunes correctly. But the iPod never reads the file, does not use the preset in this file, and just doesn't work correctly in this respect. Perhaps it will be fixed in a future firmware release.
ArtworkDB This is where data about artwork is stored on the iPod Photo devices. The artwork itself is stored in the \iPod_Control\Artwork folder. On 5g iPods the ArtworkDB is stored in the Artwork folder along with the data.
iTunesSD 这是一个用于保存iPod Shuffle的设备所使用信息的数据文件(我也不明白是什么意思).
iTunesStats 在iPod Shuffle上的"Play Counts"的替代文件.
iTunesShuffle 包含一个随即顺序的音轨列表,有可能是为shuffle中的音乐文件指定的播放顺序
iTunesPState 包含当前的播放位置和iPod Shuffle的音量大小.
iTunesControl Nothing more specific is known, yet.
iTunesPrefs Nothing more specific is known, yet.
winPrefs Nothing more specific is known, yet.
iEKInfo This contains the decryption key for protected M4P playback. Previously iSCInfo(?)
WABContactsGroup Nothing more specific is known, yet.
iTunesLock Created whenever iTunes needs exclusive control of the iPod, like when reading or writing the iTunesDB file.
PhotoFolderPrefs Stores Photo Folder preferences.
PhotoFolderAlbums Stores Photo Albums.
iTunesPlaylists Nothing more specific is known, yet.
iTunesPodcasts Nothing more specific is known, yet.
iTunesVideoPlaylists Nothing more specific is known, yet.


主要文件iTunesDB说明!关于逆向工程分析二进制结构数据

http://www.cnblogs.com/MaxWoods/archive/2007/07/18/823187.html

http://www.linuxjournal.com/article/6334

http://blog.chinaunix.net/uid-7773715-id-2044086.html

http://blog.chinaunix.net/uid-7773715-id-2044087.html


其实相关功能的软件业有!要么是收费就是功能有缺项!

比如 Xilisoft 虽然破解了!但是发现里面的歌曲信息是有错误的!而且有些歌曲明明删除还是存在!不够完美啦!


易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!