INTERACT FORUM

Please login or register.

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

Author Topic: How to stop this annoying behavior(WDM driver ?)  (Read 6787 times)

theoctavist

  • World Citizen
  • ***
  • Posts: 228
  • a bad liver and a broken heart.
How to stop this annoying behavior(WDM driver ?)
« on: September 17, 2015, 01:15:10 am »

When I am watching a movie from my hard disk(in any view), and either pause or stop playback....jriver automatically starts playing this "1PC" (I guess this is the WDM driver taking over system/internet content sounds?) ...so I have to *stop* the 1PC, browse backwards to what I was previously watching and start it again.  Ideally when I hit pause or stop, nothing else would happen.

Logged

~OHM~

  • Citizen of the Universe
  • *****
  • Posts: 1825
  • "I Don't Play The Music The Music Plays Me"
Re: How to stop this annoying behavior(WDM driver ?)
« Reply #1 on: September 17, 2015, 01:46:14 am »

do you use the WDM driver? if not then just disable it.
Logged
“I've Reached A Turning Point In My Life. I Now Realize I Have More Yesterdays Then Tomorrows”

stewart_pk

  • Citizen of the Universe
  • *****
  • Posts: 653
Re: How to stop this annoying behavior(WDM driver ?)
« Reply #2 on: September 17, 2015, 02:04:58 am »

I think you mean "IPC" and not "1PC".
Logged

theoctavist

  • World Citizen
  • ***
  • Posts: 228
  • a bad liver and a broken heart.
Re: How to stop this annoying behavior(WDM driver ?)
« Reply #3 on: September 18, 2015, 12:41:51 am »

yes. thats what I meant. the WDM driver is a nice feature, dont get me wrong... but that one thing irks me
Logged

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4887
Re: How to stop this annoying behavior(WDM driver ?)
« Reply #4 on: September 20, 2015, 07:28:34 pm »

yes. thats what I meant. the WDM driver is a nice feature, dont get me wrong... but that one thing irks me

Nothing I did could get rid of the problem for me. I stopped using the wdm as a result.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: How to stop this annoying behavior(WDM driver ?)
« Reply #5 on: September 21, 2015, 01:57:41 am »

I thought setting up an IPC Zone fixed this sort of problem. However reading the WDM Driver Wiki, maybe not.

Worth a try though.
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

Arindelle

  • Citizen of the Universe
  • *****
  • Posts: 2772
Re: How to stop this annoying behavior(WDM driver ?)
« Reply #6 on: September 21, 2015, 07:09:14 am »

I thought setting up an IPC Zone fixed this sort of problem. However reading the WDM Driver Wiki, maybe not.

Worth a try though.

Hi

I'm going to assume that you have set up a specific zone for the driver, as Roderick indicated. Also that you have set up a zone switch rule. (Off Topic - People that don't have a separate zone, and I think there are a lot of them,  are using "WDM" latency settings which in IMHO are probably not good to use for local playback. They complain of pops and things because there latency is set too low etc.)

Now I also have some problems like you are describing, but I use a simple work around which is not too much of a pain for me.

I set up azone for WDM playback only (IPC) - define your zone switch rule like in the wiki

The I choose a zone for local playback and again define the rule.

If I set each zoneswitch rule to stop playback in both zones (as described in the wiki btw), I have to manually stop "playing now" or suffer what the Octavist is describing.

So what I do is make the first rule the WDM zone and edit the rule to stop playback in the other zones, making sure the local playback zone is the second rule as the order is important. And then leave the stop playback box empty.

This sound counterintuitive maybe, but the idea is that normally my "default" zone(s) is my local playback zone which is loaded on launch.  Sometimes I go on the internet to stream something or watch a video. The zone switch kicks in, stops the local zone(s) and plays fine. If I want t go back I stop playback manually, before using my default zone again. The zones are still automatically changed, just only one zone can stop the playback of the other. Sure its not ideal especially if you are constantly going back and forth form local playback to streaming.

Now for the OP, he might want to try the other way around with the playback zone as the first rule that stops the WDM zone instead of the way I do it. Sort of depends on what tends to be your default. And which zone is more important to automatically switch AND stop playback.

I'm sort of hoping that the reason zone switch is now under audio options, per zone, that they plan to address this issue. It seems that at present the zone switch rules are still global, right??

In the mean time at least I can use the WDM driver for streaming which is worth the work-around. As I have a remote connected its pretty easy for me to hit the stop button.
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: How to stop this annoying behavior(WDM driver ?)
« Reply #7 on: September 21, 2015, 08:38:25 am »

I thought setting up an IPC Zone fixed this sort of problem. However reading the WDM Driver Wiki, maybe not.

Worth a try though.

