Results 1 to 1 of 1
Hello,
KDE 4.4.4 on open suse 11.3
I missed browsing my music with album art as folder icons as in windows so i used the following script:
#!/bin/bash
##
# ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-28-2010 #1Just Joined!
- Join Date
- Feb 2007
- Posts
- 24
Music Cover art directories icon=.folder.png complications.
Hello,
KDE 4.4.4 on open suse 11.3
I missed browsing my music with album art as folder icons as in windows so i used the following script:
#!/bin/bash
##
# (c) 2008 Daniel Klaffenbach
##
#CONVERT="/usr/bin/convert"
CONVERT=`which convert`
#do cover stuff
find .|grep folder.jpg|while read line; do
#convert folder.jpg to .folder.png
WORKDIR=`dirname "$line"`;
echo -n "Processing $WORKDIR:"
$CONVERT "$WORKDIR/folder.jpg" "$WORKDIR/.folder.png
#create .directory file
echo "[Desktop Entry]" > "$WORKDIR/.directory"
echo "Icon=./.folder.png" >> "$WORKDIR/.directory"
#done
echo " done"
done
it ran without error and It was awesome to see most of the folders looking better than they ever did in windows.
However, I still have 2 issuses to resolve.
ISSUE 1.
the .directory file in each music folder is now represented by a question mark icon and when i click on it, instead of opening it in a text editor, I get an error that says: The desktop entry file .directory has no Type=... entry.
if i add Type=Directory, i get an error that says something like type Directory unknown.
this is not a huge deal, but it bugs me.
any ideas??
ISSUE 2.
some of the icons dont show up. I looked through them and i'm sure it is because they are too large. I'd appreciate suggestions for a script that would find the icons that are too large and resize them.
thanks for your input,
strax


Reply With Quote
