If you are asking about the command to select a different theme it is:
for cd:Code:avatar-factory -mg music/album/path folder/2/save -t vinyl
For a list of themes:Code:avatar-factory -mg music/album/path folder/2/save -t cd
But if I make the list of files to play with a command it doesn't work:Code:banshee --play --enqueue "file1.mp3" "file2.mp3" "etc.mp3"
It isn't a Banshee problem, the same happens with moc and with totem. I will ask in the "Programming Talk" forum category.Code:banshee --play --enqueue $(find "$PWD" -maxdepth 1 -type f -iname '*.mp3' | sort | sed -e 's/^/"/' -e 's/$/"/' | tr '\n' ' ')
Last edited by Yuzem; August 29th, 2007 at 05:16 PM.
Any luck with banshee support? What was the response over in the Programming section? What language are you coding in...C or python or something else?
Yes, it is done.
I am coding in bash.
I just finished to fix the problem with the gThumb folders so here it is the new version:
+better mpd support (thanks to aidanr)
+hidden folders are skipped now
+added support for banshee (thanks to duff)
+fixed "--list-themes" command problem
Awesome! I'm going to try it out right now.
You say you're a linux noobie...but this is some pretty good stuff. Tell me, how did you learn to do this?
and I found your thread in Programming Talk and saw you found a fix.
THIS IS GREAT!
Works perfectly...I'll do more playing/testing with it and make sure it's all good. But so far it works great...thanks for this!
EDIT: I was looking through the code...it doesn't look like you added the same command for Totem support so I'm assuming Totem won't play the album like it should...Not hard to add it though
I also noticed that your command (for the banshee support) only calls for mp3 files. Am I wrong? If I'm right it might be a good idea to widen the call for aac and m4a files too...just in case.
Great stuff Yuzem, you've inspired me to starting coding something!
Last edited by isaacj87; August 31st, 2007 at 03:18 AM.
you have and extra sed that shouldn't be there
other than that, working just fine for meCode:mpc ls $(echo "$1" | sed -e "s|$mpd_music_directory/||" -e sed "s| |_|g") | mpc add
I added more file formats (m4a aac ogg) for Banshee and other players. It is still the same version. Just redownload it.
Great, I noticed all the supported formats now.
But you deleted an important part of the command.
The sort function.
What looks like this:
Should look like thisCode:'*.m4a' -or -iname '*.ogg' | sed -e 's/^/"/' -e 's/$/"/' | tr '\n' ' ')
Code:'*.m4a' -or -iname '*.ogg' | sort | sed -e 's/^/"/' -e 's/$/"/' | tr '\n' ' ')