Skip to main content

Topic: foo_playlist_tree_mod (Read 114743 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
foo_playlist_tree_mod
Reply #50
I have another question.

I'm not able to sort my rating query decreasing, it always starts with zero (to check Reverse don't help.)

I have seen, that this question had been asked before, but I didn't find an answer.

thx

foo_playlist_tree_mod
Reply #51
Excuse me, ok, this is a powerful plugin, but is there any (simple) way to switch to(=activate) the static playlist(=folder) I click to?? In other words can be used as tree enabled playlist switcher or not?

I only found this command (activate-playlist playlist-index) but then again needs scripting(?), I really dont get it.

  • fbuser
  • [*][*][*][*][*]
  • Developer
foo_playlist_tree_mod
Reply #52
I have another question.

I'm not able to sort my rating query decreasing, it always starts with zero (to check Reverse don't help.)

I have seen, that this question had been asked before, but I didn't find an answer.

thx
The reverse option is related to the population order which is of course responsible for the sorting of the tree. But it takes place before the grouping. The evaluation of the label with e.g. %_itemcount% takes place after that. So it is not possible this way. It may be possible using scheme, but I dont' know enough about scheme, to help you here.

foo_playlist_tree_mod
Reply #53
Ah, ok.

Thank you fbuser

  • wojtek
  • [*][*][*][*]
foo_playlist_tree_mod
Reply #54
Where can I download this component? Link in first post doesn't seem to work (404 error...)

EDIT: After topic reload it's ok... strange...
  • Last Edit: 03 February, 2009, 06:55:51 AM by lwiczek
http://foobar2000.pl/ :: unofficial polish forum

foo_playlist_tree_mod
Reply #55
is there something one can do about slow startup times with playlist tree mod? It takes 9 seconds for me to start foobar, without playlist tree mod it is about 3 seconds.

  • fbuser
  • [*][*][*][*][*]
  • Developer
foo_playlist_tree_mod
Reply #56
is there something one can do about slow startup times with playlist tree mod? It takes 9 seconds for me to start foobar, without playlist tree mod it is about 3 seconds.
The startup time depends on who many queries you have defined and if there are autorefreshing queries. But I will keep this in mind, when I find time for some enhancements of the component. Maybe there are some optimizations possible.
  • Last Edit: 16 February, 2009, 04:56:34 PM by fbuser

foo_playlist_tree_mod
Reply #57
I guess wine compatibility isn't too heigh positioned in your list of priority but anyway, latest wine+foobar doesn't run with this plugin.

For interest the log:
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 104EE4ECh
Access violation, operation: read, address: 00000000h
Call path:
entry=>initquit::on_init
Code bytes (104EE4ECh):
104EE4ACh:  FF 83 3D 18 EF 59 10 00 0F 85 C6 01 00 00 D9 EE
104EE4BCh:  DC 5D F4 DF E0 F6 C4 41 0F 8A B6 01 00 00 8B 1D
104EE4CCh:  60 FA 59 10 33 F6 F6 C3 01 75 09 0F BF 03 66 3D
104EE4DCh:  3E 00 74 2B 8B 43 18 A8 01 8D 4B 18 8B F3 75 0E
104EE4ECh:  0F BF 10 66 83 FA 3E 75 05 8B 58 10 EB 03 8B 58
104EE4FCh:  0C 85 DB 75 03 8B 5E 08 89 19 89 5E 14 EB C7 3B
104EE50Ch:  DF 0F 84 6D 01 00 00 83 BB EC 00 00 00 00 0F 85
104EE51Ch:  05 01 00 00 8B 83 D4 00 00 00 A8 10 74 5D 83 7B
Stack (0033FAB0h):
0033FA90h:  00000000 00000000 00000000 00000000
0033FAA0h:  00000000 00000000 00000000 104EE4AD
0033FAB0h:  00000000 02E59870 02E59870 00000000
0033FAC0h:  00000000 00000000 00000000 00000000
0033FAD0h:  00000000 00000000 00000000 00000000
0033FAE0h:  00000000 00000000 00000000 00000000
0033FAF0h:  00000000 00000000 00000000 00000000
0033FB00h:  00000000 02E54E00 0033FB3C 104EFABB
0033FB10h:  00000000 104D4855 00000000 105BE758
0033FB20h:  00000000 00000000 00000000 00000000
0033FB30h:  00000000 0033FB34 00000000 0033FB68
0033FB40h:  104D4E56 02E59870 105BE758 105BE758
0033FB50h:  00000000 02E88000 02E55FE0 02E55600
0033FB60h:  00000000 00000000 0033FBAC 10465FF0
0033FB70h:  02E59870 105BE758 105BE758 00000000
0033FB80h:  00000000 02E55FE0 02E59870 00000000
0033FB90h:  00000001 00000000 0271E310 02E5FF70
0033FBA0h:  00000011 0000036D 00000002 0033FBFC
0033FBB0h:  10412783 02E5FF70 1052AD58 1059CE0C
0033FBC0h:  00000004 00000062 104101E0 00000062
Registers:
EAX: 00000000, EBX: 02E55F20, ECX: 02E55F38, EDX: 105BE758
ESI: 02E55F20, EDI: 02E54E00, EBP: 0033FB08, ESP: 0033FAB0
Crash location: "libmzsch360_000", loaded at 10400000h - 105D0000h

