INTERACT FORUM

More => Old Versions => JRiver Media Center 21 for Windows => Topic started by: pr1me on January 07, 2016, 04:20:45 pm

Title: [Solved] Next / Previous buttons skip to next chapter, not tracks.
Post by: pr1me on January 07, 2016, 04:20:45 pm
Hello,

when playing video files, the Next and Previous buttons doesn't skip to the next/previous file.
Instead, it just fast forward to a point in the same file (it basically act as "Jump to" in the context menu)

With audio file however, it works as intended, "next" skip to the next track (same for "previous")

How do i get this back to normal?  ;D

(Media Center 21.0.23)

Thanks


Title: Re: Next / Previous buttons with video files.
Post by: Matt on January 07, 2016, 04:25:30 pm
I can't reproduce this.

Next always jumps to the next file for me, and previous jumps to the beginning and then the previous file a second push.
Title: Re: Next / Previous buttons with video files.
Post by: Matt on January 07, 2016, 04:26:58 pm
And just for the record, you can configure the previous button here:
Options > General > Previous button

To be either "CD player style" or "Previous track always".
Title: Re: Next / Previous buttons with video files.
Post by: blgentry on January 07, 2016, 04:40:15 pm
What the OP is describing is this:

When playing a video file, Next and Previous skip to chapter markers within the file.  It won't skip to the next video as long as the current video has chapter markers.

I just did 5 minutes of research and I can't seem to find an alternative core command that will skip the next item in playing now no matter what.  Does someone know the right command for this?

Brian.
Title: Re: Next / Previous buttons with video files.
Post by: pr1me on January 07, 2016, 05:02:47 pm
What the OP is describing is this:

When playing a video file, Next and Previous skip to chapter markers within the file.  It won't skip to the next video as long as the current video has chapter markers.

I just did 5 minutes of research and I can't seem to find an alternative core command that will skip the next item in playing now no matter what.  Does someone know the right command for this?

Brian.

This is the problem!
I hope someone can fix this, it's brutally annoying.
"Problem" is a subjective word (maybe everyone else is happy with this behavior.)

I don't care much about the JRiver UI buttons myself as i have everything mapped to my controller and that's the only thing i use. (Right now i have "10003   MCC_NEXT" and "10004   MCC_PREVIOUS" mapped).
I wouldn't request to change the UI buttons behavior as that would mess with other users (seems like nobody asked about this before, i guess everyone likes it)

How much time/work would it take to add a different command line number and force next/previous to work on any file (so we could at least have a workaround)?


Title: Re: Next / Previous buttons with video files.
Post by: Matt on January 07, 2016, 09:28:57 pm
I'm thinking about it.  Not sure if anything good will come from the thinking or not, but at least it's a start!
Title: Re: Next / Previous buttons with video files.
Post by: pr1me on January 08, 2016, 12:45:19 am
I'm thinking about it.  Not sure if anything good will come from the thinking or not, but at least it's a start!

(http://i.giphy.com/3o6UBoDhxVfFm82fCw.gif)

This is a good start  ;D

Thanks.
Title: Re: Next / Previous buttons with video files.
Post by: Matt on January 08, 2016, 05:55:12 am
It's funny because I had it all mapped out in my head how I was going to tackle this.

And looking at the actual code, it's already done!

Just set the flag "2" when passing an MCC_NEXT or MCC_PREVIOUS and that'll make it not skip chapters.

And the comments in our code even describe that:
MCC_NEXT,                                      // [int nFlags (1: bNotActualNext, 2: bNoChapters)]
MCC_PREVIOUS,                                  // [int nFlags (1: reserved, 2: bNoChapters, 4: no seek to beginning)]

I think we need to update the wiki!
Title: Re: Next / Previous buttons with video files.
Post by: Matt on January 08, 2016, 06:00:33 am
I updated the wiki.
Title: Re: Next / Previous buttons with video files.
Post by: Hendrik on January 08, 2016, 06:06:12 am
I think I added those flags a while ago because someone asked.
At least it sounds vaguely familiar.
Title: Re: Next / Previous buttons with video files.
Post by: blgentry on January 08, 2016, 08:29:10 am
Thanks!  I scoured the Wiki article on Core Commands yesterday for quite a while.  It's nice that this is now documented.

I just tested mapping keys with parameter 2 and it works exactly as expected.  Yay!  :)

Brian.
Title: Re: Next / Previous buttons with video files.
Post by: pr1me on January 08, 2016, 08:54:19 am
(http://replygif.net/i/95.gif)

Congrats folks,

JRiver just got better (it was already better, but we just didn't know about it  ;D)
Thanks for updating the wiki.

Cheers.
Title: Re: Next / Previous buttons with video files.
Post by: fitbrit on January 08, 2016, 09:57:15 am
I think I added those flags a while ago because someone asked.
At least it sounds vaguely familiar.

Guilty. At least I think it was me.