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

1066
Questions / Re: gapless playback
January 31, 2010, 14:14:14
thanks for testing this.
Yes I've heard about this problem with mp3 files, but I'll let gstreamer handle it (or not).

Quote from: SchotenAndi on January 30, 2010, 15:49:31
By the way... gmusicbrowser works quite slow on my system. It's a powerpc with 1GHz CPU and 1GB RAM.
Particularly scrolling in songtree-window and navigation in the browser-widget ist delayed.
"top" tells me that the processes Xorg and gmusicbrowser cause high cpu-usage.
The duron800 bit on the homepage is getting a bit old btw, it died a few years ago, but must of what is gmb v1.0 (except the SongTree) was developed on it. I'll change it when I do a stable release of v1.1.x.
I now use a core2duo 1.86 Ghz with ~22,000 songs.
I recently bought a really big screen (1920x1200) :) and it's true that a full-screen SongTree or SongList can be a little slow, but I don't think there is much I can do as only part of it is due to my code.
So you must either use a smaller SongList/SongTree or upgrade your cpu :(
1067
Questions / Re: scroll
January 31, 2010, 13:50:45
Hi, it was not possible to scroll the text automatically, but I thought about it a few times before, so I decided to add it :) (though I don't like things moving continuously myself).
I've just committed it to the git repo (sorry, won't be available to v1.0.x) along with an option to change the scrolling speed, just add autoscroll=1 to the text widgets you want, you can change the default interval from 50 (ms, smaller is faster) with for example interval=60 (the default interval when autoscroll=0 is 20)
Sadly it seems to flicker a bit :( don't know why.
1068
Questions / Re: gapless playback
January 29, 2010, 22:38:53
The gapless option in gmb v1.1.x (which by the way, causes some crashes currently :() use gstreamer's gapless feature from its playbin2. I haven't made many tests, but I couldn't hear a gap with my Pink Floyd's Dark Side of the Moon album.
Anyway, I won't try harder than that, gmb's idea is to leave the actual playing to libraries or external programs.
Though I do want to implement support (don't ask me when) for playing albums saved as a single file with a cue sheet, which should make them absolutely gapless.

If anyone wants to test playbin2's gapless, I've made a quick small script (http://gmusicbrowser.org/files/gstreamer_test_gapless.pl), just run it with 2 files as arguments, it will skip to 5s before the end of the first file. Use ctrl-c to quit.
1069
Suggestions / Re: Album artist sorting
January 29, 2010, 00:22:49
Just to clarify, I'm not talking about just sorting, but everywhere. It's true that it's not that useful for sorting, but for columns in SongList/SongTree, filtering, and artist lists in FPanes, having the choice between the 2 is much more useful.
1070
Suggestions / Re: Checking for changed files
January 29, 2010, 00:18:30
Well I don't know how they do it, but there is no magic :)
Other than watching the folders (which is more or less planned, but doesn't work anyway when gmb is not running), the only traces of the changes are the modification stamp on files and folders. The problem is that the changes are not recursive (changing a file's timestamp doesn't propagate to the folder and its parents), so you still have to check every file's timestamp to know if one file has been modified.
Coincidently, I recently stumbled upon this amarok blog post : http://jefferai.org/2010/01/rescanning-single-folders/ that explain how amarok does it, and its limitation. I guess that's how gtkpod does it too. But I'm not convinced that it's better. Maybe I could propose both modes ? (that implies saving all the folders timestamps :()
1071
Suggestions / Re: Album artist sorting
January 28, 2010, 22:04:45
Sorry for not replying sooner.
I rather like the suggestion by berarma, but it changes a lot of things, so I'm thinking about it.
As it would change the field currently referred to by "Artist", I would have to make that change in the internal names too. And yes you're right, a lot of places could keep using the artist field with its new meaning, but not all, so I have to think carefully and do some tests.
Also I worry a bit about user expectations, anyone knows of other players that handle "album artist" this way ?
1072
thanks for noticing, I've fixed it.
In v1.1.x the AABox use the "artists" field instead of "artist"

About the absence of a bug forum, I should maybe add this to the Question forum description, or rename it, I don't know. The current name comes from the default sourceforge forums. But suggestions to create a new forum, or change the existing ones are welcome.
1073
It is now easy to add custom tags in v1.1.x, so it is easy to access the "signature" saved in the tag.
I don't know how easy/hard is the algorithm that create playlists from these "signatures".

My current priority is finishing the few things missing from v1.1.x to finally make a stable release.
I'll probably take a look at this afterward. Though if someone explain to me the playlist-generation algorithm, that could make me want to do it sooner. (no guarantee of course)
1074
Questions / Re: backup static list's
January 24, 2010, 21:05:26
They are currently stored in the file ~/.config/gmusicbrowser/tags (gmbrc in v1.1.x) with all the rest. I will probably save them in individual m3u files in the future.

Currently, the only way to back them up, is to use the export plugin to add the "export to m3u" option in the context menu, and for each list display it, select the songs, export them. :(
I'll add a more direct export option.

And to import them, I only added this function recently in v1.1.x (wait for 1.1.4 or use a git snapshot)
1076
French / Re: mini-playlist
January 19, 2010, 19:59:00
Peut-être que la file d'attente en mode auto-remplissage peut faire ce que tu veux.

Sinon, il y a aussi dans la version 1.1.x, la possibilité d'utiliser le groupe spécial NextN pour afficher le titre/autre des prochaines chansons :
Label1(group=Next1, markup="suivant : <b>%t</b> by %a")
Label2(group=Next2, markup="puis : <b>%t</b> by %a")

(Ca ne marche pas pour l'instant en mode aléatoire.)

Si ça ne te convient pas, donne-moi plus de détails sur ce que tu veux pouvoir faire avec.
1077
Suggestions / Re: Rate artists & albums
January 19, 2010, 19:44:36
It's planned, although it's taking more time than I hoped.  :(
1078
Questions / Re: "open containing folder" command
January 16, 2010, 16:32:38
gmb use the xdg-open script (that is supposed to find the correct command) to open folders or url, but there is a way to override this by setting the OpenFolder or OpenUrl options.
Currently these options can't be set via the gui (maybe I should change that), but you can run this command to change it in a running gmb :
gmusicbrowser -remotecmd RunPerlCode '$::Options{OpenFolder}="pcmanfm"'
1079
French / Re: Test version 1.1.3
January 15, 2010, 23:00:08
Salut, ça faisait longtemps, n'hésite pas à passer dans #gmusicbrowser sur IRC (freenode)

Quote from: Astier on January 15, 2010, 20:25:01
Ça fait un moment que je n'avais pas participé au forum mais depuis peu je teste la version 1.1.3 et je dois avouer que ça fait quelques changements... et qui vont - selon moi - dans le bon sens. Merci à toi !
La 1.1.3 est un peu vielle, j'ai corrigé pas mal de chose depuis, je dois en sortir une autre depuis un moment :( ce week-end probablement.
En fait le mieux maintenant c'est de suivre le développement avec git, je suis devenu un grand fan de git :)

Quote from: Astier on January 15, 2010, 20:25:01
Alors un peu dans le désordre :
- la possibilité de créer une arborescence dans les FPane (si mes souvenirs sont bons) est géniale mais je rencontre deux "bugs" :
+ pour le FPane Artistes (trié alphabétiquement) je crée un sous-groupe Album et je demande que ce sous-groupe soit trié par Ordre de date --> ce choix joue sur le groupe Artiste dont l'ordre se trouve modifié : voir les trois captures ici : http://boucard.brice.perso.neuf.fr/gmusicbrowser/
+ problème avec l'option "Show the 'All' raw" comme le montre la 4e capture.
merci, j'avais pas remarqué :) (je me sert pas des sous-groupes en fait)
j'ai corrigé les 2 problèmes dans git
Je sais qu'il reste quelques petits problèmes avec les sous-groupes, il est possible que je remplace toute l'implémentation par un truc dérivé du SongTree, qui était plus ou moins prévu pour en fait.

Quote from: Astier on January 15, 2010, 20:25:01
Sinon, je n'ai pas encore assez fouillé mais je ne rencontre pas vraiment de problèmes de lenteur au démarrage ou à la fermeture, ça reste minime selon moi.
Non c'est pas un gros problème, je pense que c'est en gros 2x plus lent qu'avant. Bien sûr ça dépend directement du nombre de chansons.
Quand je ferme, avec ~22000 chansons, j'ai le temps de voir apparaître la fenêtre de gnome me disant que ça met trop de temps à ce fermer, peut-être que je devrais fermer les fenêtre avant de faire la sauvegarde ? Le risque c'est que quelqu'un le relance avant que la sauvergarde soit terminée (=>utilise la sauvegarde précédente)
Et sinon ça peut être gênant quand on utilise l'autosave, et qu'on veut faire quelque chose juste au moment où la sauvegarde commence.
1080
Suggestions / Re: Ignore The When Sorting
January 12, 2010, 15:33:17
It's not yet possible, but it is planned. It will be at least possible by using a special tag (artist_sort) and maybe by using a configurable list of words.