Loaded modules:
psapi                            loaded at 7DFF0000h - 7DFF8000h
dbghelp                          loaded at 7E000000h - 7E044000h
imagehlp                        loaded at 7E050000h - 7E05C000h
wtsapi32                        loaded at 7E170000h - 7E182000h
foo_uie_console                  loaded at 02B20000h - 02B3C000h
msimg32                          loaded at 7E680000h - 7E693000h
foo_ui_std                      loaded at 02930000h - 02A04000h
libmzgc360_000                  loaded at 02550000h - 025F4000h
ws2_32                          loaded at 7E190000h - 7E1AF000h
wsock32                          loaded at 7E1B0000h - 7E1CA000h
libmzsch360_000                  loaded at 10400000h - 105D0000h
foo_playlist_tree_mod            loaded at 024E0000h - 02547000h
foo_uie_typefind                loaded at 023A0000h - 023D0000h
foo_rgscan                      loaded at 02230000h - 0228B000h
foo_uie_tabs                    loaded at 020F0000h - 0211A000h
foo_fileops                      loaded at 01F90000h - 01FD6000h
foo_input_monkey                loaded at 01E30000h - 01E75000h
foo_osd                          loaded at 01CE0000h - 01D12000h
foo_freedb2                      loaded at 01B80000h - 01BC1000h
foo_converter                    loaded at 01A00000h - 01A6C000h
foo_input_std                    loaded at 017B0000h - 018F0000h
foo_playcount                    loaded at 01670000h - 0169A000h
foo_uie_quicksearch              loaded at 01510000h - 01556000h
foo_lnk                          loaded at 00350000h - 00369000h
foo_input_dts                    loaded at 01280000h - 012EA000h
foo_verifier                    loaded at 01130000h - 01163000h
gdiplus                          loaded at 39800000h - 399B2000h
foo_ui_columns                  loaded at 00DA0000h - 00F06000h
foo_dsp_std                      loaded at 00C40000h - 00C86000h
foo_ac3                          loaded at 00B00000h - 00B2F000h
foo_uie_albumlist                loaded at 003B0000h - 003ED000h
foo_uie_lyrics_panel            loaded at 00870000h - 008D4000h
imm32                            loaded at 7E540000h - 7E553000h
winex11                          loaded at 7E6A0000h - 7E72E000h
winspool                        loaded at 7E870000h - 7E89D000h
comdlg32                        loaded at 7E8A0000h - 7E94B000h
uxtheme                          loaded at 7E950000h - 7E97E000h
shared                          loaded at 10000000h - 1002A000h
iphlpapi                        loaded at 7E9A0000h - 7E9B1000h
rpcrt4                          loaded at 7E9C0000h - 7EA14000h
ole32                            loaded at 7EA20000h - 7EABA000h
shell32                          loaded at 7EAD0000h - 7EBCE000h
shlwapi                          loaded at 7EBE0000h - 7EC29000h
user32                          loaded at 7EC40000h - 7ED75000h
advapi32                        loaded at 7ED80000h - 7EDC8000h
gdi32                            loaded at 7EDE0000h - 7EE68000h
comctl32                        loaded at 71590000h - 71617000h
kernel32                        loaded at 7B820000h - 7B93C000h
ntdll                            loaded at 7BC10000h - 7BCA7000h
foobar2000                      loaded at 00400000h - 0053B000h

