INTERACT FORUM

More => Old Versions => JRiver Media Center 22 for Windows => Topic started by: stewart_pk on April 09, 2017, 10:29:33 pm

Title: Video resumption to last played position still does not work
Post by: stewart_pk on April 09, 2017, 10:29:33 pm
I've had this problem for about as long as I can remember. Is anyone else having the same experience?
Title: Re: Video resumption to last played position STILL does not work.
Post by: jmone on April 09, 2017, 10:51:48 pm
I take it you have "Tools--> Options-->General--> Behavior--> Resume playback using bookmarks" set?  I use "Ask" and it works for me.
Title: Re: Video resumption to last played position STILL does not work.
Post by: stewart_pk on April 09, 2017, 11:35:42 pm
I take it you have "Tools--> Options-->General--> Behavior--> Resume playback using bookmarks" set?  I use "Ask" and it works for me.

I'll check, does it work for Blu-ray Full Folder rips and ISO's?
Title: Re: Video resumption to last played position STILL does not work.
Post by: jmone on April 10, 2017, 12:15:18 am
It works for BD Folder Rips (no idea on ISO as I rip all to folders).
Title: Re: Video resumption to last played position STILL does not work.
Post by: stewart_pk on April 10, 2017, 06:49:05 pm
I take it you have "Tools--> Options-->General--> Behavior--> Resume playback using bookmarks" set?  I use "Ask" and it works for me.

I'm yet to test this at home. Why do you have it set to "Ask" as opposed to "Automatic"? Have you found "Automatic" to be unreliable?
Title: Re: Video resumption to last played position STILL does not work.
Post by: marko on April 10, 2017, 07:03:06 pm
Automatic works for me.

Other thoughts...
You may know already, but if you press "Stop" twice when stopping playback, it clears the bookmark.

Could that possibly be happening?
Title: Re: Video resumption to last played position STILL does not work.
Post by: stewart_pk on April 10, 2017, 07:11:05 pm
Automatic works for me.

Other thoughts...
You may know already, but if you press "Stop" twice when stopping playback, it clears the bookmark.

Could that possibly be happening?

Does it work for Bluray Full Folder rips?

And no I did not know about the "Stop" twice functionality; how was I suppose to? :) Thanks for letting me know.
Title: Re: Video resumption to last played position STILL does not work.
Post by: marko on April 10, 2017, 08:34:42 pm
I cannot say about Bluray rips as I don't own any, sorry. Works for all video files in my library, and regular DVD discs in the optical drive.
Title: Re: Video resumption to last played position STILL does not work.
Post by: stewart_pk on April 11, 2017, 11:32:00 pm
OK, I believe I now know what the main problem is. I've been pressing the Back button on my remote when I want to stop playback as opposed to the actual Stop button. This returns me to the same screen in Theater View but does not create a bookmark. It's good to know that I seemingly can now but am hoping the developers can add the same bookmarking functionality to the Back button that the Stop button has?
Title: Re: Video resumption to last played position STILL does not work.
Post by: astromo on April 12, 2017, 02:42:33 am
Does applying 2 steps work?

1. Stop
2. Back
Title: Re: Video resumption to last played position STILL does not work.
Post by: Matt on April 12, 2017, 08:59:06 am
Coming next build:
Changed: Pressing the "Back" button to return to Theater View now saves the bookmark.
Title: Re: Video resumption to last played position STILL does not work.
Post by: stewart_pk on April 12, 2017, 10:16:02 pm
Coming next build:
Changed: Pressing the "Back" button to return to Theater View now saves the bookmark.

Oh thank you!

This certainly one thing (among many) that separates JRiver from the others; the ability of the developers to constantly read user feedback and act on it.
Title: Re: Video resumption to last played position STILL does not work.
Post by: Hendrik on April 13, 2017, 04:47:04 am
The main reason back didn't work is because it doesn't actually stop playback, but it pauses it, so you can go back to where you were instantly.
You can also configure the back button behavior in the settings.
Title: Re: Video resumption to last played position STILL does not work.
Post by: stewart_pk on May 31, 2017, 07:42:31 pm
With the latest version of JRiver this is still a problem for me with bluray FULL DISC rips.
Title: Re: Video resumption to last played position STILL does not work.
Post by: RoderickGI on May 31, 2017, 09:40:34 pm
With the latest version of JRiver this is still a problem for me with bluray FULL DISC rips.

The Bookmark functionality is working for me with full disc Blu-ray rips I have made with DVDfab. I don't rip to ISO files, preferring a full directory structure rip. I only tested a recent "Resident Evil" rip.

NOTE: I was testing on my HTPC, which is my MC Server, as none of my MC Clients have remote controls. Naturally, if trying this on a MC Client, the Client will need to be synchronising tags back to the server, and have time to do that before the Client is closed.

So then I tested on my Client using a keyboard and the Backspace key. Again, everything worked as expected.

I have wanted to test the playback resume function between the Server and Client for a while, so I did that while I was testing Bookmarking. As long as the Client was synchronised with the Server, I could start watching a movie on either the Client or the Server, and continue to watch it from the same point on the other PC. That work whether I paused via Back/Backspace, or Stopped playback on the first PC, then resumed playback on the second PC. Neat.

I synchronised the Client to the Server simply by opening it after stopping/pausing playback on the Server. I synchronised the Client back to the Server manually using the "Sync Change with Library Server" button under Playing Now in Standard View.


The main reason back didn't work is because it doesn't actually stop playback, but it pauses it, so you can go back to where you were instantly.

Whether the Back button pauses playback or not is controlled via the setting "Options > Theatre View > Behaviour > Pause video playback when entering Theatre View". I leave this setting unchecked so that live TV keeps playing in the TV Guide when I jump to the Guide using my remote button. I find it handy to leave it unchecked anyway, so that movies keep playing even when I am in Standard View or Theatre View menus. I can hear that the movie is still playing, and know to press Stop if I wish it to stop playing back, or the Media button (equivalent to Ctrl-3) on my remote to jump back to the movie in full screen. If, for example, I want to check some menu item, and may want to go back to the movie when done. As you have been pressing the Back button on your remote when you want to stop playback Paul, no doubt you have this setting ticked.

Anyway, I ticked this setting to test and everything worked with full disc Blu-ray rips.

In Theatre View, I selected Resident Evil and either pressed OK>Watch, or the Play button on the remote.
Pressing Back pauses the movie and updates the Bookmark. I checked the Bookmark tag via Standard View to be sure.
Pressing Back then Play while the movie was Paused and the movie was still highlighted in Standard or Theatre Views took me back to the movie full screen and playing at the correct location.
Pressing Back, then Stop, then Play (or OK, Watch) while the movie thumbnail was still highlighted started playback at the correct location.
Pressing Back, then navigating menus, then pressing the Media button, or Ctrl-3 if I was in Standard View, resumed playback at the correct location.
Double Stop cleared the Bookmark (although the gap between Stop presses needs to be a lot longer than it used to be. Still works.)

