Rockbox Development > Starting Development and Compiling

AlbumArt not shown in UISimulator

<< < (2/3) > >>

amachronic:
Changing it to "Folder.jpg" would have the opposite problem: it would find "Folder.jpg" but not "folder.jpg", so it isn't really a solution. Simulating a case insensitive file system on Linux is unfortunately much more complicated and not easy to do.

Anyway, changing it to "Folder.jpg" might work for you if you're sure all your albumart is named "Folder.jpg". Or you could simply mass-rename your cover art to lower case...

Thew:

--- Quote from: amachronic on March 07, 2023, 04:03:54 AM ---Or you could simply mass-rename your cover art to lower case...

--- End quote ---

That's what I ended up doing. Can't comment on other OS but on my Mac it was a simple search and replace that converted the lot in seconds and they now work on all my Rockboxed players.

Frankenpod:
As it already accepts "cover.jpg" as well as "folder.jpg" and "[ALBUM NAME].jpg" surely it wouldn't be that hard to make a patch that would also accept "Folder.jpg"?  (As opposed to making it case-insensitive in general, which obviously would be far more difficult).

Personally, though, I'd just do a bulk rename of all the existing artwork.  Seems a much simpler solution.

cereal_killer:
What I am trying to do is creating the database and the pictureflow slides of my ~100k library with the UISim, having the same folder structure on my player and the simdisk and then transfer the corresponding files to the player. Currently I have a Folder.jpg in every folder/subfolder and I'd prefer to not rename. Nautilus refuses somehow to rename all files and I have to do it in tranches.

Are you cretaing the database and pictureflow files on your player if you have a huge library? How do you batch rename? Is a potential patch a one line change or more complex?

bluebrother:

--- Quote from: cereal_killer on March 07, 2023, 03:34:28 PM ---Are you cretaing the database and pictureflow files on your player if you have a huge library? How do you batch rename? Is a potential patch a one line change or more complex?

--- End quote ---

Quick and dirty solution from the shell. Find all folders below the current folder, and try to rename a file "Folder.jpg" to "folder.jpg". Since you might have folders without a "folder.jpg" you'll get errors for those, so the following can be refined (search for the file, then strip the filename from the path, put in the new filename, but that's the solution I came up with quicker :) )

--- Code: ---find . -type d -exec mv "{}"/Folder.jpg "{}"/folder.jpg \;

--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version