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: foo_playlist_tree (Read 711418 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_playlist_tree

Reply #1300
Quote
Release 2.0.10
Bug Fixes
    * sort AFTER trimming - allows you to do a random album or mix of songs...

New Features
    * properly nest @drops containing playlists
    * set edge style on search box
    * custom selection text colors
    * added @hidden3 that hides leaves in the immediate folder (make sure @hidden3 is followed by a space)
    * root/Export (All) and root/Export (Visible) exports to text file.
    * allow search for nodes (example: %_overallindex% IS 50)
There used to be a link to my website here.

foo_playlist_tree

Reply #1301
thanks for the update. this version fixed the issue i had with files not in the library. it now shows the complete tree with all of the files in the specified directory. it also shows the non-audio files. im not sure if this is intended, but if you dont want to see them you can make the query more specific.
thanks for looking into that.

edit: the non-audio files only show with the @default format. strings works fine for the conversion.

foo_playlist_tree

Reply #1302
i miss something:

something like "%artist% MISSING" doesnt work for me since the new version, what am i doing wrong?

foo_playlist_tree

Reply #1303
Quote
Release 2.1.0
New Features
    * split track finder into its own component.
Bug Fixes
    * removed +/- in parents of hidden nodes/leaves
There used to be a link to my website here.

foo_playlist_tree

Reply #1304
Hey cwbowron,

I am working on converting over to fb2k 0.9.2, and I am having a little problem with foo_playlist_tree 2.1.1.  Still trying to get used to the changes from PLT when it was in 0.8.3, but I love the new look.

I have been experiencing somewhat random losses of queries or folders in my PTS file.  I actually just discovered at least one reproducible event that results in a change in my PTS file.

If I happen to switch views in Columns UI (View>Layout>... or from the "Presets" in the Columns UI preferences), when I switch back, there are Queries or Folders missing from the bottom of my Play List Tree. 

Before closing fb2k, I open the PTS file, because the file changes on the switch back to the previous view.  The queries/folders that are missing are truly cut from the file.  However, when I exit out of fb2k, then open the PTS file, the queries/folders that were missing are back.  However, there is now additional text added into the file right at the point in which the queries/folders were originally removed.  This additional text causes all queries/folders below to be ignored (obviously because of incorrect formatting).

If you need me to, I can post the original PTS files, the one that is generated after switching Columns UI views, and the final PTS after closing fb2k.

Also, does Playlist Tree not allow Unicode characters now?  I had a couple of queries that were rating based, and they were set to show Unicode characters for the nodes in the query (like one star, twos stars, etc.).  When I did some editing of the PTS file by hand, it would not function if saved in any of the Unicode format options, I had to use ANSI for it to work.

Thanks,
kockroach

Edit:  After adding another panel onto my current Columns UI view, I find that this also caused some of the queries/folders to be trimmed from the end of my PTS file.  Not sure what is happening here.  Has anyone else seen this?

foo_playlist_tree

Reply #1305
Hey cwbowron,

I am working on converting over to fb2k 0.9.2, and I am having a little problem with foo_playlist_tree 2.1.1.  Still trying to get used to the changes from PLT when it was in 0.8.3, but I love the new look.

I have been experiencing somewhat random losses of queries or folders in my PTS file.  I actually just discovered at least one reproducible event that results in a change in my PTS file.

If I happen to switch views in Columns UI (View>Layout>... or from the "Presets" in the Columns UI preferences), when I switch back, there are Queries or Folders missing from the bottom of my Play List Tree. 

Before closing fb2k, I open the PTS file, because the file changes on the switch back to the previous view.  The queries/folders that are missing are truly cut from the file.  However, when I exit out of fb2k, then open the PTS file, the queries/folders that were missing are back.  However, there is now additional text added into the file right at the point in which the queries/folders were originally removed.  This additional text causes all queries/folders below to be ignored (obviously because of incorrect formatting).

If you need me to, I can post the original PTS files, the one that is generated after switching Columns UI views, and the final PTS after closing fb2k.

Also, does Playlist Tree not allow Unicode characters now?  I had a couple of queries that were rating based, and they were set to show Unicode characters for the nodes in the query (like one star, twos stars, etc.).  When I did some editing of the PTS file by hand, it would not function if saved in any of the Unicode format options, I had to use ANSI for it to work.

Thanks,
kockroach

Edit:  After adding another panel onto my current Columns UI view, I find that this also caused some of the queries/folders to be trimmed from the end of my PTS file.  Not sure what is happening here.  Has anyone else seen this?


everytime i change the colums ui panel that the playlist tree is in, i have to right click in an empty area of the playlist tree panel and "Save File and Load...". if i dont, it will only show the default queries. but otherwise everything loads exactly how i left it. could it be because you have multiple instances of the playlist tree panel? are you sure your not confusing the pts files?

foo_playlist_tree

Reply #1306
everytime i change the colums ui panel that the playlist tree is in, i have to right click in an empty area of the playlist tree panel and "Save File and Load...". if i dont, it will only show the default queries. but otherwise everything loads exactly how i left it. could it be because you have multiple instances of the playlist tree panel? are you sure your not confusing the pts files?

I only have one Playlist Tree panel.  So there is only one PTS file.  The PTS file is not altered if I resize the Playlist Tree window.  It appears that it is being altered only when I add in a new Panel.  I just removed a panel that sits below my Playlist Tree panel, it did not affter the PTS file.  However, when I added in a panel below it (or in any other area for that matter), it does alter the PTS file.

Also, I cannot just right-click in an open area and choose "Select file and Load".  The changes caused by this problem have already taken affect, so "Select File and Load" pulls up the same thing.  It does not pull up the correct configuration.  I have to actually close fb2k, and copy the backup copy of my PTS file into the fb2k directory.

foo_playlist_tree

Reply #1307

it sounds like you might have lost most of your music. i would immediately halt ALL activity on that drive because the files may still be left intact if data isnt written over them. i would use a program called restoration to try and recover the files.


thank you very much for the restoration tool!

the good news is that it managed to find all deleted files and folders, so they are still there 

the not so good is that i must restore each file manually and specify the destination folder - 3120 operations 

i tried "system restore" and it couldn't restore them automatically, so i did undo "system restore" and i'm back to where i started 

i will see if i can find a less time-consuming solution on the net and post it of course! if not.....there's still an option

meanwhile, if someone knows of such a solution, please let me know, it would save me a lot of hard work!

cheers,
mihail


if you select the directory the files were stored in you can do it in one operation. make sure you restore to a different drive, otherwise you might end up overwriting the data.



everytime i change the colums ui panel that the playlist tree is in, i have to right click in an empty area of the playlist tree panel and "Save File and Load...". if i dont, it will only show the default queries. but otherwise everything loads exactly how i left it. could it be because you have multiple instances of the playlist tree panel? are you sure your not confusing the pts files?

I only have one Playlist Tree panel.  So there is only one PTS file.  The PTS file is not altered if I resize the Playlist Tree window.  It appears that it is being altered only when I add in a new Panel.  I just removed a panel that sits below my Playlist Tree panel, it did not affter the PTS file.  However, when I added in a panel below it (or in any other area for that matter), it does alter the PTS file.

Also, I cannot just right-click in an open area and choose "Select file and Load".  The changes caused by this problem have already taken affect, so "Select File and Load" pulls up the same thing.  It does not pull up the correct configuration.  I have to actually close fb2k, and copy the backup copy of my PTS file into the fb2k directory.



it could be something in your queries causing a crazy character to appear. post your pts file, i'll check it out.

 

foo_playlist_tree

Reply #1308
it could be something in your queries causing a crazy character to appear. post your pts file, i'll check it out.
Here is what is in my PTS file:
Code: [Select]
(FOLDER "Playlist Tree" 1 :CONTENTS (
(QUERY "Playlists" 0 "@playlists" nil "%artist%|%album%|[$num(%tracknumber%,2) - ]%title%" nil 1 :CONTENTS (
(QUERY "*Browser*" 0 "@playlist<*Browser*>" nil "%artist%|%album%|[$num(%tracknumber%,2) - ]%title%" nil 0)
(QUERY "Default" 0 "@playlist<Default>" nil "%artist%|%album%|[$num(%tracknumber%,2) - ]%title%" nil 0)
))
(FOLDER "Music DB Stats" 1 :CONTENTS (
(QUERY "Total Artists: @format<$ifgreater(%_foldercount%,0,%_foldercount%,%_itemcount%)>" 0 "@database" "%__codec% IS FLAC" "%album artist%|%album%|[$num(%tracknumber%,2) - ]%title%" nil 0)
(QUERY "Total Albums: @format<$ifgreater(%_foldercount%,0,%_foldercount%,%_itemcount%)>" 0 "@database" "%__codec% IS FLAC AND tracknumber IS 1 OR tracknumber IS 01" "%album artist% - %album%|[$num(%tracknumber%,2) - ]%title%" nil 0)
(QUERY "Total Tracks: @format<$ifgreater(%_foldercount%,0,%_foldercount%,%_itemcount%)>" 0 "@database" "%__codec% IS FLAC" "%title%" nil 0)
(QUERY "Total Genres: @format<$ifgreater(%_foldercount%,0,%_foldercount%,%_itemcount%)>" 0 "@database" "%__codec% IS FLAC" "%genre%|%album artist%|%album%|[$num(%tracknumber%,2) - ]%title%" nil 0)
)) (FOLDER "Database Views" 1 :CONTENTS (
(QUERY "True Directory View" 0 "@database" nil "$directory(%_path%,3)|$directory(%_path%,2)|$directory(%_path%,1)|$num(%tracknumber%,2). %title%" nil 0)
(QUERY "Artist by Alphabet" 0 "@database" "%__codec% IS FLAC" "$cut($if($strcmp($left(%album artist%,4),The ),$right(%album artist%,$sub($len(%album artist%),4))', 'The,%album artist%),1)|%artist%|%album%|$num(%tracknumber%,2). %title%" "$cut($if($strcmp($left(%artist%,4),The ),$right(%artist%,$sub($len(%artist%),4))', 'The,%artist%),1)|$if($strcmp($left(%artist%,4),The ),$right(%artist%,$sub($len(%artist%),4))', 'The,%artist%)|'('%date%')' %album%|$num(%tracknumber%,2). %title%" 0)
(QUERY "Artist by Genre" 0 "@database" "%__codec% IS FLAC" "%genre%|%album artist%|'('%date%')' %album%|$num(%tracknumber%,2). %title%" "%genre%|$if($strcmp($left(%album artist%,4),The ),$right(%album artist%,$sub($len(%album artist%),4))', 'The,%album artist%)|'('%date%')' %album%|$num(%tracknumber%,2). %title%" 0)
(QUERY "Artist - Album by Date" 0 "@database" "%__codec% IS FLAC" "%album artist%|'('%date%')' %album%|$num(%tracknumber%,2). %title%" "$if($strcmp($left(%album artist%,4),The ),$right(%album artist%,$sub($len(%album artist%),4))', 'The,%album artist%)|'('%date%')' %album%|$num(%tracknumber%,2). %title%" 0)
(QUERY "Album by Title" 0 "@database" "%__codec% IS FLAC" "$cut(%album%,1)|%album%|$num(%tracknumber%,2). %title%" nil 0)
(QUERY "Album by Year" 0 "@database" "%__codec% IS FLAC" "%date%|%album%|$num(%tracknumber%,2). %title%" nil 0)
(QUERY "Individual Tracks by Codec" 0 "@database" nil "$directory(%_path%,3) 'Singles' '(''@format<%_itemcount%>'')'|$cut(%title%,1)|%title%" nil 0)
)) (FOLDER "Dynamic Playlists" 1 :CONTENTS (
(QUERY "Random Album" 0 "@database" "%__codec% IS FLAC" "%album artist% - %album%|[$num(%tracknumber%,2) - ]%title%" "$rand()" 0 :MAX-FOLDERS 1)
(QUERY "Random Artist" 0 "@database" "%__codec% IS FLAC" "%album artist%|%album%|[$num(%tracknumber%,2) - ]%title%" "$rand()" 0 :MAX-FOLDERS 1)
(QUERY "Random Album by Genre" 0 "@database" "%__codec% IS FLAC" "@limit<1>%genre%|%album artist% - %album%|$num(%tracknumber%,2). %title%" "%genre%|$rand()" 0)
(QUERY "100 Random Singles" 0 "@database" "%__codec% IS FLAC" "%title%" "$rand()" 0 :MAX-TRACKS 100)
(QUERY "10 Random Singles by Genre" 0 "@database" "%__codec" "%album artist%|%album%|[$num(%tracknumber%,2) - ]%title%" nil 0)
(QUERY "Ska-Punk Singles -- @format<%_size_abb%>" 0 "@database" "genre IS punk rock AND %__codec% IS MP3 OR genre IS ska AND %__codec% IS MP3" "%artist% - %title%" "$rand()" 0 :MAX-SIZE 960)
(QUERY "MOD 588 Failed" 0 "@database" "NOT $mod(%_length_samples%,588) IS 0" "%__codec%|%album artist%|'('%date%')' %album%|$num(%tracknumber%,2). %title%" "$if($strcmp($left($if2(%album artist%,%artist%),4),The ),$right($if2(%album artist%,%artist%),$sub($len($if2(%album artist%,%artist%)),4))', 'The,$if2(%album artist%,%artist%))|'('%date%')' %album%|$num(%tracknumber%,2). %title%" 0)
(QUERY "MOD 588 Passed" 0 "@database" "$mod(%_length_samples%,588) IS 0" "%__codec%|%album artist%|'('%date%')' %album%|$num(%tracknumber%,2). %title%" "$if($strcmp($left($if2(%album artist%,%artist%),4),The ),$right($if2(%album artist%,%artist%),$sub($len($if2(%album artist%,%artist%)),4))', 'The,$if2(%album artist%,%artist%))|'('%date%')' %album%|$num(%tracknumber%,2). %title%" 0)
(QUERY "Never Played" 0 "@database" "%__codec% IS FLAC AND play_counter MISSING" "%artist% - %title%" "%artist%|%title%" 0)
(FOLDER "Top 50" 1 :CONTENTS (
(QUERY "Most Played" 0 "@database" "[%play_counter%]" "'('$num(%play_counter%,3)')' %artist% - %title%" "$num(%play_counter%,3)|%artist%|%title%" 0 :REVERSE t :MAX-TRACKS 50)
(QUERY "Last Played" 0 "@database" "[%last_played%]" "%artist% - %title%" "%last_played%|%artist%|%title%" 0 :REVERSE t :MAX-TRACKS 50)
(QUERY "Least Played" 0 "@database" "[%play_counter%]" "%artist% - %title%" "%play_counter%|%artist%|%title%" 0 :MAX-TRACKS 50)
))))))

The above display fine, but if I remove a panel, then put it back, the PTS file is changed to something like this:
Code: [Select]
(FOLDER "Playlist Tree" 1 :CONTENTS (
(QUERY "Playlists" 0 "@playlists" nil "%artist%|%album%|[$num(%tracknumber%,2) - ]%title%" nil 1 :CONTENTS (
(QUERY "*Browser*" 0 "@playlist<*Browser*>" nil "%artist%|%album%|[$num(%tracknumber%,2) - ]%title%" nil 0)
(QUERY "Default" 0 "@playlist<Default>" nil "%artist%|%album%|[$num(%tracknumber%,2) - ]%title%" nil 0)
))
(FOLDER "Music DB Stats" 1 :CONTENTS (
(QUERY "Total Artists: @format<$ifgreater(%_foldercount%,0,%_foldercount%,%_itemcount%)>" 0 "@database" "%__codec% IS FLAC" "%album artist%|%album%|[$num(%tracknumber%,2) - ]%title%" nil 0)
(QUERY "Total Albums: @format<$ifgreater(%_foldercount%,0,%_foldercount%,%_itemcount%)>" 0 "@database" "%__codec% IS FLAC AND tracknumber IS 1 OR tracknumber IS 01" "%album artist% - %album%|[$num(%tracknumber%,2) - ]%title%" nil 0)
(QUERY "Total Tracks: @format<$ifgreater(%_foldercount%,0,%_foldercount%,%_itemcount%)>" 0 "@database" "%__codec% IS FLAC" "%title%" nil 0)
(QUERY "Total Genres: @format<$ifgreater(%_foldercount%,0,%_foldercount%,%_itemcount%)>" 0 "@database" "%__codec% IS FLAC" "%genre%|%album artist%|%album%|[$num(%tracknumber%,2) - ]%title%" nil 0)
)) (FOLDER "Database Views" 1 :CONTENTS (
(QUERY "True Directory View" 0 "@database" nil "$directory(%_path%,3)|$directory(%_path%,2)|$directory(%_path%,1)|$num(%tracknumber%,2). %title%" nil 0)
(QUERY "Artist by Alphabet" 0 "@database" "%__codec% IS FLAC" "$cut($if($strcmp($left(%album artist%,4),The ),$right(%album artist%,$sub($len(%album artist%),4))', 'The,%album artist%),1)|%artist%|%album%|$num(%tracknumber%,2). %title%" "$cut($if($strcmp($left(%artist%,4),The ),$right(%artist%,$sub($len(%artist%),4))', 'The,%artist%),1)|$if($strcmp($left(%artist%,4),The ),$right(%artist%,$sub($len(%artist%),4))', 'The,%artist%)|'('%date%')' %album%|$num(%tracknumber%,2). %title%" 0)
(QUERY "Artist by Genre" 0 "@database" "%__codec% IS FLAC" "%genre%|%album artist%|'('%date%')' %album%|$num(%tracknumber%,2). %title%" "%genre%|$if($strcmp($left(%album artist%,4),The ),$right(%album artist%,$sub($len(%album artist%),4))', 'The,%album artist%)|'('%date%')' %album%|$num(%tracknumber%,2). %title%" 0)
(QUERY "Artist - Album by Date" 0 "@database" "%__codec% IS FLAC" "%album artist%|'('%date%')' %album%|$num(%tracknumber%,2). %title%" "$if($strcmp($left(%album artist%,4),The ),$right(%album artist%,$sub($len(%album artist%),4))', 'The,%album artist%)|'('%date%')' %album%|$num(%tracknumber%,2). %title%" 0)
(QUERY "Album by Title" 0 "@database" "%__codec% IS FLAC" "$cut(%album%,1)|%album%|$num(%tracknumber%,2). %title%" nil 0)
(QUERY "Album by Year" 0 "@database" "%__codec% IS FLAC" "%date%|%album%|$num(%tracknumber%,2). %title%" nil 0)
(QUERY "Individual Tracks by Codec" 0 "@database" nil "$directory(%_path%,3) 'Singles' '(''@format<%_itemcount%>'')'|$cut(%title%,1)|%title%" nil 0)
)) (FOLDER "Dynamic Playlists" 1 :CONTENTS (
(QUERY "Random Album" 0 "@database" "%__codec% IS FLAC" "%album artist% - %album%|[$num(%tracknumber%,2) - ]%title%" "$rand()" 0 :MAX-FOLDERS 1)
(QUERY "Random Artist" 0 "@database" "%__codec% IS FLAC" "%album artist%|%album%|[$num(%tracknumber%,2) - ]%title%" "$rand()" 0 :MAX-FOLDERS 1)
(QUERY "Random Album by Genre" 0 "@database" "%__codec% IS FLAC" "@limit<1>%genre%|%album artist% - %album%|$num(%tracknumber%,2). %title%" "%genre%|$rand()" 0)
(QUERY "100 Random Singles" 0 "@database" "%__codec% IS FLAC" "%title%" "$rand()" 0 :MAX-TRACKS 100)
(QUERY "10 Random Singles by Genre" 0 "@database" "%__codec" "%album artist%|%album%|[$num(%tracknumber%,2) - ]%title%" nil 0)
(QUERY "Ska-Punk Singles -- @format<%_size_abb%>" 0 "@database" "genre IS punk rock AND %__codec% IS MP3 OR genre IS ska AND %__codec% IS MP3" "%artist% - %title%" "$rand()" 0 :MAX-SIZE 960)
(QUERY "MOD 588 Failed" 0 "@database" "NOT $mod(%_length_samples%,588) IS 0" "%__codec%|%album artist%|'('%date%')' %album%|$num(%tracknumber%,2). %title%" "$if($strcmp($left($if2(%album artist%,%artist%),4),The ),$right($if2(%album artist%,%" 0)
))))sub($len($if2(%album artist%,%artist%)),4))', 'The,$if2(%album artist%,%artist%))|'('%date%')' %album%|$num(%tracknumber%,2). %title%" 0)
(QUERY "MOD 588 Passed" 0 "@database" "$mod(%_length_samples%,588) IS 0" "%__codec%|%album artist%|'('%date%')' %album%|$num(%tracknumber%,2). %title%" "$if($strcmp($left($if2(%album artist%,%artist%),4),The ),$right($if2(%album artist%,%artist%),$sub($len($if2(%album artist%,%artist%)),4))', 'The,$if2(%album artist%,%artist%))|'('%date%')' %album%|$num(%tracknumber%,2). %title%" 0)
(QUERY "Never Played" 0 "@database" "%__codec% IS FLAC AND play_counter MISSING" "%artist% - %title%" "%artist%|%title%" 0)
(FOLDER "Top 50" 1 :CONTENTS (
(QUERY "Most Played" 0 "@database" "[%play_counter%]" "'('$num(%play_counter%,3)')' %artist% - %title%" "$num(%play_counter%,3)|%artist%|%title%" 0 :REVERSE t :MAX-TRACKS 50)
(QUERY "Last Played" 0 "@database" "[%last_played%]" "%artist% - %title%" "%last_played%|%artist%|%title%" 0 :REVERSE t :MAX-TRACKS 50)
(QUERY "Least Played" 0 "@database" "[%play_counter%]" "%artist% - %title%" "%play_counter%|%artist%|%title%" 0 :MAX-TRACKS 50)
))))))

