INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: [Solved] Next / Previous buttons skip to next chapter, not tracks.  (Read 4919 times)

pr1me

  • Recent member
  • *
  • Posts: 26

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


Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Next / Previous buttons with video files.
« Reply #1 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.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Next / Previous buttons with video files.
« Reply #2 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".
Logged
Matt Ashland, JRiver Media Center

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: Next / Previous buttons with video files.
« Reply #3 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.
Logged

pr1me

  • Recent member
  • *
  • Posts: 26
Re: Next / Previous buttons with video files.
« Reply #4 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)?


Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Next / Previous buttons with video files.
« Reply #5 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!
Logged
Matt Ashland, JRiver Media Center

pr1me

  • Recent member
  • *
  • Posts: 26
Re: Next / Previous buttons with video files.
« Reply #6 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!



This is a good start  ;D

Thanks.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Next / Previous buttons with video files.
« Reply #7 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!
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Next / Previous buttons with video files.
« Reply #8 on: January 08, 2016, 06:00:33 am »

I updated the wiki.
Logged
Matt Ashland, JRiver Media Center

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10935
Re: Next / Previous buttons with video files.
« Reply #9 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.
Logged
~ nevcairiel
~ Author of LAV Filters

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: Next / Previous buttons with video files.
« Reply #10 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.
Logged

pr1me

  • Recent member
  • *
  • Posts: 26
Re: Next / Previous buttons with video files.
« Reply #11 on: January 08, 2016, 08:54:19 am »



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.
Logged

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4887
Re: Next / Previous buttons with video files.
« Reply #12 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.
Logged
Pages: [1]   Go Up