squentin / gmusicbrowser

jukebox for large collections of music
http://gmusicbrowser.org
GNU General Public License v3.0
194 stars 42 forks source link

Clicking on a track adds all music to Playlist #204

Open NexusPenguin opened 3 years ago

NexusPenguin commented 3 years ago

Hi,

Love gmusicbrowser, but I am facing a problem. I run gmusicbrowser on Arco (arch based) GNU/Linux distro. I took the latest AUR repo available that is labelled 1.1.99-r1.32.

The problem I am facing is following :

Maybe this is an expected behaviour, but I hardly see how I can play just one track instead of my whole Library :-( Maybe I should create a filter ?

Regards.

squentin commented 3 years ago

I think what is happening is the option "Current song must always be in the playlist", which I think is on by default. With this option, if you play a song that is not in the current playlist, which usually means that it doesn't match the current filter, the filter is cleared, which means all songs are now in the playlist. Now obviously turning off that option should helps, but the real question is what do you want double clicking on a song to do to the playlist exacty ? I must admit that I've made gmb with the idea that the usual/default playlist is "all the songs", and it's probably not how everybody expect it to work, and I'm not quite sure what other people expect. And though there might be the needed options, maybe I could make it easier for these people.

One option you can change is the double-clicking action, though sadly it currently requires editing the layout. Basically you need to find the SongList or SongTree you are using in your layout definition and add the option activate=action, like "SongList(activate=action)" where "action" is one of play/queue/queueinsert/replacequeue/addplay/insertplay/filter_and_play/filter_sort_and_play/properties.

Personally, when I want to play just one song, I double-click or double-middle-click (to enqueue it) it and right-click or middle-click on the stop button to make it stop after the song or queue. And when I want to play an album/artist, I usually use the lock feature: click in front of current album/artist to restrict the playlist to current album/artist.

NexusPenguin commented 3 years ago

Hi,

Many thanks for the detailed answer.

To make it as short as possible : would it possible to add this option. When I double-click a track, clear the current list and replace it with just that song ? So double-clicking that song will play JUST that song and then stop it...

So far, if I click an album and then click a track of another album, it will play the track I double-clicked and, once finished, play the album I double clicked previously.

This is what most other players do... And no I do not want to use those for several reasons (especially as they do not allow me to display my music like I can do it with gmusicbrower).

Regards.

FRED

Le vendredi 12 mars 2021 à 15:05 -0800, Quentin Sculo a écrit :

I think what is happening is the option "Current song must always be in the playlist", which I think is on by default. With this option, if you play a song that is not in the current playlist, which usually means that it doesn't match the current filter, the filter is cleared, which means all songs are now in the playlist. Now obviously turning off that option should helps, but the real question is what do you want double clicking on a song to do to the playlist exacty ? I must admit that I've made gmb with the idea that the usual/default playlist is "all the songs", and it's probably not how everybody expect it to work, and I'm not quite sure what other people expect. And though there might be the needed options, maybe I could make it easier for these people. One option you can change is the double-clicking action, though sadly it currently requires editing the layout. Basically you need to find the SongList or SongTree you are using in your layout definition and add the option activate=action, like "SongList(activate=action)" where "action" is one of play/queue/queueinsert/replacequeue/addplay/insertplay/filter_and_pla y/filter_sort_and_play/properties. Personally, when I want to play just one song, I double-click or double-middle-click (to enqueue it) it and right-click or middle- click on the stop button to make it stop after the song or queue. And when I want to play an album/artist, I usually use the lock feature: click in front of current album/artist to restrict the playlist to current album/artist. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.