This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12079 - Support for new commands in iap.c
Attached to Project:
Rockbox
Opened by Ophir Lojkine (lovasoa) - Monday, 25 April 2011, 01:32 GMT+2
Last edited by Bertrik Sikken (bertrik) - Wednesday, 27 April 2011, 08:25 GMT+2
Opened by Ophir Lojkine (lovasoa) - Monday, 25 April 2011, 01:32 GMT+2
Last edited by Bertrik Sikken (bertrik) - Wednesday, 27 April 2011, 08:25 GMT+2
|
DetailsThis is my first consequent patch to rockbox, so I may have done a lot of mistakes, please be indulgent.
This patch implements several new commands in iap.c to support some stuff related to playlists. Basically, this allows me to access quickly my playlists from my iPod dock. |
This task depends upon
Closed by Bertrik Sikken (bertrik)
Wednesday, 27 April 2011, 08:25 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed as SVN r29788, thanks!
Wednesday, 27 April 2011, 08:25 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed as SVN r29788, thanks!
* removed tabs, replaced them by spaces (please read docs/CONTRIBUTING)
* renamed current_item to cur_dbrecord (I think this is more descriptive)
* commented commands according to specification
* fixed calculation of item_offset (bytes not shifted properly)
* fixed conflict with lingo0/cmd6
I'd like to have this reviewed by another rockbox developer with regards to the playlist logic.
- I changed get_playlist_name() to avoid buffer overflow,
- added a check to verify that the files returned are actually playlists
- and prevented the remote device to print files extensions
Again, thanks for your interest...