Commit Graph

184 Commits

Author SHA1 Message Date
jdgleaver
e24274a314 (Manual content scanner/playlist cleaner) Prevent redundant playlist entries when handling M3U content 2020-03-20 14:26:08 +00:00
twinaphex
577e254e9e (playlist.c) Rearrange struct members 2020-03-07 18:38:37 +01:00
twinaphex
d3e0d03301 Cleanups 2020-02-03 07:44:00 +01:00
twinaphex
e5b236898f Cleanup 2020-02-03 07:22:30 +01:00
twinaphex
a034909ae9 Cleanups 2020-01-30 16:35:59 +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
Twinaphex
0f55f8f12b Silence warning 2019-10-06 21:24:41 +02:00
twinaphex
1ed38ddb2d Start using return values of fill_pathname_ functions 2019-09-21 00:22:40 +02:00
twinaphex
ab515daa0c Try to get rid of file_path_str 2019-09-18 18:12:57 +02:00
jdgleaver
a0fd9d21d2 Enable customisation of runtime 'last played' display format 2019-09-10 16:14:38 +01:00
jdgleaver
1e3c5acf0d Fix 3DS build 2019-08-27 17:10:35 +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
771134eb52 More C89 compatibility fixes 2019-07-28 15:52:48 +02:00
Tim Van den Langenbergh
6bd79acc5d Fix C89 support. 2019-07-28 14:55:21 +02:00
Tim Van den Langenbergh
c69c3f4c47 Fix build for ISO C 90. 2019-07-28 13:42:07 +02:00
Tim Van den Langenbergh
8bbfd52a5e Implement changes for Android, Xcode, C89 & CXX.
Fix bad match in removal of parens and brackets.
Use libretro string comparison features instead of a long char-wise
comparison.
2019-07-28 12:39:00 +02:00
Tim Van den Langenbergh
55f4c04ff2 Add label_display_mode to playlist.
Add label_display_mode to JSON format.
Add label_display_mode to old playlist format.
Add label_display_mode to configuration.
Add label sanitization functions to libretro common.
2019-07-28 01:22:46 +02: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
73ce349682 iOS: call pathname expand before abbreviating to ensure playlist saving works when saving an entry from a playlist to another playlist. 2019-07-27 09:26:36 -10:00
Twinaphex
52ef1af14e
Merge pull request #9137 from LazyBumHorse/realpath
replace realpath() by custom code which does not resolve symlinks
2019-07-24 22:20:38 +02:00
jdgleaver
1a2eeea2bd Fix memory leak when JSON playlist fails to load 2019-07-22 14:44:35 +01:00
LazyBumHorse
6285c05948 add resolve_symlinks parameter to path_resolve_realpath() and cleanup playlist_resolve_path() 2019-07-22 13:44:35 +02:00
twinaphex
7b7ac06653 (playlist.c) Cleanups 2019-07-20 15:07:09 +02:00
Twinaphex
1e38504bf3
Merge pull request #9132 from yoshisuga/ios_fix_path_after_detect_core
[iOS]: more fixes for abbreviated paths when scanning files
2019-07-20 14:48:07 +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
LazyBumHorse
43a1e2b6d8 fix use of filestream_getc in playlist_read_file 2019-07-18 11:00:59 +02:00
Yoshi Sugawara
dba1302360 Playlist (iOS): support abbreviating and expanding application and home directory paths so that playlist entries are valid across installs
iOS: add call to realpath() when setting directory to ensure expanding special chars in paths work; fixed braces style
2019-07-15 16:11:22 -10:00
twinaphex
339e043ff2 Fix 'declaration hides parameter' 2019-07-14 13:17:51 +02:00
twinaphex
37a6a205e3 Buildfix 2019-07-09 02:03:20 +02:00
Twinaphex
77f9de47a5 (Apple) Fix some unused variable warnings 2019-07-09 02:01:37 +02:00
jdgleaver
678636934d Fix playlist format detection 2019-07-04 16:46:00 +01:00
jdgleaver
ab7d5cbeb8 Fix build error 2019-06-27 13:05:46 +01:00
jdgleaver
5b097cfc7d Fix default core association for old format playlists 2019-06-27 12:36:58 +01:00
jdgleaver
0be44e57ad Overhaul default playlist core association 2019-06-26 17:42:26 +01:00
Twinaphex
9180cc5ba2 Cleanup some warnings 2019-06-22 13:44:10 +02:00
twinaphex
1a1418ccfb (Samples) tasks/database - should work again 2019-05-21 22:38:50 +02: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
jdgleaver
79e8adb90e (playlist) Don't resolve real path when core path is DETECT 2019-05-05 12:49:07 +01:00
twinaphex
23abe5025b Fix for playlist items that have been scanned and don't have an
associated core - we don't want to resolve the path if core_path
is set to "DETECT"
2019-05-05 01:17:51 +02:00
jdgleaver
05e0a6c8d2 Prevent duplicate content history entries (+ general sanitisation of playlist searching) 2019-05-02 09:58:37 +01:00
twinaphex
4c3e0d44b8 Revert "Start using string_is_equal_memcmp and"
This reverts commit 26d6aee1eb.
2019-04-29 04:04:33 +02:00
twinaphex
26d6aee1eb Start using string_is_equal_memcmp and
string_is_equal_memcmp_fast
2019-04-28 17:23:11 +02:00
twinaphex
636e1bef50 (playlist.c) Cleanups 2019-04-27 05:35:16 +02:00
twinaphex
3e72c502a8 strlen optimizations :
- use STRLEN_CONST for constant strings, translates to sizeof
which should be computed at compile-time
- found some places where we are needlessly calling strlen two
times instead of just once
2019-04-27 04:21:10 +02:00
twinaphex
e35cd80a14 (MSVC 2010) Buildfix 2019-04-20 05:53:17 +02:00
twinaphex
cee285bcd5 (playlist.c) Code style cleanups 2019-04-13 18:57:02 +02:00