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

1081
It took me a bit longer than I hoped, but it's done :)
You can try it in the latest git, let me know what you think.

And happy new year :)
1082
En mode aléatoire, chaque fois qu'un nouvelle chanson est demandée (chanson finie, appuie sur Next, ou liste d'attente en mode auto-remplissage), la chanson de la liste de lecture est tiré au hasard selon les critères spécifiés.
J'ai expliqué quelques exemples de pondération dans la page guide (en anglais: http://gmusicbrowser.org/guide.html), c'est vrai que c'est un peu compliqué. L'idée est que pour une chanson, à chaque règle ajoutée, une valeur entre 0 et 1 est calculée. Toutes les valeurs obtenues pour une chanson sont multipliées entre elles pour donner la pondération de la chanson (entre 0 et 1). Une chanson qui a une pondération de 0,5 a donc 2 fois moins de chance d'être choisie qu'une chanson avec une pondération de 1.
Les valeurs pour la chanson actuelle sont affichées.
1083
French / Re: mozembed
January 07, 2010, 18:20:23
Personellement, j'utilise mandriva (plutôt par habitude), et sous la précédente (2009.1) je n'ai pas réussi a le faire marcher, par contre ça marchait bien avec webkit. Avec la dernière (2010.0) ça marche en ajoutant la ligne dans /etc/ld.so.conf

