INTERACT FORUM

Please login or register.

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

Author Topic: Close MC after playback?  (Read 1567 times)

Manni

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 506
Close MC after playback?
« on: September 05, 2023, 11:25:08 am »

I use MC as an external player with CMC, and it works great.
However, when playing series episodes, if you let the episode play until the end the focus returns to MC.
1) Is it possible to change a settings in MC so that it closes after playback? I looked in the settings and couldn't find anything.
2) Otherwise, is it possible to provide an option in the command line along with the play command to request it to close after playback? I couldn't see anything option to do this in the guide here: https://wiki.jriver.com/index.php/The_Command_Line.
3) Failing this, please could you consider adding this as a feature request? This will allow to keep track of the episode played.
Cheers!
Logged

Manni

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 506
Re: Close MC after playback?
« Reply #1 on: September 05, 2023, 03:39:56 pm »

I found this old thread: https://yabb.jriver.com/interact/index.php?topic=65893.0 . Any up to date link to the MC API?
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4226
Re: Close MC after playback?
« Reply #2 on: September 05, 2023, 03:55:00 pm »

MCWS is documented at http://yourhost:yourport/MCWS/v1/
Logged

Manni

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 506
Re: Close MC after playback?
« Reply #3 on: September 05, 2023, 05:16:56 pm »

MCWS is documented at http://yourhost:yourport/MCWS/v1/

Thanks, I found this in the devzone.

Anyone has any answers to my initial questions?
Logged

Manni

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 506
Re: Close MC after playback?
« Reply #4 on: September 07, 2023, 10:29:53 am »

Am I the only one to think that having a command line parameter to close MC after playback when called as an external player (as other players do) would be useful?
There are probably other ways to achieve this, but this would be much simpler.
I would appreciate any feedback from the devs.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: Close MC after playback?
« Reply #5 on: September 07, 2023, 12:07:00 pm »

We'll add this to a future build.  Thanks for the suggestion.
Logged
Matt Ashland, JRiver Media Center

Manni

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 506
Re: Close MC after playback?
« Reply #6 on: September 07, 2023, 12:26:10 pm »

We'll add this to a future build.  Thanks for the suggestion.

That's great, thanks! :)
Logged

eve

  • Citizen of the Universe
  • *****
  • Posts: 689
Re: Close MC after playback?
« Reply #7 on: September 07, 2023, 08:30:56 pm »

We'll add this to a future build.  Thanks for the suggestion.

Thank you!! <3
Logged

justsomeguy

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 525
Re: Close MC after playback?
« Reply #8 on: September 07, 2023, 10:18:01 pm »

I found this old thread: https://yabb.jriver.com/interact/index.php?topic=65893.0 . Any up to date link to the MC API?

I made a small app that expanded on this years ago. it will allow you to launch MC from another app then close MC when playback stops. It still works in MC 31 when I tried it. This may not be needed though if Matt adds it to MC natively.
https://yabb.jriver.com/interact/index.php/topic,65984.0.html
Logged

Manni

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 506
Re: Close MC after playback?
« Reply #9 on: September 08, 2023, 04:49:17 am »

I made a small app that expanded on this years ago. it will allow you to launch MC from another app then close MC when playback stops. It still works in MC 31 when I tried it. This may not be needed though if Matt adds it to MC natively.
https://yabb.jriver.com/interact/index.php/topic,65984.0.html

Thanks, I remember MCclose now, we'll try to use it. I hope it will work if we use the database format for the file name, which is needed for black bar detection (once the title is scanned and the metadata is in the library). See https://yabb.jriver.com/interact/index.php/topic,136612.msg946821.html#msg946821
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: Close MC after playback?
« Reply #10 on: September 11, 2023, 09:44:20 am »

Coming 31.0.54 and later:
NEW: Added an option to close the program on stop to the "More Stop" player menu (MCC 10078 to script).

Thanks again for the help.
Logged
Matt Ashland, JRiver Media Center

Manni

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 506
Re: Close MC after playback?
« Reply #11 on: September 11, 2023, 09:48:52 am »

Coming 31.0.54 and later:
NEW: Added an option to close the program on stop to the "More Stop" player menu (MCC 10078 to script).

Thanks again for the help.

Wow, that was quick! Thanks a lot for implementing this, much appreciated!
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: Close MC after playback?
« Reply #12 on: September 12, 2023, 08:23:22 am »