I thought that perhaps it might be due to a folder within a folder.  Even if I bring that last folder ("Top 50") into the main "Dynamic Playlist" folder, it still happens.


foo_playlist_tree

Reply #1310
this thing is awesome... makes for some great organization. i was just wondering how i can add more details down at the line from each thing

like this.

basically, how do you customize the query level info? all the stuff i've found to read about it involves .col files and loading stuff... but i can't find where to load .col files to being with.


muchas gracias

foo_playlist_tree

Reply #1311
basically, how do you customize the query level info? all the stuff i've found to read about it involves .col files and loading stuff... but i can't find where to load .col files to being with.


You should be able to add track length information by changing the format of the query, something like:

Code: [Select]
$upper($left(%artist%,1))|%artist%|%album%|[$num(%tracknumber%,2) - ]%title% '('%length%')'


You can setup a file to save to by right clicking on playlist tree panel, but not on any of the actual tree items... choose "Select File..." and you can pick a file to save to when you exit and it will then automatically saved and restored in further instances...
There used to be a link to my website here.

foo_playlist_tree

Reply #1312
A note about layouts, etc

Playlist tree is designed so that it multiple panels can be used.  As such, each panel instance is saves its configuration information such as the save/restore file.  When you change layouts, even if you each layout only has one instance of playlist tree panel, those instances are not the same and as such they do not use the same file for storing and loading.  So when you change layouts and it reverts to the default queries, that's a feature not a bug. 

