Thanks for your answers Quentin!
I did the following:
- Remember: The names of my picture files correspond exactly to the artist names in the library. I use gmusicbrowser 1.1.6 (Ubuntu 10.10).
- List the files in my artist picture directory in terminal, and copy the list from terminal to a spreadsheet column.
- List the filenames again without their extension, using:
which I got from http://hintsforums.macworld.com/archive/index.php/t-46389.html, and copy the list into the spreadsheet two columns left of the filename column.
- Clean out the list by deleting rows, removing some album names and the many duplicate artist pictures I have (which are listed as picture_1, picture_2...). This took some time for 600 artists...
- insert the path to my picture directory in the vacant middle column and copy the 3 columns to a text editor. A smart search and replace can adjoin the two rightmost columns providing the full path to the file, while leaving the tabulator space between the artist name and the filename.
- search and replace special characters:
á -> %C3%A1
ã -> %C3%A3
ç -> %C3%A7
é -> %C3%A9
ó -> %C3%B3
ú -> %C3%BA
- copy the list into the right place in the [artist] section of the gmbrc, and start gmusicbrowser
(if you need an example of where to insert the list, set the pictures of a few artists, close gmb and check the gmbrc to see both syntax and special character escapes)
::: artist pictures are back and I can go back to relating to a mosaic of the artist pictures when I need some inspiration to figure out what to stick on next ;D
(The whole thing took about two hours including the writing of this post)
Thanks again for GMB!!
I did the following:
- Remember: The names of my picture files correspond exactly to the artist names in the library. I use gmusicbrowser 1.1.6 (Ubuntu 10.10).
- List the files in my artist picture directory in terminal, and copy the list from terminal to a spreadsheet column.
- List the filenames again without their extension, using:
Code Select
ls | sed -e 's/\.[a-zA-Z]*$//'
which I got from http://hintsforums.macworld.com/archive/index.php/t-46389.html, and copy the list into the spreadsheet two columns left of the filename column.
- Clean out the list by deleting rows, removing some album names and the many duplicate artist pictures I have (which are listed as picture_1, picture_2...). This took some time for 600 artists...
- insert the path to my picture directory in the vacant middle column and copy the 3 columns to a text editor. A smart search and replace can adjoin the two rightmost columns providing the full path to the file, while leaving the tabulator space between the artist name and the filename.
- search and replace special characters:
á -> %C3%A1
ã -> %C3%A3
ç -> %C3%A7
é -> %C3%A9
ó -> %C3%B3
ú -> %C3%BA
- copy the list into the right place in the [artist] section of the gmbrc, and start gmusicbrowser
(if you need an example of where to insert the list, set the pictures of a few artists, close gmb and check the gmbrc to see both syntax and special character escapes)
::: artist pictures are back and I can go back to relating to a mosaic of the artist pictures when I need some inspiration to figure out what to stick on next ;D
(The whole thing took about two hours including the writing of this post)
Thanks again for GMB!!