Recent posts

October 10, 2021, 00:15:37
I've used foobar2000. All my files have Custom Field "RATING" with numbers from 1 to 5. I have mp3s, flacs, m4as..
Version 1.1.16.
I can not see this in tags via GMB. If I make in foobar2000 different fields like "RATING2" - I can see this tag in file description. But not in the playlist via custom tags - It's empty.
foobar2000 doesn't see your rating tags at all. So I cannot figure out how to transfer all my Ratings (It would be great, not to delete previous one.

But to tell the truth - It would be awesome to make my old rating visible in playlist. It seems like player intended to do so, but it doesn't work :(

And personally - I think it makes so much sense. 1 to 5 stars rating seams enough. Having the same tag field name

Other than that - YOUR PLAYER ROCKS!!!!! For years I didn't like the idea to join linux because there was nothing comparable to foobar2000. And GMB seams super-great!
October 09, 2021, 20:05:37
Yes you can copy the file, but be aware that it contains several layouts, you probably want to keep only the ones you plan to edit.

Also, that layout, like many others, use the "based on" system so that they only modify a few things from another layout. It is a simple and useful system but it can get messy fast, so unless you change just a few lines, you may be better off making a independent layout first. For that you first copy the original layout (the X in "based on X"), and then add the lines from the layout variation at the end (doesn't have to be at the end but safer if you forget to remove the line it replaces) and remove the lines that begin with the same "word =" (if any) from what you copied.

For example:
[original]
Type = G
Category = _"Small"
Name = _"test player"
Default = Window(sticky=1)
VBmain = HBButtons _Title
HBButtons = Prev Stop Play Next

[variation] based on original
Name = _"test player variant"
VBmain = HBButtons _Title _Artist _Album

Then you create the independent layout:
[variation2]
Type = G
Category = _"Small"
Default = Window(sticky=1)
HBButtons = Prev Stop Play Next
Name = _"independent test player variant"
VBmain = HBButtons _Title _Artist _Album


So here's the result you wanted, it actually would have been easy to do it as a "based on" layout.
The VolumeSlider is placed before Cover because they are added at the end ("-" before the name), so the order is reversed.
Sadly the color and font only apply to some simple widgets. If you want to change it for everything, you'll have to use the gtk theme method: https://wiki.gmusicbrowser.org/customization/themes.

[with browser & queue modified]
Type=G+
DefaultFocus = Play
HBIndic = MBmenu Sort 10Filter Queue 10Pos
MBmenu = MainMenuItem LayoutItem PSortItem PFilterItem QueueItem
VBleft = HBIndic HBButtons
HBButtons = VolumeIcon Prev Stop Play Next Time 5_ABtimebar
ABtimebar = (yscale=0) TimeBar
HBTitle = Filler0 _Title -Stars
HBArtist = LockArtist _Artist
HBAlbum = LockAlbum _Album -Year
VBright = 2HBTitle 2HBArtist 2HBAlbum
VBmain = HBupper 5HBstatus 5_HPbig Progress
HBstatus = _SimpleSearch(maxwidth=250) 10MBlist ResetFilter Refresh PlayFilter FilterLock -Total
MBlist = HistItem LSortItem PlayItem
HPfp = FilterPane0(nb=1,hidebb=1,page=artists,page_artists/lmarkup=1) FilterPane1(nb=2,hidebb=1,page=album,page_album/lpicsize=32,page_album/lmarkup=1)
VPlistAA = _SongList HBAA
HBAA = _ArtistBox _AlbumBox
HSize0 = Filler0 LockArtist LockAlbum
VolumeScroll = HBupper

Default = Window(size=1120x820) HPbig(size=400-700) HPfp(size=140-140) VPlistAA(size=575-150) VPBrowserQueue(size=490-210)
HPbig = HPfp _VPBrowserQueue
VPBrowserQueue = _VPlistAA VBQueue
VBQueue = _QueueList(group=1,hidewidget=VBQueue,hideif=empty) HBQueueButtons
HBQueueButtons = EditListButtons(group=1) 4QueueActions

Name = _"with browser & queue (modified)"
HBupper = VBleft _VBright -VolumeSlider  5-Cover
DefaultFontColor= #f0f0f0
DefaultFont = Sans 16
October 09, 2021, 16:21:57
You can do a filter with:
Any of:
  rating set to default
  rating > 50%

You can also get this filter by typing "rating= OR rating>50" into the SimpleSearch widget (I'll document the syntax one day).
By the way there is a totally undocumented virtual field "ratingnumber" that always returns a number, using the default rating if the rating is not set.
October 03, 2021, 16:49:21
Solved,I found the reason, why in my GNB the Composer tag was empty.
It was a mixture of user defined "Komonist" (German for compser) the the GMB field composer.
First I deleted the user defined filed Composer,
do in settings to fields and activate the field composer (in additional fields)
delete column Composer, and add afterwards field composer,
reread tags, restart GMB,
this worked on my GMB.
Thanks a lot.
September 27, 2021, 12:36:00
Salut,

Je cherche à creer des boutons qui permettent de changer le filtre du SongTree/SongList.
Je réussis a faire des bouton qui changent la playlist, ou qui mettent en file d'attente :
# Enqueue Filter
Button11(label="filter_title", click1='RunPerlCode(::EnqueueFilter(Filter->new_from_smartstring("title:test")))') \

# Play filter
Button12(label="Ftest", click1='RunPerlCode(::Select(filter => Filter->new_from_smartstring("title:test")))') \
   

Je voudrais un bouton qui fonctionne comme la selection dans les FilterPane, avec par exemple comme filtre : 'playcount:h:50' 'playcount:>:4' ou encore les morceaux dont la note est supérieur à 80...

J'ai tenté des truc comme
gmusicbrowser -cmd 'RunPerlCode ::SelectedFilter(filter => Filter->addnew("'playcount:h:50'"));'
'
... Mais echec...
September 25, 2021, 01:51:37
I have the same question.
September 24, 2021, 04:00:16
I just started using GMB recently. I love the customization options for layouts, but it will take a while to learn how to change or create layouts myself.

I guess the first step is to copy an existing layout to my user folder, right?

cp /usr/share/gmusicbrowser/layouts/main.layout ~/.config/gmusicbrowser/layouts
My current Layout = with browser & queue

I like this layout, but I would like to try a few changes:

1. add a horizontal volume scroll to the right of the seek bar (I think you call it the TimeSlider)

2. change the fonts and colors everywhere. I want to use a slightly larger font and make it less gray (more white).

I don't want to make too many changes to start with. I just want to start learning how layouts work.

Can anyone help me with tips for making some of those changes?

Thanks.

September 22, 2021, 22:30:22
I want to say thanks to Quentin for continuing to work on this great music player. I spent the last few days trying every different Linux music player that looked promising. After a lot of testing, the only new apps I kept installed are gmusicbrowser and quod libet. I've been using deadbeef, and it is a great player. I'm keeping it installed too. But I anticipate that gmusicbrowser is going to become my main music app now. I'm very impressed with it so far.

I particularly like the ease with which I can set or change ratings on tracks and the straight-forward way GMB saves ratings metadata compared to many other players.

Other features I like are regular expression searches, support for multiple genres for a song (because I have a lot of music that doesn't fit neatly into the usual genres), the customizable window layouts (which I plan to explore in great detail as I learn more), and the ongoing development by Quentin.

I am also very interested in options to read/write custom fields from/to tags.

Another thing I like about GMB is its support for large music libraries. I currently have 61629 flac files and another 13283 MP3 files and a few .wav, .ogg, and other formats. I estimate my total music library could be over 80,000 songs because some of my flac files are not split into tracks. I guess GMB might tell me the exact size once I load up my entire library.

The only suggestion I have at this moment is in regard to ratings metadata. My own ratings are a very important part of how I manage my music. It would be really awesome if GMB could offer users some advanced and configurable options for saving ratings metadata.

For example, I have been thinking that it might be helpful to save my song ratings into multiple metadata fields simultaneously. For example, on flac files, GMB uses FMPS_RATING, but deadbeef uses "RATING". I believe I can solve a lot of compatibility issues if I save my ratings to multiple fields.

One concern I currently have is that when GMB saves a rating to FMPS_RATING, it deletes the data that was already saved in the RATING field of the file's metadata. I'd probably like an option to not do this.

Then there is the issue of rating scales. As you know, different apps use anything from 0 to 5, 0 to 100, 0 to 255 or even 0.0 to 1.0 (like GMB). (However, for FLAC / Vorbis, the two dominant informal standards seem to be "0.0 to 1.0" and "0 to 100".)

I might like to be able to:

1. define more than one rating field to be used simultaneously (I am mainly focused on flac files. I don't know if this will be needed for others such as MP3 where POPM seems to be universal.)

2. define my rating scale, and potentially use a different scale for the different rating fields I define. For example, I could use 0.0 to 1.0 in FMPS_RATING (as GMB does by default) while also saving 0 to 100 in RATING.

This is one post I looked in for reference on ratings:

Songs ratings and playcount as POPM fields · Issue #1143 · DeaDBeeF-Player/deadbeef

I think it would be great if GMB becomes the one music player that can satisfy anyone's needs for ratings metadata configs :)

This seems to fit the overall philosophy of GMB to be highly configurable. In a similar way to how a user can choose Layout > Make it look like > [pick one], maybe you could do something similar for ratings. For example, "Ratings > Save metadata like > [choose one].

However,for me it does not need to be that sophisticated. I'd be happy to write some values into the GMB config file to meet my needs.

What are your thoughts about this rating metadata idea?

Thanks again for your work on GMB! I'm happy to be a user now.
September 20, 2021, 19:01:42
Thanks for the response, it all now works great. THANKS A LOT :)))
September 19, 2021, 14:00:27
You need to configure your desktop/window manager to use the command "gmusicbrowser -cmd PrevSongInPlaylist" when pressing the key.