INTERACT FORUM

Please login or register.

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

Author Topic: Why does MC autoplay disks when I've told it not to?  (Read 2583 times)

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4023
Why does MC autoplay disks when I've told it not to?
« on: September 11, 2018, 01:50:25 pm »

as per subj

I have autoplay set to Nothing in options but MC still autoplays some BDs & DVDs on insert.

Is there some other option that influences this behaviour perhaps?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7507
  • When Summer comes...
Re: Why does MC autoplay disks when I've told it not to?
« Reply #1 on: September 11, 2018, 01:52:28 pm »

I can add one more onto this... in addition to what mattkhan said with MC trying to autoplay while having autoplay set to nothing, MC will also try to download the LAV filter component even if you have Video Support disabled. IMO, it shouldn't unless you have Video Support enabled.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2024 Update (24H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2024 Update (24H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42081
  • Shoes gone again!
Re: Why does MC autoplay disks when I've told it not to?
« Reply #2 on: September 11, 2018, 02:01:31 pm »

If you tell Media Center to take no action and to not ask again, it won't.  At least it doesn't for me.
Logged
Matt Ashland, JRiver Media Center

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4023
Re: Why does MC autoplay disks when I've told it not to?
« Reply #3 on: September 11, 2018, 02:06:59 pm »

If you tell Media Center to take no action and to not ask again, it won't.  At least it doesn't for me.
what do you mean by "to not ask again"?

In my case, the scenario is

* insert BD into drive
* disk is scanned
* MC starts playing without any user intervention or asking anything
* I press stop so I can start ripping
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42081
  • Shoes gone again!
Re: Why does MC autoplay disks when I've told it not to?
« Reply #4 on: September 11, 2018, 02:09:32 pm »

Options > CD, DVD & BD > AutoPlay > Audio CD
Logged
Matt Ashland, JRiver Media Center

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: Why does MC autoplay disks when I've told it not to?
« Reply #5 on: September 11, 2018, 02:14:47 pm »

Do you also have autoplay disabled in Windows?
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4023
Re: Why does MC autoplay disks when I've told it not to?
« Reply #6 on: September 11, 2018, 03:21:02 pm »

Options > CD, DVD & BD > AutoPlay > Audio CD
all of those options are set to Nothing

Do you also have autoplay disabled in Windows?
I checked and I do not, it was set to "open folder to view files". I have now turned that off.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Why does MC autoplay disks when I've told it not to?
« Reply #7 on: September 11, 2018, 06:26:10 pm »

I struggled with this for a long time. I thought the issue had stopped, but I just tested a new never played Blu-ray, and after the software involved finished its analysis etc., the disc started to play. Before it started to play the disc hadn't appeared in the MC Theatre View menu. After I stopped playback the disc had appeared. So the issue is still happening for me.

I also had the settings;
1. MC to do Nothing for all optical discs.
2. Windows Autoplay off. (Actually some Windows Update must have turned that back on, but there were no default actions defined. I turned it off again.)

The only other software involved in the process is "DVDfab Passkey". Now I believe it used to have an Autoplay setting, but recent versions do not. The disc has to be "opened" to determine what it is, and what needs to be done. I assume that DVDfab Passkey is the culprit in starting playback, and it does it by default, with no obvious way to stop it... but I'm not sure.

If you are using AnyDVD then I assume that it is doing a similar thing.


However, interestingly when I reinserted the disc I used above for testing, MC popped up a message saying it could not play the item because the volume (the Blu-ray disc) didn't exist. It offered me the options to retry Yes/No, or Cancel. I assume this was MC trying to scan the disc as it does with all optical discs inserted.

I said no, and once DVDfab Passkey had finished doing its thing, the blu-ray did not play. The Blu-ray menu item also did not appear in the MC Theatre View menu. But when I scrolled past the leftmost visible item in the Theatre View "video" menu, where the Blu-ray item should have appeared, the blu-ray started to play. When I stopped playback, the Blu-ray item had appeared in the menu. I've seen this behaviour before.


However, I then ejected the disc, rebooted the PC, inserted the disc again, and after DVDfab Passkey had finished the blu-ray started to play.



So, something screwy is still happening in MC, and it doesn't all seem to be the fault of DVDfab.


