Skip to main content
Topic: Request: A Component To Skip Tracks (Read 4768 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Request: A Component To Skip Tracks

Hey, i was wondering if someone "any component/developer could make such a plugin for something that sounds so simple as to skip tracks with a given tag, i.e. %Skip_Track% "or whatever a better tag for it to be called and set to whatever you think makes the most sense, "yes, true, no, etc.." Should work. I am aware of foo_skip it appears to be no longer developed and i think someone could make a better improved version? Anyone up for this? This is a really useful plugin for me at least since i have full albums with some songs i just don't like or never listen too.

Request: A Component To Skip Tracks

Reply #1
The easiest way might be to set that %skip% tag or whatever, and then create an autoplaylist that includes NOT %skip% MISSING in the criteria.

Request: A Component To Skip Tracks

Reply #2
The easiest way might be to set that %skip% tag or whatever, and then create an autoplaylist that includes NOT %skip% MISSING in the criteria.

Yes, i understand that DocBeard. But i want to keep all my songs in the same playlist, in case i do feel like listening to this when i am in the mood, or what not. That is why i used foo_skip. Your idea is good, and i have thought about that already but didn't/don't want to use that unless i have too.

Request: A Component To Skip Tracks

Reply #3
http://www.yail.net/download/foo_skip_1.0.1.zip

Set the tag %skip% with ANY value in the file to skip the track.
It plays the skipped track only if you have selected the track manually or queued the track.

requires vc2008 sp1 lib - you only need it if you can't get the plugin working - http://www.microsoft.com/downloads/details...;displaylang=en
:)

Request: A Component To Skip Tracks

Reply #4
http://www.yail.net/download/foo_skip_1.0.0.zip

Set the tag %skip% with ANY value in the file to skip the track.
It plays the skipped track only if you have selected the track manually or queued the track.

requires vc8 lib.

n0obie4life, thanks a million. Is this Microsoft VisualC8?, here http://www.microsoft.com/downloads/details...;displaylang=en if so is there a way to implement it into the foo_skip? if not that is ok, thanks. *Will this work with Windows Vista?, totally forgot to mention that part.

Request: A Component To Skip Tracks

Reply #5

http://www.yail.net/download/foo_skip_1.0.0.zip

Set the tag %skip% with ANY value in the file to skip the track.
It plays the skipped track only if you have selected the track manually or queued the track.

requires vc8 lib.

n0obie4life, thanks a million. Is this Microsoft VisualC8?, here http://www.microsoft.com/downloads/details...;displaylang=en if so is there a way to implement it into the foo_skip? if not that is ok, thanks.


Well, that's 2005. You wouldn't need the lib if you can run the plugin .

http://www.microsoft.com/downloads/details...;displaylang=en - this is 2008 sp1

I haven't got around to compiling static libraries, I hope to do so soon - facing a lack of time recently. This was already done by me for my own consumption a while back, I just extracted that part of the code out of my project and compiled it with the same project without looking at it again  . (there you go Yirkha )
:)

Request: A Component To Skip Tracks

Reply #6
n0obie4life, thanks again for the link on the newest Microsoft Visual C++ 2008 SP1, i have the old one installed on a newer pc weird lol. I will download and install tomorrow. Thanks for sharing this, and i will get back later tomorrow with results. I imagine it's gonna work just fine  thanks

Request: A Component To Skip Tracks

Reply #7
This was already done by me for my own consumption a while back, I merely copied the file out from my components folder .
Interesting that you say so, considering the DLL was apparently built a few minutes before you posted about it ;??)
Full-quoting makes you scroll past the same junk over and over.

Request: A Component To Skip Tracks

Reply #8
This was already done by me for my own consumption a while back, I merely copied the file out from my components folder .
Interesting that you say so, considering the DLL was apparently built a few minutes before you posted about it ;??)



Well, then let's have the long story, not exactly the same as what I posted, but yeah, I posted a very short summary that probably wasn't too accurate :
I had dumped all my code into one huge plugin, which I made for myself when I had the time to a few months (or weeks..whatever) back. When I saw this topic, I launched VC2008 and simply just extracted that part of the code out and compiled it with the same project without looking at it again. I didn't have the time to figure out how to reconfigure the project to use it on a static library. It was much easier to just extract the necessary code , which was relatively neatly arranged.

(there you go Yirkha, I've edited the post just for you )
:)

Request: A Component To Skip Tracks

Reply #9
I have just tried loading this in the latest foobar beta on windows vista.

Code: [Select]
Failed to load DLL: foo_skip.dll
Reason: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail.


Shame, it's just what I was looking for.

Request: A Component To Skip Tracks

Reply #10
Wow, post editing! <3
(That's why I always quote the important part and save it in my reply for future mankind.)

Honestly, I wanted to write about "Skip Track called" spam in console each time playback is started, regardless of the SKIP tag. Or why isn't the track skipped when it's selected in the active playlist - if it's perhaps a hack to be able to play it explicitely when needed - but then, why checking selection with O(n) complexity rather than focus.

Nevertheless, in the end, I thought it might be seen only as snarky comments aimed at discouraging component developers, so I decided to STFU and ask just that amiable question instead. Thank you very much for your ample and dignified reply.



unabatedshagie:
Install that VC++ 2008 SP1 redist. package and you should be fine.
Full-quoting makes you scroll past the same junk over and over.

Request: A Component To Skip Tracks

Reply #11
Wow, post editing! <3
(That's why I always quote the important part and save it in my reply for future mankind.)

Honestly, I wanted to write about "Skip Track called" spam in console each time playback is started, regardless of the SKIP tag. Or why isn't the track skipped when it's selected in the active playlist - if it's perhaps a hack to be able to play it explicitely when needed - but then, why checking selection with O(n) complexity rather than focus.

Nevertheless, in the end, I thought it might be seen only as snarky comments aimed at discouraging component developers, so I decided to STFU and ask just that amiable question instead. Thank you very much for your ample and dignified reply.


Well, didn't you want me to do that to clear things up on seemingly minor details that I doubt anyone cares about  ~
Or did you not? ~ Well, the summary was horrible on my part since it was more than just copying the dll out of my components folder, but it was short enough for me.

I'll remove the console prints. Give me a minute - like I said, I just copied it and I didn't bother to modify it, I don't really care about console spam myself, and I forgot to remove the console prints . As for the other one, when you select the item that is skipped, wouldn't you want to play it? :s~ Or is there a way to determine if the user actually doubleclicked and wanted to play it? I haven't seen it in the API - but maybe I was just lazy because I did it for myself and it works the way I need it to.

edit: done. changed the url above.
edit2: You make it seem like I shouldn't have posted the plugin with all your comments (probably you're being sacarstic, idk). I would like to know what have I done wrong, or do you wish to make the plugin yourself? I'll be glad if you do, cause I'll remove the links then.
:)

Request: A Component To Skip Tracks

Reply #12
As for the other one, when you select the item that is skipped, wouldn't you want to play it? :s~ Or is there a way to determine if the user actually doubleclicked and wanted to play it?
Yes, the way playback was started is passed to the on_playback_starting() callback using p_command parameter. I think it would be sufficient to set an internal flag when it was playback_control::track_command_settrack - that's the value for direct double-click etc. - and suppress the possible skip during next on_playback_new_track() event.

edit2: You make it seem like I shouldn't have posted the plugin with all that sacarsm. I would like to know what have I done wrong, or do you want to make the plugin yourself then? I'll be glad if you do, cause I'll remove the links then.
No way, creating a public component bears responsibility and I'm trying to avoid that. Keep up the good work and don't let random people on the Internet discourage you, kthx.
Full-quoting makes you scroll past the same junk over and over.

Request: A Component To Skip Tracks

Reply #13
As for the other one, when you select the item that is skipped, wouldn't you want to play it? :s~ Or is there a way to determine if the user actually doubleclicked and wanted to play it?
Yes, the way playback was started is passed to the on_playback_starting() callback using p_command parameter. I think it would be sufficient to set an internal flag when it was playback_control::track_command_settrack - that's the value for direct double-click etc. - and suppress the possible skip during next on_playback_new_track() event.


Thanks for the advice, I'll look at that this coming weekend I hope.
I'm going to have a busy week this week, so I doubt I'll have time.
Meanwhile, it works nicely as it is, so unless there's any critical problems, I doubt I'll bother yet.
:)

Request: A Component To Skip Tracks

Reply #14
Hey n0obie4life i hope you keep updating/managing this plugin for future use. A quote from
Yirkha :
Quote
No way, creating a public component bears responsibility and I'm trying to avoid that. Keep up the good work and don't let random people on the Internet discourage you, kthx.
I agree with that statement. thanks

 

Request: A Component To Skip Tracks

Reply #15
I wanted a component that skips specific tracks too and finally decided to give a try on writing one today. I gave it original name: foo_skip.

It differs from n0obie4life's component by having a configuration setting in Advanced preferences and menu item under Playback to disable it quickly. By default it skips all tracks that have Rating field set to 1.

Request: A Component To Skip Tracks

Reply #16
I wanted a component that skips specific tracks too and finally decided to give a try on writing one today. I gave it original name: foo_skip.

It differs from n0obie4life's component by having a configuration setting in Advanced preferences and menu item under Playback to disable it quickly. By default it skips all tracks that have Rating field set to 1.

Case, thanks for this foo_skip... I like the idea behind this one

 
SimplePortal 1.0.0 RC1 © 2008-2019