IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
Playlist History (foo_playlisthistory), playlist history, similar to page history in browsers
kerpondile
post Jan 11 2011, 07:34
Post #1





Group: Developer
Posts: 147
Joined: 26-January 04
Member No.: 11525



foo_playlisthistory enables playlist history in foobar2000, similar to page history in browsers.

The component watches activated playlists and provides the user back and next buttons to navigate the playlist history.
Two commands are provided under the View/Recently activated playlists: Previous playlist and Next playlist.

From 0.1.4 onwards the component includes Restore last removed playlist command in the Edit menu.

Newest version: 0.1.6 / 2011-04-05

Requires foobar 1.1->

For more information, please see the Wiki page.

Links:
Download the latest version: Here
Source: Github.
Wiki: Wiki page.


Please add any comments, I appreciate them!


Sami Salonen

This post has been edited by kerpondile: May 4 2011, 13:20
Go to the top of the page
+Quote Post
Falstaff
post Jan 11 2011, 17:37
Post #2





Group: Members
Posts: 2804
Joined: 12-November 06
Member No.: 37463



Thanx for sharing this, i'll test this new component asap wink.gif


--------------------
http://br3tt.online.fr/
Go to the top of the page
+Quote Post
Robertina
post Jan 11 2011, 18:45
Post #3





Group: Banned
Posts: 1310
Joined: 4-January 09
Member No.: 65169



Thank you very much, kerpondile !

Robertina. smile.gif


--------------------
This is HA. Not the Jerry Springer Show.
Go to the top of the page
+Quote Post
matav
post Jan 11 2011, 20:14
Post #4





Group: Members
Posts: 147
Joined: 27-November 10
From: Earth
Member No.: 86055



nice component but when i heard the name i had a different idea.
this provides a shortcut to focus to the previous playlist that was played.
kinda handy when you have many playlists.
but in the event of a playlist being replaced or deleted, it can't undo those changes.

could you possible make the component like the winamp plugin "Playlist Undo"?
that was pretty handy and i have been missing that in foobar.

This post has been edited by matav: Jan 11 2011, 20:17


--------------------
try my portable foobar theme -- eXdb v4d
http://bit.ly/matavfb
Go to the top of the page
+Quote Post
kerpondile
post Jan 12 2011, 10:49
Post #5





Group: Developer
Posts: 147
Joined: 26-January 04
Member No.: 11525



@matav Yes, the component name might be a bit misleading but it will have to do for now. The playlist undo seems like an interesting feature but for now I'm not going to implement it. I recommend to look for foo_jesus which can automatically backup playlists (among other things). I know it's not the same thing but at least it might help in situations where you have accidentally removed a playlist.

Also note that you can recover replaced playlists using the 'standard' playlist undo functionality (Edit/Undo).

Actually, I just noticed that you can recover removed playlists using the standard "Playlist Manager" (DUI element). After deleting a playlist you can right-click the element and choose "Restore.../Name of the playlist". Unfortunately, it seems that this functionality is not available to keyboard shortcuts (nor there is "restore last removed playlist" command).


@all:
I'm going to bring 'after delete activate last used playlist' feature to the next version (first proposed in the thread linked by Robertina).
EDIT: New version released.


Thanks to all for your feedback, it's nice to hear that people find this useful!

This post has been edited by kerpondile: Jan 12 2011, 11:31
Go to the top of the page
+Quote Post
foosion
post Jan 12 2011, 13:32
Post #6





Group: FB2K Moderator (Donating)
Posts: 4484
Joined: 24-February 03
Member No.: 5153



QUOTE (kerpondile @ Jan 12 2011, 10:49) *
Actually, I just noticed that you can recover removed playlists using the standard "Playlist Manager" (DUI element). After deleting a playlist you can right-click the element and choose "Restore.../Name of the playlist". Unfortunately, it seems that this functionality is not available to keyboard shortcuts (nor there is "restore last removed playlist" command).
The functionality in the Default UI's Playlist Manager is backed by the core (specifically playlist_manager_v3), so it is possible to provide other front ends.


--------------------
http://foosion.foobar2000.org/ - my components for foobar2000
Go to the top of the page
+Quote Post
matav
post Jan 13 2011, 08:58
Post #7





Group: Members
Posts: 147
Joined: 27-November 10
From: Earth
Member No.: 86055



