IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
foo_removeplayed, Removes played tracks from the playlist
Chronial
post Nov 19 2006, 02:18
Post #1





Group: Members
Posts: 384
Joined: 2-May 05
Member No.: 21825



As requested by a friend, I made this quite simple component. It removes tracks from the playlist once they've been played (or skipped). So every time playback advances, the previously played track will disappear from the playlist.

This is a very basic component at the moment (with just an option to switch it on and off), but if people are interested in something like that, I might extend it.

If you have any feature requests, here's the right place to make them public and to allow me to know about them wink.gif

Current Version: v 1.4 (2007-09-02)

Download:
http://chron.visiondesigns.de/foobar2000/f...played_v1.4.zip

Feature Requests
  • Apply only to playlists matching a pattern
  • Apply only to tracks matching a pattern
  • Options to define when you see a track as "played"
  • Send deleted tracks to a special playlist
  • - Keyboard shortcut to do this manualy
  • Option for delete on stop
  • Option for deleting playlist after it hast been played empty
Changelog:
v1.4
- Added "remove when skipped" functionality (has toggle in the menu)

v1.3
- Added a toggle to the menu (Playback->Remove played tracks)

v1.2
- Using another way to find out if a song has been played

v1.1
Fixed some bugs:
- Tracks are removed instantly instead of with 1 sec. delay
- Tracks are also removed if they are the last item of the playlist

v1.0
- Initial Release

This post has been edited by Chronial: Sep 2 2007, 12:31
Go to the top of the page
+Quote Post
vkeios
post Nov 19 2006, 04:41
Post #2





Group: Members
Posts: 22
Joined: 14-June 06
Member No.: 31812



Thank you, I've got a playlist or two, this would be perfect for.
Go to the top of the page
+Quote Post
luckycatfu
post Nov 19 2006, 07:06
Post #3





Group: Members
Posts: 14
Joined: 12-November 04
Member No.: 18083



This is a great idea- i would use it if it could be applied to certain playlists only, or better yet as a check/uncheck like Stop After Current.

This could effectively replace the playback queue i think, and yet still allow it to be re-ordered, add/remove songs etc as the queue should have been originally.
Go to the top of the page
+Quote Post
fabiospark
post Nov 19 2006, 09:07
Post #4





Group: Members
Posts: 472
Joined: 16-February 05
Member No.: 19881



QUOTE (Chronial @ Nov 19 2006, 03:18) *
If you have any feature requests, here's the right place to make them public and to allow me to know about them wink.gif


Maybe:

1 - ability to set it to remove only if played track matches a criteria. For instance, a certain value in a certain tag. I have this "To tag" playlist where I load currently untagged tracks. I'm usually tagging them (rating, tempo and situations) with a remote control while they are playing. Sometimes, I fail to do it because I'm involved in something else. It would be useful (for me, at least) if the untagged ones would stay in the playlist even if they have already been played. The tagged ones should disappear, instead.

2 - ability to set when a track must be removed. If I'm previewing some tracks, manually or with the preview plugin, I could consider "played" a track even if it has not been played to the end.

3 - ability to send the removed tracks to another (existing or not) playlist as a sort of "bin playlist"

4 - make averything above avalaible in the keyboard shortcut configurator

Thanks.
Go to the top of the page
+Quote Post
Chronial
post Nov 19 2006, 11:43
Post #5





Group: Members
Posts: 384
Joined: 2-May 05
Member No.: 21825



Could you explain this further?
QUOTE
2 - ability to set when a track must be removed. If I'm previewing some tracks, manually or with the preview plugin, I could consider "played" a track even if it has not been played to the end.

If a certain percentage of the track has been played?
Go to the top of the page
+Quote Post
Chronial
post Nov 19 2006, 15:02
Post #6





Group: Members
Posts: 384
Joined: 2-May 05
Member No.: 21825



QUOTE (luckycatfu @ Nov 19 2006, 08:06) *
This is a great idea- i would use it if it could be applied to certain playlists only, or better yet as a check/uncheck like Stop After Current.

Done wink.gif
Go to the top of the page
+Quote Post
fabiospark
post Nov 19 2006, 17:29
Post #7





Group: Members
Posts: 472
Joined: 16-February 05
Member No.: 19881