Paul, what steps are you doing to see a failure, how are you observing the failure, and what is in the Bookmark tag for the movie after you see a failure?
Title: Re: Video resumption to last played position STILL does not work.
Post by: stewart_pk on June 02, 2017, 10:22:00 pm
Steps to reproduce the problem.

1) Play blu-ray rip video of movie ABC and then Stop or Go-Back.
2) Play audio file of XYZ.
3) Play blu-ray rip video of movie ABC.

Expected result: Will be prompted to resume or play movie ABC from the beginning.
Actual result: Movie ABC starts from the beginning.

NOTE: If I play movie ABC and then Stop or Go-Back and then play movie ABC before playing something else I will in fact be prompted to resume or play it from the beginning.
Title: Re: Video resumption to last played position STILL does not work.
Post by: RoderickGI on June 03, 2017, 02:43:43 am
Okay, the difference between our two tests were that I didn't play something else in between, and I have "Resume playback using bookmarks" set to automatic.

Playing something in between should make no difference, as the Bookmark tag was being updated. But maybe I'll try that anyway. I'll also have to try the test with resumption set to "Ask".

Are you trying this on a MC Client, or on a MC Server/stand alone PC?
Title: Re: Video resumption to last played position STILL does not work.
Post by: stewart_pk on June 03, 2017, 03:15:19 am
Are you trying this on a MC Client, or on a MC Server/stand alone PC?

All of my JRiver playback is from a stand alone PC.
Thanks for your effort.
Title: Re: Video resumption to last played position STILL does not work.
Post by: stewart_pk on June 07, 2017, 01:54:21 am
So...
Title: Re: Video resumption to last played position STILL does not work.
Post by: CountryBumkin on June 07, 2017, 09:16:55 am
I've been seeing issues with the Resume feature as well.
I didn't know why or when it would not resume (bookmarks are being created) - but thanks to your additional testing, I'll try again and see if playing something else in between is the cause.
Title: Re: Video resumption to last played position STILL does not work.
Post by: Trumpetguy on June 07, 2017, 04:45:38 pm
http://yabb.jriver.com/interact/index.php?topic=110653.0

Another thread on this issue.

Playing local mkvs on my server (local playback), the bookmark rarely work. Often there is a bookmark tag value, it could be a number in the 5x10^5 or something,  and it still starts playing from the start.
Title: Re: Video resumption to last played position STILL does not work.
Post by: JimH on June 07, 2017, 05:06:13 pm
When you stop a movie in the middle, if you press stop once, the bookmark is set and the movie should resume there.  But if you press stop twice, the bookmark will be ignored when you play the movie again.

Pause and stop are different.
Title: Re: Video resumption to last played position STILL does not work.
Post by: RoderickGI on June 07, 2017, 06:30:18 pm
So...

Sorry. I haven't got back to it yet. Not forgotten though.

http://yabb.jriver.com/interact/index.php?topic=110653.0

Another thread on this issue.

I think the key is the synchronisation of the Bookmark tag. If a Client is closed quickly after a Stop, it won't have time to synchronise. If a Client is left on or asleep with MC running all the time, it won't get a refresh of the library from the Server before trying to resume a movie that has just been Stopped on another PC. Even worse if a move is watched and Stopped on say a Family room Client PC, which is then shut down or sleeps and doesn't have time to sync, and then you wake a say bedroom Client PC and try to resume, without giving it the chance to sync first.

Playing local mkvs on my server (local playback), the bookmark rarely work. Often there is a bookmark tag value, it could be a number in the 5x10^5 or something,  and it still starts playing from the start.

I think if it never, or almost never works, then something is wrong specific to your environment. Settings maybe, or something unexpected such as a remote control that sends multiple "Stop" commands at the one press of the Stop button. Some remotes do that, repeat a command. Some are very sensitive to the length of the press. Some have sensitivity adjustments. Checking the Bookmark tag after stopping a movie on the Server should show whether it is being created, or cleared, when the movie is stopped.

Note that I had to refresh the tag window to see if the Bookmark tag had been created or changed during testing, as the display wasn't updated without a refresh. That caught me out at first. I should put the tag on my View to make it easier to see, as you have CountryBumkin.

Also, I found it useful to switch to Standard View after starting the movie, before hitting Stop, so that I could more easily see tag changes. The movie will continue to play in the Display Window in the Action Window area, so you can see where it is up to, and compare with the resume location.

Title: Re: Video resumption to last played position STILL does not work.
Post by: stewart_pk on June 07, 2017, 06:31:41 pm
When you stop a movie in the middle, if you press stop once, the bookmark is set and the movie should resume there.  But if you press stop twice, the bookmark will be ignored when you play the movie again.

Pause and stop are different.

Roger, I think most of us understand that.

What do you think of my test scenario here: https://yabb.jriver.com/interact/index.php/topic,110183.msg766399.html#msg766399 ?

By the way KODI is working fine.
Title: Re: Video resumption to last played position STILL does not work.
Post by: RoderickGI on June 12, 2017, 12:34:44 am
Okay, I did some more testing.

First, I set "Resume playback using bookmarks" to "Ask", and ticked "Pause video playback when entering Theatre View". So I should have the same settings as you Paul.

I tested both the Back key to pause playback, and the Stop button. I played a video, then played some music, then played the original video again. In each case, playing the file again resulted in me being asked if I wanted to resume, and when I said yes, playback resumed in the correct location. Basically everything worked when I was playing media on my HTPC which is the MC Server.


Steps to reproduce the problem.

1) Play blu-ray rip video of movie ABC and then Stop or Go-Back.
2) Play audio file of XYZ.
3) Play blu-ray rip video of movie ABC.

Expected result: Will be prompted to resume or play movie ABC from the beginning.
Actual result: Movie ABC starts from the beginning.

NOTE: If I play movie ABC and then Stop or Go-Back and then play movie ABC before playing something else I will in fact be prompted to resume or play it from the beginning.

Notes:
0. This lot of testing was on my HTPC, which is also a MC Server, rather than just a stand alone PC. That shouldn't make any difference though. Playing stuff directly on the MC Server is the same as playing on a stand alone PC.
1. I used "Big Hero 6" this time, which is a full BD folder rip.
2. I played Jailbreak by AC/DC.  ;D I tried either leaving the music playing so that it was automatically stopped at step 3, or stopping it before moving on to the next step.
3. I did all the testing in Theatre View, but checked the Bookmark status in Standard View.

I always got the expected result. Every time.

BTW Paul if you pause the movie using Backspace, or any other method, then start playing the movie again without playing anything else in-between, as per your "NOTE" above, MC should not be asking you whether you want to resume or not, as that is just a Pause - Play cycle, and the Bookmark will not come into effect. MC won't need to read the Bookmark again, but will just start playing again from where it was last paused. If you Stopped playback, and then restarted it, MC will ask if you wish to resume, and use the Bookmark if you do.


