Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_skipcount (discussion) (Read 888 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_skipcount (discussion)

Skip Counter
foo_skipcount Upload thread


This was made for my personal use as I've wanted to keep track of this for a long time to help curate playlists and understand what I like and don't like of my current music. This is my first fb2k component and first I've really touched C++ in a decade or so and it took me about a week to complete. Let me know if there are improvements, optimizations, or features you'd like to see. Source code is attached in the other thread.

Targets version 80, so it works with 1.5/1.6/2.0 x86 and x64.

Current version: 1.1.0

Features:

    Custom column in playlists: Use the pattern %skip_count%
    Context menu available to reset the skip counter on tracks.
    Settings (Under Tools) to modify which actions cause skips to count, how long the track needs to play before a skip does not count, and if you want skips to count if you do the action from a paused or stopped state.

Re: foo_skipcount (discussion)

Reply #1
Thank you! Something like this has been asked many times.

I think a variable storing dates could be handy.
https://hydrogenaud.io/index.php/topic,115227.0.html

%skip_times_js% - JS timestamp list: [1344117517000, 1355172047000, 1514957893431]
%skip_times_raw% - raw foobar timestamps: [129885911170000000, 129996456470000000, 131594314934316754]
%last_skipped% - Single date: "2018-04-04 15:58:37

The array of times for scripting with JS or SMP.
Last skipped could be used to create really interesting playlists (like "add a track only if it was not skipped this week").

Re: foo_skipcount (discussion)

Reply #2
I will add that, I built this referencing a lot off of foo_enhanced_playcount and I wasn't sure it was within my ability at the time. Now that I have the base of it completed, it should be less daunting and I certainly see utility in including those.

Re: foo_skipcount (discussion)

Reply #3
I think there is a conflict with foo_skip as that also uses %skip_count%:
https://www.foobar2000.org/components/view/foo_skip/release/1.27

Not sure what is the right solution here, perhaps a user configurable name for the tag used? Or just renaming it to %skip_counter% by default?

Or perhaps foo_skip's developer can add an option to not populate the same field as it's not strictly necessary for that component to function (asked there too).
https://hydrogenaud.io/index.php/topic,30361.msg1032711.html#msg1032711

Otherwise thanks for the component, looks very promising.


Re: foo_skipcount (discussion)

Reply #5
Alright, got the new version all set. I saw that Case changed the field name on f00_skip. I tried to implement a custom set field name, and although it worked, it required a restart as I couldn't get it to update otherwise, so it is fortunate that I do not need it. Let me know if there are any crashes/bugs.

Re: foo_skipcount (discussion)

Reply #6
Seems to work well now that the field name conflict is resolved.

Re: foo_skipcount (discussion)

Reply #7
Updated to 1.9. Upload topic post with full changelog

Note that the settings for logging skips was modified to a dropdown list and likely needs to be re-applied. Added a grace timer for each action so at the very beginning of the track it is possible to now count a skip. Added context menu to clear all but the most recent skip.

Re: foo_skipcount (discussion)

Reply #8
Plaese change component version.

Skip count  1.7.0  foo_skipcount (2023-09-23)

SHURE SRH1840, SENNHEISER HD660S, Beyerdynamic DT 1990 PRO, HIFIMAN HE5se, Ultrasone Performance 880, AKG K712 PRO, SONY MDR-1AM2, Bowers & Wilkins P7 Mobile Hi-Fi, Bose QuietComfort 45, SONY WH-1000XM3 (made a Upgrade/Balanced Cable by myself) Shall I write more?


Re: foo_skipcount (discussion)

Reply #10
Thanks.

Reply #3 Corrected 1.9.0 component file
https://hydrogenaud.io/index.php/topic,124742.msg1033162.html#msg1033162
SHURE SRH1840, SENNHEISER HD660S, Beyerdynamic DT 1990 PRO, HIFIMAN HE5se, Ultrasone Performance 880, AKG K712 PRO, SONY MDR-1AM2, Bowers & Wilkins P7 Mobile Hi-Fi, Bose QuietComfort 45, SONY WH-1000XM3 (made a Upgrade/Balanced Cable by myself) Shall I write more?