I am adding a feature request to my list to create a global/save restore file so that if you have multiple layouts, each one having ONE playlist tree panel they both utilize the same file.


Also, does Playlist Tree not allow Unicode characters now?  I had a couple of queries that were rating based, and they were set to show Unicode characters for the nodes in the query (like one star, twos stars, etc.).  When I did some editing of the PTS file by hand, it would not function if saved in any of the Unicode format options, I had to use ANSI for it to work.


It should, but I dont use unicode much myself so there may be some issues.  Was there any chance that the problem was due to the program you used to edit the pts file messing things up?
There used to be a link to my website here.

foo_playlist_tree

Reply #1313
A note about layouts, etc

Playlist tree is designed so that it multiple panels can be used.  As such, each panel instance is saves its configuration information such as the save/restore file.  When you change layouts, even if you each layout only has one instance of playlist tree panel, those instances are not the same and as such they do not use the same file for storing and loading.  So when you change layouts and it reverts to the default queries, that's a feature not a bug. 

I am adding a feature request to my list to create a global/save restore file so that if you have multiple layouts, each one having ONE playlist tree panel they both utilize the same file.

Good to know.  I can understand why this might be there.  However, should it be altering my PTS file when I am changing the panels within a Columns UI layout?  I am not removing the Playlist Tree panel, but adding in or removing other panels or toolbars.  This is also causing the problem I mention above, and the two examples of a PTS file contents are from before and after removing a panel that was below my Playlist Tree window.

