IPB

Welcome Guest ( Log In | Register )

foo_history
moritz-s
post Mar 27 2006, 22:30
Post #1





Group: Members
Posts: 10
Joined: 27-March 06
Member No.: 28895



I programmed a very simple song history for foobar 0.9. And when I say simple, I mean it - it literally just adds the songs to a special playlist as they are played. But eh, it was a good way to start developing, and I thought maybe somebody can get something off it.

Enable the history in the Library menu, and it'll capture or create the History playlist and collect songs as they are played. Note that as of yet, closing the playlist will destroy the history and you'll get an empty one if you open it up again. Thanks to the magic that is foobar, the history is preserved over program exits, though.

foo_history

This is stage 1 of the component. It's basically the first version that has some useful features. The next thing will be adding more persistence, ie. keeping a copy of the history playlist when it's disabled. (And continuing to log played songs while the history is ostensibly disabled, ie not visible.) Also, dynamic songs in audio streams are not handled yet, I couldn't get that to work for technical reasons.

The whole thing is not thoroughly tested, so take care and speak up if you encounter a problem. This is my first component! Thanks to foosion for creating the 0.9 SDK tutorial, this component is very much derived from it.
Go to the top of the page
+Quote Post
 
Start new topic
Replies
lav-chan
post Mar 27 2006, 23:21
Post #2





Group: Members
Posts: 358
Joined: 6-March 04
From: Iowa
Member No.: 12503



If you add a 'go back in history'/'go forward in history' function that i can set a hot key/button to (like in the old foo_history), you will officially be my hero for all time. I'm serious. I will have your baby. Twins, if you want, i don't mind taking fertility drugs.

This post has been edited by lav-chan: Mar 27 2006, 23:21


--------------------
~
Go to the top of the page
+Quote Post
$ergi0
post Mar 28 2006, 00:39
Post #3





Group: Members
Posts: 47
Joined: 16-February 04
Member No.: 12045



QUOTE (lav-chan @ Mar 27 2006, 02:21 PM)
If you add a 'go back in history'/'go forward in history' function that i can set a hot key/button to (like in the old foo_history)

+1. without this feauture it's useless.
Go to the top of the page
+Quote Post
S.H.Bouwhuis
post Mar 28 2006, 16:21
Post #4





Group: Members
Posts: 15
Joined: 19-March 06
Member No.: 28594



It's brilliant!!!! One request (besides the play back/forward mentioned above) though: please add the songs in reverse order (so the latest is on top).
Go to the top of the page
+Quote Post
moritz-s
post Mar 28 2006, 16:46
Post #5





Group: Members
Posts: 10
Joined: 27-March 06
Member No.: 28895



QUOTE (S.H.Bouwhuis @ Mar 28 2006, 05:21 PM)
One request (besides the play back/forward mentioned above) though: please add the songs in reverse order (so the latest is on top).

That's actually what I had it do first. The downside is that you can't "relive history" by starting from some song and letting it play, you'd get them played in reverse order. (Incidently, songs played from the history playlist aren't added/logged.) Not sure if I'll keep it that way, if I ever have a configuration panel it'll certainly be an option.

As for changing the history playlist title, I hope I can implement that easily without having to figure out how to implement a preferences page. We'll see. I'll have to look at the old foo_history to see how the Forward/Back feature exactly works - fortunately I have a backup install of 0.8.

Thanks for the feedback!
Go to the top of the page
+Quote Post
$ergi0
post Mar 28 2006, 16:57
Post #6





Group: Members
Posts: 47
Joined: 16-February 04
Member No.: 12045



QUOTE (moritz-s @ Mar 28 2006, 07:46 AM)
I'll have to look at the old foo_history to see how the Forward/Back feature exactly works - fortunately I have a backup install of 0.8.

The "history buttons" toolbar is very usefull too
Go to the top of the page
+Quote Post

