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 - trasdahl

Pages: [1] 2
1
Questions / Miscalculation of height in SongTree
« on: March 10, 2012, 19:10:10 »
Is it just my layout, or is there a slight miscalculation of the height in a SongTree when you scroll?

Symptom: I have a long list of songs in a SongTree widget. I drag the scrollbar up or down. When I let go of the scrollbar, the list is displaced, compared to where it was just before I let go of the scrollbar. The list always shifts upwards, or equivalently: gmb always scrolls further down than I intended.

Understandable? :)

2
Suggestions / Re: Support for id3v2.3 Popularimeter tag
« on: March 10, 2012, 18:59:10 »
Oh, perhaps you mean that the problem is that values aren't restored when you map from popm to gmb and then back to popm. Then I see the problem :)

Although I don't think it's a very big problem, who would notice if a rating changed from 234 to 233 or 232?

3
Suggestions / Re: Support for id3v2.3 Popularimeter tag
« on: March 10, 2012, 18:50:34 »
Isn't it just to map from gmb to popm by 1+int(255/100*gmb), and then map back by int(100/255*popm)? This is an invertible mapping, i.e., mapping from gmb to popm and then back again restores the original value.

4
Customization / Re: Planning extension for more web integration
« on: March 10, 2012, 18:42:37 »
+1 for the request for supporting streaming! :)

5
Customization / Re: [PLUGIN] Albuminfo
« on: December 05, 2011, 16:14:41 »
"Scan the whole library" - function is now implemented, and can be found in the shimmer git:

https://github.com/shimmerproject/gmusicbrowser/commit/7f581f6e60274f3392672b1732734c2af6149829

Better late than never, huh? ;)

6
Questions / Re: Drag and drop songs into saved lists
« on: November 10, 2011, 18:46:49 »
Thanks for the quick fix!

I have discovered two more issues related saved lists:

1) Sometimes, a list seems to be changed automatically when you browse your collection. I have only observed this when creating the list by "Save current list as". I can create the list, edit it to remove all songs, close the "Edit list" window, reset the filter, click around in the filter panes a bit, then click the list again, and voila: the list is no longer empty.

2) When you add songs to a saved list (created with "New list"), and you click the list in the "Saved" tree to see the songs, then the last songs you added to the list don't show, even if you have reset the filter in the mean time. It seems I have to select a filter (not another saved list) in the "Saved" tree, and then go back to the concerned list to see the changes.

7
Suggestions / The popup menu in the "Saved" filter pane.
« on: November 09, 2011, 14:02:43 »
When you right-click the "Saved lists" part of the "Saved" filter pane, the first two items in the popup menu concern filters, whereas the next five items concern lists. I suggest dropping the second item ("Save current filter as") and changing the first item from "New Filter" to "New List".

To be consequent, this should imply removing "Save current list as" from the popup menu in the "Saved filters" part of the same filter pane.

8
Questions / Drag and drop songs into saved lists
« on: November 09, 2011, 13:48:39 »
When I select songs from a songlist and I drag them into a list item in the "Saved lists" part of the "Saved" filter pane, I get the error

*** unhandled exception in callback:
***   Can't use string ("429") as an ARRAY ref while "strict refs" in use at /home/anne/trasdahl/bin/gmusicbrowser/gmusicbrowser_songs.pm line 2988.
***  ignoring at ./gmusicbrowser.pl line 1304.

where 429 is the song id of the first song in the selection. A bug I presume?

9
You get a small "^" or "v" to the right in the column header button if you click it to sort. However, if you choose a sort order from the context menu, you don't get that (even if you choose a sort order that corresponds to a column, for example "Title"). So that becomes the indicator. It may seem small, but it works for me. And it is consistent: if you don't see a "^" or "v", you know you're back at default sort order.

You can check out the manual search part of the albuminfo plugin in the shimmer git, I've implemented it there.

10
Suggestions / Restoring default treeview sorting after third click
« on: October 27, 2011, 16:24:11 »
Behavior now: when you click the column headers in songlist or songtree, the list get sorted by that field, alternately ascending and descending.

Suggestion: When you click a column header of a column that is sorted descending, you return to the default sort order. Say you have chosen "Sort by -> path". When you click for example the "Title" header repeatedly, the sorting order goes title asc -> title desc -> path -> title asc. etc. I know at least Spotify has this behavior.

I'd like this because have have my default sort order which I like, but sometimes I use sorting to find a song/album/artist quickly. It would then be nice to return to the default sort order without having to right click and choose from a menu.

11
Suggestions / Re: a context pane with a different approach
« on: September 25, 2011, 15:02:39 »
The plugin should pop up automatically as a tab in the "Context" widget when you activate it. But not every layout contains a Context widget, so you need to add it somewhere in the layout file, or just switch to a layout that contains one (for example "Playlist, Library & Context").

12
Suggestions / Re: a context pane with a different approach
« on: September 24, 2011, 15:48:53 »
cardiacanesthesia: I wrote a very basic plugin that shows top (meaning most tracks) artists, genres and years, and favorite (meaning most plays) artists, genres and years. It is a context pane widget, so it should pop up next to lyrics, artistinfo etc. It is just a quick and dirty solution, not very fancy (very basic layout) and not very customizable, but it can work as a starting point or an inspiration.

Check it out at https://github.com/trasdahl/gmusicbrowser-plugins/blob/master/stats/stats.pm

13
Suggestions / Re: Key bindings
« on: September 12, 2011, 14:28:22 »
Thanks for the patch, squentin! It works pretty much the way I suggested, all shortcuts (with or without modifiers) work everywhere except when a text entry has focus. However, you don't need to disable ALL shortcuts when a text entry has focus, only those that produce text input. So I guess one could check the modifiers in this particular case.

As for space in songlists/songtrees, I would like it if it only meant play/pause, and didn't trigger the activate-function. Activate could be triggered by pressing enter. But of course, it does not need to be the default behavior, it's only my preference. If shortcuts were able to bypass widgets, one could easily achieve this behavior by setting space as a play/pause shortcut in the settings.

14
Customization / Re: Similar Artists Queuemode - Call for testing
« on: September 07, 2011, 12:06:05 »
It seems to work to put

Code: [Select]
::EnqueueAction('autofill-similar-artists');
at the end of the "Start" procedure. Perhaps there could be a conditional there as well, and a check box in the preferences to let the user decide if he wants it to be default or not.

15
Suggestions / Re: Key bindings
« on: September 05, 2011, 17:51:28 »
Actually, I suggest being able to override any key combination, with or without modifiers. And I argue that there are some widgets (songlists, songtrees) that you would want to override and some you would not (search entries) in some (important) use cases. I see your point with obscure keys and overriding even search entries, but I think that the case of "space" for play/pause is much more common and relevant. Therefore, I suggest that any key combination, with or without modifiers, bypasses all widgets except text entries. I guess a gtk entry doesn't grab many important key combinations with modifiers.

In this way you don't need to add any "bypass" option in the gui.

And btw, I agree with ochosi that "space" by default should be set to play/pause in songlists and songtrees.

Well, this is just my opinion. :)

Pages: [1] 2