It should, but I dont use unicode much myself so there may be some issues.  Was there any chance that the problem was due to the program you used to edit the pts file messing things up?

It was just a straight copy and paste of the query and format lines from my old COL file from 0.8.3's Playlist Tree version.  Not the whole contents of the file.  I'll try something else.

Thanks.

foo_playlist_tree

Reply #1314
Good to know.  I can understand why this might be there.  However, should it be altering my PTS file when I am changing the panels within a Columns UI layout?  I am not removing the Playlist Tree panel, but adding in or removing other panels or toolbars.  This is also causing the problem I mention above, and the two examples of a PTS file contents are from before and after removing a panel that was below my Playlist Tree window.
Thanks.


It might be trying to save the file even if you arent actually closing down the instance of playlist tree.  There is a bit of a kludge in there to save the file when there is some columns ui activity... I will look into that... I'm also looking into why your file is getting munged...
There used to be a link to my website here.

foo_playlist_tree

Reply #1315
Cool.  Let me know if you need anything from me.  I was going to try out the previous version, but there aren't download links for any of them.

And it does seem to save the file without closing fb2k.  When I remove a panel (or add one) to my view, it redraws the whole fb2k window.  Then I look at my Playlist Tree panel, and the list has been shortened.  Without closing fb2k, I open up the PTS file, and it is altered.  That is what I actually posted above...and altered PTS file without even closing fb2k.

