This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#7542 - This patch moves all the playlist creation from theroot dir to the PLAYLISTS directory.
Attached to Project:
Rockbox
Opened by Gerritt Gonzales (GRaTT) - Sunday, 05 August 2007, 21:00 GMT+2
Last edited by Steve Bavin (pondlife) - Wednesday, 10 October 2007, 12:48 GMT+2
Opened by Gerritt Gonzales (GRaTT) - Sunday, 05 August 2007, 21:00 GMT+2
Last edited by Steve Bavin (pondlife) - Wednesday, 10 October 2007, 12:48 GMT+2
|
DetailsThis patch moves all the playlist creation etc... from the
root dir to the PLAYLISTS directory. root.m3u8 and dynamic.m3u8 will be created in /PLAYLISTS. The playlist catalog already uses /PLAYLISTS as default. The OF creates this dir by default so it is always there might as well use it to clean up the root. GRaTT |
This task depends upon
And not every player's OF creates the folder. Rockbox needs to, on an application level, act functionally similar on all players.
But all of my playlists regardless are created in the root.
My preference is to have all my playlists in one location
and since the database default is /playlists and the Sansa
OF creates this I felt this made sense.
GRaTT
GRaTT
Darky
GRaTT
folder by default. The patch is small enough
that if you want to enable it for your player
just edit the #ifdef SANSA_E200.
GRaTT
- merge with playlist_catalog
@jdgordon: once rockbox has usb for PP targets then sansa owners will be free.
But I understand what you are saying. "If" this will get into svn then it
must address all targets. From previous forum posts and the first comment to this
patch I did not think this was wanted behavior. However I think this patch
makes the Playlist Catalog and playlists in general more user friendly,
and now thanks to vmh it does address all targets.
GRaTT
I don't know if it still works correctly. I don't have time to test it.
- simplified (using dir_exists()) and renamed playlist_check_dir to check_mkdir
You're right.
- use global_settings.playlist_catalog_dir (maybe it should be renamed to 'playlist_dir', but I don't want to make changes in too many files)
- remove some unnecessary codes in playlist_catalog.c