Stack dump analysis:
Address: 104EFABBh, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 104D4855h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 105BE758h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 104D4E56h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 105BE758h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 105BE758h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 10465FF0h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 105BE758h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 105BE758h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 10412783h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 1052AD58h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 1059CE0Ch, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 104101E0h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 10410130h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 10410110h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 104100D0h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 105A1A40h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 10412BC7h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 105A1A4Ch, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 105A1A48h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 105A1A40h, location: "libmzsch360_000", loaded at 10400000h - 105D0000h
Address: 024EBA1Ah, location: "foo_playlist_tree_mod", loaded at 024E0000h - 02547000h
Address: 005044E4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 02524958h, location: "foo_playlist_tree_mod", loaded at 024E0000h - 02547000h
Address: 02524958h, location: "foo_playlist_tree_mod", loaded at 024E0000h - 02547000h
Address: 02524958h, location: "foo_playlist_tree_mod", loaded at 024E0000h - 02547000h
Address: 02524958h, location: "foo_playlist_tree_mod", loaded at 024E0000h - 02547000h
Address: 0251C720h, location: "foo_playlist_tree_mod", loaded at 024E0000h - 02547000h
Address: 0043A2CDh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004D9D8Bh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004EA0D4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 025352E8h, location: "foo_playlist_tree_mod", loaded at 024E0000h - 02547000h
Address: 0043A293h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004C29B2h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0043B0FAh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7BC8AF00h, location: "ntdll", loaded at 7BC10000h - 7BCA7000h
Address: 7BC41B00h, location: "ntdll", loaded at 7BC10000h - 7BCA7000h
Address: 004D9DF4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004EA0D4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004EA0D4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7BC3372Fh, location: "ntdll", loaded at 7BC10000h - 7BCA7000h
Symbol: "RtlLeaveCriticalSection" (+0000000Fh)
Address: 7BC8AFF4h, location: "ntdll", loaded at 7BC10000h - 7BCA7000h
Address: 7BC42F2Bh, location: "ntdll", loaded at 7BC10000h - 7BCA7000h
Symbol: "RtlSizeHeap" (+000000EBh)
Address: 7BC44510h, location: "ntdll", loaded at 7BC10000h - 7BCA7000h
Symbol: "RtlAllocateHeap" (+00000000h)
Address: 004B6FB3h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B1650h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B6FB3h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B5408h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 1000258Fh, location: "shared", loaded at 10000000h - 1002A000h
Address: 004E075Ch, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004CB0C1h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004E075Ch, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0043B426h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004AF9C1h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004AF9BBh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004D1BC0h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004CFD20h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B1650h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004AF9BBh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004AF9CFh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004CFD20h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004CB24Dh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B151Ah, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B1585h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7B8B6FF4h, location: "kernel32", loaded at 7B820000h - 7B93C000h
Address: 004B1585h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B1650h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7B879028h, location: "kernel32", loaded at 7B820000h - 7B93C000h
Address: 7B8790B0h, location: "kernel32", loaded at 7B820000h - 7B93C000h
Address: 7B845EF0h, location: "kernel32", loaded at 7B820000h - 7B93C000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 7B8B6FF4h, location: "kernel32", loaded at 7B820000h - 7B93C000h
Address: 7B878F9Bh, location: "kernel32", loaded at 7B820000h - 7B93C000h
Address: 7B8B6FF4h, location: "kernel32", loaded at 7B820000h - 7B93C000h
Address: F7E31D77h, location: "libwine.so.1", loaded at F7E2A000h - F7F61000h
Symbol: "wine_switch_to_stack" (+00000017h)
Address: 1001F7EAh, location: "shared", loaded at 10000000h - 1002A000h
Address: 1001F79Ch, location: "shared", loaded at 10000000h - 1002A000h

