ipod rockbox playlist hack
My iPod was crashing after I tried to load a playlist after adding additional playlists. It drove me crazy for a few days, examining the playlists in detail, they were all valid…but I finally figured out the problem. After downloading the source code (Rockbox is open source) I discovered that the file playlist_catalog.c defined MAX_PLAYLISTS 400. I had 430 playlists already — clearly I was trashing memory. I changed the value of MAX_PLAYLISTS to 512, rebuilt rockbox, reloaded it onto my iPod and what do you know — no more crashes!
I submitted my mod as a patch to the Rockbox project, and it was rejected (rightfully so) since it’s not an actual bugfix but a kludgy hack. This is correct. But in my case the memory it adds is minimal (112 ARM pointers == 32*112 = 3.5k bytes) and since I’m running it on a 64M iPod that’s no concern. Before I add a hundred more CDs I’ll have a better solution in place.
The root cause why I have so many playlists in the first place is because my method of ripping CDs creates music files that match the actual track name. If I modify that to prepend the sequential track number, rockbox won’t need a playlist to play the album in the proper order. That’s probably a pretty simple fix, and I’ll be able to delete 90 percent of my playlists. It’s on my to-do list.
October 6th, 2008 at 2:38 pm
blah blah blah
the fuckin world financial markets are melting
and yur talkin about friggin Ipod memory!!
Omg
he needs a spankin!!!
October 7th, 2008 at 8:15 pm
Your comment reminds me of the morning of September 15, 2001. I was studying a go book at Lighthouse Roasters while drinking my morning coffee and the guy sitting next to me exclaimed, “the whole country’s upset about the terrorist attacks on the twin towers and you’re sitting there studying go!”
I guess I’m pretty good at ignoring stuff and I’m pretty sure I can’t fix the world financial markets so I just go on with my life. It doesn’t mean I’m not paying attention.
October 29th, 2008 at 8:39 am
Sweet mod, and yes I know the world’s financial markets are melting down.
Now if only they would hack the iPod Nano 2nd generation and enable RockBox on that, the credit crisis would evaporate. No you say? Haven’t you ever heard of the saying “A butterfly sneezes in Shanghai and creates a tidal wave in Boise?” Put it together folks, put it together…