I don't have this issue and my system is setup as described in the wiki (I mostly wrote that section).  Having the separate zone seems to solve the problem for me (although you might have to alter your jump on play settings as noted in the wiki)
Logged

Arindelle

  • Citizen of the Universe
  • *****
  • Posts: 2772
Re: How to stop this annoying behavior(WDM driver ?)
« Reply #8 on: September 21, 2015, 09:16:08 am »

(although you might have to alter your jump on play settings as noted in the wiki)
I know my audio is set to none, not my video which jumps to display ... which I thought is sort of normal ... I'll test turning video to none when I get home but my local zone that I was referring to is Audio only .... so not sure if the video setting  is going to make a difference?!

I'll get back ... interesting
Logged

Arindelle

  • Citizen of the Universe
  • *****
  • Posts: 2772
Re: How to stop this annoying behavior(WDM driver ?)
« Reply #9 on: September 21, 2015, 04:00:12 pm »

I know my audio is set to none, not my video which jumps to display ... which I thought is sort of normal ... I'll test turning video to none when I get home but my local zone that I was referring to is Audio only .... so not sure if the video setting  is going to make a difference?!

I'll get back ... interesting

@Mwillems -- ok, turned jump to display to none ... no change still have to use one of the rules with an empty "stop playback box"; can't seem to have both.
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: How to stop this annoying behavior(WDM driver ?)
« Reply #10 on: September 21, 2015, 06:30:26 pm »

OP is describing IPC wiping out his playing now when he pauses a movie playing from local media (his harddrive).  I understood him to be having a flavor of the "IPC wiping out my playing now" problem with a jump on play twist.  Setting up separate zones with mutual stop playback rules fixed that for me on several different machines.

Are you describing something else?
Logged

Arindelle

  • Citizen of the Universe
  • *****
  • Posts: 2772
Re: How to stop this annoying behavior(WDM driver ?)
« Reply #11 on: September 22, 2015, 10:19:53 am »

OP is describing IPC wiping out his playing now when he pauses a movie playing from local media (his harddrive).  I understood him to be having a flavor of the "IPC wiping out my playing now" problem with a jump on play twist.  Setting up separate zones with mutual stop playback rules fixed that for me on several different machines.

