Decorum for the Forum:
  • Be nice. If you want to be mean, try Reddit.
  • No Piracy. If you want to be a thief, there are dark places on the internet dedicated to that.
  • No Cracking. Discussions on AnyDVD, DeUHD, DVDFab, UHDKeys and similar tools are not permitted here.
  • No Spamming. If you want to make a buck, work smarter... somewhere else.
  • No Adult Content. Half the internet is dedicated to adult content. This half isn't.

Privacy Policy: Click Here to Review (updated September 30, 2020)

Coming Soon - Resume Playback Functionality

Post here to suggest ideas for future versions.
Post Reply
User avatar
Pauven
Posts: 2899
Joined: Tue Dec 26, 2017 10:28 pm
Location: Atlanta, GA, USA
Contact:

Coming Soon - Resume Playback Functionality

Post by Pauven » Fri Jul 17, 2020 5:36 pm

Recently I was watching an episode of Veep (such a great show!) late at night, and caught myself dozing off. So I stopped playback in the middle of the episode and went to bed. The next day, I had to try and find where I left off. Such a pain. That's certainly one feature I like about streaming services, they make it easy to stop and resume where you left off later.

How I would love to have that capability in CMC.

Thinking about the problem, it occurred to me that the main thing CMC needs is just your current position in the video you are watching. Sure would be nice if there was a way to query that info, and API of sorts.

Since I use (and highly recommend) MPC for playing all my TV episodes, I decided to google MPC API. To my surprise, I discovered it has one!

It's taken me a couple days, but I've written a little test program that connects to the MPC API when starting playback, and queries every second for the current playback position. My little test program allows me to pause, stop or close MPC at any time, and CMC knows where I was in the playback. And the next time I start playback, I can have it resume right were I left off, down to the second!

The MPC API is amazingly powerful, so I might look at doing more with it in the future. For example, there is a program named SyncPlay that lets you have a watch party, and it keeps everyone's viewing in sync over the internet - hit pause for a bio break and everyone's playback pauses. If one person's movie is playing slightly faster, it can auto adjust the playback speed to keep it in sync. It's a really cool tool that leverages the power of the MPC API (and other players, too). Perhaps one day I can build something like it into CMC if there's demand for it.

My next step is to incorporate this new auto-resume capability into CMC. Now that I know it works, and more importantly how to make it work, it shouldn't take too long to implement, so I expect this will be in the next version.

For now this will be an MPC only feature. I don't know if it will be possible to do this with any other players, though my expectations are low.
President, Chameleon Consulting LLC
Author, Chameleon MediaCenter

Shadow Lord
Posts: 2
Joined: Thu Dec 31, 2020 10:23 pm

Re: Coming Soon - Resume Playback Functionality

Post by Shadow Lord » Wed Jun 25, 2025 10:25 pm

This is a very cool feature. Do you know if VLC API allows anything similar?

*I like VLC because it can play ISOs (how I have most of my collection backed up - yes I enjoy trailers, menus, and the extras menu :D ) and it plays HD-DVD natively.

User avatar
Pauven
Posts: 2899
Joined: Tue Dec 26, 2017 10:28 pm
Location: Atlanta, GA, USA
Contact:

Re: Coming Soon - Resume Playback Functionality

Post by Pauven » Thu Jun 26, 2025 11:36 am

That's a good question. I'll have to check. I have noticed that the latest versions of VLC work much better and have more features. For example, recently when watching TV episodes, I've seen it auto-close and return to CMC so that CMC can auto-advance to the next episode. It used to be that only MPC did this. Perhaps they've added some type of api for retrieving this position data.
President, Chameleon Consulting LLC
Author, Chameleon MediaCenter

Post Reply