So, bottom line Paul, I can't replicate your problem.

If you do some more testing, check the value of the bookmark after each of your three steps, and when you do, make sure that you refresh the view showing the Bookmark, as sometimes it will not be refreshed as you move between Standard and Theatre Views.



For other users in a Client/Server environment:
When I moved between the MC Server and my MC Client, as expected the synchronisation of the Client with the Server was a critical issue. Either the Client had to be opened (or closed and then re-opened) to force synchronisation, or I had to manually synchronise the Client using the button under Playing Now, or I had to wait an undetermined time for the Client to automatically synchronise with the server.

Pausing or Stopping playback on the Server, then opening the Client, or synchronising the Client which was already open and playing the same movie, worked every time. The functionality worked in the other direction as well, as long as the Client synchronised back to the Server before starting and resuming playback on the Server.

I saw some issues when going back and forth between the Server and the Client, which I won't document, because I think they were all caused by a lack of synchronisation between the two, or the fact the if you pause playback on the Server, resume and play some more movie on the Client, then go back to the Server and un-pause the movie, it doesn't resume from where the Client finished, because it doesn't read the Bookmark when it is simply resuming a paused movie. It just starts playing again. Very minor corner case, and probably a good reason not to use the Backspace = Pause feature in a Client/Server environment.
Title: Re: Video resumption to last played position STILL does not work.
Post by: tzr916 on June 28, 2017, 11:24:50 am
Regarding TV:
I used to NEVER have any issues starting playback on the Server, pressing stop, the "watched" field shows a percentage and date. Then going to a Client, seeing the same watched percentage/date, selecting watch, and the video resumes from the correct bookmark.

Something seems to have changed with recent versions, not sure when it happened. Clients (sometimes) will no longer show the watched percentage/date and playback starts at the beginning, not at the bookmark.

I run the Server and Clients 24/7, no sleep mode used. Until this recent change, I have NEVER had to refresh the client to see the watched percentage and have a working bookmark. It was always just there.

I do know MC Clients have to be restarted to pickup NEW series cover art. Maybe this bookmark issue is just another reason why we need a RESTART MC or REFRESH button in Theaterview.

With MC23 coming.... these are what's on my wish list:

- Add a "button" in Theater View to restart MC (not restart PC).

Title: Re: Video resumption to last played position STILL does not work.
Post by: RoderickGI on June 28, 2017, 07:08:47 pm
Are you sure that it isn't just a timing issue tzr916? It does take a little while for the Bookmark to be synchronised between the Server and Clients. If you have changed your habits a bit, maybe you aren't giving it enough time any more? Or does it never happen now, no matter how long you wait?

BTW, aren't you sticking with MC22.0.76 for now, until the CPU load issue gets sorted out? In which case, recent changes don't matter much.  ;D


The "Add a "button" in Theater View to restart MC (not restart PC)" is easy. I didn't answer last time because I thought you would work it out.

Options > Theatre View > Items to show > Add button, select "External Program" from the list, then fill in the fields as per the attached image. Of course, you probably don't want to put the item at the top level, as I have in the example. This uses the standard MC Command Line option "MC22.exe /restart".

Works for me, with multiple tests. Of course, you need to have MC starting in Theatre View, and probably pick a Location to start in other than "Last Location", so that someone doesn't accidentally keep hitting the restart button.
Title: Re: Video resumption to last played position STILL does not work.
Post by: marko on June 28, 2017, 07:32:37 pm
I kept my restart option off the screen, and just mapped it to a button on the remote control using MC's 'learning' feature.
Title: Re: Video resumption to last played position still does not work
Post by: tzr916 on June 28, 2017, 08:52:08 pm
BTW, aren't you sticking with MC22.0.76 for now, until the CPU load issue gets sorted out? In which case, recent changes don't matter much.  ;D


The "Add a "button" in Theater View to restart MC (not restart PC)" is easy. I didn't answer last time because I thought you would work it out.

Yaobing solved the JRTelevision.dll issue. Been using v22.0.110 for a few days now. New DLL incorporated into v23.0.13 (see version notes).

I guess it could be a timing issue/change of habits because it is only failing to show bookmarks ~50% of the time. I have not been able to figure out how to reproduce/troubleshoot.

Thanks for the info on adding a restart MC button! This will be setup on my clients ASAP.
Title: Re: Video resumption to last played position still does not work
Post by: tzr916 on July 17, 2017, 01:21:40 pm
The restart MC button was easy to setup. Unfortunately, it does not help at all for refreshing client's tv show bookmarks issue.

I just had a show that recorded Friday night. I watched 19% Saturday night on the server. Then Sunday night went to the client and there was no bookmark. Hit the restart MC button, all the new show cover art refreshed, but that show still had no bookmark.

Strangely, bookmarks that get set on the client, show up instantly on the server.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on July 17, 2017, 04:31:18 pm
Weird, because a Client's copy of the library is completely refreshed from the Server on a restart of MC. Unless that is handled differently for that specific command, but I doubt it would be. Haven't tested though.

Have you checked if the bookmark is still on the Server when it doesn't appear on the Client? Maybe an accidental double Stop cleared it?

Does it always happen that way on a Client, or just sometimes, or the one time?
Title: Re: Video resumption to last played position still does not work
Post by: tzr916 on July 17, 2017, 05:11:20 pm
Have you checked if the bookmark is still on the Server when it doesn't appear on the Client? Maybe an accidental double Stop cleared it?

Oh yes, I am making it a point to check the server before going to the client, so I'm 100% sure I'm NOT clearing the bookmark by accident.

It doesn't happen all the time, and I can't figure out a pattern to it yet. The only clue I have right now is that it seems to happen the more often on LONG tv shows. If it's a 1 hour show, bookmarks show up every time. But if it's a 2 or 3 hour show, bookmarks don't show up on the client.


One thing I would like to see changed is, if a show has been watched all the way through, that it be marked 100% watched in stead of clearing the value.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on July 17, 2017, 05:26:55 pm
What about after you have gone to the Client and found no bookmark, have you then gone back and checked the Server to see if it still has the bookmark? Could another Client have synchronised a blank bookmark back to the Server?

On the last point, have a read of this: https://yabb.jriver.com/interact/index.php/topic,85974.5.html

It is a bit old, but may give you some ideas.
Title: Re: Video resumption to last played position still does not work
Post by: tzr916 on August 02, 2017, 08:21:38 pm
Oh yes, I am making it a point to check the server before going to the client, so I'm 100% sure I'm NOT clearing the bookmark by accident...