Are you describing something else?
;D ha maybe I am!! (too many illicit substances back in the 70's as a teen are catching up to me!?)

I thought he was having problem with switching between "wdm" playback and his local library. He starts local playback with no sound and has to change it and recue the video

And as I noticed you said that mutual stop rules solve the problem ... well mutual stop rules just don't work at all for me. One zone can stop the other and one has to be stopped manually -- that's what I reacted to ...

following your wiki article exactly, btw .... but if it is off-topic well euh I'll just crawl under something and hope people will not notice haha
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: How to stop this annoying behavior(WDM driver ?)
« Reply #12 on: September 22, 2015, 10:29:57 am »

;D ha maybe I am!! (too many illicit substances back in the 70's as a teen are catching up to me!?)

I thought he was having problem with switching between "wdm" playback and his local library. He starts local playback with no sound and has to change it and recue the video

And as I noticed you said that mutual stop rules solve the problem ... well mutual stop rules just don't work at all for me. One zone can stop the other and one has to be stopped manually -- that's what I reacted to ...

following your wiki article exactly, btw .... but if it is off-topic well euh I'll just crawl under something and hope people will not notice haha

I'm still not sure I understand what's happening in your case, so I'm not sure if it's off-topic or not.  Can you give me some steps to reproduce so I can see what you you're seeing?
Logged

Arindelle

  • Citizen of the Universe
  • *****
  • Posts: 2772
Re: How to stop this annoying behavior(WDM driver ?)
« Reply #13 on: September 23, 2015, 01:06:09 pm »

I'm still not sure I understand what's happening in your case, so I'm not sure if it's off-topic or not.  Can you give me some steps to reproduce so I can see what you you're seeing?
Not sure what to say here as I do exactly what your wiki article suggests.

Using Chrome browser for streaming content from internet in an external window (by the way I have tried both Chromium and Explorer engine in JRiver btw just to see if that affects anything)

Using just two zone switch rules (I have more but I removed them to simplify for the moment using the default "Player" zone)



Now I have also tried using a Filepath and -[Name]="IPC" instead of Media Type as a rule and inverted the order so the "Player" Rule is in first position.

What happens with these wiki rules (on both a client and server):

If I launch an audio file it plays. If I shift to internet it doesn't play or stop the local audio.

If I launch internet first it works in the right zone. If I launch a local file I get the "something went wrong with playback" message in MC.. It does stop the sound. To get local playback I have to manually hit stop when in the IPC zone.

The only way for this to work for me avoiding refocusing in the last zone is to manually stop either the internet content or the local content beforehand which defeats the purpose of stopping playback automatically.

On my workaround with no stop instruction on just one of the rules -  If listening to local music, then shift to internet it will stop playback and the WDM content will play.  When listening locally, my browser is closed or the stream is finished so I just cue something and it works with no error message. If the stream is playing, of course it will not because there is no stop instruction, but at least I don't have to manually shift to the last zone and hit stop.

Now is this what the OP was referring to ? Might have something to do with it ;D
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: How to stop this annoying behavior(WDM driver ?)
« Reply #14 on: September 23, 2015, 01:15:14 pm »



Your rules are different from the wiki in two key ways.  Your rule reads "Ipc" but my recommended rule is "IPC"; not sure if it's case sensitive, but that's something worth ruling out.  Additionally IPC is media type audio as far as I know, so that's a bad selection rule.  For our testing, try it exactly as in the wiki with the exact same case.

Quote
If I launch an audio file it plays. If I shift to internet it doesn't play or stop the local audio.

This is expected and I see the same behavior.  IPC playback will never stop running local playback (this is designed to prevent system sounds from interrupting manual playback). It's a design feature that can be counterintuitive, but I'm very glad it works this way.  OP is seeing a related issue, but different issue (when his video playback is paused, the IPC is overriding it, which I don't think would happen if he setup zones)

Quote
If I launch internet first it works in the right zone. If I launch a local file I get the "something went wrong with playback" message in MC.. It does stop the sound. To get local playback I have to manually hit stop when in the IPC zone.

This is not expected, and I don't see this behavior at all with the rules in the wiki.  If I try to play a local file while the IPC is running, IPC is stopped and playback starts normally. Let's try and sort that out; what output modes are you using?  What is the full text of the "something went wrong" error?

Quote
Now is this what the OP was referring to ? Might have something to do with it ;D

The issue you're seeing is not the same as OP's (I don't think) but it's related.
Logged

Arindelle

  • Citizen of the Universe
  • *****
  • Posts: 2772
Re: How to stop this annoying behavior(WDM driver ?)
« Reply #15 on: September 23, 2015, 02:10:02 pm »

Quote
Your rules are different from the wiki in two key ways.  Your rule reads "Ipc" but my recommended rule is "IPC"; not sure if it's case sensitive, but that's something worth ruling out.  For our testing, try it exactly as in the wiki with the exact same case.
  VERY strange ... I changed the case and it does seem to work (although if local playback is stopped and the stream has been continuing the sound will not come through the WDM zone. I have to close the window and restart the video or audio from the web. I say this is strange for me as the zone switch works in both title case or lower case .. its the stop rule that doesn't?! [Also I have filepaths in allcaps and in title case on my drives ... never affected anything ... I gather it would in Linux]

The full text of the error is the standard one that indicates your audio output settings like can't play 44.1K using WASAPI etc. I can't get this to show after changing the case Ipc=>IPC ... if you want I can provoke it.

Quote
Additionally IPC is media type audio as far as I know, so that's a bad selection rule.
like I said above, I tried this with the -[Name]="IPC",  Filepath and Media Type=Audio. After changing to all caps I tested both the -[name] and Mediatype=Audio and both work. Which suits me as I use media type="Video" for other zone switch rules.

Quote
This is expected and I see the same behavior.  IPC playback will never stop running local playback (this is designed to prevent system sounds from interrupting manual playback). It's a design feature that can be counterintuitive, but I'm very glad it works this way.
well that's the crux of the issue and I think that's what the OP is on about (maybe in the reverse from me.  Normally, this doesn't bother me. I'm  either sitting listening to my music or I'm streaming a movie. As long as the zone switch works whether one stops the other or not is not a big deal. EXCEPT, I get a lot of compilations albums from indie record companies .. i Like a band that I don't have in my collection I often just bounce to You Tube or another service to check out more of the same artist as I might only have the one song. It's going back and forth that stinks, closing the browser refinding the media and starting it from the beginning. This is why I have only one stop rule.

Thanks though! With the IPC in caps this solved the error message thing  8)
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: How to stop this annoying behavior(WDM driver ?)
« Reply #16 on: September 23, 2015, 02:33:01 pm »

  VERY strange ... I changed the case and it does seem to work (although if local playback is stopped and the stream has been continuing the sound will not come through the WDM zone. I have to close the window and restart the video or audio from the web.

This is a known bug, but you don't have to reopen the browser.  If the IPC starts while something else is playing it can get stuck.  The secret when it's stuck like that is to change to the IPC zone and press the stop button.  A few seconds later your browser audio already in progress will restart the IPC correctly. 
Logged
Pages: [1]   Go Up