Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - laite

Quote from: mgrubert on March 14, 2014, 20:22:57
Hi Laite,
I don't remember where put lastfm_heart.png and lastfm_heart_empty to see button on ExtraButtons widjet.
I see label and button on info_windows but not in ExtraButtons.
I put the two png files on .config/gmusicbrowser/pix , .config/gmusicbrowser/pix/mylayout and /usr/share/gmusicbrowser/pix and /usr/share/gmusicbrowser/pix/mylayout directories but I don't succeed.
Could you help me ?


I have them in /usr/share/gmusicbrowser/pix/elementary (as I use elementary icon theme) and they seem to work with ExtraButtons. Note that you have to restart gmusicbrowser after copying files to your icon theme directory.
Hi everybody! I've played around some nights with php and dbus-connection and made a small web frontend to control gmusicbrowser through dbus. It looks something like this:

Quite verbose README for requirements and installation can be found at: If you're interested, I think the easiest way to get this is to clone my gmusicbrowser-plugins repository (or download it as zip) and find folder called web_frontend.

For cloning, run (in console):
git clone

Or click "download zip" from

Installing this frontend is probably not trivial for linux-beginners, but I try to follow this thread at least for a while. And please, read the README  :)
Customization / Re: [PLUGIN] Albuminfo
July 18, 2013, 06:15:36
Quote from: watchman on July 16, 2013, 02:23:56
Good day every one,

I think i have a problem with the plugin.
When i want to use it GMB freeze.
Any one an idea?

I have the same problem for some albums. When playing song from some album, Albuminfo - plugin freezes to show "Loading..", all visual on layout freezes (not responding), and after current song is finished no more are played.

Without albuminfo-plugin (unchecked from preferences->plugins) everything works perfectly.

One of the albums I noticed this with is "Stevie Ray Vaughan - 1st Unreleased Album", I've included log from gmusicbrowser -debug as an attachment.

My initial guess would be the line "*** GPerl asked to invoke callback from a foreign thread; handing it over to the main loop", but I don't really have no idea what that implies. I just don't like the looks of that :P
Suggestions / Re: New play order: Random Grouping
January 12, 2013, 08:03:51
Quote from: stormwatch on January 11, 2013, 21:24:17
How it differs from albumrandom3 which also has a dir in your repo?

Hi! Albumrandom3 is "a new version", which is much more simplified (removed most of the silly options) and better integrated to gmusicbrowser (no more separate button, see picture). It's been unfortunately a really long time since I done these plugins so my memory on the details is a bit fuzzy. I'd still recommend you to try it out, it's what I personally use nowdays.

Customization / Plugins by laite
August 14, 2012, 16:25:09
Yeah, I put together a wiki page: for my plugins, and there are also some new versions of them.

Sunshine3 is much simplified version from over-complex sunshine 2.0, still having quite customizable sleep/wake - options.

Albumrandom3 takes heavy use of Sort - widget (no more separate button) and is also much simplified version with reasonable default values.