foo_playlist_tree

Reply #1316
Hi cwbowron,

I've finally switched to fb2k 0.9 and I'm really happy with the new PT, it's really stable and quick, nice work.

I mostly use it now as a dynamic playlist generator and to keep track of my personal playlists. This is the layout I have:

+Dynamic Playlists:
--->Library
--->Most played
--->Last played
--->Random Album
+Personal Playlists:
--->Favorites

I have some questions:
- The Personal Playlists is just a folder with some subfolders. Each subfolder is like a playlist, I drag and drop files from other playlists, browser,etc... to make static playlists i.e. favorite tracks. It works like a charm, and as long as you add files everything is fine, it's keep up-to-date. But when you remove a trackfrom one of the subfolder, then the track isn't really removed, when you refresh the query or reboot fb2k, then the removed tracks are then again. Is this intended? Could it be possible to also add an option to autosave as a regular playlist somewhere in the harddrive?

- Could it be possible to specify an option to sort a folder/subfolder content. I mean, when I add a track it's added to the bottom of the playlist, and I have to sort the playlist manually. Not a big deal, but it will be nice if I could set a sort.

Maybe I'm not using PT as intended, so let me know if there are better options for what I'm doing

PS: another way could be to @drop a directory with personal playlists, but I guess everytime I'll add something it won't be saved into the playlist and I'll lose changes when the static playlist is reloaded.