QUOTE (Chronial @ Nov 19 2006, 12:43) *
Could you explain this further?
QUOTE
2 - ability to set when a track must be removed. If I'm previewing some tracks, manually or with the preview plugin, I could consider "played" a track even if it has not been played to the end.

If a certain percentage of the track has been played?


Yes.

Another way could be something like this:

IF (elapsed time seconds > x) OR (end of track) OR (percentage > y) THEN remove.

The seconds could be more precise than the % when you're using the Preview mode.
---------
Another thing would be a "remove" command on the shortcuts list working only on the now playing track.
I'm not sure but I think the existent "remove from playlist" works on the selected one.

Thanks.

Edit: sorry, I read the first post after sending my reply. Of course, ignore the things you have already done.

This post has been edited by fabiospark: Nov 19 2006, 17:31
Go to the top of the page
+Quote Post
nightfishing
post Nov 19 2006, 19:36
Post #8





Group: Members
Posts: 292
Joined: 4-February 06
Member No.: 27549



great plugin (thanks).

It doesn't seem to work with playlsts generated by "autoplaylist" though.

Other than that it is working beautifully.
Go to the top of the page
+Quote Post
Frank Bicking
post Nov 19 2006, 19:44
Post #9





Group: Super Moderator
Posts: 1827
Joined: 24-July 02
Member No.: 2776



QUOTE
It doesn't seem to work with playlsts generated by "autoplaylist" though.

Not a bug. Autoplaylists are supposed to behave this way.

If you were able to remove tracks from an autoplaylist, it wouldn't contain the tracks specified by its query anymore.
Go to the top of the page
+Quote Post
nightfishing
post Nov 19 2006, 19:56
Post #10





Group: Members
Posts: 292
Joined: 4-February 06
Member No.: 27549



Wasn't inferring that it was a bug, sorry if that's the way the post came off.
Go to the top of the page
+Quote Post
black92
post Nov 19 2006, 20:34
Post #11





Group: Members
Posts: 2
Joined: 9-November 06
Member No.: 37369



Very useful component. Thanks smile.gif
Go to the top of the page
+Quote Post
q-stankovic
post Nov 20 2006, 14:17
Post #12





Group: Members
Posts: 1740
Joined: 28-May 06
From: Düsseldorf
Member No.: 31251



Nice plugin!

I took a look in Dro's file removal plugin for Winamp to see which good ideas he already implemented. So here are some ideas:

1. Option for "Remove on next" and "Remove on stop"

2. Option for "Load played playlist after last file was removed"

What i would like to have is a variable to display in trackinfo if file removal is activated or not.
Another idea: Make the option for removal in main menu independent for each playlist so that you can switch from playlist to playlist and check this option fot just that playlist you like to have the removal (to avoid confusion the option could be greyed out for read only or autoplaylists)

Thanks for this sweet little plugin! smile.gif

This post has been edited by q-stankovic: Nov 20 2006, 14:22


--------------------
german support forum: www.foobar-users.de / user: qwert73
Go to the top of the page
+Quote Post
metal_termite
post Nov 20 2006, 18:00
Post #13





Group: Members
Posts: 538
Joined: 10-July 04
Member No.: 15248



I think you forgot to change the version number; it reads 1.2.0
Go to the top of the page
+Quote Post
tool++
post Nov 20 2006, 18:06
Post #14





Group: Members
Posts: 959
Joined: 27-May 05
Member No.: 22329



foo_playlist_eat would be a far more creative name for this biggrin.gif


--------------------
hi
Go to the top of the page
+Quote Post
Chronial
post Nov 20 2006, 19:35
Post #15





Group: Members
Posts: 384
Joined: 2-May 05
Member No.: 21825



QUOTE (metal_termite @ Nov 20 2006, 19:00) *
I think you forgot to change the version number; it reads 1.2.0
Thx, fixed

QUOTE (tool++ @ Nov 20 2006, 19:06) *
foo_playlist_eat would be a far more creative name for this biggrin.gif
Too late ^^

This post has been edited by Chronial: Nov 20 2006, 19:36
Go to the top of the page
+Quote Post
q-stankovic
post Nov 21 2006, 16:31
Post #16





Group: Members
Posts: 1740
Joined: 28-May 06
From: Düsseldorf
Member No.: 31251



I think it would also be useful to have in main menu an additional toggle option to remove skipped tracks (on next or stop). So that you at whole have three modes: remove played, remove skipped or remove both. Sometimes you like just to remove that tracks that are not worth being heard in full length. That wouldn't touch a possible option to consider tracks as played wich was played f.e. 80%


--------------------
german support forum: www.foobar-users.de / user: qwert73
Go to the top of the page
+Quote Post
Remedial Sound
post Nov 21 2006, 19:27
Post #17





Group: Members
Posts: 504
Joined: 5-January 06
From: Dublin
Member No.: 26898



Thanks for the very nice plugin Chronial.

I'm wondering how feasible it would be to...

add a user option to remove files from the playlist only after the all songs of the album (i.e., all songs matching %album% in the playlist) are played? I mainly listen to music in "album mode," it would be nice to keep the entire album's tracks in the playlist until it's done. Thanx for considering this feature!
Go to the top of the page
+Quote Post
Chronial
post Nov 21 2006, 19:51
Post #18





Group: Members
Posts: 384
Joined: 2-May 05
Member No.: 21825



QUOTE (Remedial Sound @ Nov 21 2006, 20:27) *
add a user option to remove files from the playlist only after the all songs of the album (i.e., all songs matching %album% in the playlist) are played? I mainly listen to music in "album mode," it would be nice to keep the entire album's tracks in the playlist until it's done. Thanx for considering this feature!

Why do you want that?
Go to the top of the page
+Quote Post
Remedial Sound
post Nov 21 2006, 20:05
Post #19





Group: Members
Posts: 504
Joined: 5-January 06
From: Dublin
Member No.: 26898



I'd just be interested in having the option to remove albums after they're played (rather than tracks after they're played). If it's too strange/bizarre of a request then fughettaboutit.
Go to the top of the page
+Quote Post
Chronial
post Nov 21 2006, 20:07
Post #20





Group: Members
Posts: 384
Joined: 2-May 05
Member No.: 21825



I understood that - I just wanted to ask, what would be the use of such a feature?
Only for visual pleasure? (having full albums in the playlist just looks better ^^)
Go to the top of the page
+Quote Post
Remedial Sound
post Nov 21 2006, 21:49
Post #21





Group: Members
Posts: 504
Joined: 5-January 06
From: Dublin
Member No.: 26898



QUOTE (Chronial @ Nov 21 2006, 14:07) *
I understood that - I just wanted to ask, what would be the use of such a feature?
Only for visual pleasure? (having full albums in the playlist just looks better ^^)

Hmm, I suppose it is just a visual thing. I just like being able to see all the tracks of the album I'm currently listening to. Thanks for listening, but don't bother if I'm the only person interested in this feature.
Go to the top of the page
+Quote Post
GeSomeone
post Nov 23 2006, 21:41
Post #22





Group: Members
Posts: 921
Joined: 22-October 01
From: the Netherlands
Member No.: 335



I have use for this. Now I should just remember to disable it when I don't want to remove played tracks dry.gif

BTW. When I first started up with this dll, the remove function was enabled. I don't think that's a good idea. The other users on this computer will wonder where their tracks went unsure.gif


--------------------
In theory, there is no difference between theory and practice.
Go to the top of the page
+Quote Post
Chronial
post Nov 23 2006, 21:46
Post #23





Group: Members
Posts: 384
Joined: 2-May 05
Member No.: 21825



QUOTE (GeSomeone @ Nov 23 2006, 22:41) *
BTW. When I first started up with this dll, the remove function was enabled. I don't think that's a good idea. The other users on this computer will wonder where their tracks went unsure.gif

Well, wouldn't you enable it anyway after installation?
I just wanted to prevent those "can't find the component after installing it" questions I've seen alot around here wink.gif
Go to the top of the page
+Quote Post
fabiospark
post Dec 26 2006, 18:26
Post #24





Group: Members
Posts: 472
Joined: 16-February 05
Member No.: 19881



Chronial, how are you? smile.gif

Still developing this? wink.gif

Thanks.
Go to the top of the page
+Quote Post
Killmaster
post Feb 6 2007, 02:03
Post #25





Group: Members
Posts: 305
Joined: 8-January 03
Member No.: 4465



bump because I'd really like to see some kind of playlist-specific options added
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 July 2014 - 13:04