Feel free to try them out (download from

Customization / Show off!
June 20, 2012, 20:34:33
I'm a bit curious about other people's layouts, so now is your change to boast  ;D

My full-screen layout has been more or less like this for quite a while, and I'm pretty happy about it.

[laite alternative]
Author = "laite"
Name = _"laite alt/"
Default = Window(size=100%x100%)
VolumeScroll = HBControls
VBfirst = 5Filler5 _HPtop
HPtop = VBall NBrit
VBall = VBControls _NBleft
VBControls = HBStatus HBProgress HBControls
HBStatus = 4Filler1 _HBTitle(xalign=.5, yalign=1) -lastfmLoveButton(button=1) -Stars(yalign=0.5)
HBTitle = _Title_by(expand_max=300,ellipsize=end,markup="<b>%t</b> by <b>%a</b> in <i>%l</i> (%y)",tip=_"Title: %t (Track No. %n)",yalign=0.5)
HBControls = Prev Play Next 10Filler7 Vol(button=1) -SimpleSearch(nb=1,group=1) -Filter(button=1) -Sort(button=1) -Sunshine(button=1) \
-Button3(click1="RunPerlCode(::IdleScan)",size=menu,stock=gtk-zoom-in,tip=_"Scan now") -Pref(size=menu) -Queue(button=1)
NBleft = HistoryStats(group=1) VPfilters
NBrit = (tabpos=right270) SongTree1(headclick='select',group=1) SongTree2(group=8)
VPfilters = (tabtitle=_"Filters") _FPane1(nb=2,group=1) VPfilters2
VPfilters2 = HPfilter1 _VPfilters3
VPfilters3 = _FPane4(nb=5,group=1) HBfiltbottom
HBfiltbottom = Total(group=1,relief=none)
HPfilter1 = FPane2(nb=3,group=1) FPane3(nb=4,group=1)
HBProgress = Time(markup=%s,initsize="-XX:XX") _Scale LabelTime(markup='%m ')

Customization / Re: [PLUGIN] Sunshine2
June 09, 2012, 13:55:10
I've released version 2.1 in github.

New features:
* Context menu when right-clicking sunshine-icon
* Quicklaunch
* Customizable start- and end percentages for fade
* Lots of small tweaks, fixes & adjustments

Direct link to plugin-file:
Quote from: mgrubert on June 03, 2012, 14:48:29
Ok, and how to do that " just set the heart as icon for selected label " ?

Add 'labels'-tab to your filter, and right-clicking on any label allows you to set image on them ('set icon' or some similar option). This only works after you have specific label in some of your tracks, I think, but you can manually add it in songs properties (name by default is ' loved', if I recall correctly - you can check this in plugin preferences / change it to anything you like)
Quote from: mgrubert on June 03, 2012, 08:06:30
Where is this 'sync label' -option ?

In preferences->plugins->lastfm_pcget, just make sure you have late enough version of plugin.

There are four modes available for sync:
* local to => if label exists on current track, automatically 'love' track in
* to local => if track is 'loved' in, plugin adds label to track (if it doesn't have it already)
* AND local => removes tracks label and UNLESS both exist already
* OR local => add labels and IF either one of them exists

Quote from: mgrubert on June 01, 2012, 21:50:05
A column in treesong to see the "lastfm heart" ?

You can do this with 'sync label'-option, just set the heart as icon for selected label and show labels icons in songtree :)

Other than that, it would require too much querys to, since each 'heart' must be obtained individually, so that propably is not going to happen :/
Hi. There was a major bug that prevented tracks with umlauted characters (åäö..) from working, and also an old bug where corrections where suggested with '&amp;' instead of plain '&'. These are fixed in latest release today, I suggest everybody who uses this plugin to download it. Straight link to plugin:
Customization / Re : Re: [PLUGIN] Albuminfo
May 30, 2012, 07:17:05
Quote from: nonameplease on May 29, 2012, 19:15:41
Does not work, search also does not work. Could you please help? It used to work first time I started gmusicbrowser, now it always says "no review found".

For me it worked perfectly until just now, I guess it might have something to do with renewing itself (at least the site design is completely different) :-\
Suggestions / Re: Auto (re)tag files
May 29, 2012, 04:12:56
Quote from: fackamato on May 28, 2012, 20:12:09
I'd like to request the feature to auto tag files. I'm not sure how it's done (analyze the track, and/or go by filename?), but Winamp does it really well. (right click file, send to > tag).

Have you noticed that there already is something similar (I'm not sure what winamp's feature is like) in 'songs properties'? If you select multiple files' properties, there is 'auto fill based on filenames' option in the bottom row of dialog.
Quote from: roaje on May 25, 2012, 19:59:56
Hey i don't know if this is the proper thread to ask this, but a really nice feature would be to have a love button somewhere on the interface

Well, ain't this your lucky day!  :D

There now is a button for loving (and unloving!) tracks, see images below. Due to user must 'give permission' in page before he/she can love/unlove tracks from gmb.

Button will appear to your layout if you have 'Extrabuttons' item on it, otherwise you have to add item called 'lastfmLoveButton' manually. Pics are also in git, to install copy them to /usr/share/gmusicbrowser/pix/THEMEYOUAREUSING/ (I suppose they should also work from .config/gmusicbrowser/pix/, but for some reason they didn't for me (any ideas, quentin?). You can obviously replace them whit whatever you like if you're not happy with them :)

On the first click of the love button configuration is asked, do what the helpful dialogs tell you and everything should be fine. Left-clicking button loves, right-clicking unloves track.

To install new features, just grab plugin from the link in opening post and replace old version with it.

If anything goes wrong, please tell me and I'll look into it. You can find me here or at IRC: laite @ #gmusicbrowser (freenode)

Oh, and one more thing: I included an option to 'sync' loved status' to a local label, you can enable this in preferences. Similar to playcount, it is checked only from currently playing song and label is added or removed accordingly.

Quote from: roaje on May 25, 2012, 19:59:56
Hey i don't know if this is the proper thread to ask this, but a really nice feature would be to have a love button somewhere on the interface - im not sure if its an easy task to add it somewhere on the main window or maybe just have a keyboard shortcut, it just sucks having to login to the site :P

Hi, adding love-button should be pretty easy, I'll talk to Quentin about it in the IRC and see what we come up with. This was discussed before a long time ago, but I've already forgotten why it didn't get implemented then  :D