Version info:
foobar2000 v0.9.6.3
UNICODE
Windows 5.1


Additional info:
Converter 1.2  (foo_converter)
File Operations 2.1.1  (foo_fileops)
Monkey's Audio Decoder 2.1.3  (foo_input_monkey)
Playlist Tree Mod Panel 3.0.6.1 [Jul 31 2008 - 00:00:57]  (foo_playlist_tree_mod)
On-Screen Display 1.52  (foo_osd)
AC3 decoder 0.9.1  (foo_ac3)
foobar2000 core 0.9.6.3  (Core)
Standard DSP Array 1.0  (foo_dsp_std)
Tabbed panel modified 0.2.5  (foo_uie_tabs)
Lyrics panel 0.35  (foo_uie_lyrics_panel)
Standard Input Array 1.0  (foo_input_std)
Console panel 0.3  (foo_uie_console)
Playback Statistics 2.1.7  (foo_playcount)
Columns UI 0.3.6.7  (foo_ui_columns)
ReplayGain Scanner 2.0.8  (foo_rgscan)
Default User Interface 0.9.5  (foo_ui_std)
Quick Search Toolbar 2.8l  (foo_uie_quicksearch)
File Integrity Verifier 1.0.4  (foo_verifier)
DTS decoder 0.2.2  (foo_input_dts)
Typefind 0.2 beta 2  (foo_uie_typefind)
freedb Tagger 0.6.1  (foo_freedb2)
Album list panel 0.3.3  (foo_uie_albumlist)
Shell link resolver 1.1  (foo_lnk)

  • fbuser
  • [*][*][*][*][*]
  • Developer
foo_playlist_tree_mod
Reply #58
The crash is caused by the embedded scheme interpreter. Apart from not having a wine test environment, there is probably not much I can do about it. Because of this I made a light weight version without scheme support (see first post). I also recompiled the standard version with the latest SDK.

foo_playlist_tree_mod
Reply #59
I have a few quick questions....

1.) Does anyone have a link to a comprehensive tutorial on this mod?  A lot of the old links I used for examples/reference are now dead.
2.) If I install the new "light" version, will it import all my current playlist tree mod settings? 
3.) What function/querie could I use in which newly added songs are 70% more likely to play than older songs?


Thanks for any help

  • fbuser
  • [*][*][*][*][*]
  • Developer
foo_playlist_tree_mod
Reply #60
1.) Does anyone have a link to a comprehensive tutorial on this mod?  A lot of the old links I used for examples/reference are now dead.
Link
2.) If I install the new "light" version, will it import all my current playlist tree mod settings?
The light version will use the settings of the standard version.
3.) What function/querie could I use in which newly added songs are 70% more likely to play than older songs?
Not possible with the light version. Maybe possible with scheme, but it's not trivial.




foo_playlist_tree_mod
Reply #61
Thank you much

  • Jleagle
  • [*][*]
foo_playlist_tree_mod
Reply #62
I have just installed this plugin but i cant seem to add the panel. It is not in the "Add new UI element" list. Am i missing something? Thanks.

  • fbuser
  • [*][*][*][*][*]
  • Developer
foo_playlist_tree_mod
Reply #63
foo_playlist_tree_mod is not an UI element, it is a panel for ColumnsUI.

  • Jleagle
  • [*][*]
foo_playlist_tree_mod
Reply #64
That explains, thanks, got it working now.

  • TomBarlow
  • [*][*][*][*][*]
foo_playlist_tree_mod
Reply #65
This is a great component, the only thing I'm missing is some way to expand/collapse the folders, besides the little +/- buttons. Is there something I'm missing? I went through the mouse + keyboard drop down menus but couldn't see anything. I just found that the left and right arrows open/close, but I'd really like to be able to with a double click or something...

