iPod Shuffle without iTunes

2 June 2005 | 33 Comments

ipod shuffle The great guys at BeInSync got me an iPod-Shuffle yesterday.

The moment I started skimming through the manual I figured this a’int gonna be an easy match up. Apple seems to really want you to install iTunes, maybe it’s an attitude problem. I personaly dislike having to install software that I don’t need.

Why can we simply not use iTunes ? Because Apple intermixed iTunes and the Shuffle just to damn nicely together :-) (Read more here)

Martin Fiedler wrote a great tool that takes iTunes out of the equation. It path.os.walk()’s your iPod and builds a file with all the MP3s you’ve got there, so that the iPod knows what to play. You need to run it whenever you finish adding/removing mp3’s from your iPod, but heck it’s better than doing it all through iTunes.

There were two things I missed in Martin’s program:

  1. It has to sit in the root of the iPod’s directory-structure.
    Added a command-line argument ‘-r’ or ‘–root’. If you choose to put the program in ‘/programs/builder_db’ it will simply change to ‘/’ before starting to run, which now means you can put it wherever you want :-)
  2. There wasn’t an EXE version (it’s written in Python, what if I got to a friend and he doesn’t have Python installed ?)
    This was simple, we just use py2exe to make ourselves an executable version.

This now allows me to have the following directory structure on my Shuffle:

  • \Music – this is where I put all my music/podcasted-stuff.
  • \rebuild_db – the executable version of rebuild_db together with it’s DLLs.
  • rebuild_db.bat – this one sits in the root of the iPod and simply contains: rebuild_db\rebuild_db.exe –root –nolog

Here’s the executable program: rebuild_db.zip (1.1MB)
Here’s the modified Source: rebuild_db-0.6-pre2.zip

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Current
  • E-mail this story to a friend!
  • FriendFeed
  • HackerNews
  • LinkedIn
  • Netvibes
  • Ping.fm
  • Reddit
  • StumbleUpon
  • Twitter
  • Yahoo! Bookmarks

