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.
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.
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.
Umm though I didn't need that long and actually not particularly helpful here is the full script (I'm no bash dev :D):
Code Select
#!/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
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
So I think the easiest way would be to include gmusicbrowser in the title bar.
Code Select
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.
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...
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...
you can also set Album Artist, this works for me
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.
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
When I want to update Genres and click on the (+) button to display the A-Z genre list, then the system crashes.
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
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.
Maybe you could search your deleted files with "photorec". It will take lot of time but it is really efficient.
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.
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.