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 185097 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Library Tree Discussion

Reply #625
I absolutely love Library tree, but I would like to be able to view albums by "Last Added" or "Last Modified" to see most recent albums at the top of the view. Also, is there a way of reversing the lists (A-Z/Z-A)?

Re: Library Tree Discussion

Reply #626
^ I already told you how to do that in your thread over here. More examples -

'...' menu > Quick setup > Covers [labels right]
'...' menu > Views > Configure views > Add new button
(to add views below)
'...' menu > Views > View by ... (switch to view)

View by Last Modified (Desc):
Code: [Select]
$nodisplay{$sub(99999999999999,$replace($date(%last_modified%),-,, ,,:,))}Modified: $date(%last_modified%)|%album%|[[%discnumber%.]%tracknumber%. ]%title%

View by Last Added (Desc):
Code: [Select]
$nodisplay{$sub(99999999999999,$replace($date(%added%),-,, ,,:,))}Added: $date(%added%)|%album%|[[%discnumber%.]%tracknumber%. ]%title%

Re: Library Tree Discussion

Reply #627
My apologies anamorphic. I couldn't get that to work originally. It just kept saying "Nothing Found". Don't know what I was doing wrong, but I tried again and the Last Modified Script you gave me is working now. The Last Added script doesn't do what I want it to do as it shows me an alphabetically arranged list of albums with the added date underneath. I'm more than happy with the Last Modified view though. Thank you very much for your time and patience.

First LibraryTree panel in chain throws a warning on every start-up

Reply #628
I'm using Columns UI and a series of linked library tree panels in my layout.  No matter how I arrange my layout, the first LibraryTree panel always throws an "unresponsive script" warning when I start up. 

In full it reads:

Quote
A script may be busy or may have stopped working.  You can stop the script now or let it continue.

Panel: {panel name}: Library Tree
Script: adc02ef6a06f0d6db553bc56b2c: ###

If I stop the script my layout doesn't work, if I click continue things work just fine.  I've checked the "don't ask me again" box but it asks me every time regardless.  Also the "###" has changed before, but the rest of the script name stays the same.

Is this a bug or is there a step I may have missed in setting up Library Tree?

Re: Library Tree Discussion

Reply #629
Please paste the specs of the machine you're using, the foobar SS, and the components you're using.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, HIFIMAN ANANDA, Bowers & Wilkins P7, FiiO FT5, FiiO FT1 Pro, 水月雨 (MOONDROP) 空鳴 - VOID, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: Library Tree Discussion

Reply #630
Machine (not sure what's relevant or not, let me know if this isn't what you need):
AMD Ryzen 5 7600X 6-Core, 12-Thread Unlocked Desktop Processor
MSI PRO B650M-A WiFi ProSeries Motherboard (AMD Ryzen 9000/8000/7000 Series Processors, AM5, DDR5, PCIe 4.0, M.2, SATA 6Gb/s, USB 3.2 Gen 2, HDMI/DP, Wi-Fi 6E, Bluetooth 5.3, 2.5Gbps LAN, mATX)
G.SKILL Flare X5 Series (AMD Expo) DDR5 RAM 32GB (2x16GB) 6000MT/s CL36-36-36-96 1.35V Desktop Computer Memory UDIMM - Matte Black (F5-6000J3636F16GX2-FX5)

Foobar (not sure what SS is?):
Foobar V2.0 64-bit

Components (not all currently being used):
Album List Panel
Classic Properties Dialog
Columns UI
JScript Panel 3
Live Show Tagger
Masstagger
Quick TAgger
Spider Monkey Panel
Tagger Panel
Waveform Minibar (mod)


Re: Library Tree Discussion

Reply #631
Reply #628 https://hydrogenaud.io/index.php/topic,111060.msg1052209.html#msg1052209

This message appears when Spider Monkey Panel is under load and taking a long time to start up.
So I needed to know the machine specs and what other components you were using.

If you have screenshots of foobar, it will help us understand how to use it.

There seems to be a problem with the Library Tree itself.
Please review it once again.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, HIFIMAN ANANDA, Bowers & Wilkins P7, FiiO FT5, FiiO FT1 Pro, 水月雨 (MOONDROP) 空鳴 - VOID, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: Library Tree Discussion

Reply #632
Here's a screenshot.  Red is a SMP that's simply filtering by lossy/lossless. The first SMP of each orange pair in the green tabstack is sourced from the red.  The second SMP of each orange pair in the tabstack is sourced from the first in the orange pair. Pink is a playlist view.  I get the error message for whichever SMP is first in the layout.  It's been popping up since before I added the lossy/lossless section.  My total library is just under 20TB across two hard drives.


Re: Library Tree Discussion

Reply #633
Statistics doesn't update on the root item when changing playlist when the panel source is set to Active playlist. It also doesn't update when there are tracks added or removed from the playlist that is chosen as a source. (so not necessarily set to Active playlist)

Re: Library Tree Discussion

Reply #634
Hi, guys! Does anyone have any idea how to add a code to display the artist's image in a grid and expand albums in a grid, in the same tree and in the same panel? Any idea is very welcome...

Re: Library Tree Discussion

Reply #635
Hi there,
I always get this message when I run foobar2000. Then I do stop and reload script and everything goes smooth. Does anybody knows how to get rid of this warning?
Thank you all.

Re: Library Tree Discussion

Reply #636
Hi there,
I always get this message when I run foobar2000. Then I do stop and reload script and everything goes smooth. Does anybody knows how to get rid of this warning?
Thank you all.

Standard memory problems with SMP. Try installing Jsplitter panel instead.