Anyway, my solution so far: Wait for DVDfab to finish, the movie will start playing, hit stop, live with it.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Why does MC autoplay disks when I've told it not to?
« Reply #8 on: September 11, 2018, 06:49:25 pm »

Another interesting observation.

I shut down MC and MC Media Server, then inserted another new never played Blu-ray into the HTPC drive. DVDfab did its thing, identfied the disc and what need to be done, faster than normal without MC running, and then nothing happened.

DVDfab doesn't have autoplay settings, as I said earlier, but it does have the ability to run an external program on the insertion of a Blu-ray and a few other events. I have that turned off.

Obviously, Windows Autoplay isn't doing anything, which is as expected.

So the finger is pointing a bit more at MC being the culprit in automatically playing a Blu-ray (or DVD I believe) when it is inserted and analysed by DVDfab.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71827
  • Where did I put my teeth?
Re: Why does MC autoplay disks when I've told it not to?
« Reply #9 on: September 11, 2018, 07:34:43 pm »

Could it be a file extension that is tripping autoplay?
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Why does MC autoplay disks when I've told it not to?
« Reply #10 on: September 11, 2018, 10:41:44 pm »

Could it be a file extension that is tripping autoplay?

Well, MC has a file association for Blu-ray discs. But it isn't a simple issue.

The actual files on the disc that gets referenced in a log, and actually exists, is for example "D:\BDMV\index.bdmv". But MC references the disc in the CD Database of the library as "snatch\BDMV\index.bluray;1", while the file association in MC options refers to "bdmv,mpls" for Blu-ray, which correctly reflects the file type being played, and the playlists associated with the movie.

So my answer to that question is; I have no idea. But the files association Playback Method is set to "Automatic", so maybe MC does just take that as an instruction to play the title, even though the MC Autoplay settings say to do nothing. But file associations are supposed to enable double-clicking a file in Windows Explorer and having the correct program open the file. They shouldn't be defining what happens inside MC.

Interestingly, if I changed the Playback Method in the File Association setting in MC to "External Program (default)", then reinserted the blu-ray disc, I received a Windows popup message asking to confirm which program to use to play the disc. This would imply that it was Windows trying to play the disc using its File Associations. [EDIT: Actually, this was Windows responding to the MC request to play the bdmv file using the Windows Default player.] Disappointingly it was defaulting to MC23! I haven't uninstalled that from my HTPC yet, but I did go through the Windows File Associations and Default Programs and set them all to MC24. Sign. That continues to be an issue.