Posts in this topic
- moritz-s   foo_history   Mar 27 2006, 22:30
- - unabatedshagie   Don't take this the wrong way (at least you ar...   Mar 27 2006, 22:52
|- - mesquite on toast   QUOTE (unabatedshagie @ Mar 27 2006, 01:5...   Apr 6 2006, 03:25
- - moritz-s   I haven't actually seen the old history plugin...   Mar 27 2006, 23:06
- - lav-chan   If you add a 'go back in history'/'go ...   Mar 27 2006, 23:21
|- - $ergi0   QUOTE (lav-chan @ Mar 27 2006, 02:21 PM)...   Mar 28 2006, 00:39
|- - S.H.Bouwhuis   It's brilliant!!!! One request...   Mar 28 2006, 16:21
|- - moritz-s   QUOTE (S.H.Bouwhuis @ Mar 28 2006, 05:21 PM)O...   Mar 28 2006, 16:46
|- - $ergi0   QUOTE (moritz-s @ Mar 28 2006, 07:46 AM)...   Mar 28 2006, 16:57
- - Quiark   This is great ! I like these dynamic playlists...   Mar 28 2006, 16:38
- - fegul   I like it, but yes I wish it added them backwards.   Mar 28 2006, 17:02
- - The Dude   I too would be for the back and forth buttons. Tha...   Mar 29 2006, 06:00
- - randal1013   i still primarily use .83, and i really, really wi...   Mar 29 2006, 06:34
|- - kaiwei   I hope there will be a panel version too for the s...   Mar 29 2006, 08:03
|- - S.H.Bouwhuis   QUOTE (randal1013 @ Mar 29 2006, 07:34 AM)i s...   Mar 29 2006, 12:49
|- - $ergi0   QUOTE 1. Perhaps there could be a setting for how ...   Mar 29 2006, 14:09
- - Zootropo   QUOTE (unabatedshagie @ Mar 27 2006, 10:52 PM...   Mar 29 2006, 12:23
- - moritz-s   Hey guys, just wanted to let you know that I'm...   Mar 29 2006, 12:49
|- - foosion   QUOTE (moritz-s @ Mar 29 2006, 12:49 PM)...   Mar 29 2006, 13:59
- - moritz-s   Hey guys, for some reason the forums failed to no...   Mar 31 2006, 01:05
|- - $ergi0   QUOTE (moritz-s @ Mar 30 2006, 04:05 PM)...   Mar 31 2006, 01:28
- - Funkstar De Luxe   crashed first time I ran. Now doesn't do anyt...   Mar 31 2006, 01:14
- - moritz-s   Ooops. Huh. Guess I better check that out. (Needle...   Mar 31 2006, 01:16
- - Funkstar De Luxe   CODEIllegal operation: Code: C0000005h, fl...   Mar 31 2006, 01:22
- - moritz-s   Okay, bear with me here. I found a reproducible cr...   Mar 31 2006, 02:12
- - foosion   That sounds like uninitialised variables to me.   Mar 31 2006, 09:37
|- - moritz-s   QUOTE (foosion @ Mar 31 2006, 10:37 AM)That s...   Mar 31 2006, 11:04
|- - $ergi0   QUOTE (moritz-s @ Mar 31 2006, 02:04 AM)...   Mar 31 2006, 11:26
|- - Funkstar De Luxe   QUOTE ($ergi0 @ Mar 31 2006, 10:26 AM)QU...   Mar 31 2006, 17:22
|- - $ergi0   QUOTE (Funkstar De Luxe @ Mar 31 2006, 08:22 ...   Mar 31 2006, 17:37
- - moritz-s   Right. There will be a setting for this and other ...   Mar 31 2006, 20:57
- - gfngfgf   Howdy. I just downloaded this plugin to try it ou...   Apr 3 2006, 00:04
- - moritz-s   Hmm. I can't reproduce the crash... I looked a...   Apr 3 2006, 00:44
|- - gfngfgf   QUOTE (moritz-s @ Apr 2 2006, 04:44 PM)S...   Apr 3 2006, 05:19
|- - $ergi0   any updates?   Jul 3 2006, 20:41
- - OCedHrt   Query: last_played IS * Sort format: last_played ...   Apr 20 2006, 09:10
|- - mesquite on toast   QUOTE (OCedHrt @ Apr 20 2006, 12:10 AM) Q...   Apr 21 2006, 08:28
|- - Skates   QUOTE (OCedHrt @ Apr 20 2006, 03:10) Quer...   Jun 3 2006, 22:35
|- - bonduel   QUOTE (Skates @ Jun 3 2006, 22:35) QUOTE ...   Jul 3 2006, 21:54
- - randal1013   is there another update planned? it'd be nice...   May 1 2006, 07:51
- - S.H.Bouwhuis   I would really like it if the history was always k...   May 4 2006, 15:02
|- - randal1013   QUOTE (S.H.Bouwhuis @ May 4 2006, 10:02 A...   May 4 2006, 16:15
- - Shapeshifter   I'd like to know how the plugin is coming, is ...   Jul 9 2006, 21:44
- - Funkstar De Luxe   I'd also very much like this plug-in updated.....   Jul 19 2006, 19:22
- - FrDelefortrie   You can try foo_navigator which is basically the s...   Jul 19 2006, 19:25
- - Funkstar De Luxe   I will do, thanks very much   Jul 20 2006, 20:41
- - Shapeshifter   I would encourage all the people who don't fin...   Aug 21 2006, 13:41
|- - cuotos   QUOTE (Shapeshifter @ Aug 21 2006, 12:41)...   Aug 22 2006, 10:34
- - Hamlet55   As I just started to use foobar2k I installed a fe...   Feb 20 2007, 12:01
- - ereshkigal   Errm, this is the plugin to add a history to fb2k ...   Nov 30 2008, 00:29


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: 27th August 2014 - 21:18