Mine is solved.... I should learn to never say "100% sure"  :-[  Found someone had programmed my Harmony with a stop command in the shut down activity. Removed from activity. All is well.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on August 03, 2017, 01:56:36 am
Mine is solved.... I should learn to never say "100% sure"  :-[  Found someone had programmed my Harmony with a stop command in the shut down activity. Removed from activity. All is well.

 ;D ;D ;D

It happens to the best of us! Never say 100% sure. Never say never.

You did put that in there for good reason though, if I remember correctly. I guess there will be some more user training at your house.  8)
Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on August 16, 2017, 07:56:51 pm
This is still a problem for me when playing and NOT resuming full bluray folder rips from last playback position, sigh.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on August 16, 2017, 09:51:59 pm
Well I couldn't replicate your problem at all Paul, as you know.

I don't think you ever confirmed for us that you had checked the Bookmark tag after each step in your "Steps to reproduce the problem" list.

So try the following and report waht you find

0) Check the Bookmark tag on a movie. Write it down.
1) Play blu-ray rip video of movie ABC and then Stop or Go-Back.
1a) Check the Bookmark tag on the movie. Write it down.
2) Play audio file of XYZ.
2a) Check the Bookmark tag on the movie. Write it down.
3) Play blu-ray rip video of movie ABC.
3a) Where did the movie start from?

Do the above and report the result of each step, including the Bookmark values.
Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on August 17, 2017, 07:26:52 am
Well I couldn't replicate your problem at all Stewart, as you know.

I don't think you ever confirmed for us that you had checked the Bookmark tag after each step in your "Steps to reproduce the problem" list.

So try the following and report waht you find

0) Check the Bookmark tag on a movie. Write it down.
1) Play blu-ray rip video of movie ABC and then Stop or Go-Back.
1a) Check the Bookmark tag on the movie. Write it down.
2) Play audio file of XYZ.
2a) Check the Bookmark tag on the movie. Write it down.
3) Play blu-ray rip video of movie ABC.
3a) Where did the movie start from?

Do the above and report the result of each step, including the Bookmark values.

Hi, thanks for getting back to me.

After stopping movie the bookmark value was 672413.
After playing random audio file the movie bookmark value was still 672413.
Playing the movie again it started from the very start of the movie without asking me to resume or restart.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on August 21, 2017, 07:17:42 pm
Sorry, I let this one slip a bit.

Since the Bookmark is still in existence for the Blu-ray, resume at the last position should work. I believe it always has for me. I will have to try it with more Blu-ray full folder rips. I have a few to test.

I'm going to do a little more testing later in the day. See what happens to my bookmark for more movies.
Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on August 21, 2017, 11:40:51 pm
Sorry, I let this one slip a bit.

Since the Bookmark is still in existence for the Blu-ray, resume at the last position should work. I believe it always has for me. I will have to try it with more Blu-ray full folder rips. I have a few to test.

I'm going to do a little more testing later in the day. See what happens to my bookmark for more movies.

Hey, no worries. Thanks again for your effort.

I just had what might be a stupid idea but I'm from Australia so consume Region B Blu-Ray discs.
Just wondering if that could have anything to do with it?
I full disc folder rip them with RedFox AnyDVD HD.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on August 22, 2017, 01:21:58 am
I'm an Aussie as well so use Region B or Region Free Blu-rays.

A few questions I thought of;

1. How do you control MC and launch video and audio in MC? Remote Control, Keyboard, Keyboard and Mouse, JRemote or some other remote control software?

2. If you use a Remote Control, what is it? A Harmony, a standard or clone MCE remote, brand, model?

3. What file name is MC showing for the video/movies that give you trouble?
For example, my Blu-rays have a filename like "F:\Movies\Her (2013)\BDMV\index.bluray;1" in the MC library. i.e. MC points to a file in the \BDMV\ sub-directory which called "index.bluray" and doesn't actually exist. MC adds an index to point to "1", which I assume is the first or main feature on the Blu-ray disc. The actual file in that directory is "index.bdmv" and double-clicking on that file plays the movie. Actually so does double-clicking on the "MovieObject.bdmv" file in the \BDMV\ sub-directory.


I know you use a stand-alone PC and not a Client/Server arrangement, that you are viewing and playing video and audio using Theatre View, with the MC set to Pause the video when you hit Back to go back to the Theatre View menu system.
4. Anything else I missed, or unusual about your setup?
Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on August 22, 2017, 06:53:49 pm
1. I typically use an IR remote control. But I just tested it again using my keyboard and the same thing happens.

2. A Logitech Harmony Ultimate One with a clone MCE IR Dongle.

3. The filename appears just like you have an example of.

4. I use LM Remote Keymap for key-mapping.
Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on August 22, 2017, 07:01:41 pm
I seems to be all about playing an AUDIO file in between stopping video and then resumption.
If I play movie A and then stop it, then close JRiver MC, then launch JRiver MC again, then play movie A it works!
If I play movie A and then stop it, then play movie B, then play movie A it works!
Title: Re: Video resumption to last played position still does not work
Post by: JimH on August 22, 2017, 07:06:45 pm
4. I use LM Remote Keymap for key-mapping.
Have you tested with this uninstalled?
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on August 22, 2017, 08:30:21 pm
4. I use LM Remote Keymap for key-mapping.

I almost didn't do any testing when I saw this. I expect it is sending an additional Stop command at some point, which clears the Bookmark.

I decided to test anyway. I used Theatre View only, with my Harmony Remote Control for all commands in the test, but used my keyboard to find media quickly. I had my MC Client running on my Workstation at the same time, and used it to check the Bookmark value at each step. I did three tests with three separate movies combined with three separate music tracks. Results are shown in the attached image. All tests were successful. The Bookmark functionality worked every time, as before.


So, I'm not familiar with LM Remote Keymap, but with a little bit of research, I can see that it is quite capable of recognising the status of a Home Theatre and taking different actions based on that status. Much like the Harmony Remote software. For example, I watched a video where the user had set up his own Home Theatre and was able to switch between watching content on his projector or on his TV, and LM Remote Keymap would know to turn off the projector and turn on the TV, switch inputs, but retain the source he was playing.

As your problem only exist when you switch from playing Audio to playing Movies, I suspect that LM Remote Keymap is recognising that condition and sending a Stop command before it sends a Play command for the movie. The Stop would clear the Bookmark and the movie would start from the beginning every time. As the problem happens whether you use your keyboard or Remote Control, LM Remote Keymap must capture and modify what gets sent to MC regardless of the source. I didn't investigate LM Remote Keymap enough to confirm that though.



