IPB

Welcome Guest ( Log In | Register )

foo_playlist_tree_mod, Modified version of foo_playlist_tree
fbuser
post Jul 12 2008, 23:13
Post #1





Group: Developer
Posts: 683
Joined: 26-September 07
Member No.: 47369



Here is a modified version of foo_playlist_tree which is compatible with fb2k 0.9.5.3 or later. Because cwbowron asked me to change the name of the component it is now called foo_playlist_tree_mod.

Download with scheme support: Attached File  foo_playlist_tree_mod_scheme.7z ( 665.12K ) Number of downloads: 9225

Download without scheme support: Attached File  foo_playlist_tree_mod_no_scheme.7z ( 136.06K ) Number of downloads: 2404


Because it uses the new search filter API introduced with fb2k 0.9.5.3, this version or later is required.

Changelog for version 3.0.6.3:
  • fixed a crash while shutting down foobar2000 without displaying the playlist tree first


This post has been edited by fbuser: Jan 9 2010, 16:02
Go to the top of the page
+Quote Post
 
Start new topic
Replies
watercolor
post Sep 24 2009, 14:47
Post #2





Group: Members
Posts: 110
Joined: 5-February 09
Member No.: 66623



There is a question about Playlist Tree Mod.
My Playlist Tree has disappeared almost when foobar2000 is started one day.
I was surprised. However, I opened the pts file backed up.
However, tree is changeless.
The greater part of query has disappeared.
Why?
Displayed tree has greatly fallen below the scale of tree forecast from the size of the file of pts.
Are there some ideas?
Go to the top of the page
+Quote Post
fbuser
post Sep 24 2009, 18:00
Post #3





Group: Developer
Posts: 683
Joined: 26-September 07
Member No.: 47369



QUOTE (watercolor @ Sep 24 2009, 14:47) *
I was surprised. However, I opened the pts file backed up.
However, tree is changeless.
This no surprise, because the pts file is no backup, it is the definition of the tree.
QUOTE (watercolor @ Sep 24 2009, 14:47) *
The greater part of query has disappeared.
Why?
Probably because you changed something. Either your query has changed or you moved a bunch of files out of your library.
QUOTE (watercolor @ Sep 24 2009, 14:47) *
Displayed tree has greatly fallen below the scale of tree forecast from the size of the file of pts.
Are there some ideas?
Check your query and do a refresh.
Go to the top of the page
+Quote Post
watercolor
post Sep 24 2009, 22:06
Post #4





Group: Members
Posts: 110
Joined: 5-February 09
Member No.: 66623



QUOTE (fbuser @ Sep 25 2009, 02:00) *
QUOTE (watercolor @ Sep 24 2009, 14:47) *
I was surprised. However, I opened the pts file backed up.
However, tree is changeless.
This no surprise, because the pts file is no backup, it is the definition of the tree.
QUOTE (watercolor @ Sep 24 2009, 14:47) *
The greater part of query has disappeared.
Why?
Probably because you changed something. Either your query has changed or you moved a bunch of files out of your library.
QUOTE (watercolor @ Sep 24 2009, 14:47) *
Displayed tree has greatly fallen below the scale of tree forecast from the size of the file of pts.
Are there some ideas?
Check your query and do a refresh.

Thank you for the reply.
I occasionally want to clarify the following.
Not only the query result but also the entire query disappeared.
Therefore, query doesn't revive even if it updates it.

The pts file looks like the plain text.

I deleted the part where the pts file was doubtful, and tried reading to foobar2000.

The half succeeded my attempt.
Some of query appeared on tree.
However, there is query not displayed in tree though it exists in the pts file.

It is certain that there is unnatural behavior.

Is there a cause in my query?
Is there a problem when the result of query is too huge?
Is specific TF such as $info non-recommendation?
Is this a cause though I have the tune that uses two byte character?

I am sorry for the long sentence.
Go to the top of the page
+Quote Post
fbuser
post Sep 24 2009, 23:18
Post #5





Group: Developer
Posts: 683
Joined: 26-September 07
Member No.: 47369



QUOTE (watercolor @ Sep 24 2009, 22:06) *
I deleted the part where the pts file was doubtful, and tried reading to foobar2000.
You should never do this. It is very likely, that you get a corrupted definition file, which may lead to the behaviour you described.
QUOTE (watercolor @ Sep 24 2009, 22:06) *
Is there a cause in my query?
Without knowing your query it is hard to say something about it. But it is very unlikely, that this is the cause of your problem.
QUOTE (watercolor @ Sep 24 2009, 22:06) *
Is there a problem when the result of query is too huge?
How do you define huge? I've got several queries with 50k+ entries each without any problem.
QUOTE (watercolor @ Sep 24 2009, 22:06) *
Is specific TF such as $info non-recommendation?
No.
QUOTE (watercolor @ Sep 24 2009, 22:06) *
Is this a cause though I have the tune that uses two byte character?
No.

