INTERACT FORUM

More => Old Versions => JRiver Media Center 27 for Windows => Topic started by: datdude on November 14, 2020, 11:28:13 am

Title: Allow Bookmark Field to be an Expression
Post by: datdude on November 14, 2020, 11:28:13 am
I've been looking for a way to automatically reset the bookmark field so that my movies don't prompt to resume after a certain amount of time, say 30 days. This is the one behavior in MC that kills me!

Could you allow the bookmark field to be an expression so that if the file hasn't been played in X number of days, the field is cleared, but if it's within that time frame, the bookmark is set normally?

The other way to solve for this problem is to make the showtime feature automatically play the movie from the beginning since I would assume that's what all users would want. If you just select 'watch' then MC would use the bookmark if one is set.

Thanks
Title: Re: Allow Bookmark Field to be an Expression
Post by: datdude on November 14, 2020, 04:40:10 pm
Another option would be to add a MCC 'play' command that bypasses the bookmark and truly starts from the beginning of the track no matter what. I can then program this to a button on my remote, and then if I want to resume I just press Watch' in theater view.
Title: Re: Allow Bookmark Field to be an Expression
Post by: RoderickGI on November 15, 2020, 12:17:51 am
The Bookmark field could never be a calculated field, as it is a standard field and has a lot of coding associated with it. Clearing it after a certain time would be difficult as well I think. MC doesn't really allow that sort of field update by separate expressions.

Did you know that pressing Stop twice clears the Bookmark? So if you played a move and it started from a Bookmark, just press Stop twice, then Play again, and MC will start from the beginning.

The Showtime functionality could perhaps be modified to always start a movie from the beginning. That sort of makes sense as a user who wanted to go through the Showtime feature before the movie is likely into the whole "Show me everything" mindset.


The next easiest solution I think is the idea in your second post. There is an MCC 10001 (https://wiki.jriver.com/index.php/Media_Center_Core_Commands), which is just called "MCC_PLAY", but I think it starts playing from the beginning of a file.

There is a table at the bottom of the page I linked to that calls the operation of 10001 "Play track from start". Test it and see. It may or may not play from the start for a video file.
Title: Re: Allow Bookmark Field to be an Expression
Post by: datdude on November 15, 2020, 10:41:00 am
Thanks for the suggesions.

I had already tried both of those commands and the bookmark prompt still kicks in. Yes, I already have my remote programmed to stop twice with a separate stop button. Still annoying to have to do that when it could be automated.

You may be right about the bookmark field, just an idea. There was a very old thread from many years ago when they first introduced bookmarking that indicated they would look into automating a way to clear the field after a certain amount of time, so I think it is possible...
Title: Re: Allow Bookmark Field to be an Expression
Post by: RoderickGI on November 15, 2020, 03:10:06 pm
There was a very old thread from many years ago when they first introduced bookmarking that indicated they would look into automating a way to clear the field after a certain amount of time, so I think it is possible...

Well, anything can be done in code. It would require a setting to turn it off, or set the length of time. It would also have to be initiated by a background process, much like the TV processes, or maybe when the file was viewed in MC. It is a bit corner case though.

I haven't seen that thread. Maybe it resulted in the double Stop being added?