I mention the Windows File Association still pointing back at MC23 because after I changed them all to MC24 in Windows, so that MC23 was no longer associated with any file type (I'm sure I had done that before - time to uninstall MC23 to stop any possible interference) I got a different result from earlier. Initially, I got a mostly blank screen with the JRiver logo in the center. So I figured a reboot was required.

After the reboot, the first time I waited long enough and nothing happened, but then when I pressed an arrow key on the keyboard to move within the Video menu, the movie started playing.

When I tried that a second time with the "Video" menu item highlighted, and pressed the down arrow to check in the Blu-ray item was present, the disc didn't start playing and the Blu-ray item was present. So an inconsistent result, with the differences being one test was immediately after a reboot, and I moved within the Theatre View menu structure differently.

So I uninstalled all earlier versions of MC (MC23 32 & 64 bit), rebooted, reinstalled MC24 latest using the Custom installation, and selected all file types so that MC24 had the association for all file types it can open, then rebooted. Then check all the Windows File Associations which seemed okay. Specifically the bdmv file type was pointing to MC24.

Finally, I inserted the same disc I had been testing with and almost immediately got the message in the attached image. I took that to mean the MC24 tried to scan/identify/open/play the disc. Probably just scan. But it couldn't because DVDfab was working on it still. I left the message for some time, and then selected 'Yes" to try again. The movie didn't play, and the Blu-ray menu option was visible in Theatre View.

So then I inserted a new Blu-ray disc that MC24 and DVDfab have never seen. DVDfab did its work, but the Theatre View menu stayed sitting on "Guide" and the Blu-ray menu item didn't appear. Eventually I pressed the Up arrow to move the highlight to the "video" menu heading, and the Blu-ray menu item appeared. The movie didn't play.



TL;DR
If a Blu-ray (and probably other optical discs) play when inserted, even though everything is set to do nothing, check if the File Association for that disc type (bdmv for Blu-rays) is pointing to the correct version of MC.

I don't know if this is actually the answer, because I got pretty inconsistent results, but for the moment it seems to be making a difference.


PS: I have one log from earlier testing, and could make another after doing all the above, if anyone is interested.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Why does MC autoplay disks when I've told it not to?
« Reply #11 on: September 11, 2018, 11:42:13 pm »

Well, that last test probably isn't valid. Uninstalling all MC23 and reinstalling MC24, plus restoring a recent backup, has completely broken Blu-ray playback in MC24. Even for Blu-rays ripped to a folder structure that previously played fine. It just fills Playing Now with Cover Art images now. All other video types seem okay, including DVDs.

Okay, that was my fault. The backup I restored still had the MC File Association for bdmv files set to "External Program (default)". I set that back to "Automatic" and also changed the "Play Blu-ray discs using Menus" to "Ask" so that I saw that message early.

Now I am back exactly where I started.

All Blu-ray discs, whether MC and/or DVDfab have seen them previously or not, are played on insertion. Having the "Play Blu-ray discs using Menus" set to "Ask" seems to avoid the need to sometimes move around the menu to trigger the playback. The popup menu always pops up, which means the MC is trying to play the disc, and once I select "Play using Menus", MC starts to play back the disc.

MC isn't honouring the Autoplay settings for Blu-rays. I didn't test DVDs or CDs.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4023
Re: Why does MC autoplay disks when I've told it not to?
« Reply #12 on: September 12, 2018, 02:12:21 am »

I do have anydvd installed but the only file associations for mc are .dtshd and .mc24mime, .bdmv is set as not selected

I don't see any autostart option in anydvd either
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: Why does MC autoplay disks when I've told it not to?
« Reply #13 on: September 12, 2018, 03:32:58 am »

The best solution is to not have MC open when you insert a disc...  This issue has been around forever.
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4023
Re: Why does MC autoplay disks when I've told it not to?
« Reply #14 on: September 12, 2018, 03:37:51 am »

I think that solution can be filed under "cure by killing the patient"  ;D

Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42081
  • Shoes gone again!
Re: Why does MC autoplay disks when I've told it not to?
« Reply #15 on: September 12, 2018, 08:35:48 am »

MC isn't honouring the Autoplay settings for Blu-rays. I didn't test DVDs or CDs.

I set MC to "Nothing" in Options > CD, DVD, & BD > AutoPlay > Blu-ray and on two computers nothing is exactly what it started doing after setting that.
Logged
Matt Ashland, JRiver Media Center

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Why does MC autoplay disks when I've told it not to?
« Reply #16 on: September 12, 2018, 07:19:02 pm »

I set MC to "Nothing" in Options > CD, DVD, & BD > AutoPlay > Blu-ray and on two computers nothing is exactly what it started doing after setting that.

Was this an encrypted disc?
Did you have AnyDVD/DVDfab running to view it?
How long did you wait to see if something happened? (It can take up to a few minutes to start playback on my PC, for a new disc.)

Would a log covering the insertion of a disc through to the start of playback show why MC started playing the disc on my HTPC?
I did run a log earlier, but it is just a bit overwhelming in terms the things MC does for a Blu-ray, for me to work out what triggered the playback. It just looked like MC was the trigger.

i.e. After a lot of analysis;
Code: [Select]
0227703: 13632: Playback: CPlayerZone::Play: Start
0227703: 13632: Playback: CPlayerZoneDisplayInfoUpdateThread::Destructor: Start
0227703: 13248: Playback: CPlayerZoneDisplayInfoUpdateThread::Thread: Finish (1476828 ms)
0227734: 13632: Playback: CPlayerZoneDisplayInfoUpdateThread::Destructor: Finish (31 ms)
0227734: 13632: Handheld: CWMDMThread::SetNeedsEnumerateDevices: Start
0227734: 13632: Handheld: CWMDMThread::SetNeedsEnumerateDevices: Finish (0 ms)
0227734: 13632: Playback: CPlayerZone::Play: Handling exclusive playback zones
0227734: 13632: Playback: CPlayerZone::Play: Getting actual playback track
0227734: 4412: Handheld: CWMDMThread::Thread: Start
0227734: 4412: Handheld: CWMDMThread::Thread: Starting work loop
0227750: 13632: Playback: CPlayerZone::Play: Processing play for 'D:\BDMV\index.bdmv'
0227750: 13632: Playback: CPlayerZone::Play: Updating internal track info
0227750: 13632: Database: CAlbumAnalyzer::AnalyzeAlbumInfo: Start
0227797: 13632: Database: CDataHolder::Load: Field: Complete Album; Files: 56392; Pointer bytes: 58672; Data bytes: 16488; Elapsed ms: 1.482
0227797: 13632: Database: CDataHolder::Load: Field: Single Album; Files: 56392; Pointer bytes: 21760; Data bytes: 16488; Elapsed ms: 0.254
0227813: 13632: Database: CAlbumAnalyzer::AnalyzeAlbumInfo: Analyze time: 0.050 seconds
0227813: 13632: Database: CAlbumAnalyzer::AnalyzeAlbumInfo: Finish (63 ms)
0227813: 13632: Database: CDataHolder::Load: Field: Volume Level (ReplayGain); Files: 56392; Pointer bytes: 451424; Data bytes: 197224; Elapsed ms: 2.583
0227813: 13632: Playback: CPlayerZone::Play: Playing: <XMLFN version="1.0"><Item Name="Filename">D:\BDMV\index.bdmv</Item><Item Name="FPS"></Item><Item Name="PlaylistIndex">0</Item><Item Name="AlbumSequentialWithLastTrack">0</Item><Item Name="AspectRatio"></Item><Item Name="DurationSeconds"></Item><Item Name="CenterFocusMixing">1</Item><Item Name="VolumeReset">1</Item><Item Name="ErrorFreeMode">1</Item><Item Name="VolumePeakLevels"></Item><Item Name="MediaType">Video</Item><Item Name="DatabaseKey">4606678</Item><Item Name="CompressionInfo"></Item><Item Name="VolumeTrackMaxSafeGain">-1</Item><Item Name="Bitrate"></Item><Item Name="Bookmark"></Item><Item Name="PlaybackInfo"></Item><Item Name="DRMProtected"></Item><Item Name="VolumeLeveling">0</Item><Item Name="DSP"></Item><Item Name="FileType">bdmv</Item><Item Name="MediaAggregate">2</Item><Item Name="UserInterfaceModeChangeEventHandle">00000000000002B8</Item></XMLFN>
0227813: 13632: Playback: CJRPlaybackEngine::Play: Start
0227813: 13632: Playback: CJRPlaybackEngine::Play: Volume protection: 0
0227813: 13632: Playback: CJRPlaybackEngine::Play: Playing: D:\BDMV\index.bdmv
0227813: 13632: Playback: CJRPlaybackEngine::Play: Filetype: bdmv; Type: 3; Can play: 1; Playback object: 0x2031ccb8310
0227813: 13632: Playback: CJRPlaybackEngine::StartPlayFile: Start
0227813: 13632: Playback: CDXColorControls::Clear: Start
0227813: 13632: Playback: CDXColorControls::Clear: Finish (0 ms)
0227813: 13632: Playback: CDXColorControls::Clear: Start
0227813: 13632: Playback: CDXColorControls::Clear: Finish (0 ms)
0227813: 13632: Playback: CDXPlayerWindow::LayoutWindow: Start
0227813: 13632: Playback: CDXPlayerWindow::LayoutWindow: Graph doesn't have video interfaces
0227813: 13632: Playback: CDXPlayerWindow::LayoutWindow: Finish (0 ms)
0227813: 13632: Playback: CDisplayPlugin::LoadPlugin: Start
0227813: 13632: Playback: CDisplayPlugin::LoadPlugin: Plugin: Current Playback Display
0227813: 13632: Playback: CDisplayPlugin::LoadPlugin: Finish (0 ms)
0227813: 13632: Playback: CDShowFilterGraph::SetVolume: Start
0227813: 13632: Playback: CDShowFilterGraph::SetVolume: Finish (0 ms)
0227813: 13632: Playback: CDXPlayerWindow::OpenFile: Start
0227813: 13632: Playback: CDXPlayerWindow::OpenFile: Filename: D:\BDMV\index.bdmv type: bdmv. DXPlayerWindow 0x2037b219790
0227828: 13632: Playback: CDXPlayerWindow::OpenFile: Finish (15 ms)
0227828: 13632: Playback: CJRPlaybackEngine::StartPlayFile: Play returned: 1
0227828: 13632: Playback: CJRPlaybackEngine::StartPlayFile: Finish (15 ms)
0227828: 13632: Playback: CJRPlaybackEngine::Play: StartPlayFile returned 1
0227828: 13632: Playback: CJRPlaybackEngine::Play: Finish (15 ms)
0227828: 13632: Playback: CPlayerZone::Play: Play succeeded

I know this is just a little niggling thing, and the easy workaround is just to hit Stop, but it has been annoying for me and others.

Thanks Matt.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42081
  • Shoes gone again!
Re: Why does MC autoplay disks when I've told it not to?
« Reply #17 on: September 12, 2018, 09:24:32 pm »

Could you email me the full log?  Maybe it'll have a clue.  Matt at jriver.  Thanks.
Logged
Matt Ashland, JRiver Media Center

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Why does MC autoplay disks when I've told it not to?
« Reply #18 on: September 12, 2018, 11:12:24 pm »

Done.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Why does MC autoplay disks when I've told it not to?
« Reply #19 on: September 15, 2018, 02:25:19 am »

Hey all that have this problem, untick the following setting and see if your discs stop auto-playing.

“Options > Theatre View > Advanced > Allow special handling on media insertion”

Reference:
14.0.92 (10/28/2009)
4. Changed: Added advanced Theater View option 'Allow special handling on media insertion' that allows disabling automatic playback of DVDs on insertion while in Theater View.

Ensure that Windows and MC Autoplay features are turned off as well. If you are testing on a Blu-ray, wait for your decryption software to finish its analysis, and then move around the Theatre View menu to make it refresh, if the Blu-ray menu item doesn't show up.

Please report back what happened.

Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4023
Re: Why does MC autoplay disks when I've told it not to?
« Reply #20 on: September 19, 2018, 02:25:27 am »

I inserted a new disc with this option checked and theatre view open, it auto played
I unchecked the option and restarted MC for good measure then inserted a different new disc, it didn't auto play

seems promising, good find @RoderickGI thanks!
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Why does MC autoplay disks when I've told it not to?
« Reply #21 on: September 19, 2018, 03:29:15 am »

Thanks for testing and reporting Matt.

How about a few other people test and report results?!

Maybe then I would write something up in the Wiki, as currently there is no explanation of the setting. Also I find the Release Notes wording reversed from my expectation. i.e. The settings "allows disabling automatic playback of DVDs", so I would expect ticking it would disable playback. But in fact unticking it disables playback. Maybe that is just the way I read it.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4023
Re: Why does MC autoplay disks when I've told it not to?
« Reply #22 on: September 19, 2018, 05:51:32 am »

I think renaming the option would be a good idea and perhaps a tooltip or similar on the autoplay option would be useful too.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Why does MC autoplay disks when I've told it not to?
« Reply #23 on: September 24, 2018, 08:44:12 pm »

I did a bit more testing of this and then updated the Wiki with some information. See https://wiki.jriver.com/index.php/Theater_View#Advanced

However, I then did some more testing with the "Allow special handling on media insertion” setting turned off, and I found that nothing short of super frustrating.

It appears that with the setting unticked, Autoplay doesn't happen, regardless of the MC Autoplay settings. Okay. I didn't test with Windows Autoplay turned on, and I'm not going to.

With the setting ticked, Autoplay happens. MC ignores the "Nothing" and "Ask every time" setting in MC Autoplay settings. If Autoplay is set to "Play", sometimes it will try to play a DVD. (Note that I tested on my Workstation, which doesn't have any decryption software on it, such as DVDfab or AnyDVD. But MC used to play DVDs without such software in the past, so playback of a DVD should have worked.) Most often that resulted in MC locking up. When I killed MC, Windows tried to report the error. Whether I cancelled that reporting or let it try to complete, several times Windows completely locked up, requiring a reboot. I have just rebooted and started writing this, and just now tried to start MC but it will not start. There is a MC process running that can't be killed; Access Denied. After a reboot!


So my conclusion is that the MC Autoplay settings are supposed to work in conjunction with the "Allow special handling on media insertion”, at least when in Theatre View. But something isn't right. The MC Autoplay settings are basically ignored. But playback without that setting ticked is also broken, or very fragile. Maybe all the Blu-ray playback and menu work has caused an issue with these settings.

I'm going to post this now, then reboot and see if I can get MC working again. Not happy.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Why does MC autoplay disks when I've told it not to?
« Reply #24 on: September 24, 2018, 09:38:23 pm »

Reboot. MC runs.

With DVD Autoplay set to "Ask every time", insert DVD. No Ask. No Autoplay. Select Play, fail. Disc must be physically ejected to get MC to stop trying.

Reboot. Reinstall MC. With DVD Autoplay set to "Ask every time", insert DVD. No Ask. No Autoplay. Select Play, fail. Disc must be physically ejected to get MC to stop trying.

Set DVD Autoplay to "Play". Insert DVD. No Autoplay. Select Play, fail. Disc must be physically ejected to get MC to stop trying.

Try to view DVD in Windows Explorer. Long wait while it is working. Stop it before it finishes, because it shouldn't take as long as it did.

Insert disc. Select disc under "Drive & Devices". Try to play. Fail.  Disc must be physically ejected to get MC to stop trying.

Close MC. Open VLC, Open disc. Select Play. DVD plays immediately. Menu, then movie. Close VLC.

View DVD in Windows Explorer. Works immediately.

Open MC. Insert disc. Select disc under "Drive & Devices". Try to play. DVD plays immediately, although with lots of stuttering. Okay, that is probably the drive and my underpowered Workstation GPU. Maybe. Menu, then movie okay. Some menu highlight display issues.



What was broken in MC, across multiple reboots and a reinstall, that prevented it from playing a DVD, which was fixed by playing it in VLC? Okay, it could have been something in Windows, as indicated by Windows Explorer not displaying the DVD contents, but then how come VLC was able to fix that?

This is why MC is and will always be software for Geeks and Power Users. The average user expects the above process to just work, like a physical DVD player does. Sorry if that offends, but this has been a frustrating process for me. I'm pretty sure an average user would have just given it up. Or their wives would have told them to give it up, or else!

Could someone look into what is going on with this functionality? Why "Ask every time" doesn't work at all. The relationship between the "Allow special handling on media insertion” and "MC Autoplay" settings. The impact, if any, of the recent Blu-ray functionality changes. Ta.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Why does MC autoplay disks when I've told it not to?
« Reply #25 on: September 24, 2018, 10:41:31 pm »

I did a little more testing on my HTPC, specs below, and DVDfab installed. The "Allow special handling on media insertion” setting off.

No lockups in this quick testing.

With MC Autoplay set to "Play", the DVD I am testing with (Firewall, Harrison Ford, 2006) played, but only after I moved the position of the menu highlight in Theater View, as per above observations. Until I moved the highlight, MC just accessed the disc, and then sat there.

With Autoplay set to "Ask every time" MC didn't play the DVD even after moving the highlight. I had to select Play to get it to work, but it did play.

So a little better, but not completely as expected with the settings. Part of the difference could be the nVidia GPU in the HTPC versus the AMD GPU in the Workstation. Otherwise the PCs are very similar.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42081
  • Shoes gone again!
Re: Why does MC autoplay disks when I've told it not to?
« Reply #26 on: September 25, 2018, 08:42:04 am »

I turned off the "Allow special handling" option.

Then I set it to play every disk.

I inserted a CD in Standard View.  It started playing.

I inserted a CD in Theater View.  It started playing.

I inserted a DVD in Theater View.  It started playing (and switched to Display View).

I inserted a DVD in Standard View.  It also started playing.

Not seeing anything out of the ordinary.  Any additional tips?  Thanks.
Logged
Matt Ashland, JRiver Media Center

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71827
  • Where did I put my teeth?
Re: Why does MC autoplay disks when I've told it not to?
« Reply #27 on: September 25, 2018, 10:05:49 am »

Check your settings under Tools > Options > General > Behavior.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Why does MC autoplay disks when I've told it not to?
« Reply #28 on: September 25, 2018, 06:33:14 pm »

Check your settings under Tools > Options > General > Behavior.

Nothing special that I would expect to influence this Jim.

My Workstation and HTPC definitely behaved differently, even though they are substantially set up the same except for the video card I mentioned. The Workstation is much older, but it is an i7 CPU, good memory, SSD, etc. I have a lot more applications on it, including the likes of Steam, but Windows 10 on both is much the same, except I run as Admin on my Workstation and a normal user on the HTPC.

Both PCs use a similar optical drive. A Pioneer BDR-208EBK in the HTPC and a Pioneer BD-RW BDR-205 in the Workstation. Maybe the optical drive and its interaction with Windows is involved?

Matt, I'll repeat the tests you did on the HTPC again and see if I get the same result.

Also, as I mentioned, the "Ask every time" didn't seem to do anything at any time.


QUESTION: Should any of these settings changes require a restart of MC, or a reboot, to take effect or work correctly?
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Why does MC autoplay disks when I've told it not to?
« Reply #29 on: September 30, 2018, 05:27:27 am »

I did some more tests on this, but then I saw this change and thought I would repeat them before reporting, as maybe it will fix the issues I have been seeing.

Quote
7. Fixed: Interactive playback queries, like "Bookmarking: Ask", did not function in recent versions of Media Center.

The second test came out pretty much like the first though, with the addition of some interference by DVDfab, or more specifically, MC tried to do some stuff before the disc was available, because DVDfab was checking the disc.

All tests in Theatre View this time. I only tested the Play setting of Autoplay, for all discs.  The "Allow special handling" option off (unchecked).

CD: Plays fine after insertion.
DVD: Plays fine, but only after I move the menu highlight in Theatre View. Otherwise does not play, just sitting on the original Theatre View menu item.
Blu-ray: Plays eventually. Pops up the "Do you want to play with menus or just the Title" question before DVDfab has finished, and pops it up multiple times. At least once immediately, once when the Blu-ray is ready, although I saw it three times on one test earlier. Selecting Title playback then works.

So basically, the Play setting of Autoplay works, but it doesn't take into account the decryption time required for a disc to be readable. I have attached a log file as you might be able to see why I have to move the menu highlight for DVDs before it will play. There were some other things happening along the way, such as "Volume not found" and "Playback failed" errors when the disc isn't ready. Maybe, if you have time to look, something will be obvious.

I shall next test the "Ask every time" Autoplay setting.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Why does MC autoplay disks when I've told it not to?
« Reply #30 on: September 30, 2018, 06:18:11 am »

Again, all tests in Theatre View this time. I only tested the "Ask every time" setting of Autoplay, for all discs.  The "Allow special handling" option off (unchecked).

CD: The CD is detected and the CD item is briefly shown in the Theatre View menu. The first note of the first track played, which was strange so I restarted the log and retested immediately with the same result. Then the CD item disappeared from the Theatre View menu, and nothing else happened. No popup message asking if I want to play the disc showed. When I selected the CD item, a message with the options Play/Rip/Eject/Cancel showed. But that is different to the Autoplay "Ask every time" setting1. Selecting Play resulted in the CD playing.
(Note that there was a TV file error shortly after this test, which will show in the log. Unrelated.)

DVD: Starting with the highlight on the Theatre View Audio item, as soon as the disc was detected MC moved the highlight to the Video item. DVDfab scanned this disc, even though that isn't necessary for DVDs. No message asking if I want to play the disc showed. I waited some time, then moved the menu highlight. Nothing happened, but when I moved the highlight back to the Video item, the DVD item was now visible in the sub-menu. It hadn't been before. Selecting the DVD item offered the Play/Eject/Cancel message with options to select. But that is different to the Autoplay "Ask every time" setting1. Selecting Play resulted in the DVD playing correctly.
Note: Select Stop while the DVD is playing drops MC back to the "Playing Now" menu item, instead of the Video item. It used to drop back to the Video item, I'm sure.

Blu-ray: Very similar to the DVD experience. Starting with the highlight on the Theatre View Audio item, as soon as the disc was detected MC moved the highlight to the Video item and the Blu-ray sub-menu item flashed up but then disappeared. DVDfab then did its thing. Moving the highlight to the image menu item didn't result in any activity, moving the highlight back to the Video item showed that the Blu-ray sub-menu item was back. Selecting the Blu-ray item offered the Play/Eject/Cancel message with options to select. But that is different to the Autoplay "Ask every time" setting1. Selecting Play resulted in the Blu-ray "Menu or Title" options message, and then selecting Title the Blu-ray played correctly.
Note: Stopping the Blu-ray playback also dropped MC back to the "Playing Now" menu item, instead of the Video item.

1. At least I think it is. I was expecting, based on previous functionality, that the Autoplay "Ask every time" setting would result in an immediate popup question asking if I wanted to play the disc, rather than a question after I had selected the disc item in the Theatre View menu. I shall check this when I do the Autoplay "Nothing" test.

Log attached.

Notes:
I tested the CD again twice and I didn't get the single note then nothing. The CD item just appeared on the menu. This isn't in he log.
Also, ejecting the CD didn't remove the item from the Theatre View menu. I had to select the item, which gave me a "File not found" or similar message, and the option to Retry or Cancel, Canceling removed the CD item from the menu.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Why does MC autoplay disks when I've told it not to?
« Reply #31 on: September 30, 2018, 07:09:43 am »

Again, all tests in Theatre View this time. I only tested the "Nothing" setting of Autoplay, for all discs.  The "Allow special handling" option off (unchecked).

CD: The CD was detected quickly and the menu highlight moved from Audio to CD immediately. Selecting the CD item gave me the message with the options Play/Rip/Eject/Cancel. Selecting Play resulting in the CD playing correctly.
I tested this twice before logging it, and on one occasion I got a single note and then the CD item was highlighted. I now don't think the single note is the first note of the track. It is something else, but I don't know what. This time the note isn't in the log.

DVD: I inserted the DVD and DVDfab scanned the disc. I started with the Theatre View Audio menu item highlighted, so no other changes were visible when DVDfab finished. When I move the menu highlight to Video, the DVD item was in the sub-menu. Selecting the DVD item offered the Play/Eject/Cancel message with options to select. Selecting Play resulted in the DVD playing correctly.
Note: Select Stop while the DVD is playing drops MC back to the "Playing Now" menu item, instead of the Video item. It used to drop back to the Video item, I'm sure.

Blu-ray: Similar to the last Blu-ray test, starting with the highlight on the Theatre View Audio item, as soon as the disc was detected MC moved the highlight to the Video item. DVDfab then did its thing. Moving the highlight to the image menu item didn't result in any activity, moving the highlight back to the Video item showed that the Blu-ray sub-menu item was back. Selecting the Blu-ray item offered the Play/Eject/Cancel message with options to select. Selecting Play resulted in the Blu-ray "Menu or Title" options message, and then selecting Title the Blu-ray played correctly.
Note: Stopping the Blu-ray playback also dropped MC back to the "Playing Now" menu item, instead of the Video item.

So that is mostly what I expected.

Log attached.


So there you go Matt. There may be some more hints in those logs. The "Ask every time" doesn't seem to work at all. The Play and Nothing settings do seem to mostly work, but for a DVD requires the menu highlight to be moved to active the next step after insertion. That move seems to trigger a re-detection of the disc.

Sorry if this is too much information.  ;D
At least we now have the "Nothing" setting working, and Play pretty much always worked except for a few failed tests. Ask every time seems to never work.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42081
  • Shoes gone again!
Re: Why does MC autoplay disks when I've told it not to?
« Reply #32 on: October 01, 2018, 11:32:37 am »

Good find.

Coming next build:
Changed: The disc mode "Ask every time" would not ask when a new disc was inserted in Theater View.  Now it will.
Logged
Matt Ashland, JRiver Media Center

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Why does MC autoplay disks when I've told it not to?
« Reply #33 on: October 01, 2018, 06:23:01 pm »

Excellent. Ask is my prefered mode in most of these situations, with "Do Nothing" my second choice. Now I will be able to revert back to my first choice.

Thanks Matt.

There was also the issue that the Theatre View menu doesn't seem to refresh quickly when an action is taken, such as disc insertion or ejection. So, for example, a DVD doesn't appear or play until the menu highlight is moved, and the CD stays listed in the menu even though it has been ejected.

A small usability issue that may actually have broad implications if trying to fix it, but might make MC more responsive.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner
Pages: [1]   Go Up