Commit Graph

62 Commits

Author SHA1 Message Date
jdgleaver
20230ec625 (Android) Play Store builds: Do not resolve symlinks when handling core paths 2020-08-31 12:13:49 +01:00
twinaphex
1ccb51460c Do some struct ordering for better alignment, and add CODING-GUIDELINES 2020-08-14 17:00:50 +02:00
Bernhard Schelling
5d54fff166
Increase maximum playlist size to 2147483647
Before the number decided the initial memory allocation, now it only defines an actual maximum cap. This sets it to the biggest signed 32-bit number in case this is ever read from/written to something that isn't explicitly size_t or unsigned int.
2020-08-07 22:07:05 +09:00
Bernhard Schelling
5da2ada6b8 Explore: Fix freeing of cached playlist (it could cause a crash in glui menu when jumping up multiple menu lists)
Also makes setting cached_playlist with an external list less of a hack and simplifies menu_explore.c a bit
2020-07-31 00:53:01 +09:00
Autechre
8cb861798e
Merge pull request #11075 from francescotintori/francesco/playlist_autofix
Playlist base content directory paths
2020-07-28 16:10:20 +02:00
twinaphex
36c27378bf Cleanups; C89_BUILD buildfixes, CXX_BUILD buildfixes, etc 2020-07-28 10:47:26 +02:00
francescotintori
9744fcb76a Adds base content directory support in playlists. If playlist base content directory does not match configuration parameter 'rgui_browser_directory', all entries paths are automatically fixed to match parameter 'rgui_browser_directory'.
Functionality is enabled if new parameter 'playlist_autofix_paths' is enabled.
2020-07-27 20:59:56 +02:00
jdgleaver
0fcfb3deda Refactor playlist struct configuration 2020-06-26 15:40:19 +01:00
jdgleaver
445921ac5d Core info search optimisations + improved core selection logic + clean-ups 2020-06-06 13:59:28 +01:00
jdgleaver
fa9290cf1e Add optional playlist compression 2020-04-21 16:44:26 +01:00
jdgleaver
223cae66c1 (Playlist Management) Add optional per-playlist alphabetical sorting 2020-04-10 17:07:49 +01:00
jdgleaver
e24274a314 (Manual content scanner/playlist cleaner) Prevent redundant playlist entries when handling M3U content 2020-03-20 14:26:08 +00:00
twinaphex
f74225721d menu_thumbnail and menu_thumbnail_path now decoupled from menu
system
2020-02-16 16:38:17 +01:00
jdgleaver
e7733abc40 (Playlist Management) Add 'Clean Playlist' option 2020-01-15 18:00:51 +00:00
twinaphex
9c6c10da22 (Playlist) Get rid of settings_t dependency 2020-01-04 12:04:00 +01:00
jdgleaver
170397456c Add manual content scanner 2019-11-29 17:14:46 +00:00
jdgleaver
a0fd9d21d2 Enable customisation of runtime 'last played' display format 2019-09-10 16:14:38 +01:00
jdgleaver
3da96deec3 Enable per-playlist thumbnail selection 2019-08-15 18:05:31 +01:00
Twinaphex
0297f69e98
Merge pull request #9229 from jdgleaver/favourites-size
Add independent 'favourites' playlist size setting
2019-07-31 12:35:15 +02:00
jdgleaver
5220dc9084 Add independent 'favourites' playlist size setting 2019-07-30 17:13:04 +01:00
Tim Van den Langenbergh
fcf5d6bcdd Add sanitization settings to playlist.
Add sanitization functions to libretro-common.
Add sanitization functionality to menu display.
2019-07-28 01:14:40 +02:00
Yoshi Sugawara
88a4c3e21b Created method playlist_resolve_path() to keep the platform specific ifdef in one location to resolve the path for the playlist. Also fix setting the core path from the default core path. 2019-07-19 16:00:10 -10:00
jdgleaver
0be44e57ad Overhaul default playlist core association 2019-06-26 17:42:26 +01:00
jdgleaver
10ef7dd561 Load content runtime data 'on demand' (#8717)
* Load content runtime data 'on demand'

* Fix LGTM warning
2019-05-09 08:24:06 -05:00
Brad Parker
f7b0c0947c add subsystem_name (friendly name) to history playlist, make playlist_entry struct public to simplify function parameters 2019-04-12 12:50:27 -04:00
Brad Parker
230c64ba4b add subsystem support for playlists, only missing the content load portion 2019-04-11 00:09:13 -04:00
jdgleaver
dc8ef72323 Populate crc32 and db_name fields when adding history/favourites playlist entries
playlist.c: Fix silly range check error
2019-03-09 13:58:53 +00:00
jdgleaver
33c27606d3 Finalise integration of per-content runtime logs (runtime sublabels on all playlists, 'last played' timestamp added to playlist sublablels,
content_runtime.lpl retired)
2019-03-01 14:06:40 +00:00
Brad Parker
44c4be1863 add option to track how long content has been running over time 2019-02-12 00:32:01 -05:00
twinaphex
9bb7132b97 Move command_playlist_ functions to playlist.c
(RGUI) Header buildfix
2019-01-20 01:57:24 +01:00
Brad Parker
558a732330 Qt: add right-click option to edit playlist entries, fix bug with extra .lpl extension in playlists 2018-07-29 23:51:23 -04:00
twinaphex
bce7742745 Create playlist_cached functions inside playlist.c 2018-04-10 17:40:29 +02:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
e9f9702a2d (playlist.c) Don't expose struct details to outside 2017-07-01 03:38:36 +02:00
twinaphex
7e3cce9397 Only write to playlists if they are modified 2017-04-23 12:25:54 +02:00
twinaphex
8c89ec158c Update copyrights 2017-03-22 03:09:18 +01:00
Jean-André Santoni
f06e76301e (Menu) Get Remove from Playlist to work on history playlists 2016-08-29 02:22:05 +02:00
Jean-André Santoni
f387e627f3 (Menu) Start adding Remove from Playlist action 2016-08-29 01:17:02 +02:00
twinaphex
cd9e10b3d1 (playlist.c) Cleanups 2016-08-28 18:47:34 +02:00
twinaphex
04c9db254e Start preparing playlist code 2016-07-30 21:27:40 +02:00
twinaphex
b34786171e Use RETRO_BEGIN_DECLS/RETRO_END_DECLS 2016-06-03 02:39:35 +02:00
twinaphex
449c7483cd Rename content_playlist_ to playlist_ 2016-05-16 09:07:44 +02:00
twinaphex
52a5ff73fa Style nits 2016-02-03 17:20:36 +01:00
radius
2af0708047 do not push entries that are already on the database 2016-01-26 15:22:16 -05:00
twinaphex
7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex
6c4b6310aa (playlist.c) Go through wrapper functions 2015-11-29 00:46:47 +01:00
Higor Eurípedes
a0457d77f3 (playlist) Add content_playlist_qsort() 2015-06-11 10:04:35 -03:00
twinaphex
29e3f5ff66 Expand playlist format - rename it to 'lpl' 2015-06-08 23:38:03 +02:00
twinaphex
18e68918f3 core_info_get_name and content_playlist_update 2015-05-26 06:28:16 +02:00
twinaphex
8fb8887c34 Create new playlist format 2015-05-26 00:12:49 +02:00