Skip to content

Port of Martin Fiedler's iPod Shuffle database builder, rebuild_db.py, to Python 3

License

Notifications You must be signed in to change notification settings

kemenril/3build_db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

iPod shuffle Database Builder

This was originally by Martin Fiedler, written maybe twenty years ago for use with Python 2. The old Python 2 version is still available in his SourceForge repo. Python 2 is getting very difficult to find in modern Linux distributions, and it seems apprppriate for somebody to do something to bring this software into the modern age.

    "Anar. Nányë Andúril I né Narsil i macil Elendilo. Lercuvantan i móli Mordórëo. Isil."

The current code is a naive port of what was originally there, adjusted for linguistic differences to the extent necessary to make it function (I think) correctly on a current system with Python 3, but it may eventually see future enhancements and bug fixes or even partial rewrites. The initial revision is basically the last release of Martin's program, rebuild_db.py v1.0-rc1, without any enhancements, but it's different enough that you should consider it to be the start of a new fork, in an earlier stage of development. In any case, what's here is almost certainly not well-worn enough to be a release candidate for a 1.0 version.

To the point:

3build_db.py is a Python script that can rebuild the database certain iPod shuffles without iTunes or any Apple software. It requires Python 3 on the host system and not much more. It also allows you to keep whatever directory structure you like for your music library instead of packing all your files into directories with nonsensical names and no strategy of organization.

This software works only on first and second generation shuffles. If you have a newer player, consider looking at Nimesh Ghelani's similar script.

Usage:

This is the easy part:

  1. Copy 3build_db.py to the root directory of your iPod shuffle
  2. Run it.

The software should now crawl the filesystem on the device and index the music in the database. It works for me, but the new port especially is not yet well-tested. It may well break something which requires an iPod to be reset.

Please do not use this without understanding the risk.

About

Port of Martin Fiedler's iPod Shuffle database builder, rebuild_db.py, to Python 3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages