Skip to main content
Topic: Library Tree Discussion (Read 26084 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Library Tree Discussion

Reply #151
I've sent you a pm.

Re: Library Tree Discussion

Reply #152
Many thanks for the complete answer, I fixed my tags as you described. It looks good so far.

Re: Library Tree Discussion

Reply #153
Hallo WilB,
Is there a chance for some kind of auto-fill functionality assigned to the 'next' and 'previous' command? I'd like to listen through an album by just clicking on one of the titles and go from there by 'previous' or 'next' without selecting specific titles.
Additionally, it would be great if the currently played song would somehow be indicated in the Library Tree view (e.g. by another background color of the title text or a rectangle around the title text etc).

Another question: when using your script and the JS Smooth Browser from Br3tt/marc2k3 in one skin, in my case the panel properties of both scripts are mixed in the same list (e.g. _DISPLAY... in the Library Tree Panel Properties). Probably this is not indended - just to let you know.

Thanks for the great scripts!


Re: Library Tree Discussion

Reply #154
@MojoBass. 'next' and 'previous' commands are playlist commands. I did try implementing, but, perhaps unsurprisingly, that conflicted with playlist actions. You can achieve the behaviour by using the up/down arrow keys.

It is possible to highlight the playing track and I'll try and add something for the next version unless unexpected complications arise.

To avoid properties that are mixed, clear properties before importing new scripts else properties both from the original & new script will be present. That's just how JScript panel works, unless I've misunderstood your meaning. Importing new scripts doesn't automatically clear old properties.

Re: Library Tree Discussion

Reply #155
Hello WilB,
thanks for the hint with the arrow keys, that works well for me!
For the intended behaviour, the option 'Play on Enter or Send from Menu' should be switched on.

Re: Library Tree Discussion

Reply #156
Hello WilB. Thanks for your great script!

Two questions:

it it possible to set the playlist name dynamically on creating (node name) (like in default album list component) when autofill is off
and is it possible to show folders before files (View by Folder Structure)

 

Re: Library Tree Discussion

Reply #157
1) Set playlist name dynamically. Currently you can use SHIFT + right click > utilities > send to playlist. This a foobar2000 command that can be set to not require shift in foobar2000 preferences > context menu > utilities. This offers a likely playlist name or the option of editing it (works best if files are tagged). I didn't include a "Send to new playlist" command on the main menu because it can result in creating loads of different playlists that are cumbersome to then select or manage etc when simply re-clicking the tree item is much simpler + it auto-updates when the library changes. But it could be added...

2) View by folder structure uses a foobar2000 function that analyses relative paths & that doesn't display common elements of the path to give an easier to view presentation. It's the same as used in DUI album list etc & isn't user configurable. The view you require can probably be created with title formatting. Since this would likely lack the relative path handling bit how well it works may depend on the nature of your folder structure. I'm not sure that I fully understand what you want, but the following seems to be what you're asking:
Code: [Select]
View by Folder: File // $replace($directory_path(%path%),\,|): %filename%
As the above is path-based, put $nodisplay{%subsong%} on the end if you need tracks in containers like m-TAGS or cues sorted.
There maybe other ways if you look at foobar2000 title format help + also look at that if I misunderstood you.

As is usually the case you'll likely get maximum flexibility if views are created based on file tags...

Re: Library Tree Discussion

Reply #158
Is the "Add to Current Playlist" option ? I can not find it or I'm blind :)

Re: Library Tree Discussion

Reply #159
Right click over a tree item & it should be on the menu. The menu is context sensitive & so if the click isn't over an item, view options etc are shown instead.

Re: Library Tree Discussion

Reply #160
Right click over a tree item & it should be on the menu. The menu is context sensitive & so if the click isn't over an item, view options etc are shown instead.
Of course, under the right click is this option. It's my fault because I did not express myself precisely. I was thinking about changing the behavior of the middle mouse button or changing the behavior of a double click on the selected item. Currently, I have not found such a possibility. I admit that this is a very helpful option and much faster than using the context menu  ;)

Re: Library Tree Discussion

Reply #161
MiddleBtn can be set to add to the current playlist as follows.

Panel properties > Playlist Use: 0 or 1 > set: ...MiddleBtn,0

0 - uses the current playlist.
1 - uses a fixed "Playlist" that can be defined in panel properties (line above: default Library View).

Search the documentation for "Playlist:" if you need more info.

Drag n Drop is also now implemented & that can be used as well.

Re: Library Tree Discussion

Reply #162
MiddleBtn can be set to add to the current playlist as follows.

Panel properties > Playlist Use: 0 or 1 > set: ...MiddleBtn,0

0 - uses the current playlist.
1 - uses a fixed "Playlist" that can be defined in panel properties (line above: default Library View).

Search the documentation for "Playlist:" if you need more info.

Drag n Drop is also now implemented & that can be used as well.
This is exactly what I was looking for. Works as expected  :D  Thank you very much
BTW
Where can I find documentation about "Playlist"?

Re: Library Tree Discussion

Reply #163
Library Tree 1.4.0.2 Documentation.txt is included with the Library Tree download.

Search it for "Playlist:" (minus quotes, but with colon) -> takes you straight to info.

Re: Library Tree Discussion

Reply #164
Hey WilB! I was wondering if I could have your permission to incorporate your LibraryTree into my Georgia theme. I've had a couple users ask for this functionality, so I figured I'd try and get the best :)

Re: Library Tree Discussion

Reply #165
Library Tree 1.4.0.2 Documentation.txt is included with the Library Tree download.

Search it for "Playlist:" (minus quotes, but with colon) -> takes you straight to info.
Oh, I forgot that the Documentation.txt file is attached to every zip file. Everything is clear to me now  ;D

Re: Library Tree Discussion

Reply #166
@MordredKLB

Yes, using Library Tree in your Georgia theme is fine. Permission is granted.

Re: Library Tree Discussion

Reply #167
@WilB
Can hope to create a new playlist in the future?
Now we have from Br3tt:
WSH Playlist Viewer 2013 - obsolete
JS Playlist - there is no support for smooth scrolling, there is no support for touch screens.
JS Smooth Playlist by Br3tt - no sorting by folders, no choice of Loved tracks (moods),
not optimized (requires a lot of resources when scrolling), design - requires the best..

Re: Library Tree Discussion

Reply #168
Fantastic panel addition Wilb!

Just wondering if there is a way to color within formatting, either via syntax or similar to the existing:

Quote
Color control: < >    Used to dim or highlight text, currently available in playlist and status bar. There are 3 dim and 3 highlight levels, accessible by repeating color control characters.    <dim> >highlight< >>extrahighlight<<

Re: Library Tree Discussion

Reply #169
 my task  "Add to Current Playlist" via  hotkey.
Can someone help?

Re: Library Tree Discussion

Reply #170
Fantastic panel addition Wilb!

Just wondering if there is a way to color within formatting, either via syntax or similar to the existing:

Quote
Color control: < >    Used to dim or highlight text, currently available in playlist and status bar. There are 3 dim and 3 highlight levels, accessible by repeating color control characters.    <dim> >highlight< >>extrahighlight<<

tough work, good luck.
A rose will bloom, it then will fade.

Re: Library Tree Discussion

Reply #171
@WilB
If there is an unused * .CUE in the folder with the tracks -
"Add to Current Playlist" from the menu works correctly. Removes this * .CUE .
But if use index hotkeys (PlaylistAdd,0,PlaylistInsert,0) - CUE duplicates files .
:::::::::::::::::::::::::::::::::::::
"They're likely to work best with playlist autofill off"
It helps ,  but sometimes duplicates are added to the list

Re: Library Tree Discussion

Reply #172
@seriousstass

JScript playlist. I'm satisfied with the playlist renderers I currently use + plus coding one in JScript is a huge amount of effort. So I have no plans to produce one.

CUE files. I may not fully understand what you mean. But, perhaps you need to sort your CUE file handling so only the original music tracks or CUE are monitored as part of the library, e.g. set "Media Library\File Types" in main foobar2000 preferences or use a filter. If you have both the original music files + CUE files as part of the library then, depending on the view, its not always obvious with tree viewers like Library Tree or DUI album list, that both are present since they can sort together. It's not until you add to a playlist that you may see there is more than one copy of tracks. Add to playlist wouldn't remove CUES, it would just add what's in the selected tree item. I do a lot of testing with m_TAGS which is another container format, and I haven't seen any problems.

I checked the shortcut key commands vs the menu commands and they all worked correctly for me. I also checked the code and they're obtaining the lists in the same way. Perhaps your issue is related to the CUE file handling discussed above. Of course you also have to be sure not to assign the same hot key to "Add" and "Insert", because then both events take place.

@mjm716.

The dim & highlight syntax isn't supported.

Re: Library Tree Discussion

Reply #173
@WilB
Thanks for the answer!
I understood ..
I use // @version "1.4.1 beta" - here autoFill does not disconnect ..? , hence the problem ..
When do you plan release 1.4.1?
Quote
JScript playlist. I'm satisfied with the playlist renderers I currently use
This is a very big breakthrough, a modern script! , but
intel core i7 i5 is needed for normal (touch) scrolling,
or put 4x acceleration, which is not very comfortable ..
+ sorting by folders structure - necessary . Header is not beautiful)
:::::::::::::::::::::::
Sometimes forget to remove the CUE - for separate tracks it is not needed,
and that's what I get in the playlist :
Spoiler (click to show/hide)
in the version
// @author "Wilb"
// @version "1.3.2"
or if  just add a folder with the CUE twice.
In version 1.4, CUE is removed, but sometimes the problem remains.

Re: Library Tree Discussion

Reply #174
All issues - resolved .

 
SimplePortal 1.0.0 RC1 © 2008-2018