LM Remote Keymap has five levels of Trace (http://www.lmgestion.net/@en-us/4-22-60-lm_remote_keymap_faq.htma) in its settings. I suggest you turn on at least level "3 : Trace infos" or level "4 : Trace all (verbose)", and see if a Stop command is being sent.

If that doesn't show anything, you could use MC's log from the just after you stop a movie, through playing audio, until you start the movie again and see if a Stop command is received just before the movie Play command.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on August 22, 2017, 08:38:53 pm
"So for these buttons LM Remote KeyMap is installing a global keyboard hook that intercept all keyboard events (including those coming your regular keyboard or other HID keyboard device) and prevent the events corresponding to the buttons listed above to propagate to all Windows applications. Instead LM Remote KeyMap will issue its own action when you press those buttons on your remote (or the key on your keyboard)."
http://www.lmgestion.net/@en-us/4-22-60-lm_remote_keymap_faq.htma#B_2_4

That explains why the same thing happens using your keyboard or remote.
Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on August 22, 2017, 08:42:47 pm
Have you tested with this uninstalled?

I don't think so. How about I just stop it and then try again?
Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on August 22, 2017, 08:46:19 pm
I almost didn't do any testing when I saw this. I expect it is sending an additional Stop command at some point, which clears the Bookmark.

I decided to test anyway. I used Theatre View only, with my Harmony Remote Control for all commands in the test, but used my keyboard to find media quickly. I had my MC Client running on my Workstation at the same time, and used it to check the Bookmark value at each step. I did three tests with three separate movies combined with three separate music tracks. Results are shown in the attached image. All tests were successful. The Bookmark functionality worked every time, as before.


So, I'm not familiar with LM Remote Keymap, but with a little bit of research, I can see that it is quite capable of recognising the status of a Home Theatre and taking different actions based on that status. Much like the Harmony Remote software. For example, I watched a video where the user had set up his own Home Theatre and was able to switch between watching content on his projector or on his TV, and LM Remote Keymap would know to turn off the projector and turn on the TV, switch inputs, but retain the source he was playing.

As your problem only exist when you switch from playing Audio to playing Movies, I suspect that LM Remote Keymap is recognising that condition and sending a Stop command before it sends a Play command for the movie. The Stop would clear the Bookmark and the movie would start from the beginning every time. As the problem happens whether you use your keyboard or Remote Control, LM Remote Keymap must capture and modify what gets sent to MC regardless of the source. I didn't investigate LM Remote Keymap enough to confirm that though.

LM Remote Keymap has five levels of Trace (http://www.lmgestion.net/@en-us/4-22-60-lm_remote_keymap_faq.htma) in its settings. I suggest you turn on at least level "3 : Trace infos" or level "4 : Trace all (verbose)", and see if a Stop command is being sent.

If that doesn't show anything, you could use MC's log from the just after you stop a movie, through playing audio, until you start the movie again and see if a Stop command is received just before the movie Play command.

Hi again, like I said before a few posts back (#37) the Bookmark value is NOT being cleared.
Title: Re: Video resumption to last played position still does not work
Post by: JimH on August 22, 2017, 09:20:15 pm
I don't think so. How about I just stop it and then try again?
Disabling a program isn't the same as uninstalling it, but there's no harm in disabling it first, and then uninstalling.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on August 22, 2017, 09:29:10 pm
Hi again, like I said before a few posts back (#37) the Bookmark value is NOT being cleared.

No, you didn't. What you said was;

Hi, thanks for getting back to me.

After stopping movie the bookmark value was 672413.
After playing random audio file the movie bookmark value was still 672413.
Playing the movie again it started from the very start of the movie without asking me to resume or restart.

What I'm saying now is that the Bookmark is being cleared after you stop playing the audio, but not immediately. Only just before you start playing the movie. Something like selecting Play using any of the methods possible (Play, OK buttons, Keyboard Enter, etc.) issues a "Stop, Play" command sequence.

If you do a test where you play the movie, stop it, play the audio, play the movie again and it starts from the beginning, then;
Press Ctrl-1 on your keyboard to go to Standard View. The movie should keep playing in the Action Window area.
Use Standard View to find the movie.
Use the Tag Window, or add the Bookmark column to a View, and check the Bookmark value. I think it will be cleared.

When you follow the above sequence the movie shouldn't be Paused and so the Bookmark value won't be saved. If it is empty now, then something is clearing the Bookmark, and LM Remote Keymap is the likely culprit.

So, check the LM Remote Keymap logs as I suggested,

or, check the MC logs as I suggested,

or, disable LM Remote Keymap and test (it has a disable function Jim, which should stop it interfering, may require a reboot or Administrator privileges to do),

or, uninstall LM Remote Keymap as Jim suggested and test.

Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on August 22, 2017, 10:02:55 pm
I will stop LM Remote Keymap and try again. If that doesn't work I will uninstall it, restart my computer and try again.
Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on August 23, 2017, 05:41:31 am
Test with LM Remote Keymap stopped == FALSE. //Failed.
Test with LM Remote Keymap unistalled == FALSE. //Failed.

And to stop playback each time I used the mouse to hover up to the stop button and then left mouse clicked it.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on August 23, 2017, 06:27:26 am
Try the test sequence I posted here:
If you do a test where you play the movie, stop it, play the audio, play the movie again and it starts from the beginning, then;
Press Ctrl-1 on your keyboard to go to Standard View. The movie should keep playing in the Action Window area.
Use Standard View to find the movie.
Use the Tag Window, or add the Bookmark column to a View, and check the Bookmark value. I think it will be cleared.

When you follow the above sequence the movie shouldn't be Paused and so the Bookmark value won't be saved. If it is empty now, then something is clearing the Bookmark,

If that shows the bookmark is blank, try capturing what is happening in a MC log.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on August 29, 2017, 09:36:09 pm
So it has been a week, more or less. Any feedback?
Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on August 29, 2017, 10:46:14 pm
So it has been a week, more or less. Any feedback?

I needed a rest; while this software is still my favourite by far it can be quite draining at times.
Especially when KODI just works with the core basics you'd expect from a media player.
I'll get back to you soon.
Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on August 30, 2017, 05:03:48 am
So it has been a week, more or less. Any feedback?

OK mate, I enabled logging and had it running while going through the motions.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on August 30, 2017, 10:01:11 pm
Okay, I found an issue that doesn't exist in a similar log I made. This issue would cause Playback Resume to fail.

However our settings are obviously a bit different, and so are our files. You seem to be using a temporary copy of the Blu-ray that hasn't had audio analysis done, for example. I don't think that sort of thing is the issue, but in order to confirm the cause could you make another log using the same method with a movie file format where Playback Resume actually works? I believe you said this is only a problem with Blu-ray full folder rips, and not with other movie file formats, correct?

Sorry to give you more work, but I think we are close.
Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on August 30, 2017, 10:18:34 pm
Okay, I found an issue that doesn't exist in a similar log I made. This issue would cause Playback Resume to fail.

However our settings are obviously a bit different, and so are our files. You seem to be using a temporary copy of the Blu-ray that hasn't had audio analysis done, for example. I don't think that sort of thing is the issue, but in order to confirm the cause could you make another log using the same method with a movie file format where Playback Resume actually works? I believe you said this is only a problem with Blu-ray full folder rips, and not with other movie file formats, correct?

Sorry to give you more work, but I think we are close.

I don't allow audio analysis of my Video files. The log was created from playing a Blu-ray full folder rip. I very rarely play anything else.
Like I said before to make it NOT work like in the log I provided, I played an audio (flac) file in between the two playback sessions of the Blu-ray full folder rip.
To make it work I will NOT play an audio (flac) file between the two playback sessions of the Blu-ray full folder rip.
I'll get the log to you soon.
Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on September 01, 2017, 07:55:58 pm
And here is log file of when resumption of playing a Blu-ray Full Disc rip does work.
Note, this time there was no playback of an audio file in between stopping and starting again.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on September 03, 2017, 09:17:25 pm
Thanks for the second log Paul.

I asked for that because I saw something I don't see in my installation, and I thought it was the problem. Every time you start playback of an Audio or Video file, four STOP commands are executed, immediately prior to the playback start. Within milliseconds. As you have said that the problem occurs when you use your keyboard to remote, I knew the remote couldn't be sending repeats. It was too fast anyway. It had to be MC, and I thought the multiple STOPs were clearing the Bookmark.

The second log showed that is not the case. What is missing in the first log is a save of the Bookmark after the movie is first played. For some reason, in your environment and setup, MC does not save the Bookmark if you play an Audio track after stopping a movie, just as you said. It just forgets to do it. It would still be interesting to see if the same thing happens with an MP4, MKV, or some format other than a full folder rip of a Blu-ray. I suspect it would happen then as well, or if it doesn't, then such a test may narrow the known conditions under which the problem happens.

I don't know enough about the internal workings of MC, or how to read all the details of the logs, to work out why. But I think you have a real, although unusual, case for JRiver to look at the problem.

It is what people call a "Corner Case" I'm sure, but I wouldn't be surprised if it happens to other people who just don't notice, or don't speak up about it. Your case may even be an indicator of a broader problem with Bookmark saving. Or just a very special case. i.e. Bookmarks aren't saved for Audio tracks, so when there is a pending Video Bookmark save, and an Audio track starts playing, MC says "Oh, I don't save Bookmarks for Audio tracks" and discards the planned save. It may even affect other tag saves in similar circumstances.

I have included a summary of your two logs below so you can see what I found. Hopefully, someone from JRiver will use your two logs to work out the cause and fix the problem. Or if I am completely wrong, tell us what is happening. I'm convinced there is enough evidence to look into it.



20170830 Log Summary.

Reset Log and started logging. Version MC23.0.41.
Navigated to the movie "Bad Santa 2".
At 18.954 seconds four STOP commands were issued and completed within 246 milliseconds.
At 19.188 seconds playback of "Bad Santa 2" is started, immediately after the fourth STOP. The Bookmark was empty, as expected.
There was some seeking around the movie, the last to about 10 minutes, then playback for about 5 seconds.
At 33.829 seconds a normal, single STOP command is issued, also including "Updating playback state" and "Applying database changes", so the movie Bookmark is set.
Then there is navigation to the Audio section and "Abbath" is selected.
At 45.969 seconds four STOP commands were issued and completed within 246 milliseconds.
At 46.188 seconds playback of "Abbath - Abbath - 01 To War!.flac" is started, immediately after the fourth STOP.
At 59.016 seconds a normal, single STOP command is issued.
Navigated to movie "Bad Santa 2" again.
At 74.329 seconds four STOP commands were issued and completed within 234 milliseconds.
At 74.563 seconds playback of "Bad Santa 2" is started, immediately after the fourth STOP. The movie Bookmark was empty, which was not expected, but perhaps explained by the four STOPs above.
At 85.625 seconds a normal, single STOP command is issued, also including "Updating playback state" and "Applying database changes", so the movie Bookmark is set.
At 107.750 seconds the updated Bookmark is saved to the library.
At 107.954 seconds logging finished.

20170902 Log Summary.

Log file starts at 9.828 seconds.
Navigate to the movie "Snatched".
At 17.031 seconds four STOP commands were issued and completed within 234 milliseconds.
At 17.265 seconds playback of "Snatched" is started, immediately after the fourth STOP. The Bookmark was empty, as expected.
There was some seeking around the movie, the last to about 10.5 minutes, then playback for about 5 seconds.
At 30.094 seconds the updated Bookmark is saved to the library.
At 30.312 seconds a normal, single STOP command is issued, also including "Updating playback state" and "Applying database changes", so the movie Bookmark is set.
At 34.031 seconds four STOP commands were issued and completed within 234 milliseconds.
At 34.265 seconds playback of "Snatched" is started, immediately after the fourth STOP. The Bookmark has a value of 646621ms, or a bit over 10.75 minutes. Which is correct.
At 44.094 seconds a normal, single STOP command is issued, also including "Updating playback state" and "Applying database changes", so the movie Bookmark is set.
At 50.969 seconds the updated Bookmark is saved to the library.
At 51.172 seconds logging finished.


Notes:
All STOP command sequences include the messages "Updating playback state" and "Applying database changes". It is not clear to me for which records updates are occuring, except when it is a single STOP which actually stops playback of a file.
Multiple STOP commands would normally clear the Bookmark, but didn't in the second log, when the second play of the movie started. It looks like because playback of the movie hadn't started yet, the multiple STOPs didn't apply to the movie.
I'm assuming now that you have four Zones set up in MC, and each Zone is receiving a STOP command before playback of a new file is started. Ah yes, the Default (Player), IPC (WDM), Audio, and ASIO In Zones.
Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on September 03, 2017, 10:59:37 pm
Thanks again for your efforts Roderick. How many Zones do you have configured in JRiver MC?
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on September 03, 2017, 11:45:05 pm
No problem Paul.

On my HTPC I only have the one Zone, the default "Player" Zone, plus one or more automatic Zones created by having a DLNA Renderer on my network, usually just my Sony TV. I've deleted other Zones for Audio and Video playback I had on the HTPC some time ago. One day I will get around to setting up the WDM again and will have an IPC Zone.

My Workstation has more Zones, but I didn't test there.

I think that explains the lack of additional STOPs in my logs. Three of the additional STOPs in your logs identify the Zone they apply to. The one that doesn't would be the default Zone.
Title: Re: Video resumption to last played position still does not work
Post by: marko on September 04, 2017, 12:19:12 am
Morning RoderickGI, stewart_pk...

Here's a thing I learned recently, that's causing the opposite to happen for me, i.e., a second press of the Stop button is no longer clearing the bookmark, and as the 'feature' that is supposed to reset the movie to the start if you press stop without watching the 10 minutes of credits isn't working for me, I had kind of come to rely on that second press of 'Stop'...

Which leaves me with a "Daddy or Chips (https://www.youtube.com/watch?v=aHA4-5N5AzA)" decision to make...

What did I do?
Well, I only have a pair of stereo speakers attached to the onboard audio-out of the HTPC. I have been struggling with an issue where, when watching movies, all the music is deafening, while the speech is barely audible, for years. I still struggle with it.

I have got it to the best place I can at the moment by using zone-switch to play movies in the 'Movies' zone, where I've messed with the equaliser to try and bring the spoken dialogue up a bit, and the music down a lot. The zone-switch is simple... if it's a movie, play in the movie zone, otherwise, play in the default zone.

However, this was messing with play doctor playlists in theater view, because zone-switch doesn't work with Play Doctor lists, meaning that if 'Movies' was the last zone used, the play doctor list would start in there, and sound absolutely awful!

That is what I fixed, by setting "Tools > Options > Theater View > Advanced > Switch to zone on load" to the default 'Player' zone.
Now, whenever a movie is stopped, display view closes, and the last used theater view screen loads, and the zone switches back to 'Player'.
The second press of the stop button is firing in the wrong zone, and the bookmark doesn't clear. It does save though.

I know it's the opposite of what you guys are chasing, but, I couldn't help think of you both when all of this dawned on me here...

Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on September 04, 2017, 01:20:06 am
There could certainly be something to that Marko. It could be the Zoneswitch rules that are creating the additional STOP commands. Paul has a couple of extra Zones by the look of it that don't receive STOP commands, "WASAPI Loopbak" and "Video", and it looks like the "Video" Zone is the default Zone, if that is what "id: 0" means.

So maybe switching Zones is preventing the movie Bookmark from being saved? But it shouldn't. Particularly if it is only happening with full folder Blu-ray rips.


This is from the first log, in which Video, then Audio, then Video was played, and the Bookmark didn't work.

Reset Log and started logging. Version MC23.0.41.
Navigated to the movie "Bad Santa 2".
At 18.954 seconds four STOP commands were issued and completed within 246 milliseconds.
   Line 441:   0019032:   7572: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: IPC (id: 10005)
   Line 463:   0019079:   6752: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: Audio (id: 10003)
   Line 485:   0019125:   8212: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: ASIO In (id: 10007)
At 19.188 seconds playback of "Bad Santa 2" is started, immediately after the fourth STOP. The Bookmark was empty, as expected.
   Line 504:   0019188:   3140: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: WASAPI Loopbak (id: 10009)
   Line 558:   0019313:   5976: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: Video (id: 0)
There was some seeking around the movie, the last to about 10 minutes, then playback for about 5 seconds.
At 33.829 seconds a normal, single STOP command is issued, also including "Updating playback state" and "Applying database changes", so the movie Bookmark is set.
   Line 2049: 0034219:   8760: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: Video (id: 0)
Then there is navigation to the Audio section and "Abbath" is selected.
At 45.969 seconds four STOP commands were issued and completed within 246 milliseconds.
   Line 2292: 0046047:   4036: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: IPC (id: 10005)
   Line 2314: 0046094: 10192: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: Video (id: 0)
   Line 2336: 0046141:   8428: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: ASIO In (id: 10007)
At 46.188 seconds playback of "Abbath - Abbath - 01 To War!.flac" is started, immediately after the fourth STOP.
   Line 2355: 0046188:   6908: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: WASAPI Loopbak (id: 10009)
   Line 2456: 0046454: 10052: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: Audio (id: 10003)
At 59.016 seconds a normal, single STOP command is issued.
   Line 2614: 0061016:   7344: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: Audio (id: 10003)
Navigated to movie "Bad Santa 2" again.
At 74.329 seconds four STOP commands were issued and completed within 234 milliseconds.
   Line 2880: 0074407:   8220: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: IPC (id: 10005)
   Line 2902: 0074454:   7644: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: Audio (id: 10003)
   Line 2924: 0074500:   6768: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: ASIO In (id: 10007)
At 74.563 seconds playback of "Bad Santa 2" is started, immediately after the fourth STOP. The movie Bookmark was empty, which was not expected, but perhaps explained by the four STOPs above.
   Line 2943: 0074563:   2208: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: WASAPI Loopbak (id: 10009)
   Line 2995: 0074672:   7340: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: Video (id: 0)
At 85.625 seconds a normal, single STOP command is issued, also including "Updating playback state" and "Applying database changes", so the movie Bookmark is set.
   Line 3598: 0085907:   3952: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Zone: Video (id: 0)
At 107.750 seconds the updated Bookmark is saved to the library.
At 107.954 seconds logging finished.
Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on September 04, 2017, 01:43:42 am
So maybe switching Zones is preventing the movie Bookmark from being saved? But it shouldn't. Particularly if it is only happening with full folder Blu-ray rips.

I'll double check that. This may very well be a problem with single file (e.g. mkv) video playback too.
Title: Re: Video resumption to last played position still does not work
Post by: mattkhan on September 04, 2017, 02:42:26 am
What is your standard test case for reproducing this? Is it just play video, stop, play  audio, stop, play video?

My setup is quite similar at first glance (use zones and switch rules to apply different DSP for different content) and the bookmark feature has always been quite hit and miss, i.e. appears to work at random. It is not an important feature to me though so I have never investigated further or commented on it.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on September 04, 2017, 06:29:22 am
What is your standard test case for reproducing this? Is it just play video, stop, play audio, stop, play video?

Yes, though it was thought to occur only on full folder Blu-ray rips. In Paul's case, made using RedFox AnyDVD HD. Paul also has video pause when entering Theatre View, and often uses Back to stop playing a video instead of Stop, but that is okay because MC now saves Bookmarks when a video is paused.

Paul is going to check if it happens with other files formats.

If the functionality appears to work at random for you Matt, maybe it is both Zoneswitch and format specific. It always works for me with full folder rips of my Blu-rays made using DVDfab and just one Zone.

One thing that is obvious from the logs is that it can take "quite a while" to actually save the Bookmark after a video is stopped. i.e. 25 seconds. That may have some impact on the process, although I would hope that MC cleans up any pending actions properly.
Title: Re: Video resumption to last played position still does not work
Post by: blgentry on September 04, 2017, 03:03:59 pm
Well, I only have a pair of stereo speakers attached to the onboard audio-out of the HTPC. I have been struggling with an issue where, when watching movies, all the music is deafening, while the speech is barely audible, for years. I still struggle with it.

Why do you think that is?  When listening to movies through headphones, which are just stereo, everything sounds balanced to me.  Are you *not* doing JRSS downmixing?  Do your speakers have no midrange drivers?  (kidding!)   Seems like an odd problem.

Brian.
Title: Re: Video resumption to last played position still does not work
Post by: mattkhan on September 04, 2017, 04:08:41 pm
My test results

test 1
- play full folder bd rip (via anydvd)
- press stop
- check bookmark (bookmark is set)
- press play
- playback resumes from the start as if the bookmark never existed

test 2
- play mkv
- press stop
- check bookmark (bookmark is set)
- press play
- playback resumes from the bookmark

test 3
- (continues from test 2)
- stop playback
- start audio playback
- stop audio
- start mkv
- playback starts from fresh again

I used a keyboard for this test btw, no theatre view involved just direct keyboard control of the MC client.

If you want any logs then let me know what you want and I'll conduct specific tests in separate logs.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on September 04, 2017, 06:49:13 pm
Interesting Matt. Different again.

Bookmarks always work for me under your Test 1 scenario, as long as I am far enough into the movie, and not too close to the end. i.e. At least 60 seconds into the movie, and no more than 96% of the way through it. Jumping forward or Fast Forwarding into the movie is required and doesn't affect the outcome of the test. If that is repeatable for you, I would like to see a log.

Test 2 confirms normal behaviour for MKVs, as I get, and Test 3 confirms what Paul sees, but for MKV files. I think we should leave this one for Paul to test and supply a log.

Thanks for adding your voice, Matt.
Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on September 04, 2017, 08:06:35 pm
I've found same behaviour happens for me with single file (.mkv) playback as full folder Blu-Ray rips.
Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on September 04, 2017, 08:10:59 pm
What is your standard test case for reproducing this? Is it just play video, stop, play  audio, stop, play video?

Hi, thanks for chiming in.

Your test 3 is the standard test case and result for me with both (.mkv) files and full folder Blu-Ray rips.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on September 04, 2017, 08:20:33 pm
Okay, it is looking like the use of multiple Zones and Zoneswitch may be the cause of the problem.

But that doesn't explain Matt's Test 1. Which is why seeing a log would be good.
Title: Re: Video resumption to last played position still does not work
Post by: mattkhan on September 05, 2017, 02:22:51 am
But that doesn't explain Matt's Test 1. Which is why seeing a log would be good.
I didn't realise you had to be more than a minute in, I assumed that because it created a value in the bookmark tag then it would use it. I repeated the test with a bookmark further into the film and test 1 works as expected now. I repeated test 3 with the later bookmark to double check and that one does still fail. I can post a log for that if you like.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on September 05, 2017, 06:15:00 am
Thanks for the retest and update Matt.

As Bookmarks always work for me, I might try to find time to set up a couple of Zones and Zoneswitch rules, and see if the functionality then breaks.

Otherwise, I don't think we need more logs just now. I think we need comment from someone at JRiver. Someone who can make more sense of Paul's logs, and maybe confirm the cause, or fix it.

Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on September 07, 2017, 04:04:03 am
Okay, it is official as far as I'm concerned: Zoneswitch breaks resume to Bookmark functionality for Movies and TV playback if the Zone is switched.

On my HTPC which runs the MC Server, so no Client involvement.
I had only one Zone, the default Player Zone.
I tested playing AVI, MKV, and BDMV Movies and some AVI and MKV TV Episodes. Bookmarks worked for all of them, even when playing Video, Audio, Video, as per our test methodology.
I created two new Zones, "Video" and "Audio", each by copying the "Player" Zone.
I turned on Zoneswitch, which I haven't used in ages, and created Zoneswitch rules.
I used very simple selection rules. If [Media Type]="Video" use the Video Zone, if "Audio" use the Audio Zone.
In each Zone I had the other two zone stopped, so they were all part of an exclusive Zone group.
I started to play a video I had already been testing with Bookmarks, which had a valid Bookmark already. The Movie started from the beginning. It should not have.
I tried with the AVI, MKV, and BDMV Movies I had already checked were working. Initially I didn't even bother playing audio, but there was some inconsistency so I went back to our methodology, and played Video/Audio/Video. In all these tests the movie started from the beginning again.

So I tested on one TV Episode, several times, without playing audio in between. It worked fine every time. Then I played the TV, then audio, then TV and the Bookmarking failed again. So it appeared that if I played the TV Episode without causing Zoneswitch to kick in, Bookmarking worked. But as soon as Zoneswitch kicked in, Bookmarking failed.

I think I'm done testing. If necessary I will produce a log. I have one of the first movie playbacks that failed, but that was immediately after setting up Zoneswitch so I don't think it is entirely representative. This functionality is broken. A fix would be nice because I would like to start testing the WDM with Zoneswitch, but I rely on Bookmarking working too much to have it fail in this way.
Title: Re: Video resumption to last played position still does not work
Post by: Matt on September 07, 2017, 08:03:53 am
Zoneswitch breaks resume to Bookmark functionality for Movies and TV playback if the Zone is switched

This is interesting because I setup a simple zone switch rule like this:
[Media Type]=[Video]

Then when I play a video, it switches to the zone I had setup and resumes from the bookmark.

Any ideas what might be different?

Thanks.
Title: Re: Video resumption to last played position still does not work
Post by: mattkhan on September 07, 2017, 09:23:00 am
have you configured it to stop playback in other zones?
Title: Re: Video resumption to last played position still does not work
Post by: Matt on September 07, 2017, 09:23:58 am
have you configured it to stop playback in other zones?

Yes, I told it to stop playback in a whole pile of zones.
Title: Re: Video resumption to last played position still does not work
Post by: mattkhan on September 07, 2017, 10:57:01 am
Yes, I told it to stop playback in a whole pile of zones.
I don't know what else might be different. RoderickGI has done this from scratch and reproduced it so I suggest just following his approach exactly.
Title: Re: Video resumption to last played position still does not work
Post by: Matt on September 07, 2017, 11:29:25 am
I maybe figured it out.  If the file was in one of the zones that was being stopped (and it was already stopped) it would clear the bookmark.

Have a fix in for the next build.  Hopefully that was it.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on September 07, 2017, 06:39:49 pm
Excellent Matt. That does sound like the situation I tested. That would also be consistent with the "Two Stops clears the Bookmark" functionality.

There was a timing change for those two stops some time back, I think. Something like the second Stop had to be within 10 seconds or so. At least there was a discussion about it I believe. Maybe that contributed to this issue or made it more common.
Title: Re: Video resumption to last played position still does not work
Post by: RoderickGI on September 07, 2017, 07:34:02 pm
Well, Paul, it looks like your persistence has paid off.

The problem was indeed Zoneswitch sending a Stop to an already stopped Zone, and hence clearing the Bookmark. I think the key to finding the issue was your observation that it happened when you played Video>Audio>Video. Nice.

23.0.51 (9/7/2017)
5. Fixed: Zone Switch would stop playback in other zones and sometimes clear the bookmark unintentionally.

The next public release will probably be MC23.0.52 or later, and will include the fix.
Title: Re: Video resumption to last played position still does not work
Post by: stewart_pk on September 07, 2017, 08:01:37 pm
Thanks so much you guys (Roderick, Matt and Matt).
And Roderick I think your persistence helped greatly too.  :)