The best that you can do, is taking your last working backup and start from there.
Go to the top of the page
+Quote Post
watercolor
post Sep 25 2009, 01:56
Post #6





Group: Members
Posts: 110
Joined: 5-February 09
Member No.: 66623



QUOTE (fbuser @ Sep 25 2009, 07:18) *
QUOTE (watercolor @ Sep 24 2009, 22:06) *
I deleted the part where the pts file was doubtful, and tried reading to foobar2000.
You should never do this. It is very likely, that you get a corrupted definition file, which may lead to the behaviour you described.
QUOTE (watercolor @ Sep 24 2009, 22:06) *
Is there a cause in my query?
Without knowing your query it is hard to say something about it. But it is very unlikely, that this is the cause of your problem.
QUOTE (watercolor @ Sep 24 2009, 22:06) *
Is there a problem when the result of query is too huge?
How do you define huge? I've got several queries with 50k+ entries each without any problem.
QUOTE (watercolor @ Sep 24 2009, 22:06) *
Is specific TF such as $info non-recommendation?
No.
QUOTE (watercolor @ Sep 24 2009, 22:06) *
Is this a cause though I have the tune that uses two byte character?
No.

The best that you can do, is taking your last working backup and start from there.

Thank you.

The following are my typical query.

$if($meta(content group,0),[@icon<%plt-icon-group%>$meta(content group,0)|],)$if($meta(content group,1),[@icon<%plt-icon-group%>$meta(content group,1)|],)$if($meta(content group,2),[@icon<%plt-icon-group%>$meta(content group,2)|],)$if($strcmp($meta(content group),)$strcmp($meta(grouptype),general),[@icon<%plt-icon-artist%>%album artist%|],)[@icon<%plt-icon-album%>%album%|][@icon<%plt-icon-disc%>][Disc %discnumber%|][$num(%track%,4) - %title%]

%plt-icon-x% is using Extended Variables.
As for the icon number, is static specification desirable?

Of course, I have not edited pts before the problem happens.



A left tree is a state before foobar2000 is restarted.
A right tree restarted foobar2000.
As you see, a part of query is lost.

The problem is not seen before it restarts.
I have misgivings when the tree disappears whenever query is added to Playlist Tree.
When pts without the problem is read. It is surely normal.
When pts with the problem is read, it is surely abnormal.

I am putting the music file on the network drive.
Is there a problem in the file passing in pts?

I'm sorry many times.
Go to the top of the page
+Quote Post