33 Responses on “iPod Shuffle without iTunes”

  1. Karl says:

    nice work. im gonna link you on my site if you don’t mind.

  2. Goldfish says:

    Actually, there is a program which uses rebuild_db. Shuffler. It basically acts like the autofill function in iTunes, but its faster and much liter than loading up iTunes every time you want to sync.

    I have been planning out an article of how NOT to use iTunes myself, which includes managers for the iPod, iPod mini and iPod photo.

  3. juanem3 says:

    it isnt working for my iPod shuffle (1gb) i have tried the .exe and the .py downloading python 2.4.
    but when i disconnect my iPod after following the steps i cant hear any music.
    i will keep on trying.
    any help please…
    juan_manuel_s@yahoo.com

  4. SShrum says:

    There is an exe for the rebuild_db in the zip. You even wrote about in in the your dir structure (rebuild_db\rebuild_db.exe).

    Anywho, I’m the author of the Shuffler app (http://www.shrum.net/code/shuffler). I have a small write up on the shuffler homepage on how to set up Shuffler with the rebuild_db.exe to automatically have files randomly placed into the iPod Shuffle.

    Granted, Shuffler works theoretically with any MSC compliant device so it can be used with flash drives, palm devices, gaming consoles, etc.

    Any questions, check out the site and if you can’t find your answers there, email me (link on page).

    Enjoy your iPod w/o iPuke (um…iTunes)

  5. Ian Charles says:

    Bah, iTunes is excellent. Dont know why you would want to use a iPod without iTunes.

  6. dotdUmmy says:

    OK, I AM a big dummy. I got the python version to work, but not the .exe? Could you possible include a readme with the zip or explain the steps I need to follow here?

    Thanks!

  7. dotdUmmy says:

    OK, I got it! I didn’t understand that I had to set everything up like you did with the music folder, etc.

    Woo hoo!

  8. sai says:

    hi
    i dont know python and “py2exe”
    so somebody plz help me by converting it to .exe file and mail me @
    p.roshankumar@gmail.com

    thank u all

  9. Connelly says:

    Thanks for the link to the fantastic shuffle-db by Martin Fiedler.

    Quick start directions: 1. Extract rebuild_db.py (or exe) from [1]. 2. Extract [2] if iPod not initialized by iTunes. 3. Place songs in / or /Music. 4. Run rebuild_db. 5. Listen.

    Various reasons for not using iTunes: it installs 2 systray icons, and both Quicktime and iTunes bother the user with regular auto-update messages. Also, it is more convenient and logical to use the filesystem than iTunes. Also, Quicktime seems to be nagware, and the entire system is proprietary.

  10. dan says:

    well in a situation like mine where itunes wont even load on my laptop (xp sp2) it’s useful to have a way to use my ipod shuffle

  11. Anonymous says:

    i just want to thank goldfish for leting me know abt Shuffler. its so much better than “iPuke”. Awesome, Thanks dude

  12. Anonymous says:

    This is great – thanks ! Now I can use any PC without even having to install anysoftware for the shuffle.

  13. Anonymous says:

    Thanks a lot people, itunes = digital facism, you couldnt make me install it with a hot poker…. Glad to skip the python install too… pythons great but shouldnt be needed to refill your mp3 player at a friends place imo. Thanks again, loading up my first pile of mp3z now now :)

  14. Anonymous says:

    Works good thanks

  15. shyida says:

    I have the Ipod Shuffle. I bought it off of Ebay. I love it, but I am wondering what the deal is on the back of the Ipod. I am not too smart, as I have never had one before. Sorry! What is the deal with the slide that turns it on? What are the different positions for exactly? Like I said I am an older lady who is just a little confused. LOL Thanks!

  16. Anonymous says:

    The different positions are for shuffle (play songs in random order) mode and um…not-shuffle I guess you call it. Anyway, thanks for this exe/bat/source.

  17. Snicker says:

    Worked perfect without ever installing ITunes – I just had to use the directory from the sourceforge guy’s site.

  18. Anonymous says:

    http://agoraphobeus.free.fr/iShuffle/index.html

    this is the easiest
    for the shuffle

  19. Anonymous says:

    Thanks mate.
    Works excellent.

    Much appreciated

  20. Ant says:

    Hi all,

    iShuffle is a good way to manage a Shuffle without iTunes.
    There are also other excellent free tools on this page http://ipodmanagers.blogspot.com/

  21. Anonymous says:

    I am sorry but I am rather clueless when it comes to computers and keyboard related stuff. Can someone post “step by step” to help me work my ipod shuffle (2G)? I just bought my ipod shuffle and I don’t have itune installed on my computer. I really would like to be able to use my ipod shuffle as a USB storage device so I can put music in easily (and intuitively). I think Itune is rather awkward to use. Thanks a bunch.

  22. Anonymous says:

    my friend gave me his shuffle and i dont have itunes. I plugged the shuffle in and manually put music files in. when i unplugged the ipod it wouldnt play music what should i do?

  23. Tristan says:

    Just wanted to say thanks! Worked great once I figured out to add the –root :-)

  24. Anonymous says:

    i bought an ipod shuffle from my mate. i went to download songs but it said i need to download software from the cd i got with it but i didnt get 1 could someone please tell me were to get the softwaqre so i can start puttin songs on it
    can someone please help me

  25. Nightwalker says:

    I realize this is an old post, but just got a new 1GB iPod shuffle and this worked great! Never had to install iTunes at all :) Thanks!

    Used iTunes a while, never really liked it.

  26. Aaron says:

    Hey I don’t know if anyone is still monitoring this thread, but I’m a bit confused by the –root part. Any help would be appreciated (eggses@hotmail.com)

  27. Bambang K / Indonesia says:

    From the deepest down inside mine ; I thank God I found yr blog.
    Now I can enjoy my ipod I bought for my daughters.
    SInce the beginning I tried to install itunes as its guidance. Somehow, I can’t run the itunes.
    Finally I dont need to use itunes that acctually I dont need it in my computer.

  28. chanapong says:

    1GB ipod shuffle review video detail at ipod inside blog

  29. lbot says:

    1 found two bugs i had to fix. but now it works great. thanks 8 )

    1. don’t cut and past “rebuild_db\rebuild_db.exe –root –nolog” in to notepad unless you change the font. if you look at the output from the batch you will see that the “-” get miss interpret with this font. weird i know but the – turn into a u with a accent over it.
    2. don’t use the full -root it reads the -r and then didnot know what to do with the oot. just use the -r

    you may not find this, but if you get stuck give them a try and see if it helps.

  30. Jonesy says:

    Thanks for this, worked superbly though I had the same problem as lbot above and had to manually type in the bat file entry plus change -root to -r
    I also had to change the -nolog to -n (with -nolog the exe was parsing -o as well as -n)

    Just in case anybody is as stupid as me – you also have to copy the zip file inside the distribution zip file into \rebuild_db

  31. Michiel says:

    Does anyone know whether the rebuild_db script works with the 3rd generation 4gb ipod shuffle? Thanks…

  32. nod says:

    I would also like to know if rebuild_db works with 3rd generation iPod Shuffle.

  33. Ian says:

    Pimp.
    I had to use the -r instead of -root modification as well.

Leave a Reply