Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Library Tree Discussion (Read 85396 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Library Tree Discussion

Reply #450
Well you must be using 64bit v2 then. A rather important detail you didn't think was important enough to mention or any other specifics about the nature of your problem. You're quite the time waster.

foobar2000 changelog, first line....

Quote
Now available as x86 32-bit (legacy), x86 64-bit. ARM 64-bit version coming soon. 64-bit versions require updated versions of add-on components.

Re: Library Tree Discussion

Reply #451
Bug repro:
Enable any filter, enter an artist that does not exist in the library, the search results are empty, restart fb2k, trigger the configuration of the library

Re: Library Tree Discussion

Reply #452
Bug repro:
Enable any filter, enter an artist that does not exist in the library, the search results are empty, restart fb2k, trigger the configuration of the library

@WilB, I've had something similar on my modified Library, needed to add an extra condition ( if items exist, panel.list.Count ) in the rootNodes(lib_update, process) func:
Code: [Select]
if (panel.imgView && total) img.load(); // * Prevent crash if nothing was found in search query, search still active/not cleared and loading album art on next reload

-TT

Re: Library Tree Discussion

Reply #453
Hi...

246 / 5.000
Übersetzungsergebnisse
With the library tree I show the other albums and samplers of the currently playing artist. How can I also show the albums of the second or third or fourth etc. artist if it is a duet. eg: Elton John; Kiki Dee????

Re: Library Tree Discussion

Reply #454
in the top panel you see the albums and samplers with songs from elton john based on the filter

artist IS $nowplaying{$meta(artist,0)}

is there a chance to display also the albums of kiki dee?

Re: Library Tree Discussion

Reply #455
There's a feature that I am hoping can be made toggleable. Using the arrow keys to move selection up and down begins from where the cursor is on screen. Essentially it's as if a left click is sent before the up/down arrow key event. I can't tell if it's part of the plugin or something inherent to SMP.  If you can point me to the method where the behavior is defined I'll try editing it there.

This behavior doesn't work well with my setup. I use FB2K with an air mouse that has arrow keys. When I use the arrow keys the selection starts from where my cursor is. The air mouse cursor tends to move around as I press the arrow keys, so my selection ends up really bugging out. The way the selection is designed right now it's very hard to use arrow keys to select items.

I admit I am an edge case, and if it's possible I would really like this option to be toggleable in a future build. I am definitely sticking with this plugin in the future as it seems to be the best of the tree browser extensions.

Re: Library Tree Discussion

Reply #456
@DJ FRANK G.
Assuming the names are in multi-value tags then try something like:
artist IS $nowplaying{$meta(artist,0)} OR artist IS $nowplaying{$meta(artist,1)}
Extend according to the number of multi-value tags.

@blindstitch
It's handled by the variable panel.pos in populate.js
panel.pos is set on lbtn_dn (~1245) & lbtn_up (~1276).
You could try commenting those out, but panel.pos is used for other things. May be it'll be OK. You'll have to test it.
It's used by vk.dn (~1659), vk.up (1660), vk.left (~1542), vk.right (~1577)

@always. beta
I could reproduce this issue. It seems that it's due to changes in library handling in foobar2000 v2, as all seems OK in 1.6.12. The next version should have a fix.

@TT  I've added that as well.

Re: Library Tree Discussion

Reply #457
@DJ FRANK G.
Assuming the names are in multi-value tags then try something like:
artist IS $nowplaying{$meta(artist,0)} OR artist IS $nowplaying{$meta(artist,1)}
Extend according to the number of multi-value tags.

Hi, thanx that works fine, but only with 2 artist. Can't work with 1 artist only:




Re: Library Tree Discussion

Reply #458
Thanks for the feedback. It should be fixed for the next version.

Re: Library Tree Discussion

Reply #459
Thanx for you great work...

Another question: is it possible to filter the selection instead of $nowplaying???

Re: Library Tree Discussion

Reply #460
Where is the selection? What do you want to filter by? Maybe you mean the selected track in a playlist rather than the playing track? Something like:
Code: [Select]
artist IS $selected{$meta(artist,0)}

Please confirm what you mean.

Re: Library Tree Discussion

Reply #461
Ok, I use your playlist tree to show the tracklist (1) from the nowplaying album (2). Between the two panels i show the releases (3) of the nowplaying artist. After click on a release, i wish to change the tracklist (1) to the selected release... ;)

my filter for the nowplaying CD is

album IS $nowplaying{$meta(album,0)} AND album date IS $nowplaying{$meta(album date,0)} AND album artist IS $nowplaying{$meta(album artist,0)} AND medium IS $nowplaying{$meta(medium,0)}

the filter:

album IS $selected{$meta(album,0)} AND album date IS $selected{$meta(album date,0)} AND album artist IS $selected{$meta(album artist,0)} AND medium IS $selected{$meta(medium,0)}

doesen't work for the selected release







Re: Library Tree Discussion

Reply #462
$selected isn't implemented & was a suggestion to see if it might be suitable.

However, there may be a better way.

Create another library tree panel in a tab next to TRACKLIST. Call it, e.g., SELECTED & set it to show tracks.

Then for the SELECTED panel set the source to panel: menu > source > panel.

The selected release from the nowplaying panel should then be received and displayed by the SELECTED panel. You may want to set in options > behavior > single-click to select for the nowplaying panel, so items aren't sent to a playlist.

Then you can just toggle between the tabs which would be better than changing filters, I think.

Re: Library Tree Discussion

Reply #463
Many thanks...
that works in principle. But after the track change, the last selected entry is retained. Only when you click on an entry in "Selected" again will it be updated.
Is there a way other than clicking "send to playlist", e.g. when changing tracks, the current album is marked. Can it be programmed in such a way that this filter is automatically sent to the playlist? Look at the video, please...

https://youtu.be/3F9mK70z46M

 

Re: Library Tree Discussion

Reply #464
$selected isn't implemented & was a suggestion to see if it might be suitable.


+1 for $selected direction.

I tried your other suggestion as a means of displaying matching library items to the selection, but it doesn't quite filter as $nowplaying.