Thanks for this great plugin dude.

foo_playlist_tree

Reply #1317
Oh, another question:
When I drag and drop a playlist/folder/query from PT panel to the Playlist switcher, it's always renamed as 'New Playlist', could it be possible to configure that, so the name could be something else (using tagz or whatever)?

I don't know if it's your plugin or playlist switcher's behaviour.

foo_playlist_tree

Reply #1318
Oh, another question:
When I drag and drop a playlist/folder/query from PT panel to the Playlist switcher, it's always renamed as 'New Playlist', could it be possible to configure that, so the name could be something else (using tagz or whatever)?

I don't know if it's your plugin or playlist switcher's behaviour.


I think that's playlist switcher's behaviour.

I have some questions:
- The Personal Playlists is just a folder with some subfolders. Each subfolder is like a playlist, I drag and drop files from other playlists, browser,etc... to make static playlists i.e. favorite tracks. It works like a charm, and as long as you add files everything is fine, it's keep up-to-date. But when you remove a trackfrom one of the subfolder, then the track isn't really removed, when you refresh the query or reboot fb2k, then the removed tracks are then again. Is this intended? Could it be possible to also add an option to autosave as a regular playlist somewhere in the harddrive?


Is personal playlists set up as folder or query?  It seems like it should be a folder, but you said "refresh the query".
There used to be a link to my website here.

