HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: Kent Wang on 2006-08-30 10:17:01

Title: Automatically seek to position in track in order to skip intros?
Post by: Kent Wang on 2006-08-30 10:17:01
It's annoying to play back tracks that have intros. What would be cool is if you could specify a tag with the time stamp of the end of the intro so when it's played it'll skip to that position. Maybe there's a plug-in that can do this? If not, there should be. It'd be very simple to code.
Title: Automatically seek to position in track in order to skip intros?
Post by: Infernus on 2006-08-30 11:02:22
I think such a plugin isn't available yet, but a workaround would do the same:

create a cue-sheet for that track with intro/track position
skip intro with foo_skip component

that will do the job also
Title: Automatically seek to position in track in order to skip intros?
Post by: ...Just Elliott on 2006-08-30 13:04:44
Doesn't that defeat the point of having an introduction in a song?
Title: Automatically seek to position in track in order to skip intros?
Post by: randal1013 on 2006-08-30 16:24:49
you could bind a global hotkey that seeks ahead X time.
Title: Automatically seek to position in track in order to skip intros?
Post by: Infernus on 2006-08-30 16:41:14
Let me write some additional informations about the foo_skip component. As far I remember foo_skip tries to write a new tag "skip" to file - but you won't be able to write a tag into cues! (except some rare rem-comments)
So you have to do another trick:
install also the foo_custominfo component and add a new custom entry:
Code: [Select]
Display Name: Custom Info/Skip/Skip Track
Field Name: SKIP
Value: 1

and a second one:

Display Name: Custom Info/Skip/Remove Skip
Field Name: SKIP
Value: 0
or
Value:
("null" + activate option: instead of writing an empty value, remove fields)

Via context menu/or two buttons you can now set/remove skips also to cued-tracks.

Cue file could look for example:
Code: [Select]
PERFORMER "Liquid Phase"
TITLE "Africa"
FILE "01-liquid_phase_-_africa.mp3" MP3
  TRACK 01 AUDIO
    TITLE "Electro Feelings Pt.1 INTRO"
    PERFORMER "Liquid Phase"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Electro Feelings Pt.1 SONG"
    PERFORMER "Liquid Phase"
    INDEX 01 00:25:12
Title: Automatically seek to position in track in order to skip intros?
Post by: Kent Wang on 2006-09-11 05:02:51
I think such a plugin isn't available yet, but a workaround would do the same:

create a cue-sheet for that track with intro/track position
skip intro with foo_skip component

that will do the job also


Good thinking. This is the most realistic solution so far, though the problem is that I have to display multiple entries in the playlist for each part of each song, which is not perfect. I might go this route anyway, though. Thanks.

Doesn't that defeat the point of having an introduction in a song?


By 'intro' I mean usually some boring skit that you don't want to hear every time you play the song.

you could bind a global hotkey that seeks ahead X time.


Not perfect. Every intro is of different length. Also, this requires that I hit that button every time. I want the intros skipped automatically.
Title: Automatically seek to position in track in order to skip intros?
Post by: rouge on 2006-09-11 05:07:49
I thought of this and requested it awhile back.  Some intros really annoy me.  I think it would really easy to add tags for START and STOP and use them during playback.
Title: Automatically seek to position in track in order to skip intros?
Post by: ...Just Elliott on 2006-09-11 10:49:53
By 'intro' I mean usually some boring skit that you don't want to hear every time you play the song.

After purchasing Frances the Mute (which I have posted about the horrible clipping on </ot>) there's a song with 4 minutes of chirping at the start, and I listen to that.

But yeah, I suppose so.
Title: Automatically seek to position in track in order to skip intros?
Post by: MusX on 2009-05-19 15:43:56
still no such plugin?
Title: Automatically seek to position in track in order to skip intros?
Post by: foorious on 2009-05-19 21:28:34
I second this. The ability to start (and to end) a given track at a precise given time is something that has been present in players like iTunes for several years now (iTunes lets you manually set a start time and an end time for every track). Quite useful IMHO. Why couldn't foobar do the same ?
Title: Automatically seek to position in track in order to skip intros?
Post by: dhromed on 2009-05-20 21:00:14
I third this.

The Qotsa album Songs For The Deaf has tons of radio banter that's funny at first, but after a third time you really don't want to hear it anymore.

Cuesheeting is a reasonable alternative, though.
Title: Automatically seek to position in track in order to skip intros?
Post by: Kent Wang on 2013-01-06 05:30:43
Any update on this?
Title: Automatically seek to position in track in order to skip intros?
Post by: db1989 on 2013-01-06 05:51:09
I believe you can set all songs to start/end at defined points using foo_seek (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Seek_%28foo_seek%29)’s Loop mode. If you want per-track control, perhaps you can define individual starting points for particular tracks using Dynamic DSP (http://www.hydrogenaudio.org/forums/index.php?showtopic=96094). I guess it’s worth a try, anyway.
Title: Automatically seek to position in track in order to skip intros?
Post by: romor on 2013-01-06 06:46:53
One possibility is by using Biography View component

You can set i.e. %seek% tag in your offending track, with value from one of available menu commands in "Playback > Seek" (you'll need to shift click the menu to see it)

Then just add this command as external script in Biography View preferences:

Code: [Select]
$if(%seek%,"C:\Program Files\foobar2000\foobar2000.exe" /command:"Ahead by %seek%")


For example if I set %seek% tag to "30 seconds", track skips for 30 seconds after start.
Title: Automatically seek to position in track in order to skip intros?
Post by: q-stankovic on 2013-01-06 07:37:51
For defining individual starting points the best and origin component is foo_skip

http://www.foobar2000.org/components/tag/skip (http://www.foobar2000.org/components/tag/skip)