QUOTE (kerpondile @ Jan 12 2011, 10:49) *
I recommend to look for foo_jesus which can automatically backup playlists (among other things). I know it's not the same thing but at least it might help in situations where you have accidentally removed a playlist.
yes, have used foo_jesus. stopped recently. it always hangs my foobar for a second or two and there was no point increasing the time between the previous and next backup.

QUOTE (kerpondile @ Jan 12 2011, 10:49) *
Also note that you can recover replaced playlists using the 'standard' playlist undo functionality (Edit/Undo).
noted

QUOTE (kerpondile @ Jan 12 2011, 10:49) *
Actually, I just noticed that you can recover removed playlists using the standard "Playlist Manager" (DUI element). After deleting a playlist you can right-click the element and choose "Restore.../Name of the playlist".
this can be done even in CUI.

i realized that since foobar is playlist oriented, one would generally make a new playlist instead of modifying an existing one. So, this does not create the same problem as winamp where the one and only playlist being deleted or modified would lead to frustration.
Thus, in foobar, it's not much of a playlist undo issue.
Just sometimes, when i play songs in a random order or simply click the random playback button and i want to go back to the previous track, i have to go through the list and rely on my memory but sometimes it's not feasible.

> i could randomize the list and play it normally.
> i could even use foo_np_simple to log the names of the played track to a file which i can later refer to (but this log needs to be flushed regularly)
> i could even go to my last.fm page and check up which tracks have been played recently. But this does not help if i have pressed the random next button within the same splitsecond it started playing (oh! it happens)
tongue.gif

i think, a simple place within foobar where this kind of log is easily accessible (something like foo_queuecontents) would be quite helpful.

--
all this was not exactly a request, just my ordeal

This post has been edited by matav: Jan 13 2011, 09:00


--------------------
try my portable foobar theme -- eXdb v4d
http://bit.ly/matavfb
Go to the top of the page
+Quote Post
Robertina
post Jan 14 2011, 04:10
Post #8





Group: Banned
Posts: 1310
Joined: 4-January 09
Member No.: 65169



QUOTE (kerpondile @ Jan 11 2011, 22:49) *
I'm going to bring 'after delete activate last used playlist' feature to the next version (first proposed in the thread linked by Robertina).
EDIT: New version released.

Thank you for adding this feature, Sami. Both functions provided by your component are very helpfully for me.

QUOTE
Actually, I just noticed that you can recover removed playlists using the standard "Playlist Manager" [...]

In layouts without both playlist tabs (right-clicking on them also provides the restore command) and the Playlist Manager it is a little bit inconvenient to get deleted playlists back. Sometimes I wished there would be a menu entry offering that recovery.

QUOTE (matav @ Jan 12 2011, 20:58) *
yes, have used foo_jesus. stopped recently. it always hangs my foobar for a second or two and there was no point increasing the time between the previous and next backup.

foo_jesus is highly configurable, including the backup intervals. The settings are in the preferences, section "Advanced" -> "Autosave & Autobackup".


--------------------
This is HA. Not the Jerry Springer Show.
Go to the top of the page
+Quote Post
kerpondile
post Jan 14 2011, 07:45
Post #9





Group: Developer
Posts: 147
Joined: 26-January 04
Member No.: 11525



Hi all!

OK, I've released new version with the following changes:
** Playlist removals no longer produce history which contain the same playlist many times in the row.
** 'Restore last removed playlist' command added to Edit menu. Effect is same as the standard 'restore' command when right clicking the playlist manager.

I've also refactored the code a lot, hopefully that does not introduce too many bugs. The most easy way to update the component is using the foobar auto-updater.
Go to the top of the page
+Quote Post
Robertina
post Jan 14 2011, 11:24
Post #10





Group: Banned
Posts: 1310
Joined: 4-January 09
Member No.: 65169



QUOTE (kerpondile @ Jan 13 2011, 19:45) *
OK, I've released new version with the following changes:

You have obviously within three or four hours rewritten your component, implemented a new function and also updated the WIKI? I am blown.

For someone like me who works with playlists intensively foo_playlisthistory is very labour-saving. So thank you very much again.

Since you added the "Restore last removed playlist" command to the Edit menu it is now even possible to assign a keyboard shortcut to that function.


--------------------
This is HA. Not the Jerry Springer Show.
Go to the top of the page
+Quote Post
kerpondile
post Jan 18 2011, 07:55
Post #11





Group: Developer
Posts: 147
Joined: 26-January 04
Member No.: 11525



Thanks! I really appreciate it.

btw, Just released a new version with a fix for a very very rare (should not happen in normal in use, more like theoretical situation) bug. You can update the component using auto-updater.
Go to the top of the page
+Quote Post
Jny
post Jan 18 2011, 20:41
Post #12





Group: Members
Posts: 56
Joined: 1-June 08
Member No.: 53960



useful, thanks
Go to the top of the page
+Quote Post
fuffi
post Feb 4 2011, 12:16
Post #13





Group: Members
Posts: 204
Joined: 10-February 07
From: kölle an rhein
Member No.: 40490



QUOTE (kerpondile @ Jan 11 2011, 07:34) *
foo_playlisthistory enables playlist history in foobar2000, similar to page history in browsers.
Two commands are provided under the View/Recently activated playlists: Previous playlist and Next playlist.
Please add any comments, I appreciate them!
hello kerpondile,
first, i didnt understand, what that will be useful for and how to use it.

now, that i realized it, and used it some time, i don't want to miss the "history".

i bound "prev" and "next" to keys as read anywhere and it is now very fast to go to the last playlist without searching and clicking in a playlist panel.
great work. thank you :-)
Go to the top of the page
+Quote Post
joh316
post Feb 13 2011, 14:19
Post #14





Group: Members
Posts: 4
Joined: 13-October 09
Member No.: 73972



Hi:
I need a playlist history clear tool(Edit menu) . that likes the Playlist Manager.

with wsh panel mod 1.41, we can manage the playlist,such as remove ,restore ,dup,hide,rename,new autoplaylist(Inc UI).reorder.

however,we can't clear the history after remo......

Thanks!

joh316

Go to the top of the page
+Quote Post
kerpondile
post Feb 14 2011, 07:44
Post #15





Group: Developer
Posts: 147
Joined: 26-January 04
Member No.: 11525



QUOTE (joh316 @ Feb 13 2011, 15:19) *
Hi:
I need a playlist history clear tool(Edit menu) . that likes the Playlist Manager.

with wsh panel mod 1.41, we can manage the playlist,such as remove ,restore ,dup,hide,rename,new autoplaylist(Inc UI).reorder.

however,we can't clear the history after remo......

Thanks!

joh316


I'm not sure what you want, could you give me a use case? How would you use this feature?

Thanks.
Go to the top of the page
+Quote Post
joh316
post Feb 15 2011, 03:48
Post #16





Group: Members
Posts: 4
Joined: 13-October 09
Member No.: 73972



ok,
(my poor english)
your program foo_history,can restore last removed playlist in Edit menu.

pulldown View menu,there is a "playlist manager",this is not a plugin.

it can do almost every thing about playlist. if playlists are deleted ,right click the panel,a submenu called "restore" apeared.

is this restore menu,include a "Clear history". then,restore is unavirable.

So I just want this"Clear history" add to the "Edit Menu"

////why i want this menu?
as, CUI playlist switch,can'tmake background transparenty . many user try to use wsh_panel_mode,to design a" playlist switch" ,the wsh_panel_mode author add many functions about playlist,such as fb.playlistCount,fb.Moveplaylist(a,b) ..... Howerer,it is difficult to make a function :Clear history.


Thanks
joh316
Go to the top of the page
+Quote Post
kerpondile
post Feb 15 2011, 17:29
Post #17





Group: Developer
Posts: 147
Joined: 26-January 04
Member No.: 11525



Now I understand what you mean.

However, I think the feature is something that is not very useful to normal users. I don't understand why would anyone want to remove the "removed playlists history". It's not like they consume a lot of space. And if they want to do it (not very often, I assume?), it perfectly possible using playlist manager.

I think it's wrong to put too much into one component, at least if it's not useful to many users.

Of course, making a component implementing the feature you talked about should be very straightforward. Maybe you could even implement it yourself? I can provide further tips on that if you want. Maybe you event want to make "support library" for your wsh panel functions?
Go to the top of the page
+Quote Post
joh316
post Feb 16 2011, 07:05
Post #18





Group: Members
Posts: 4
Joined: 13-October 09
Member No.: 73972



Sorry,
the" restore" menu also in the end of CUI playlist switcher,if we do any delete acction. in this restore menu include a "clear history"
,just likes the playlist manager.

why I need clear instead of restore?
in CUI or playlist manager,when we restore a removed playlist, foobar will ask us the new name,and always restore to the end of playlist.
I think ,this is not a clever job.
Now, in wsh pannel, we use Array to manage the playlists, I use hide instead of Remove command, restore = unhide, the advantage is all manager by
array function. eg. when I hide a playlist at position 4, unhide it will be at 4 too, not at the end. and need't type new name. so I need't restore command,because I usually need not to delete the playlist, only hide them. If I really decide to delete a playlist , I wish it be unrecoverable. when restored, new name maybe the old one.

Library , I never use this low efficiency thing, I prefer to Explorler Tree plugin.
//______
If possible ,please write a " Edit / Clear playlist history " only for me first.when I delete a playlist ,I will add Clear playlist history command under it.
Go to the top of the page
+Quote Post
kerpondile
post Feb 16 2011, 09:43
Post #19





Group: Developer
Posts: 147
Joined: 26-January 04
Member No.: 11525



With "Library" I mean "Software library", that is, the WSH functions you are creating. Now you told me the use case: hiding playlists. However, I still don't understand why you want things to be "unrecoverable". As far as I understood, the hiding/unhiding would work just fine without clearing the playlist history. You just have to keep information what playlists are really "deleted" and what are "hidden".

Automatically deleting playlist history changes the way foobar functions. I think the approach sounds like a "hack" (that is, non-pretty workaround). It's not nice for the user because after installing the component, the playlist history would clear itself without any user notification (as a side effect). What makes it worse, normally foobar asks for user's confirmation before clearing the "removed playlists history"; now you'd skip the confirmation altogether.

I'm sorry but I don't have time to create another plugin at this moment. But I'm sure you could do it, it's not that hard really. Good place to start is Foosion's site where you can find the API documentation and also guide to set up Visual Studio project settings. SDK also includes component samples.

This post has been edited by kerpondile: Feb 16 2011, 09:43
Go to the top of the page
+Quote Post
joh316
post Feb 17 2011, 06:44
Post #20





Group: Members
Posts: 4
Joined: 13-October 09
Member No.: 73972




Thanks for replying. Maybe I will try SDK, but I think it is too difficult for me.
Go to the top of the page
+Quote Post
tg2k3
post May 3 2011, 01:34
Post #21





Group: Members
Posts: 45
Joined: 10-June 05
Member No.: 22635



Finding this component is like god hearing my prayers. Thank you.

This post has been edited by tg2k3: May 3 2011, 01:34
Go to the top of the page
+Quote Post
kerpondile
post May 4 2011, 13:57
Post #22





Group: Developer
Posts: 147
Joined: 26-January 04
Member No.: 11525



Updated the component. Basically just rebuilt with the new SDK meaning that you will need at least foobar 1.1.
Go to the top of the page
+Quote Post
TakuSkan
post Jun 3 2012, 11:14
Post #23





Group: Members
Posts: 324
Joined: 16-February 03
Member No.: 5017



Is there some simple title formatting using tabs to space out %title% - %artist% - %album% into even columns in a foo_playlisthistory panel? Don't know there's an obvious solution, or if the panel doesn't allow it.
Go to the top of the page
+Quote Post
db1989
post Jun 3 2012, 11:31
Post #24





Group: Super Moderator
Posts: 5275
Joined: 23-June 06
Member No.: 32180



How about $tab?
Go to the top of the page
+Quote Post
TakuSkan
post Jun 3 2012, 12:26
Post #25





Group: Members
Posts: 324
Joined: 16-February 03
Member No.: 5017



QUOTE (db1989 @ Jun 3 2012, 03:31) *
How about $tab?

Since foo_playlisthistoy isn't a text or word processor, it has no (to my knowledge) preset column fields. So if you use $tab between the tag values, it will insert a tab, but not at any preset column field positions. So instead of even columns, you just get a set distance between metadata vales that are in a different position in each row.

I'm not familiar enough with FB2K title formatting to know if something like what I'm looking for here can be accomplished.
Go to the top of the page
+Quote Post

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: 26th December 2014 - 17:14