foo_playlist_tree

Reply #1319
Is personal playlists set up as folder or query?  It seems like it should be a folder, but you said "refresh the query".

It's setup as a folder. 'playlists' are just folders inside the personal palylists folder where I drag items. Sorry, forget about the refresh queries, I mean that when I start fb2k, deleted items are in the subfolder again.

foo_playlist_tree

Reply #1320
Hello Chris!

You added some points concerning the @playlist/s stuff in the feature request list. Let me suggest some points more:

1. The query node of @playlist works like a link: The content is not sended to library playlist but opens the original.

2. In format and criteria the usage of variables that are available for the pl switcher: %_isplaying%, %_lockname% (i forget the real name), etc.  Example for usage: Status IS %_isplaying% or %_lockname% IS History etc

3. Creating new playlists in pl switcher from PT.

It would bee great to have the functionality of playlist mangement.


Another point concerning static folders: It would be great if the pts.file could be automatically refreshed after renaming or moving files. Now after using the renamer the static playlists point to the old names

foo_playlist_tree

Reply #1321

Is personal playlists set up as folder or query?  It seems like it should be a folder, but you said "refresh the query".

It's setup as a folder. 'playlists' are just folders inside the personal palylists folder where I drag items. Sorry, forget about the refresh queries, I mean that when I start fb2k, deleted items are in the subfolder again.