Also: this panel doesn't seem to work quite right with panel stack splitter- when it's hidden and auto refresh is on, it will show itself when it refreshes, but you can't interact with it. Also, when does the auto refresh occur? Is it just when a new track is played? I think it doesn't quite keep in time with the auto updating library in 0.9.6, if you add stuff to your library folder you have to wait for it to refresh in order to see what you added.
  • Last Edit: 13 April, 2009, 10:13:32 AM by TomBarlow

  • Joelimite
  • [*]
foo_playlist_tree_mod
Reply #66
I have a quick question about formatting in foo_playlist_tree. I have multi-disc albums organized into separate folders (for example, The Beatles\The White Album\CD1). In addition, I tag each of the tracks of each disc by disc number. However, when I select the album in foo-playlist_tree, it doesn't treat the discs as separate. Instead, it lists the files like this:

01. First track on CD1
01. First track on CD2
02. Second track on CD1
02. Second track on CD2
and so on...

How can I create a conditional if/then statement that will list each disc of multi-disc albums separately? Thanks for any help offered. I'm terrible at scripting...
  • Last Edit: 23 May, 2009, 04:51:17 PM by Joelimite

  • TomBarlow
  • [*][*][*][*][*]
foo_playlist_tree_mod
Reply #67
You need to insert %discnumber% into your sort string, after %album%. You don't really need to make is conditional, if it doesn't exist it'll just sort by the next thing along (e.g. track no).

Another alternative is to insert [|%discnumber%] into your format string after %album%, that'll add another level for discnumber if the discnumber field exists.

  • Joelimite
  • [*]
foo_playlist_tree_mod
Reply #68
The latter option worked perfect! Thanks, Tom.

  • 2E7AH
  • [*][*][*][*][*]
foo_playlist_tree_mod
Reply #69
Link to documentation http://www.bazquux.com/wiki/Foobar2000:Playlist_Tree has gone
Does anybody have another link?

  • T.P Wang
  • [*][*][*][*]
  • Developer
foo_playlist_tree_mod
Reply #70

  • 2E7AH
  • [*][*][*][*][*]
foo_playlist_tree_mod
Reply #71
Thanks

  • petibras
  • [*]
foo_playlist_tree_mod
Reply #72
hello

For now my list look this way

+ Genre
.      +rock
.      .    +artist
.      .    .      +album
.      .    .      +album
.      .    +artist
.      .    .      +album
.      .    +artist
.    +pop

with the folloing code :
Code: [Select]
%genre% '('@format<'%_itemcount%'>')' |
$if($strcmp(%album artist%,Various Artist) , %album%,
$if($strcmp(%album artist%,%artist%), %artist%| %album%,%album artist%| %album%))
                
    
| [$num(%tracknumber%,2) - ]%title%

----------------------
But I would like if thre is only 1 album for one artist to not display one album folder, but directly the track into a folder "artist-album" to be

+ Genre
.      +rock
.      .    +artist
.      .    .      +album
.      .    .      +album
.      .    +artist - album (if only one album)
.      .    .      + track
.      .    .      + track
.      .    +artist
.    +pop

so i've been trying the folloing code w/o success

Code: [Select]
%genre% '('@format<'%_itemcount%'>')' |

$if($strcmp(%album artist%,Various Artist) , %album%,
$if($strcmp(%album artist%,%artist%),
$if($greater(%_foldercount%,1),%artist%| %album%, %artist% - %album%),
%album artist%| %album%))    
| [$num(%tracknumber%,2) - ]%title%


giving me all folder as : artist -album (whatever foldercount they have)






  • petibras
  • [*]
foo_playlist_tree_mod
Reply #73
hello,

got a question
I got the tree in panel stack and got buttons to switch view on this one
If I am on one other view each time :
a new song is being play or I click one file to be play on my playlist it switch to the tree view.

wich is pretty annoying, I tried to see if didn't configure something wronk but I couldn't find, any idea?

  • fbuser
  • [*][*][*][*][*]
  • Developer
foo_playlist_tree_mod
Reply #74
This has nothing to do with foo_playlist_tree_mod. It is an issue of your PSS configuration. Without knowing more of your configuration, no help is possible. Please post more information in the appropriate thread.