I see that there's no apparent support for Rhythmbox, but there's rhythmbox-client, which does the job.
Here are some example commands to run (yes, I'm a noob, so don't expect anything ellaborate):
For the avatar:
Where $1 $2 $n are individual files. You can also add the whole folder, but if you have shuffle turned on, it will scramble the playlist.Code:rhythmbox-client --no-present --clear-queue --enqueue "$1" "$2" "$n" --play
For the music widget:
The difference here is that the avatar clears any previous playlist, but the widget adds them one after the other.Code:rhythmbox-client --no-present --enqueue "$1" "$2" "$n" --play
However, I don't know how to put them inside avatar-factory, but I hope this helps.
—Ilhuıtemoc
Hey,
i have Cruncheee (Crunchbang) on my Asus 901.
I had Pcmanfm as filemanager but switched to thunar.
Now I use avatarfactory for my musicfolders. Everthing is fine as it is on my ubuntu desktop-pc at home (with nautilus).
Just the Icons are too small without pressing ctrl+ "++" everytime. They are in ~/music.
In Nautilus on my other computer the icon-size-setting does a great job. I read that it has no sense for Thunar so I set 27.
Is there a way to set the iconsize in Thunar just for one folder(~/music). When I press ctrl+""++" the size for all folders in my system is changed,that's bad!
Hope you understood my bad english, sorry for that. But I need your help!!!
@Nonno Bassotto: I've seen you made a Facebook grabber. I think it will be easier using FBMCD, and you would have no cookies problems or browser dependencies. However, you need to configure FBCMD first.
Thank you very much for the suggestion. I have currently no time, but it would be nice to rewrite the grabber this way. Maybe when I have more spare time...
Please, feel free to correct my english, so that I can improve it.
Click here to join Dropbox. Both you and I get free extra space.
Is there any tutorial about creating a new grabber? I'm too lazy to search through the whole thread...
—Ilhuıtemoc
No, I will try to explain but I don't know if I do remember correctly.
You need to create one file in:
You can take a look to the grabbers there.Code:/usr/local/share/avatar-factory/grabbers
The filename should be the name of the grabber.
Example:
The file must contain three functions:Code:/usr/local/share/avatar-factory/grabbers/your-grabber
grabber_primary_options
grabber_secondary_options
get_grabber_picture
grabber_primary_options
This function is executed only one time and contains the following options:
theme_name=theme
theme should be the name of any available theme, it defines the theme used by default.Link_or_Application=value
value should be Link or Application. This defines the default mode for the avatars, In Application mode the avatar launcher is used, in Link mode the default filemanager action takes place, for example, on folders, the folder should be openedSOURCE_type=value
This defines the grabber source type. There are three source types: value should be folders, files or bookmarks.SOURCE_filter=value
This must be used when source type is files or bookmarks. value must be a comma separated list of extensions or urls to filter the items to process.
The other two functions are executed one time for every item.
grabber_secondary_options
avatar_name=
Defines the visible name of the avatar.avatar_filename=
Defines the real name of the avatar.icon_NAME=
Defines the icon name.Launcher=
This options defines the command that will be executed in Application mode.URL=
This is used in Link mode by the filemanager.
get_grabber_picture
grabber_picture=
This function defines only the variable "grabber_picture" that should be the full path or url to the picture that will be used to make the icon.
Ok, thats all, I probably forgot some things. If you have any question, just ask.
One last thing: The variable $SOURCE_item is the full path or url of the current item.
Well, I almost finish the FBCMD grabber. There's a small issue: you have to select /tmp/facebook as the source folder. Can this be set as default? or Is there a better way to achieve this?
—Ilhuıtemoc
Bookmarks