Recent posts

March 10, 2024, 12:55:00
I've just found the database at /home/manu/.config/gmusicbrowser/gmbrc file, but sadly no trace remains of those deleted folders :-( Maybe if I had found it sooner before the file was updated and those references deleted from the library file, I would have been able to find the album names there.
March 10, 2024, 11:43:16
Thanks. I didn't know about that tool, but as far as the files were lost many months ago, and the disk has been in use since then, most of the data will surely be overwritten by now. My main hope is to find the album names at the gMusicBrowser database and then try to get them again one by one from other sources :-/

I'll try to figure out where the database is and then open it with some external tool to take a look at the play history.
March 01, 2024, 14:12:37
Umm though I didn't need that long and actually not particularly helpful here is the full script (I'm no bash dev :D):

#!/bin/bash

# Get the PID of gmusicbrowser
pid=$(ps ax | grep 'gmusic' | awk '{print $1}' | head -n 1)

if [[ -z "$pid" ]]; then
    echo "gmusicbrowser is not running."
    exit 1
fi

gmusicWindowId=$(xdotool search --pid $pid | tail -n 2 | head -n 1)

if [[ -z "$gmusicWindowId" ]]; then
    echo "No window ID found for gmusicbrowser."
    exit 1
fi

currentWindowPid=$(xdotool getactivewindow getwindowpid)

if [[ "$currentWindowPid" == "$pid" ]]; then
    #/home/hutber/gmusicbrowser-1.1.99.1/gmusicbrowser.pl -cmd Hide
    xdotool windowunmap `echo $gmusicWindowId`
else
    xdotool windowmap `echo  $gmusicWindowId` && xdotool windowactivate $gmusicWindowId && xdotool windowfocus $gmusicWindowId
fi
March 01, 2024, 13:47:58
I am trying to hide and show gmusicbrowser with a custom hotkey, which all together works, however it does not always open "in front" of other applications. So the theory was to use xdotool to sniff out the window and bring it in the front. I've done this in the past with `xdotool search -class "XXX"` however as my gmusic only has the song name in the title bar I cannot search for it. I have tried to check via the pid, but it returns many many windows :D

xdotool search --pid 4785
58720257
58738035
58738262
58738542
58746806
58720424
58831293
58829756
58850763
58720263
58720291

So I think the easiest way would be to include gmusicbrowser in the title bar.
February 17, 2024, 15:59:35
Bonjour,
J'ai eu le même problème puisque ma musique est sur un NAS. Il suffit de monter les dossiers du NAS dans le fstab. Pour moi, ils apparaissent directement dans MNT et donc accessibles depuis gmicbrowser.
Bonne écoute...
January 18, 2024, 15:17:03
you can also set Album Artist, this works for me
January 16, 2024, 16:41:02
I am running gmb 1.1.99.1 on Ubuntu 22.04.3 (wayland) and I am having an issue while editing multiple song properties.

When I want to update Genres and click on the (+) button  to display the A-Z genre list, then the system crashes.
Screenshot from 2024-01-16 18-33-33.png 

Also, in comparison with my old 18 Ubuntu and gmb 1.1.15(or 16), again while editing song(s) properties I do not see tooltip autocomplete options. For Example, I am typing "Ro" and get autocomplete suggestion for artists staring with "Ro".

any helpful insight?

thanks!

George
December 21, 2023, 22:30:27
I would love a "fix" for this, as odd as it might sound. Its mildly annoying and something I feel every time I reboot the machine.
December 20, 2023, 10:34:09
Maybe you could search your deleted files with "photorec". It will take lot of time but it is really efficient.
October 15, 2023, 12:09:15
Hi everybody.

Nice to keep enjoying this great player since some years now...

Recently I happened to delete by mistake a full directory of albums from my disk. Next time I opened gMusicBrowser, all those albums were removed, no doubt.

I'd like to recover those albums, but I don't know which were (no trace at my disk!). I was wondering if gMusicBrowser keeps a play history (I guess it does) at its database, and how could I take a look at it so I can search for the names of all those deleted albums, for I remember the name of the cointaining folder (they were stylistically organized).

Any help would be greatly appreciated!

Thank you so much in advance.