Library Tree can be loaded into Jsplitter panel with same functionality.

Re: Library Tree Discussion

Reply #637
Just to make it clear, that is not a memory problem at all. It's a SMP feature and if you read the popup it clearly states what's about.

If you abort it, obviously it crashes. You can also let it continue instead. + info:
https://github.com/regorxxx/Playlist-Manager-SMP/wiki/Known-problems-or-limitations#warning-popup-about-a-script-being-unresponsive

Such feature is also present on JSplitter, so there is zero reason to believe you will not experience it too. BUT you can disable it at JSplitter, while SMP only allows to set 30 secs (I think) as max value.

Re: Library Tree Discussion

Reply #638
Hi all =)

to further continue on regor's post and explain once and for all why this popup displays:
The popup indeed has nothing to do with any memory issues in "SMP" when you encounter this popup message.

Backstory:
The dev of the SMP has set the default value to 5 seconds, this was back then 5 years ago ( or even older ),
but the default setting was a little bit naive. Back then, people didn't have such large music collection as they have nowadays,
and it seems, this was somewhat "okayish", but keep in mind that people also had slower CPU's.
Meaning, imho 5 seconds is and was not good even back then.

Why this popup sometimes displays?
People with especially large music collections will encounter this popup a lot when they use the default value.
This popup was meant to inform ( mostly JavaScript devs ) that their script ( or some intensive computing methods ), take a lot of time to finish its tasks.

For example, when Spider Monkey Panel scripts like the Library or Playlist are initialized, they need to process your entire music collection
IF you put your entire music collection in on active playlist. Based on the size, the processing will take obviously longer
than a small playlist with a few thousands of tracks loaded. Or in case of the library, when people are switching to the album art grid view,
the script automatically generates all thumbnails of your albums in your indexed library which also takes quite some time to
process. When 5 seconds ( default value ) have passed and the processing is still not complete, this popup will display to inform the
user that "something" ( in these examples, the playlist or library ) takes too long to complete.

Workaround solution:
Depending on your CPU's single thread performance ( slow or high end ), you will see this messages more ( slow CPU ) or less ( fast CPU ).
You can not completely disable this so called "feature", but the maximum value is 60 seconds.

So just set it to "60" and pray this popup will not display again, or do not put your entire 1.000.000 tracks collection or more
in one playlist or in the library. If this does not help, you have also the option to buy a faster CPU =)

More info:
See regor's post link how to set it or here:
https://github.com/TheQwertiest/foo_spider_monkey_panel/issues/167#issuecomment-1141164731

-TT

Re: Library Tree Discussion

Reply #639
thank you for the guides. Indeed I have a huge library of music attached to.

Re: Library Tree Discussion

Reply #640
At the end the time set it didnt fix anything, just moved the popup message 60" later. Anyway I can live with this. My CPU is an  i7- 2.10 GHz

Re: Library Tree Discussion

Reply #641
You can set it to 0 on JSplitter, as suggested, therefore disabling it.

Anyway, what's your exact library size and library TF?

Re: Library Tree Discussion

Reply #642
2.25 Preview crashed JSplitter with Library Tree and, after reloading, made foobar unresponsive for minutes.
Reinstalling 2.24.5 upon the same instance appears to solve the issue.

Maximum heap size: 1024
Allowed heap growth: 128
Gc cycle time budget: 5
Delay: 50
Allowed number of allocations: 1000
Script execution time limit: 25

Re: Library Tree Discussion

Reply #643
Without any more info it's impossible to know what's going on. Like the crash error, the lookup error, console logs, if media library is using relative or absolute paths, etc. component preferences have nothing to do with it, unless you edited the default values which should not be touched (if you don't know what you are doing).

Only thing recommended to touch is Script execution time limit if you are using scripts with big libraries as discussed on posts above.

Re: Library Tree Discussion

Reply #644
Now that I've got my last scripts backed-up, here's more info:

v2.25 preview 2025-05-09 x64 upon Win 11
Portable install on an external hdd, where the library also is.

Media library is using a relative path to the same external hdd (shown as "..\..\Music\" in the Preferences dialogue) plus another absolute path to a different hdd.

Updated again to 2.25 Preview.
No crash but soon became completely unresponsive.
(Yesterday, the JSplitter panel had crashed - not today)
Closed by repeated Windows commands. Got no message.
Opened again. No warning dialogue. It's working.

Re: Library Tree Discussion

Reply #645
I don't see anything wrong with relative paths support on Library Tree (and foobar v2.5+), contrary to my first search. Just a minor privacy thing, buit-in icons path saving.

So I suppose it was just a problem of processing right after updating the library, which clashed with internal foobar library updates.

Re: Library Tree Discussion

Reply #646
Library-Tree-v2.4.0.mod.1

Quote
Fix sorting under View By Folder Structure by jimmywan
Changed how built-in icons paths are handled, using relative paths.

Re: Library Tree Discussion

Reply #647
Hi!

Is there a way of displaying artist photo without it being embedded on the files? Like scraped from internet or something like that?

Re: Library Tree Discussion

Reply #648
^ You still have to download them to a local cache. Install Biography script to do that. Right-click in Biography to open Options > Server Settings > Download tab to set where it saves the Last FM > Photos. Then configure the same folder path in foobar Preferences > Display > Artist tab. Make the path ending in ...

Code: [Select]
$meta(artist,0)_*.jpg

This will pick up the first image found alphabetically. (Which may not always be the best looking one, but you can always manually save/rename one to artist.jpg, and put that path first in the list to give it priority)