Hydrogenaudio Forums

Hosted Forums => foobar2000 => Uploads - (fb2k) => Topic started by: WilB on 02 January, 2016, 01:19:23 PM

Title: Library Tree
Post by: WilB on 02 January, 2016, 01:19:23 PM
    Library Tree

    Library Tree is a JScript media library viewer.

           Requirement: JScript Panel 1.0.7+ (https://github.com/19379/foo-jscript-panel/releases).

    Installation:  Add a JScript Panel to the layout in the  usual way. Click the JScript panel (or right click and choose configure) to  open the editor. Use the tools button to import the Library Tree script.

    (https://hydrogenaud.io/imgcache.php?id=4a58c1946cab684028f0ef5fac606f6a" rel="cached" data-warn="External image, click to view at original size" data-url="http://i.imgur.com/scLlmF5.jpg)(https://hydrogenaud.io/imgcache.php?id=1b490a5ca9b241066ee953304ec19f15" rel="cached" data-warn="External image, click to view at original size" data-url="http://i.imgur.com/YBmIWEM.png)[/list]
Title: Library Tree
Post by: Falstaff on 02 January, 2016, 01:47:40 PM
looks good, will give it a try asap  thanx for sharing

is it based on the thanhdat WSH script (http://fav.me/d682ptl) ? if yes, you should credits him somewhere, somehow ;-)
Title: Library Tree
Post by: Falstaff on 02 January, 2016, 05:55:19 PM
just tested, it's a very good panel, congratulations, nothing is missing from what i can see now

just one little thing but maybe it's me : mousewheel UP + CTRL zoom out, it should do the opposite no ?
Title: Library Tree
Post by: samithaj on 03 January, 2016, 12:56:10 AM
Nice git for the new year !!!
Everything working great so far
Love keyboard navigation and selection options 
Way better than Library tree component
One thing i miss from that would be the filtering options for views
but this is feels way smoother and i really needed to this non-transparent  background of foo_uie_library_tree to go away (most importantly  )
Title: Library Tree
Post by: Marcus Vinicus on 03 January, 2016, 05:15:13 PM
WilB,

Thanks for this, I've given it a test and I like it. I'll integrate it into my layout. 
Title: Library Tree
Post by: asionwu on 05 January, 2016, 08:37:35 AM
tks for sharing! very fast!

(https://hydrogenaud.io/imgcache.php?id=fe576075978a0b6e99d0f84ffe2bf64e" rel="cached" data-warn="External image, click to view at original size" data-url="http://i.imgur.com/Fcq9rI3.jpg)

if use Multi-value tag ,it will be like this.
Title: Library Tree
Post by: WilB on 08 January, 2016, 01:45:23 PM
New Version: Library Tree 0.2

@asionwu:  Thanks for reporting the multi-value splitting issue. Multi-value tag handling  is now done differently and the issue should be fixed.

@falstaff:  Corrected zoom mouse wheel direction. Thanks for reporting.

Fixed a  few other bugs + added some enhancements.

@falstaff - re: thanhdat WSH script

I am  familiar with the thanhdat script and have posted about it on HA. This resulted  in emails from other users, who became frustrated as it became increasingly  broken, due to incompatibility with new versions of wsh / JScript panel, and  other issues with the script. So I was asked if I had done a modified version.  In a nutshell, I found better ways of doing it. The result is a distinctive  script and new code. The library handling / processing etc are done differently  resulting in JScript Library Tree typically being 3-4 times faster. JScript  Library tree also automatically syncs with the media library. Additionally,  JScript Library Tree has lots of stuff / handling absent from the thanhdat  script. The ideas and contribution of thanhdat in showing how it was possible  to code a library view in wsh panel, and of others, is credited in the  acknowledgments in the readme.

just tested, it's a very good panel, congratulations, nothing is missing from what i can see now


Everything working great so far


I've given it a test and I like it. I'll integrate it into my layout. 


tks for sharing! very fast!


Thanks  for the compliments.
Title: Library Tree
Post by: fabiospark on 08 January, 2016, 03:42:45 PM
Maybe it is not in the aim of this tool or maybe this is already there
and I didn't find it:

is there a way to "embed" some filtering in each view to automatically narrow
the "population" before applying that view?

(Something like the library tree component does)

Thanks.
Title: Re: Library Tree
Post by: Scrummble on 11 January, 2016, 09:44:08 PM
Absolutely awesome script.
But here comes a small issue:
In the view settings, it seems to divide the string with "|" before it is calculated. It is good for avoiding bugs when the metadata contains the | character, indeed, but it also means that the depth of the tree cannot be variable.
In foo_uie_library_tree, I use scripts like this
Code: [Select]
%genre%\['['%content group%']'\]%<album artist>%[ '['%performer%']'][\'['%mediatype%']']\['['%date%']' ]%album%[\%edition%]
As some of my tracks do not have an content group or edition, it may cut the depth of the tree when needed. I think maybe your script can be enhanced this way.
Thanks for bringing us this awesome script, again.
Title: Re: Library Tree
Post by: samithaj on 14 January, 2016, 03:09:58 PM
Thanks for the update !!
And I think it's better to to create the thread in other some other part of the forum rather than "Uploads"
since:
https://hydrogenaud.io/index.php/topic,63848.0.html?PHPSESSID=bj95dkaq029v7fiub2k1b6opf2
Quote
This forum is for uploading files only - everyone can attach files to their posts. Discussion should be kept separate and in another forum. Note that recent posts in this forum are not shown in the foobar2000 forum portal - this is on purpose.

someone could miss out on updates :)
Title: Re: Library Tree
Post by: fals33 on 17 January, 2016, 07:23:02 AM
thanks for the update WilB.

an anoying issue to fix please ... when resizing the panel height, displayed area, including the scrollbar do not fit the panel height, there is a gape when panel Height is not exactly a multiple of the row height value ...

http://i.imgur.com/BkQSkV0.png

---
fals33 aka Br3tt aka Falstaff ... Falstaff account lost with the forum migration :'( and no one care
Title: Re: Library Tree
Post by: WilB on 21 January, 2016, 01:32:23 PM
New Version: Library Tree 0.3

@fabiospark - feature added
@Scrummble - I did look at this in some detail. For me, varying the number of branches from one node to the next according to whether tag info happens to be present or not is rather confusing. I also think there are other ways of doing it, e.g. consistent tagging or conditionally displaying variable info at the end of branches. For these reasons and because the changed jscript library handling needed will slow things down, I am reluctant to add it.
@fals33 - I have added an option in properties to switch "Auto Fit" off.

CHANGELOG
- Added a filter that applies before the tree is populated, enabling the tree to comprise different sub-populations of the library. Filters also offer quick access to commonly used queries. The filter can be hidden & has its own zoom.
    - Set filters in properties. Use text or foobar2000 query syntax. Gives sorted results and so sort operations N/A.
- Fixed multi-value tag handling for fields that foobar2000 automatically remaps.
- Search box renamed to "Search".
- Made auto fit optional [set in properties] (auto fit stops clipping of text in the bottom row).
- Added ability to set colour of custom nodes in properties.
- Search symbol now opens query syntax help.
- Fixed speed regression in rare case.
- Improved handling of views and filters in panel properties.
- Fixed minor redraw issues.
- Made compatible with JScript Panel 1.1.0+.

Due to user requests, a separate discussion thread has been started, and future discussion should go here. (https://hydrogenaud.io/index.php/topic,111060/topicseen.html).

The new thread contains updated pictures incorporating the filter and an updated feature summary.

REQUIREMENT CHANGE: JScript Panel 1.1.0+ is now needed
Title: Re: Library Tree
Post by: WilB on 26 January, 2016, 12:34:25 PM
New Version: Library Tree 0.4

Please post discussion here (https://hydrogenaud.io/index.php/topic,111060.0.html)
Requirement: JScript Panel 1.1.0+ (https://github.com/19379/foo-jscript-panel/releases)
Title: Re: Library Tree
Post by: WilB on 28 January, 2016, 08:01:21 AM
New Version: Library Tree 0.5

Please post discussion here (https://hydrogenaud.io/index.php/topic,111060.0.html). Requirement: JScript Panel 1.1.0+ (https://github.com/19379/foo-jscript-panel/releases).
Title: Re: Library Tree
Post by: WilB on 30 January, 2016, 01:38:20 PM
New Version: Library Tree 0.6

For requirements, see post above
Title: Re: Library Tree
Post by: WilB on 30 January, 2016, 06:02:04 PM
New Version: Library Tree 0.7

For requirement, see two posts above
Title: Re: Library Tree
Post by: Just_Addict on 01 April, 2016, 09:33:58 PM
Ooooooh! Just found this day before April Fools :D Great alternative.

Got one small idea for a future release though. Just cosmetics but it makes for a more consistent feel IMO.
I love the Filter dropdown, in fact, I like it so much I'd love to have the view selection also in a dropdown next to it :)

Apart from running into the same 'wall' @Scrummble found, the only other things that would make me drop the Library Tree panel version completely is the Same .... (Artist/Song/Genre/Style/Etc) auto searches and the AutoPlaylist feature

Got one question though, is there an option I've overlooked that changes the way it does subcounts? I would personally prefer to see it count only the number of immediate entries of a subbranch instead of the total track count at the bottom of the current branch? The latter tends to be way off from the correct total since it also includes entries on playlists instead of just the playlist files (CUE, m-TAG), resulting in the same tracks getting counted more than once,
As example, suppose you have a 15track album with a cue sheet (for whatever reason, e.g. to separate hidden tracks from the main song) resulting in effective 18 tracks, possibly having an m-TAG  file pointing to the cue file for tag information, that will end up being counted as 15+18*2 = 51 tracks....apart from this, you lose the information of how many items there are on a particular sub level.
Title: Re: Library Tree
Post by: WilB on 15 April, 2016, 11:15:32 AM
^ Regarding item counts, I prefer these to sub-item counts + it's difficult to change. I also use m-TAGS. But overall, I think both ways have there advantages and disadvantages.

New Version: Library Tree 0.8

Please post discussion here (https://hydrogenaud.io/index.php/topic,111060.0.html). Requirement: JScript Panel 1.1.0+ (https://github.com/19379/foo-jscript-panel/releases).
Title: Re: Library Tree
Post by: WilB on 20 May, 2016, 06:29:21 AM
New Version: Library Tree 0.9

Please post discussion here (https://hydrogenaud.io/index.php/topic,111060.0.html). Requirement: JScript Panel 1.1.0+ (https://github.com/19379/foo-jscript-panel/releases).
Title: Re: Library Tree
Post by: WilB on 04 September, 2016, 11:55:03 AM
New Version: Library Tree 1.0

Please post discussion here (https://hydrogenaud.io/index.php/topic,111060.0.html). Requirement: JScript Panel 1.1.0+ (https://github.com/19379/foo-jscript-panel/releases).
Title: Re: Library Tree
Post by: Rocker on 24 September, 2016, 06:11:14 PM
WiLB, this component is awesome! Thank you for sharing!
Title: Re: Library Tree
Post by: WilB on 17 October, 2016, 07:11:21 PM
^ Thanks

New Version: Library Tree 1.1

Requirements are unchanged from 2 posts above
Title: Re: Library Tree
Post by: seriousstas on 28 October, 2016, 09:38:09 PM
WilB
1 .If turn on All Music and collapse the tree -
list disappears.
2 Add to Current Playlist  - add always just in  "Library view"
Title: Re: Library Tree
Post by: seriousstas on 29 October, 2016, 05:26:31 AM
And a couple wishes..
Please make a handy library for touch devices:
This - finger scrolling.
"Node" - zoomable
Title: Re: Library Tree
Post by: WilB on 04 November, 2016, 06:42:03 PM
New Version: Library Tree 1.2

Please post discussion here (https://hydrogenaud.io/index.php/topic,111060.0.html). Requirement: JScript Panel 1.1.0+ (https://github.com/19379/foo-jscript-panel/releases).
Title: Re: Library Tree
Post by: KoO on 28 November, 2016, 08:57:08 PM
@WilB
Thanks for your fine work as I have been using Library Tree almost right from the start. And it just keeps getting better..

(https://hydrogenaud.io/imgcache.php?id=255dea8d05bc2cf04b01711742532034" rel="cached" data-warn="External image, click to view at original size" data-url="http://i.imgur.com/YoUoMjd.png)
Title: Re: Library Tree
Post by: WilB on 11 February, 2017, 12:03:50 PM
^ Thanks.

New Version: Library Tree 1.3

Please post discussion here (https://hydrogenaud.io/index.php/topic,111060.0.html). Requirement: JScript Panel 1.1.0+ (http://www.foobar2000.org/components/view/foo_jscript_panel).
Title: Re: Library Tree
Post by: nikolai4ik on 11 February, 2017, 01:07:08 PM
thanks!
Title: Re: Library Tree
Post by: WilB on 12 February, 2017, 01:20:14 PM
^ You're welcome.

New Version: Library Tree 1.3.1
Title: Re: Library Tree
Post by: Black_Over_Bills_Mothers on 12 February, 2017, 02:38:50 PM
Hi WiiB
Great new version (1.3.1). Thanks for all your hard work.

I've found a small annoyance. I use the following query for getting a tree of Genres;
View by Genre // %<genre>%|[%band% - ]%album%|[[%discnumber%.]%tracknumber% ][%track artist% - ]%title%

I use multi-value genres.

However the panel crashes at line 583, Col 93. Unable to get property 'name' of undefined or null reference.

It could well be my inconsistant tagging but I wouldn't expect a crash.
Title: Re: Library Tree
Post by: WilB on 15 February, 2017, 04:14:23 PM
New Version: Library Tree 1.3.2

Requirements are unchanged.
Title: Re: Library Tree
Post by: WilB on 20 April, 2017, 12:35:09 PM
New Version: Library Tree 1.3.3

Please post discussion here (https://hydrogenaud.io/index.php/topic,111060.0.html). Requirement: JScript Panel 1.1.0+ (http://www.foobar2000.org/components/view/foo_jscript_panel).
Title: Re: Library Tree
Post by: WilB on 08 May, 2017, 01:15:16 PM
New Version: Library Tree 1.3.4: Optimisation under rare scenario.

Requirements are unchanged.
Title: Re: Library Tree
Post by: WilB on 26 July, 2017, 01:49:59 PM
New Version: Library Tree 1.3.5

Please post discussion here (https://hydrogenaud.io/index.php/topic,111060/topicseen.html). Updated requirement: JScript Panel 1.2.3+ (http://www.foobar2000.org/components/view/foo_jscript_panel).
Title: Re: Library Tree
Post by: WilB on 28 July, 2017, 06:25:58 AM
New Version: Library Tree 1.3.6

Please post discussion here (https://hydrogenaud.io/index.php/topic,111060.0.html). Requires: JScript Panel 1.2.3+ (http://www.foobar2000.org/components/view/foo_jscript_panel).
Title: Re: Library Tree
Post by: WilB on 24 August, 2017, 10:39:04 AM
New Version: Library Tree 1.3.7

Requirements are unchanged.
Title: Re: Library Tree
Post by: WilB on 30 August, 2017, 11:04:00 AM
Post removed
Title: Re: Library Tree
Post by: WilB on 05 September, 2017, 10:53:44 AM
New Version: Library Tree 1.3.8

Requirements are unchanged.
Title: Re: Library Tree
Post by: WilB on 05 October, 2017, 02:05:50 PM
New Version: Library Tree 1.3.9

Requires JScript panel JScript Panel 1.2.3+ (http://www.foobar2000.org/components) & optionally m-TAGS 1.13+ (http://www.foobar2000.org/components) for creating m-TAGS in batch style using library tree.
Title: Re: Library Tree
Post by: WilB on 15 November, 2017, 07:49:56 AM
New Version: Library Tree 1.3.9.1

Requirements are unchanged.