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 - Quentin Sculo

1
Questions / Re: Playlist difficulties
January 18, 2021, 18:14:55
You should be able to do that with the filter editor.
For the regexp, you want ^Classical( III)?$
But you can easily select just those 2 genres by "Add multiple condition", select "Any of" and add a condition, select genre, select includes, and then select the genre you want, repeat for the 2nd genre.

The dialog is a bit cumbersome to use though, you can also use the Simple Search widget*, simply typing:
genre~"^Classical( III)?$" playcount=0should work, or
(genre=Classical | genre="Classical III") playcount=0

*Sadly I still haven't documented the syntax of the Simple Search widget
2
Questions / Re: GMusicBrowser and WAV files
January 05, 2021, 19:25:36
1. "bitperfect .WAV format"
I'd just like to point out that they will still be bit-perfect if you compress them to a lossless format like flac, there is really no reason to keep wav files, unless you are using them with software that doesn't support lossless formats.

2. WavPack has nothing to do with .wav files, they use .wv files, yes it's misleading

3. I recently (only in git version currently) added what I call partially-supported formats or read-only formats, so you will be able to add any format recognized by gstreamer or the mediainfo command, this include wav files, but any metadata you edit in those partially supported files will stay inside gmb.
But again, see 1.
3
It's a known issue, it's only if you're not using a gmb icon theme I think (changing the icon theme requires a restart because it's currently a mess) it's affecting the gtk theme icons that have a direction (left-to-right or right-to-left) because my code tries to check if the icon exists but it doesn't work for them.
The whole icon code needs fixing, I'll focus on it soon.
4
Questions / Re: can't import m3u playlists
December 29, 2020, 22:20:51
If you are using the gtk3 version it's because there is a bug from the porting to gtk3, I've fixed it in git. Thanks for reporting it.

The playlist are not saved in independent files.
To be honest I don't use m3u lists myself so the support for them is rather minimal. Generally, lists are discouraged unless you care about the order of the songs, using labels is a much more flexible solution in most cases. That doesn't mean I won't improve the use of lists, but there is so many other things that I want to improve...

5
Questions / Re: Ubuntu Desktop freezes
December 29, 2020, 17:53:50
Hi,
My only guess is that some very weird character in the artist names is causing this, an easy way to test this is sending me your gmbrc file (located in ~/.config/gmusicbrowser) be warned that it contains all the options and songs metadata, if you prefer I could give you a command that just print out all artist names, but it might not be enough.

Also you might avoid a reboot by using ctrl-alt-F1, login in, kill the process, and ctrl-alt-F7 to go back to the gui.
6
Questions / Re: developing of gmusicbrowser
November 23, 2020, 14:28:56
Delete fetch_cover_ORIG.pm it might use it instead of the real one (though I think they are sorted first so this one should be ignored)
To be sure run run "md5sum /usr/share/gmusicbrowser/plugins/fetch_cover.pm" you should get:
9e950637db1490860fce63cd6105f834  for v1.99.1
1ba80eac7d3490f1db7a575d13675b46  for v1.1.16
I've made a version number system for the plugins to use the latest version if more than one is found, but I'm barely using it, I'll have to remember to use it next time I update a plugin.

7
Questions / Re: developing of gmusicbrowser
November 23, 2020, 03:27:18
This should work in both 1.1.16 and 1.1.99.1.
The fact that you don't see it at all in 1.1.99.1 makes me think maybe you've put a version of the plugin in your ~/.config/gmusicbrowser/plugins/ ?
If that's not it, run it from a terminal and see what it says.
8
Questions / Re: System and shell commands
November 12, 2020, 14:35:03
A system command is an executable file, a shell command is passed to the shell, usually bash, and the shell parse it and execute it, it may just run an executable file, but it can do a lot more, like multiple commands, conditions, loops ..., which also comes at a cost of potentially having to escape some characters so they are not interpreted specially. By the way in your example with a *, it's the shell that replace the * with a list of files (which is very useful from a command line, not so much from within gmb)

There is not much documentation for this, though one is the tooltip in the argument entry, the other is the common scheme of replacing fields like %t or $title in gmb, you can check the fields tab to see the variable you can use for each field.
"Run a shell command"
- will run a shell command, so if you want to copy the current song's file you can put "cp $f ~/Temp",
- variables such as %f, %t or $album will refer to the current song ie: the one playing or that would be played if you'd press play.
"Run a shell command on selected songs"
- will, like the tooltip mention, either run one command if $files is used, such as "cp $files ~/Temp" or run one command for each selected file with "cp $f ~/Temp"
- variables such as %f, %t or $album will refer to each selected songs in the focused widget of the current window
of course with cp, one command for all files or one command per file doesn't make much of a difference, but that can be handy with other commands
An easy way to experiment is launching gmb from a terminal and using a command such as "echo %t" or "ls -l %f" and check the output in the terminal.
9
How did you install it ? It seems there is a flatpack version that creates problem with accessing files outside the home, if that is your problem, maybe try creating symlinks from your music to a folder in your $HOME, or try installing it without flatpack.
If you aren't using the flatpack version, other than a permission issue I don't know, maybe some screenshots could help.
10
How did you install it ? It seems there is a flatpack version that creates problem with accessing files outside the home, if that is your problem, maybe try creating symlinks from your music to a folder in your $HOME, or try installing it without flatpack.
If you aren't using the flatpack version, other than a permission issue I don't know, maybe some screenshots could help.
11
It's fixed in git: https://github.com/squentin/gmusicbrowser/commit/2015c2dee2b22fd648913029862032e2c360f06c
as you can see it's a small fix, you can just edit /usr/bin/gmusibrowser as root
12
I'm not aware of any bug on this. Can you post a screenshot ?
13
Questions / Re: Lyrics
September 02, 2020, 15:28:09
It's probably normal, there are a few sources that are still working, but they won't find everything.
I'll think about adding sources.
14
Questions / Re: developing of gmusicbrowser
September 02, 2020, 15:23:33
Quote from: coucou on September 01, 2020, 12:53:10
So, is there any hope to see somes fixes one day ? For example, the cover scrappers...

GMB is the best player I ever used. I don't find another one as good as this one...
Hi, I update cover scrapers when I notice they need updating and find time.
Currently, with the git version, bing, yahoo and ddg work, and I've just pushed an update for google (in both gtk3 and gtk2 branches).

As for other updates,
short term: I need to fix some things to make a proper release.
mid-term: still lot of things I've been wanting to add, some are partly done, don't know when I'll find time to do it
long term:  I'll keep it working, as I use it everyday and have not plan on switching to anything else.
15
C'est dû à l'installation flatpak, c'est pas moi qui a fait le package et je ne connais rien à flatpak, donc tu devrais ouvrir un bug là je crois : https://github.com/flathub/org.gmusicbrowser.gmusicbrowser

Sinon, as tu essayé de crée un lien symbolique de ta musique vers Home/User/Musique ? Les liens symboliques sont géniaux pour ce genre de trucs (avoir un beau chemin virtuel constant avec un chemin physique compliqué et changeant), mais je ne sais pas comment flatpak se comporte avec les liens symboliques.