Posts in this topic
- fbuser   foo_playlist_tree_mod   Jul 12 2008, 23:13
- - aliendesaster   Oh my god, great! Although I got used to fast...   Jul 12 2008, 23:57
- - smkk   ColumnsUI onry i guess since it doesnt seem work w...   Jul 13 2008, 01:52
|- - odyssey   QUOTE (smkk @ Jul 13 2008, 02:52) Columns...   Jul 13 2008, 15:23
- - topdownjimmy   Thank you! Playlist Tree is essential for my ...   Jul 13 2008, 19:45
- - Canar   Glad to see this component is back. I don't us...   Jul 13 2008, 21:54
- - shakey_snake   ...Nor do I, but I'm glad to see this componen...   Jul 13 2008, 22:34
- - bubbleguuum   I may use CUI again just for this...   Jul 14 2008, 00:03
- - aliendesaster   @fbuser Do you maintain this component from now on...   Jul 17 2008, 22:32
- - fbuser   I ported this component mainly for my own needs, b...   Jul 17 2008, 23:12
- - scars   Hi, nice Job, now i dont get an error while start...   Jul 27 2008, 10:02
- - Zetto   The one thing i missed most after switching to ...   Jul 28 2008, 07:29
- - HAL_   I'm using playlist tree in order to generate a...   Jul 28 2008, 18:33
- - fbuser   Look here. So you can use CODE@quote<@format...   Jul 28 2008, 23:01
- - Robbi   Hallo, Is it possible to have a query like this c...   Jul 30 2008, 18:29
- - hydrotemplar   the link isn't working for me... it's givi...   Aug 4 2008, 08:10
- - fbuser   It's fixed. Thanks for the report.   Aug 4 2008, 09:20
- - Don Reba   QUOTE (fbuser @ Jul 12 2008, 15:13) Here ...   Aug 4 2008, 18:48
- - Arithmomaniac   Sounds great! 1) Could you revive the download...   Aug 28 2008, 21:09
- - fbuser   1) The link is correct, but the server is down at ...   Aug 28 2008, 22:56
- - q-stankovic   QUOTE (fbuser @ Aug 28 2008, 23:56) For t...   Aug 29 2008, 16:32
|- - Spirit_of_the_ocean   I can't download this component? Can someone h...   Sep 2 2008, 16:02
- - fbuser   Sorry, the downtime of the server is longer than e...   Sep 2 2008, 22:06
- - Onkel Andy   Hi guys! At first sight this plugin looked a l...   Sep 4 2008, 01:38
- - fbuser   The criteria has to be provided by the scheme quer...   Sep 4 2008, 21:13
|- - Onkel Andy   QUOTE (fbuser @ Sep 4 2008, 14:13) The cr...   Sep 6 2008, 00:12
- - fbuser   When you apply the following snippet do your filte...   Sep 6 2008, 16:44
- - fbuser   The server where I host the component is back now....   Sep 19 2008, 23:46
- - xbullethammer   Two questions: - Will you fix the annoying bug th...   Oct 22 2008, 18:26
|- - fbuser   QUOTE (xbullethammer @ Oct 22 2008, 18:26...   Oct 26 2008, 19:21
- - xbullethammer   QUOTE This is new to me. I don't have such pro...   Oct 26 2008, 22:07
- - fbuser   I tried it in a fresh installation with four playl...   Oct 26 2008, 23:05
- - wizel   How can others could created dynamic filters witho...   Nov 17 2008, 18:09
|- - ledge   QUOTE (wizel @ Nov 18 2008, 05:09) How ca...   Nov 17 2008, 23:10
|- - wizel   QUOTE (ledge @ Nov 17 2008, 23:10) QUOTE ...   Nov 18 2008, 21:13
|- - wizel   QUOTE (wizel @ Nov 18 2008, 21:13) QUOTE ...   Nov 19 2008, 18:54
- - fireslug   I'd like to use foo_playlist_tree_mod (PTM) to...   Dec 27 2008, 19:55
- - SardonicWrath   Hi Thanks for the port! But why are the play...   Jan 13 2009, 15:22
|- - fbuser   QUOTE (SardonicWrath @ Jan 13 2009, 15:22...   Jan 13 2009, 16:05
- - SardonicWrath   don't works for me. if i use %artist%|%album...   Jan 13 2009, 16:36
- - fbuser   You need to do it this way: CODE%artist%|%album% ...   Jan 13 2009, 19:48
- - fbuser   %_foldercount% has to be used, if you want to show...   Jan 17 2009, 20:28
- - hoolyboy   please forgive my newbie ignorance but where might...   Jan 20 2009, 01:13
- - bubi jackson   Especially a title formatting reference would be n...   Jan 20 2009, 02:28
|- - SardonicWrath   QUOTE (bubi jackson @ Jan 20 2009, 02:28)...   Jan 20 2009, 02:41
- - bubi jackson   argh, I have overlooked the Tutorial Link with the...   Jan 20 2009, 03:01
- - bubi jackson   Hi. I made a query with the average rating ( sum ...   Jan 22 2009, 00:21
- - bubi jackson   Nobody any idea?   Jan 24 2009, 00:46
|- - Dan Popescu   $padcut(__CALCULATED_VALUE__,6) - it pads wit...   Jan 24 2009, 08:23
- - bubi jackson   Thanks Dan Popescu but it doesn't work. I mad...   Jan 24 2009, 12:03
- - bubi jackson   I have another question. I'm not able to sort...   Jan 31 2009, 17:15
|- - fbuser   QUOTE (bubi jackson @ Jan 31 2009, 17:15)...   Feb 1 2009, 15:31
- - thecircusfreak   Excuse me, ok, this is a powerful plugin, but is t...   Feb 1 2009, 13:04
- - bubi jackson   Ah, ok. Thank you fbuser   Feb 1 2009, 15:51
- - lwiczek   Where can I download this component? Link in first...   Feb 3 2009, 12:55
- - SardonicWrath   is there something one can do about slow startup t...   Feb 16 2009, 13:36
|- - fbuser   QUOTE (SardonicWrath @ Feb 16 2009, 13:36...   Feb 16 2009, 22:56
- - aliendesaster   I guess wine compatibility isn't too heigh pos...   Mar 1 2009, 15:36
- - fbuser   The crash is caused by the embedded scheme interpr...   Mar 2 2009, 12:53
- - m00zikD00d   I have a few quick questions.... 1.) Does anyone ...   Mar 17 2009, 19:16
|- - fbuser   QUOTE (m00zikD00d @ Mar 17 2009, 19:16) 1...   Mar 17 2009, 22:00
|- - m00zikD00d   Thank you much   Mar 17 2009, 22:45
- - Jleagle   I have just installed this plugin but i cant seem ...   Mar 25 2009, 18:11
- - fbuser   foo_playlist_tree_mod is not an UI element, it is ...   Mar 25 2009, 19:34
- - Jleagle   That explains, thanks, got it working now.   Mar 25 2009, 19:42
- - TomBarlow   This is a great component, the only thing I'm ...   Apr 12 2009, 22:43
- - Joelimite   I have a quick question about formatting in foo_pl...   May 23 2009, 21:50
- - TomBarlow   You need to insert %discnumber% into your sort str...   May 23 2009, 21:57
- - Joelimite   The latter option worked perfect! Thanks, Tom.   May 23 2009, 22:18
- - 2E7AH   Link to documentation http://www.bazquux.com/wiki/...   Jun 1 2009, 09:53
- - T.P Wang   @2E7AH: http://www.bazquux.com/w/index.php?title=F...   Jun 1 2009, 10:36
- - 2E7AH   Thanks   Jun 1 2009, 10:48
- - petibras   hello For now my list look this way + Genre . ...   Jul 1 2009, 06:33
- - petibras   hello, got a question I got the tree in panel sta...   Jul 5 2009, 18:35
- - fbuser   This has nothing to do with foo_playlist_tree_mod....   Jul 5 2009, 19:54
- - petibras   Putted my PSS in wich is the playlist tree named ...   Jul 6 2009, 02:58
- - vol   How to make a query to display top artists, albums...   Jul 25 2009, 10:03
- - 2E7AH   http://www.bazquux.com/wiki/Example_Queries#Most_P...   Jul 25 2009, 10:07
|- - vol   QUOTE (2E7AH @ Jul 25 2009, 11:07) http:/...   Jul 25 2009, 10:36
- - m00zikD00d   Where is the configuration data stored for playlis...   Jul 25 2009, 21:21
- - fbuser   The query definitions and results are stored in th...   Jul 25 2009, 22:30
- - 22U2   Is it possible to get separated genres view? I ha...   Sep 13 2009, 07:53
- - fbuser   Try using %<genre>% as your first level   Sep 13 2009, 10:38
- - 22U2   its just what im looking for. thx!   Sep 13 2009, 11:03
- - watercolor   There is a question about Playlist Tree Mod. My P...   Sep 24 2009, 14:47
|- - fbuser   QUOTE (watercolor @ Sep 24 2009, 14:47) I...   Sep 24 2009, 18:00
|- - watercolor   QUOTE (fbuser @ Sep 25 2009, 02:00) QUOTE...   Sep 24 2009, 22:06
|- - fbuser   QUOTE (watercolor @ Sep 24 2009, 22:06) I...   Sep 24 2009, 23:18
|- - watercolor   QUOTE (fbuser @ Sep 25 2009, 07:18) QUOTE...   Sep 25 2009, 01:56
- - fbuser   None of the things you mentioned should lead to an...   Sep 25 2009, 08:28
|- - watercolor   QUOTE (fbuser @ Sep 25 2009, 16:28) None ...   Sep 25 2009, 09:38
|- - watercolor   It is continuation. When the meta data of a doubt...   Sep 25 2009, 21:22
- - qwertz   I've fiddled around a bit with foo_playlist_tr...   Sep 28 2009, 20:25
- - pappaapa   Thank you for this great component! I didn...   Dec 12 2009, 11:41
- - fbuser   New version, see first post.   Jan 9 2010, 16:04
- - Keesface   I'm trying to group my playlists by name, I wa...   Jan 13 2010, 01:23
- - KindOfAutomatic   Is there any way to display 16x16 png icons? Or ma...   Jan 22 2010, 20:14
- - tstevens   Dunno if anyone is monitoring this thread anymore ...   Feb 10 2010, 22:59
|- - tstevens   ok - I'm a ding dong. I happened upon a small ...   Feb 11 2010, 04:46
- - tstevens   Ok, so now this is working there is one bit I...   Feb 11 2010, 18:54
2 Pages V   1 2 >


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 2nd October 2014 - 04:47