Je viens de tester avec Karmic Koala sous VirtualBox, et ça marche tout seul :) (sans modifier  /etc/ld.so.conf)
Donc je sais pas pourquoi ça marche pas pour toi. Peut-être la différence entre 32-bits et 64-bits (j'ai testé en 32 bits) ? Ou peut-être le plugin flash si la page pour last.fm était affichée ? Peut-être la ligne dans le /etc/ld.so.conf cause le problème ?
Tu peux aussi tester avec l'exemple fourni dans le paquet :
zcat /usr/share/doc/libgtk2-mozembed-perl/examples/pumzilla.gz |perl -
1084
Questions / Re: Problems on Arch Linux
January 04, 2010, 21:07:06
Quote from: Orim on January 04, 2010, 20:55:45
It looks like all libraries gmb wants to access are compiled in 32bits. Maybe there is something wrong with my perl installation or with perl on arch in general? I only need perl for gmb (so far).
I haven't installed mpg321, flac or ogg, so this is ok.
Yes something is wrong with your installation, note that some perl modules load correctly (gtk2) else gmb would run at all.
I doubt it's a problem with perl on arch in general as I know people are using gmb on archlinux.

I can't help you to fix your installation, you should ask on the arch forum.
1085
Questions / Re: Problems on Arch Linux
January 04, 2010, 20:43:44
If gstreamer is grayed-out, there should be a message on the terminal explaining why.
1086
Questions / Re: Problems on Arch Linux
January 04, 2010, 19:58:11
Quote from: Orim on January 04, 2010, 19:00:26
Can't load '/usr/lib/perl5/vendor_perl/auto/Gtk2/TrayIcon/TrayIcon.so' for module Gtk2::TrayIcon: /usr/lib/perl5/vendor_perl/auto/Gtk2/TrayIcon/TrayIcon.so: wrong ELF class: ELFCLASS32 at /usr/lib/perl5/core_perl/DynaLoader.pm line 200.
It seems your perl-gtk2-trayicon has been compiled in 32-bits and not 64-bits like your other libraries.

Quote from: Orim on January 04, 2010, 19:00:26
I want to use gstreamer if possible and I've installed the gstreamer good, base, bad and ugly packages but gmb can't find it as the option to use gstreamer is greyed out. Other gstreamer players like totem work without any problems. Any suggestions?
You must be missing the gstreamer perl bindings, the package is probably named perl-gstreamer
1087
French / Re: message erreur
January 03, 2010, 23:35:48
Ca vient toujours de gstreamer, je sais pas trop ce qui peut causer ça :(
Tu as changé le "périphérique de sortie" de gstreamer ? de quoi à quoi ? Tu peux peut-être en essayer d'autres.

Sinon, tu peux bien sûr utiliser mplayer.
1088
If you are using v1.1.x, it's maybe because some have the album_artist tag set, and some don't. I still need to make some tweaks to the way songs are classified into albums.

If you use v1.0.x, then the album field must be different, maybe not the same case or an extra space ?
1089
Suggestions / Re: Album artist sorting
December 31, 2009, 18:16:22
Yes I'll do it, the only problem is I'd like to keep the possibility of sorting by album_artist, so I need to differentiate between the "raw" album_artist and the virtual "album_artist or artist".
Any suggestions for naming these ?

Currently I can only think of these names :

  • album artist (for which one ?)
  • raw album artist (not pretty)
  • album artist or artist (very long)

long names are especially bad when used in FPanes, as the name is used in the tab, I could use a short name version for these cases.

Currently both fields are named "album artist" but are not available everywhere :

  • sorting has only the "raw" one
  • columns have both
  • FPanes have only the virtual one
1090
French / Re: message erreur
December 31, 2009, 17:59:04
L'erreur viens de gstreamer, ça veux dire qu'il n'arrive pas à accéder à la carte son. Essaye de changer le "périphérique de sortie" de gstreamer dans l'onglet "audio" des préférences de gmusicbrowser.
1091
For versions v1.0.x, you have to add this line :
Default = FPane3 addedtimespan=day
(if there is already a "Default" line, put it in the same line)
But it will only work if the layout hasn't been used before, else it will use the previous setting.

Which made me wonder why you "have to set it at every start up". It turns out there was a small overlooked bug which prevented saving setting of FPanes dates and rating pages.
I've just fixed it in git : http://git.gmusicbrowser.org/commit/9509f9f17773c5d12d6011840c7517dd7641cd47.
Let me know if you need help using this fix. You can download a snapshot tarball from the sourceforge git repo : http://gmusicbrowser.git.sourceforge.net/git/gitweb.cgi?p=gmusicbrowser/gmusicbrowser;a=shortlog;h=refs/heads/v1.0.x

I still don't know if I'll release an updated v1.0.x version, there is now 3 small bugs fixed in git for this branch for those interested.
1092
Questions / Re: total play list length
December 28, 2009, 14:32:00
Yes it has a few problems in v1.0.x, the "listed" mode should be understood as the result from the last filter, manual modification (adding/removing songs) of the list will be ignored. And when associated with a SongList in playlist mode, the Total widget won't be automatically updated when changing the Playlist filter.

All this is fixed in v1.1.x, the "listed" mode now really means the listed songs and is updated correctly.
1093
Questions / Re: total play list length
December 28, 2009, 00:08:14
You have to edit the layout to add a widget, for example, here is a modification of "playlist,library & context" :


[Playlist, Library & Context with Total]
Type=G
Default         = Window size=1120x820 SongList2 cols=playandqueue_track_titleaa_length_nbplay_rating VPRight 200_550
VBLeft          = VBplayer 5_SongList2(mode=playlist,group=1) EditListButtons(group=1,small=1,size=small) Total1(group=1)
HBButtons1 = Vol Prev Stop Play Next
VBSongList = HBSongList _SongList(activate=addplay) Total
MBmenu = MainMenuItem PSortItem PFilterItem QueueItem
MBlist = HistItem LSortItem PlayItem
HBmenu = _MBmenu
HBButtons3 = 5Sort 5Filter 5Queue 5Pos -Stars
HBTime = LabelTime Length _Scale
HBTitle = Filler0 _Title
HBArtist = LockArtist _Artist
HBAlbum = LockAlbum _Album -Date
VBText = HBButtons1 2HBTitle 2HBArtist 2HBAlbum HBTime
HBText_Cover = _VBText 5-Cover
VBplayer = HBButtons3 HBText_Cover
HPfp1 = FPane1(nb=2,hide=1) FPane2(nb=3,hide=1)
HPfp0 = FPane0(nb=1,hide=1) HPfp1
HBSongList = FBox -FLock -PlayFilter -Refresh -ResetFilter -MBlist
VPRight = HPfp0 _VBSongList
TBRight = _"Library" VPRight _"Context" Context
HPBottom = VBLeft _TBRight
VBmain = HBmenu 5_HPBottom
HSize0 = Filler0 LockArtist LockAlbum
VolumeScroll = VBplayer
ExtraWidgets = button HBButtons1(relief=none)


I added a Total widget under the SongList in playlist mode and the other SongList, you can easily remove one by removing one of the strings "Total" or "Total1(group=1,size=small)"

To use it you must save this for example in  ~/.config/gmusicbrowser/layouts/with_total.layout
restart gmusicbrowser, and select the layout "Playlist, Library & Context with Total".
1094
Questions / Re: total play list length
December 27, 2009, 17:54:05
The Total widget (used in the default browser layout) can display length/size of library, of selected songs, or of listed songs of an associated SongList/SongTree (click on it to change mode).

Sadly, it still doesn't work with TabbedLists :(, but it will in the future. So currently, it can only display length of playlist or queue if your layout has a SongList (or a SongTree in v1.1.x) in playlist or queue mode.

For the queue, the queue icon tooltip contains the length of the queue.

I'll add other ways to display this kind of info.
1095
Questions / Re: Duplicate music entries
December 25, 2009, 19:38:14
You can use symlinks, you just have to be careful with them, and not add the same folder with multiple names.
Using the ~/Music symlink instead of the real folder name is probably better for the future. That way if you move your /mnt/windows/Music/ to some other folder, you'll just have to update the symlink and everything will be fine :)

Currently, when scanning, gmb will make sure not to scan the same folder twice with different names. But it doesn't currently check if a newly found file is already present in the library under a different path. I will probably improve that one day.