Skip to content
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

Show preview of folder content when browsing songs by folder #453

Open
achimmihca opened this issue Jun 28, 2024 · 0 comments
Open

Show preview of folder content when browsing songs by folder #453

achimmihca opened this issue Jun 28, 2024 · 0 comments

Comments

@achimmihca
Copy link
Collaborator

achimmihca commented Jun 28, 2024

Actual behaviour

The same folder icon is used when browsing by folder.

Expected behaviour

A preview of the folder content is shown in addition to the folder icon, similar to how Windows shows a preview of folder content.

This could include the covers of songs inside the folder.
Further, looking for a dedicated preview.png or preview.jpg as folder icon might be a good addition.

See also original question on Discord

How it was done in related UltraStar games

The following presents how it was done in previous UltraStar games for some inspiration. Keep in mind though that their approach might not be the best solution to the problem.

UltraStar Deluxe
USDX themes come with a set of common language flags, which get shown when folder view + sorting by language is enabled.
Besides that, there exists a txt file where custom image file names can be set for category names, which get shown when sorting by tags and folder view are enabled.

Vocaluxe
There is a folder called "Covers" in the game directory. The game looks for images with matching names as folder icon.

For example, if you sort games by folder name and have a folder name called "Party_Hits" containing your song folders, the game is looking for an image called "Party_Hits.jpg" in the "Covers" folder. If you order by artist and have songs for the artist "Linkin Park", it is looking for an image called "Linkin Part.jpg".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant