IPB

Welcome Guest ( Log In | Register )

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
 
Start new topic
Replies
Kuukunen
post Jan 29 2008, 12:00
Post #2





Group: Members
Posts: 4
Joined: 29-November 03
Member No.: 10097



I agree with luckycatfu.
If this plugin had enough features for it, I would use it instead of the playback queue. Most importantly you'd need the "only apply to playlist(s) x" feature. (I'd bind a hotkey for "Add to playist Queue".)

Well, to be fully usable as a queue, there would be a couple of other features....

*It would automatically add the first song of a certain playlist to the foobar's internal queue and make sure it stays there. So even if a song is played from another playlist, the first song would be re-added to the internal queue. Or when the first song of that playlist is changed, it would modify the internal queue accordingly.

*It would automatically change playback to go in order and automatically revert to the previous mode when the playlist runs out.

*It would automatically jump back to the previous song that wasn't played from the certain playlist and then would skip to the next song using whatever playback order was used before queue. Or maybe even stop playing if playback was stopped.

Alternatively, it could let foobar play the next song, but immediately when it does, it would remember that song, and jump to the first song of the certain playlist. And when the playlists is empty again, it would jump back to the song that was going to play, but didn't. I don't know how possible it is to notice if the song was selected manually (in which case it should be played before the queue playlist, or msybr better yet added to the playback queue) or if it was because the previous song ended (in which case it should jump to the first song of the queue playlist).


As far as I know, the current queue still isn't editable and I see this has been talked about before, so I feel that I have to explain myself a bit. The reason I want this is because I usually listen to songs randomly from a big playlist. But occasionally I want to queue couple of songs, so I do just that. Sometimes, however I might want to edit the queue. Like setting the "really fun song" to play next before the rest of the queue.

This is especially important in party situations. (I have a bad reputation of installing foobar on other peoples' computers. :/) In these situations I often have to guard the computer in case someone wants to play a song. (So I can stop him from destroying the queue.) Or if I used a normal playlist, I would still have to keep track of where it goes and after the playlist, I'd have to manually modify playback order and move to the random playlist. Not to mention the problems when I have to explain the fancy pants system to everyone who wants to play a song.

I was reminded by this once again when I uploaded my foobar installation to my server in case other people would want to use it. I mentioned this in IRC and the first question that was asked by a Winamp person: "Is the queue fixed yet?" :/
Go to the top of the page
+Quote Post

Posts in this topic
- Chronial   foo_removeplayed   Nov 19 2006, 02:18
- - vkeios   Thank you, I've got a playlist or two, this wo...   Nov 19 2006, 04:41
- - luckycatfu   This is a great idea- i would use it if it could b...   Nov 19 2006, 07:06
|- - Chronial   QUOTE (luckycatfu @ Nov 19 2006, 08:06) T...   Nov 19 2006, 15:02
- - fabiospark   QUOTE (Chronial @ Nov 19 2006, 03:18) If ...   Nov 19 2006, 09:07
- - Chronial   Could you explain this further? QUOTE 2 - ability ...   Nov 19 2006, 11:43
|- - fabiospark   QUOTE (Chronial @ Nov 19 2006, 12:43) Cou...   Nov 19 2006, 17:29
- - nightfishing   great plugin (thanks). It doesn't seem to wor...   Nov 19 2006, 19:36
- - Frank Bicking   QUOTE It doesn't seem to work with playlsts ge...   Nov 19 2006, 19:44
- - nightfishing   Wasn't inferring that it was a bug, sorry if t...   Nov 19 2006, 19:56
- - black92   Very useful component. Thanks   Nov 19 2006, 20:34
- - q-stankovic   Nice plugin! I took a look in Dro's file ...   Nov 20 2006, 14:17
- - metal_termite   I think you forgot to change the version number; i...   Nov 20 2006, 18:00
- - tool++   foo_playlist_eat would be a far more creative name...   Nov 20 2006, 18:06
- - Chronial   QUOTE (metal_termite @ Nov 20 2006, 19:00...   Nov 20 2006, 19:35
- - q-stankovic   I think it would also be useful to have in main me...   Nov 21 2006, 16:31
- - Remedial Sound   Thanks for the very nice plugin Chronial. I'm...   Nov 21 2006, 19:27
|- - Chronial   QUOTE (Remedial Sound @ Nov 21 2006, 20:2...   Nov 21 2006, 19:51
|- - harumscarum   QUOTE (Remedial Sound @ Nov 21 2006, 12:2...   Oct 14 2008, 14:01
- - Remedial Sound   I'd just be interested in having the option to...   Nov 21 2006, 20:05
- - Chronial   I understood that - I just wanted to ask, what wou...   Nov 21 2006, 20:07
|- - Remedial Sound   QUOTE (Chronial @ Nov 21 2006, 14:07) I u...   Nov 21 2006, 21:49
- - GeSomeone   I have use for this. Now I should just remember t...   Nov 23 2006, 21:41
|- - Chronial   QUOTE (GeSomeone @ Nov 23 2006, 22:41) BT...   Nov 23 2006, 21:46
- - fabiospark   Chronial, how are you? Still developing this? ...   Dec 26 2006, 18:26
- - Killmaster   bump because I'd really like to see some kind ...   Feb 6 2007, 02:03
|- - venice26   thx for this component, just what I was looking fo...   Aug 14 2011, 13:28
- - mrinferno   Chronial any chance you are still out there? I...   Aug 2 2007, 05:44
- - Chronial   That's funny - DrO's plugin is just the pl...   Sep 2 2007, 12:30
- - mrinferno   thank you so much. that's exactly what i was ...   Sep 2 2007, 12:40
- - dypsis   I love this plugin, but I store all my albums as p...   Dec 3 2007, 02:03
- - Kuukunen   I agree with luckycatfu. If this plugin had enough...   Jan 29 2008, 12:00
- - Chronial   Just try this plugin in combination with foo_track...   Jan 29 2008, 19:35
- - dypsis   I love this plugin. But there is a small bug with...   Mar 22 2008, 09:49
|- - Chronial   QUOTE (dypsis @ Mar 22 2008, 10:49) I lov...   Mar 22 2008, 17:18
- - RedAnarchy   great component! but it would be even greater,...   Mar 15 2009, 15:01
- - Chronial   This is possible. Or at least there is workaround ...   Mar 15 2009, 15:08
- - mrinferno   ha, cool. a useful workaround indeed. on the rar...   Mar 15 2009, 15:19
- - RedAnarchy   QUOTE (Chronial @ Mar 15 2009, 15:08) Thi...   Mar 15 2009, 17:21
- - fbuser   The menu entry is provided by foo_utils.   Mar 15 2009, 17:40
- - tpijag   Really? Main Menu > Edit >Read Only terr...   Mar 15 2009, 17:46
- - RedAnarchy   okay thx, i'll try this one;)   Mar 15 2009, 17:52
- - Lesmo16   Although the name of th plugin is foo_removeplayed...   Mar 16 2009, 19:37
- - vigylant   What do you mean by greyed out?   Mar 16 2009, 19:59
- - tpijag   I think he's looking for the text / color of t...   Mar 16 2009, 20:05
- - arctic_hobo   Any chance of making it delete tracks on a delay, ...   Jan 10 2012, 00:06
- - Chronial   Released the source at https://github.com/Chronial...   Jan 11 2012, 19:08


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: 16th April 2014 - 20:09