-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This change allows playlist icons to be replaced with Logos. #16758
Conversation
…is loaded to the Thumbnail Named_Logos folder. It is treated the same as other thumbnails for naming and for automatic download. There is a settings menu option to turn it on and off. It is off by default. This only applies to the xmb menu driver.
I think most of these CI build failures are unrelated. GLIBC stuff. Do we want/need to supply these logos through the thumbnail server? is there a permissively-licensed source for them? Or do we assume people will have their own source? |
I still can't get it to build though even re-running the tasks. |
All of the errors reference GLIBC_2.28. Is there a problem with the build pipeline? |
I actually tried to merge this yesterday and hit the GLIBC_2.28 error. So I deleted the branch, closed the pull request. Re forked Retroarch. Pulled down a new copy. Copied over the changes and then re committed and opened a pull request with the same results. I was thinking this might be a build pipeline issue. |
I was thinking this would be art added to the thumbnails download. I used the functions to pull down thumbnail art when it is not present. A user can add it themselves, that is how I tested, but i think in the long run it could be populated through the thumbnail server. |
Nothing odd about these trivial errors.
|
Cleaned up and committed |
Could you show a screenshot of how this looks in practice? And you still missed one: https://github.com/libretro/RetroArch/actions/runs/9819465190/job/27113026888?pr=16758
|
Comment removed ![]() |
Is there a way to fix the 3DS build? The glibc seems to be fixed for the other builds but that one continues to fail. |
Try a rebase, 3DS CI works since d05b319 . |
eyy, nice. all checks have passed. @LibretroAdmin did you have any further requests? |
gfx/gfx_thumbnail_path.c
Outdated
settings_t *settings = config_get_ptr(); | ||
|
||
if (!path_data) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For single lines, the brackets are not necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code reformatted
gfx/gfx_thumbnail_path.c
Outdated
path_data->playlist_index = 0; | ||
|
||
if (!playlist) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For single lines, the brackets are not necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code reformatted
gfx/gfx_thumbnail_path.c
Outdated
} | ||
|
||
if (idx >= playlist_get_size(playlist)) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For single lines, the brackets are not necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code reformatted
char tmp_buf[PATH_MAX_LENGTH]; | ||
const char* pos = strchr(db_name, '|'); | ||
|
||
if (pos && (size_t) (pos - db_name)+1 < sizeof(tmp_buf)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opening bracket on a newline
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code reformatted
gfx/gfx_thumbnail_path.c
Outdated
* databases mentioned separated by |, use only first one */ | ||
strlcpy(tmp_buf, db_name, (size_t) (pos - db_name)+1); | ||
} | ||
else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opening bracket on a newline
menu/drivers/xmb.c
Outdated
{ | ||
xmb_node_t *node = (xmb_node_t*)selection_buf->list[i].userdata; | ||
if(node) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brackets not necessary for a single line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code reformatted
change strcpy to strlcpy
fix code formatting
code formatting changes
Al requested changes complete and repo rebased. All checks passed. @LibretroAdmin did you have any further requests? |
Sorry for the long wait. Merged. |
…o#16758) * This change allows playlist icons to be replaced with Logos. the art is loaded to the Thumbnail Named_Logos folder. It is treated the same as other thumbnails for naming and for automatic download. There is a settings menu option to turn it on and off. It is off by default. This only applies to the xmb menu driver. * Removed commented out code against the style guide. * Code cleanup for C89 compatibitity * Cleaned up errors from Automated CI. * Cleaned up comments. * Update gfx_display.c change strcpy to strlcpy * Update gfx_thumbnail_path.c fix code formatting * Update xmb.c code formatting changes
Nice work on this. I always imagined someday setting actual game disc picture (rather than logo per se), for select favorite PS1 playlist games instead of just the generic disc icon. |
Guidelines
Description
This change allows playlist icons to be replaced with Logos. the art is loaded to the Thumbnail Named_Logos folder. It is treated the same as other thumbnails for naming and for automatic download. There is a settings menu option to turn it on and off. It is off by default. This only applies to the xmb menu driver.
Related Issues
[Any issues this pull request may be addressing]
Related Pull Requests
[Any other PRs from related repositories that might be needed for this pull request to work]
Reviewers
[If possible @mention all the people that should review your pull request]