Please give it a try and let us know how it's working:
https://yabb.jriver.com/interact/index.php/topic,136968.0.html

Thanks.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: Close MC after playback?
« Reply #13 on: September 12, 2023, 08:24:54 am »

Here is the parameter set for MCC 10078:
MCC_CLOSE_PROGRAM_AFTER_STOP,                  // [0: no, 1: yes, -1: toggle]
Logged
Matt Ashland, JRiver Media Center

Manni

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 506
Re: Close MC after playback?
« Reply #14 on: September 12, 2023, 08:37:36 am »

Please give it a try and let us know how it's working:
https://yabb.jriver.com/interact/index.php/topic,136968.0.html

Thanks.

Thanks Matt :)

I've tested the menu option (more stop) and unfortunately it's not really useful as implemented for my use case as the option isn't saved. If you enable it, close MC and start MC as an external player, the player still doesn't close after playback. I'm sure it will be useful for others though.
Logged

Manni

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 506
Re: Close MC after playback?
« Reply #15 on: September 12, 2023, 08:38:30 am »

Here is the parameter set for MCC 10078:
MCC_CLOSE_PROGRAM_AFTER_STOP,                  // [0: no, 1: yes, -1: toggle]

[deleted]
Found the MCC documentation:
MC<version>.exe /MCC <command number>,<parameter>
We'll test this soon and will report back.

Thanks!
Logged

Manni

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 506
Re: Close MC after playback?
« Reply #16 on: September 12, 2023, 09:06:46 am »

Here is the parameter set for MCC 10078:
MCC_CLOSE_PROGRAM_AFTER_STOP,                  // [0: no, 1: yes, -1: toggle]

I can confirm after a quick command line test that this works fine here.

The CMC dev is going to implement it in CMC Alpha and I'll test it, I'll let you know when we're done.

Many thanks again for implementing this so quickly!
Logged

Manni

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 506
Re: Close MC after playback?
« Reply #17 on: October 30, 2023, 10:09:34 am »

Please give it a try and let us know how it's working:
https://yabb.jriver.com/interact/index.php/topic,136968.0.html

Thanks.

Sorry it took so long to implement this, but close MC after playback is finally implemented in the first public pre-release of CMC, posted today.

It works great, and the final version of CMC supporting this should be released on Tuesday.

Thanks again for implementing this so quickly, and apologies in the delay in confirming it was working fine.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Close MC after playback?
« Reply #18 on: October 30, 2023, 10:19:09 am »

What is CMC?
Logged

Manni

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 506
Re: Close MC after playback?
« Reply #19 on: October 30, 2023, 10:31:35 am »

What is CMC?

It's the front end I use for my collection, we've already discussed it: https://chamconsoft.com/cmc/

I only use MC as a player (not as a front end / collection management), as I use MyMovies and its bridge player capabilities to control my Oppo Clone and my Dune mediaplayer using the MyMovies iOS app as a frontend for network playback for these players, and CMC itself as the front end / Movies wall for my HTPC, all with the same metadata.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Close MC after playback?
« Reply #20 on: October 30, 2023, 10:41:56 am »

Thanks.
Logged

eve

  • Citizen of the Universe
  • *****
  • Posts: 689
Re: Close MC after playback?
« Reply #21 on: October 30, 2023, 02:04:51 pm »

It's the front end I use for my collection, we've already discussed it: https://chamconsoft.com/cmc/

I only use MC as a player (not as a front end / collection management), as I use MyMovies and its bridge player capabilities to control my Oppo Clone and my Dune mediaplayer using the MyMovies iOS app as a frontend for network playback for these players, and CMC itself as the front end / Movies wall for my HTPC, all with the same metadata.

It's nice to see other people using MC as a player / renderer primarily! Your software looks pretty nice, I'm glad you have something that you like. I did something similar myself. Nothing else looked the way I wanted and nothing else had what I would call 'exhaustive' metadata, database performance was also a consideration for me (I've gotten semantic plot search down to about 15ms which I consider pretty good, and more traditional search is about 1-3ms). Redis FTW. I dunno, the semantic search thing is cool, "some commandos fight an alien in the jungle" does indeed return Predator (and some predator rip offs too!) 

I'll be messing around with the new MCC command possibly. Right now, on the 'cinema' renderer machine, I hide and show JRiver (plus switch around queues / zones so that there's content for start, idle and finish states)
Logged
Pages: [1]   Go Up