I've just re-read my post and I see I didn't explain it really clearly. I have a static folder, within this folder I've put several static folders where I drag and drop tracks. So I use them as playlists. The problem is when I delete a track from the playlist, it's not really removed, if I click on another playlist/query/folder in the playlist tree panel, and I click again on the static oflder where I have deleted the track, it's there again.

Maybe it's because I hidde leaves and I remove the track from the lirbary playlist, not the folder content. Just guessing...

Another question: it's systemdate available in this new version of PT?

foo_playlist_tree

Reply #1322
I've just re-read my post and I see I didn't explain it really clearly. I have a static folder, within this folder I've put several static folders where I drag and drop tracks. So I use them as playlists. The problem is when I delete a track from the playlist, it's not really removed, if I click on another playlist/query/folder in the playlist tree panel, and I click again on the static oflder where I have deleted the track, it's there again.

Maybe it's because I hidde leaves and I remove the track from the lirbary playlist, not the folder content. Just guessing...

Another question: it's systemdate available in this new version of PT?


Yes, currently the file is only removed from the tree if you middle click on it and select "Remove" or use the main menu remove selection thing.  Removing a file from the system does not currenlty affect files in folders.  I am looking at hooking up some file notification callbacks so moved files and removed files are handled correclty in the tree.

systemdate is not available in playlist tree.  I think it would be better as a global hook.  I may add it to my foo_cwb_hooks, but I havent done anywork on that lately...
There used to be a link to my website here.

foo_playlist_tree

Reply #1323
I think I've found a bug. When you change the Column UI layout, and you have the PT panel in the layout, once you click apply, the PT configuration just dissapear.

foo_playlist_tree

Reply #1324
I think I've found a bug. When you change the Column UI layout, and you have the PT panel in the layout, once you click apply, the PT configuration just dissapear.

Sounds kind of like the problem I described above.