Page 69 of 70 FirstFirst ... 195967686970 LastLast
Results 681 to 690 of 699

Thread: Howto: Music album covers in Thunar Nautilus and everywhere!

  1. #681
    Join Date
    May 2008
    Location
    México
    Beans
    108
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Howto: Music album covers in Thunar Nautilus and everywhere!

    Quote Originally Posted by R2D2! View Post
    [...]due to ~/.nautilus/metafiles/ been moved to ~/.local/share/gvfs-metadata/
    It seems that the structure in ~/.local/share/gvfs-metadata/ is different, so you'll have to rewrite the code for that option

    —Ilhuıtemoc

  2. #682
    Join Date
    May 2008
    Location
    México
    Beans
    108
    Distro
    Ubuntu 12.04 Precise Pangolin

    Lightbulb Re: Howto: Music album covers in Thunar Nautilus and everywhere!

    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:
    Code:
    rhythmbox-client --no-present --clear-queue --enqueue "$1" "$2" "$n" --play
    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.

    For the music widget:
    Code:
    rhythmbox-client --no-present --enqueue "$1" "$2" "$n" --play
    The difference here is that the avatar clears any previous playlist, but the widget adds them one after the other.

    However, I don't know how to put them inside avatar-factory, but I hope this helps.

    —Ilhuıtemoc

  3. #683
    Join Date
    Oct 2006
    Location
    Argentina
    Beans
    584
    Distro
    Ubuntu

    Re: Howto: Music album covers in Thunar Nautilus and everywhere!

    Quote Originally Posted by R2D2! View Post
    It seems that the structure in ~/.local/share/gvfs-metadata/ is different, so you'll have to rewrite the code for that option
    —Ilhuıtemoc
    mmm... it seems that it has changed a lot, I thought that it was just the path. I won't be able to fix that for now.

    Quote Originally Posted by R2D2! View Post
    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:
    Code:
    rhythmbox-client --no-present --clear-queue --enqueue "$1" "$2" "$n" --play
    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.

    For the music widget:
    Code:
    rhythmbox-client --no-present --enqueue "$1" "$2" "$n" --play
    The difference here is that the avatar clears any previous playlist, but the widget adds them one after the other.

    However, I don't know how to put them inside avatar-factory, but I hope this helps.

    —Ilhuıtemoc
    Yes, it helps, thanks!

  4. #684
    Join Date
    Dec 2009
    Beans
    1

    Re: Howto: Music album covers in Thunar Nautilus and everywhere!

    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!!!

  5. #685
    Join Date
    Oct 2006
    Location
    Argentina
    Beans
    584
    Distro
    Ubuntu

    Re: Howto: Music album covers in Thunar Nautilus and everywhere!

    Quote Originally Posted by crimp2333 View Post
    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!
    Not that I know. Thunar doesn't allow to have settings by folder.

  6. #686
    Join Date
    May 2008
    Location
    México
    Beans
    108
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Howto: Music album covers in Thunar Nautilus and everywhere!

    @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.

  7. #687
    Join Date
    May 2005
    Beans
    694

    Re: Howto: Music album covers in Thunar Nautilus and everywhere!

    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.

  8. #688
    Join Date
    May 2008
    Location
    México
    Beans
    108
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Howto: Music album covers in Thunar Nautilus and everywhere!

    Is there any tutorial about creating a new grabber? I'm too lazy to search through the whole thread...

    —Ilhuıtemoc

  9. #689
    Join Date
    Oct 2006
    Location
    Argentina
    Beans
    584
    Distro
    Ubuntu

    Re: Howto: Music album covers in Thunar Nautilus and everywhere!

    Quote Originally Posted by R2D2! View Post
    Is there any tutorial about creating a new grabber? I'm too lazy to search through the whole thread...
    No, I will try to explain but I don't know if I do remember correctly.

    You need to create one file in:
    Code:
    /usr/local/share/avatar-factory/grabbers
    You can take a look to the grabbers there.
    The filename should be the name of the grabber.
    Example:
    Code:
    /usr/local/share/avatar-factory/grabbers/your-grabber
    The file must contain three functions:
    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 opened
    SOURCE_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.

  10. #690
    Join Date
    May 2008
    Location
    México
    Beans
    108
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Howto: Music album covers in Thunar Nautilus and everywhere!

    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
    Attached Files Attached Files

Page 69 of 70 FirstFirst ... 195967686970 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •