Old 18th September 2005, 10:48   #1
DrO
 
Join Date: Sep 2003
Posts: 27,873
Playlist Undo (v1.11 - 23/10/2013)

Playlist Undo v0.1.0
  • Initial version of the plugin which adds the ability to undo a number of actions made to the current playlist in Winamp
  • Requires Winamp v5.0+ to get full functionality
  • Adds an 'Alt+Z' and playlist editor right click menu to allow for quick access
  • Basic undo queue viewer to see what is in the undo queue(since not all possible modification actions to the playlist are handled)
  • Supports most full playlist removal actions, delete actions in the playlist editor, modification to the playlist when Winamp is initially loaded (e.g. Winamp is made to open with a 'Play in Winamp' command)

Egg seems to be happy with this and considering it's so early on in its development life-cycle it's already looking good. My aim is to eventually add in support for more playlist modification actions but i'm also looking to add in playlist change locking features to this plugin (ref this) since it fits in with the idea of controlling the playlist editor actions i think Enjoy (and thank Egg for pestering for the last 2 years about getting this one done... at last, hehe)

Latest version: v1.11

-daz
DrO is offline   Reply With Quote
Old 18th September 2005, 12:08   #2
DJ Egg
Techorator
Winamp & SHOUTcast Team
 
Join Date: Jun 2000
Posts: 35,784
"Egg seems to be happy with this"

That's an understatement.
This plugin fulfils my 5-year+ long wish for Playlist Undo functionality. Awesome! :-)
DJ Egg is offline   Reply With Quote
Old 18th September 2005, 12:18   #3
billyvnilly
Forum King, M.D.
 
billyvnilly's Avatar
 
Join Date: Mar 2004
Location: Detroit burbs
Posts: 3,379
Send a message via ICQ to billyvnilly Send a message via AIM to billyvnilly
get the f*** out!
billyvnilly is offline   Reply With Quote
Old 18th September 2005, 13:37   #4
JonnyMac
Moderator
 
JonnyMac's Avatar
 
Join Date: Dec 2000
Posts: 14,384
Dammit

Why do you release your new plug-ins when I am at work? Now I have to wait all day until I can go home and try it out.

Please do not PM me for tech support. Any request for tech support through PM will be ignored.
Read the Stickies
---> | | | | <--- Knowledge is power
JonnyMac is offline   Reply With Quote
Old 18th September 2005, 17:19   #5
fisher819
Senior Member
 
fisher819's Avatar
 
Join Date: Sep 2004
Location: Lebanon
Posts: 225
Send a message via Yahoo to fisher819
you rule drO

help us count :Click here
fisher819 is offline   Reply With Quote
Old 18th September 2005, 17:56   #6
Squadman
Senior Member
 
Squadman's Avatar
 
Join Date: Nov 2004
Location: UK
Posts: 284
Send a message via AIM to Squadman
This rocks.

I've been hoping you'd do something like this, for SOOOO long.

Could you possibly make it possbile to make CTRL+Z a the basic undo key, because using ALT+Z is weird.

Squadman is offline   Reply With Quote
Old 18th September 2005, 18:03   #7
DrO
 
Join Date: Sep 2003
Posts: 27,873
JonnyMac: hehe

billyvnilly: yes, both Egg and i need to get out more

Squadman: Ctrl+Z is already taken for 'move to start of list' (is the same as a ctrl+click on the previous button)

-daz
DrO is offline   Reply With Quote
Old 18th September 2005, 20:29   #8
JonnyMac
Moderator
 
JonnyMac's Avatar
 
Join Date: Dec 2000
Posts: 14,384
@ billy
You should know by now that mods don't have a life.

@ DrO
Very nice!

Now, is there anything you can do about Egg's other wish?....
Different icons and file descriptions for associated file types.

Please do not PM me for tech support. Any request for tech support through PM will be ignored.
Read the Stickies
---> | | | | <--- Knowledge is power
JonnyMac is offline   Reply With Quote
Old 18th September 2005, 20:42   #9
d3x7r0
Senior Member
 
d3x7r0's Avatar
 
Join Date: Jun 2004
Location: Lisbon, Portugal
Posts: 380
Send a message via Skype™ to d3x7r0
Hum... You can't undo adding a file (enquee) from the playlist?

Oh well it's better than nothing, took quite some time for this one to come out but it's great to see it arround

NOTE: I am Dextro!
d3x7r0 is offline   Reply With Quote
Old 18th September 2005, 20:46   #10
DrO
 
Join Date: Sep 2003
Posts: 27,873
d3x7r0: enqueue isn't currently supported since that will be part of the next stage of development (i went for the easy bits first) and you can't expect everything for an initial version

JonnyMac: heh, i thought the extended playlist plugin was the main other one he wanted

-daz
DrO is offline   Reply With Quote
Old 18th September 2005, 20:52   #11
billyvnilly
Forum King, M.D.
 
billyvnilly's Avatar
 
Join Date: Mar 2004
Location: Detroit burbs
Posts: 3,379
Send a message via ICQ to billyvnilly Send a message via AIM to billyvnilly
It was lost on both of you,lol. Its an expression of amazement. impressive beta.

well....both the extended playlist and file icons sound nice...

ohh, happy forum bday.... great. its the terrible two's.
billyvnilly is offline   Reply With Quote
Old 18th September 2005, 21:10   #12
JonnyMac
Moderator
 
JonnyMac's Avatar
 
Join Date: Dec 2000
Posts: 14,384
@ DrO
Maybe the icon thing is third on his list.

DJ Egg, care to share some light on this????

@ billy

So I was lost. Whatever.
JonnyMac is offline   Reply With Quote
Old 18th September 2005, 22:24   #13
DJ Egg
Techorator
Winamp & SHOUTcast Team
 
Join Date: Jun 2000
Posts: 35,784
I guess plex is #2 on the list, seeing as there's known workarounds for different icons/descriptions, heh. There's plenty of others in the wishlist, though Playlist Undo was always #1 for me.
DJ Egg is offline   Reply With Quote
Old 19th September 2005, 10:33   #14
fisher819
Senior Member
 
fisher819's Avatar
 
Join Date: Sep 2004
Location: Lebanon
Posts: 225
Send a message via Yahoo to fisher819
let's hope we can see some improvments on plex.

help us count :Click here
fisher819 is offline   Reply With Quote
Old 19th September 2005, 10:50   #15
DrO
 
Join Date: Sep 2003
Posts: 27,873
fisher: hopefully since i spent most of yesterday updating the code base and trying to make it useable again (at least it now saves settings and will parse the playlist(s) again without crashing )

-daz
DrO is offline   Reply With Quote
Old 30th October 2005, 11:35   #16
d3x7r0
Senior Member
 
d3x7r0's Avatar
 
Join Date: Jun 2004
Location: Lisbon, Portugal
Posts: 380
Send a message via Skype™ to d3x7r0
so DrO any updates to this?

NOTE: I am Dextro!
d3x7r0 is offline   Reply With Quote
Old 30th December 2005, 22:50   #17
DrO
 
Join Date: Sep 2003
Posts: 27,873
Playlist Undo v0.1.2
  • Fixed the creation of the temp backup playlists to now work correctly in all cases and to be unique to prevent potential issues
get v0.1.2

Functionally this is the same as 0.1.0 but fixes a glaring issue with the temp files that the plugin uses when alterations are made where the api call used was incorrectly handled causing .tmp files to be incorrectly created and could allow duplication of filenames which could cause undo list corruption.

-daz
DrO is offline   Reply With Quote
Old 30th December 2005, 22:55   #18
d3x7r0
Senior Member
 
d3x7r0's Avatar
 
Join Date: Jun 2004
Location: Lisbon, Portugal
Posts: 380
Send a message via Skype™ to d3x7r0
Here they are, just installed it

I can't imagine living without it now

NOTE: I am Dextro!
d3x7r0 is offline   Reply With Quote
Old 30th December 2005, 22:59   #19
DrO
 
Join Date: Sep 2003
Posts: 27,873
just make sure to clean out the contents of the gen_undo folder (since i bet there's some unwanted files in there) and hopefully this new build should never allow that to happen again

now which plugin will be the first to have an '06 update..

-daz
DrO is offline   Reply With Quote
Old 2nd January 2006, 18:51   #20
DrO
 
Join Date: Sep 2003
Posts: 27,873
Playlist Undo v0.2.0
  • Added resizing to the queue list dialog and also the time the undoable actions happened at
  • Added configurable option to allow the undo list to be preserved after Winamp has been closed
  • Added right click options to the undo list dialog to allow for quick clearing of the undo queue and to allow the selected entry to be saved to another playlist (may be useful)
  • Altered the backup playlists to be set to read-only (incase someone tries to overwrite them)
  • Added in two new event handlers which should catch most enqueue / external add / ml enqueue actions
  • Slight code tweaks/clean ups
get v0.2.0

Apart from the newly added methods, there is a slight change in the way that the plugin handles it's detections to now include adding to an empty playlist since it was missing some valid enqueues from the ml with the existing check.

Also when ml play/enqueues are done (which uses the WM_WA_IPC version of IPC_ENQUEUEFILE), there is likely to be multiple undo actions added depending on the size of the undo action. This will be the case until i code up a smarter way to handle mutliple fast playlist additions but other than a few extra alt+z's it's not a major issue for the time being

-daz
DrO is offline   Reply With Quote
Old 6th January 2006, 16:28   #21
lexel
Junior Member
 
Join Date: Dec 2005
Posts: 17
Great, thx a lot!
lexel is offline   Reply With Quote
Old 29th January 2006, 19:11   #22
alexbarb
Junior Member
 
Join Date: Jan 2006
Posts: 7
Great plugin! Big thnx!!!

But from where it takes the time? Is it GMT? My time in windows is GMT+3 and it disagrees with the time in the Undo log
alexbarb is offline   Reply With Quote
Old 29th January 2006, 19:19   #23
DrO
 
Join Date: Sep 2003
Posts: 27,873
Playlist Undo v0.2.1a
  • Made it happy to work with DEP enabled
  • Fixed to use local time and not system time (UTC)
get v0.2.1a

alexbarb: How's that for bug fix speed

-daz
DrO is offline   Reply With Quote
Old 29th January 2006, 19:43   #24
alexbarb
Junior Member
 
Join Date: Jan 2006
Posts: 7
not bad
alexbarb is offline   Reply With Quote
Old 18th February 2006, 02:37   #25
airmind
Junior Member
 
Join Date: Feb 2006
Posts: 1
First of all, I loved this plugin. You have no idea how much time have I lost by not having a undo menu.
And now that I have I would like to help you out. Just a problem that I noticed. I'm on Windows XP SP2, and if it helps I have brazilian regional settings (but the Windows XP itself is in English).
And this picture pretty much explains the problem:



I've done a few extra testing and the situation is that those characters appears in that order and after that the date is blank, but only for dragging operations.
Oh, and, do you need the miliseconds? It looks a little too complicated with all that numbers when all you want is to know is how old is that change.
airmind is offline   Reply With Quote
Old 23rd February 2006, 19:15   #26
drewmacphee
Junior Member
 
Join Date: Feb 2006
Posts: 5
bug

Hey..

I noticed that if you do an undo while a song is playing.. it thinks that the currently playing song is the first one in the list.. even if it's not.

example

first song
second song <-- currently playing song <-- currently highlighted song
third song
fourth song

first song
second song <-- currently playing song <-- currently highlighted song
fourth song
third song <-- oops moved this song by mistake


first song <-- currently highlighted song
second song <-- currently playing song
third song <-- undo moves this song back
fourth song

so at the end of second song, second song plays again when third song should play.

Great Plugin though.. keep up the good work.
drewmacphee is offline   Reply With Quote
Old 4th April 2006, 16:21   #27
Rijk
Junior Member
 
Join Date: Feb 2006
Posts: 14
Can you make it able to undo an explorer click? Sometimes, when I'm dragging files (I do that a lot) I accidentally click one, and Winamp starts playing and I lose my playlist. I thought this was the solution, but at the moment this plugin can only undo Media Library actions.

Is it possible to put this in it?

Great plugin btw!
Rijk is offline   Reply With Quote
Old 9th April 2006, 10:17   #28
DrO
 
Join Date: Sep 2003
Posts: 27,873
it should be handling accidental explorer clicks since that uses the same message actions as media library and other internal enqueue actions. if i ever get the time to do coding i could have a check over of it

-daz
DrO is offline   Reply With Quote
Old 21st April 2006, 18:25   #29
Koopa
16-Bit Moderator
 
Koopa's Avatar
 
Join Date: Apr 2004
Posts: 4,341
DrO, is it possible to add an option, wich deletes old playlists in the gen_undo folder after x days?
Koopa is offline   Reply With Quote
Old 21st April 2006, 18:50   #30
d3x7r0
Senior Member
 
d3x7r0's Avatar
 
Join Date: Jun 2004
Location: Lisbon, Portugal
Posts: 380
Send a message via Skype™ to d3x7r0
That would be great, my winamp is starting to get slower startup times and it looks like deleting the gen_undo info brings them down... I might be wrong in my assumption though...

NOTE: I am Dextro!
d3x7r0 is offline   Reply With Quote
Old 21st April 2006, 18:55   #31
DrO
 
Join Date: Sep 2003
Posts: 27,873
i agree with the request (and i remember Egg pestering me about it). and yes, if the number of undo actions becomes too large then startup times will slow down (which i need to optimise in a few ways along with the limiting option).

-daz
DrO is offline   Reply With Quote
Old 7th May 2006, 00:35   #32
DrO
 
Join Date: Sep 2003
Posts: 27,873
Playlist Undo v0.4.0
  • Reworked the internal cache handling so it will save out only what's needed to winamp.ini and better protects itself against unexpected issues ie someone tampering with the backups
  • Improved the clear queue code so that it'll remove all files in the queue and those that are left over and to full clear anything from winamp.ini
  • Removed the millisecond display from the time of the queue event in the undo queue viewer
  • Added in ability to limit the number of undo queue events that are held by the plugin
  • Added a clear undo queue and backup folder option to the plugin's preferences (same as the clear undo option on the undo queue viewer but is accessible when there's no undo queue
  • Improved the handling of an internal message used on startup to work better on Win9x systems
  • Added the option to save the current state of the undo queue out to winamp.ini on all undo queue changes (default off since it may cause some slow downs but will handle Winamp crashes correctly so the queue list would be preserved)
  • Added in the ability to block a number of user actions on the playlist editor (left-click,right-click,double-click(though should still allow winshade to be activated),keyboard and mousewheel (*)
get v0.4.0

has been a while since the last official build but here's a new one with some noticeable changes and improvements to it. i'll post a full changelog in the morning but i need to get some sleep in. also i've not had a chance to verify the issues reported by airmind and drewmacphee (i hope things are fixed now but will double check again). the limit by x days needs a bit more work to get it implemented but i hope that one of the new features will help enough for the time being

(*) This is complete for classic skins however due to the way in which modern skins work, there's still some more work which needs to be done with this feature since the modern skin frame is still effectively active for a number of the actions (which may be a pain to implement)

-daz
DrO is offline   Reply With Quote
Old 7th May 2006, 07:33   #33
Koopa
16-Bit Moderator
 
Koopa's Avatar
 
Join Date: Apr 2004
Posts: 4,341
Nice, you've integrated the ability to delete the gen_undo folder and it's now possible to limit the number of the undo actions.

I'm glad to see these improvements. I'll test the plugin within the next few days.
Koopa is offline   Reply With Quote
Old 7th May 2006, 09:20   #34
DrO
 
Join Date: Sep 2003
Posts: 27,873
changelog up now

yeah, this new version should be a lot better on handling of the undo queue (especially with the new save on the fly option incase of Winamp crashing)

-daz
DrO is offline   Reply With Quote
Old 11th May 2006, 02:37   #35
priestlyboy
Junior Member
 
priestlyboy's Avatar
 
Join Date: Dec 2003
Location: Brooklyn, NYC
Posts: 43
Send a message via AIM to priestlyboy Send a message via Yahoo to priestlyboy
lol, btw it's may not june...
priestlyboy is offline   Reply With Quote
Old 11th May 2006, 08:08   #36
DrO
 
Join Date: Sep 2003
Posts: 27,873
dunno what you mean

-daz
DrO is offline   Reply With Quote
Old 12th May 2006, 13:35   #37
lexel
Junior Member
 
Join Date: Dec 2005
Posts: 17
I cannot DL the v0.4.0 file.
lexel is offline   Reply With Quote
Old 12th May 2006, 13:43   #38
DrO
 
Join Date: Sep 2003
Posts: 27,873
see if the attachment works. can't see why it wouldn't work since i can get to the file fine here from work.

-daz
Attached Files
File Type: zip playlist_undo_v0_4_0.zip (29.3 KB, 863 views)
DrO is offline   Reply With Quote
Old 13th May 2006, 04:32   #39
lexel
Junior Member
 
Join Date: Dec 2005
Posts: 17
Thx, the attachment works well!
lexel is offline   Reply With Quote
Old 15th May 2006, 11:33   #40
Koopa
16-Bit Moderator
 
Koopa's Avatar
 
Join Date: Apr 2004
Posts: 4,341
Quote:
can't see why it wouldn't work since i can get to the file fine here from work.
The download just works fine.
Koopa is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Winamp > Winamp Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump