INTERACT FORUM
More => Old Versions => JRiver Media Center 20 for Windows => Topic started by: d_pert on January 05, 2015, 08:09:24 am
-
Hi,
Is there a way to suppress the message, "Something went wrong with playback..." when a client MC tries to play from a server MC and that server is temporarily down/offline?
I have a scenario where a client MC is scheduled to play a new smartlist automatically at a certain time. The client instance is running already and I use MC20.exe , etc. If, on occasion, the server, previously connected, is offline (e.g., maintenance on the "Server PC"), the client instance throws the standard message in a little OK dialog.
Problem is ... that ties up normal functioning next time around; the only way to restore the preferred scheduled operation is to intervene and clear that dialog.
Thanks!
-
+1
I think that at very least such error dialogs should not be modal i.e. they should not cause the UI to freeze waiting for the user to hit Cancel. On the other hand I could imagine that modeless dialogs would still be quite useful: if MC is running headless, it might over a period of time accrue a bunch of modeless error dialogs; and when the user eventually logs in, he would see all those accrued errors; so perhaps each error should have a date & time of occurrence...
-
+1, an option for this would make headless administration easier for me. I think the reason that error is modal to begin with is that it typically suggests alternative playback options that might work, so there are two options that require user interaction. Maybe it could be modeless when it's not offering any suggestions (i.e. when there is only one option)?
Also, at the risk of opening a can of worms, I think fewer modal dialogs program-wide could be good, especially for things that can take a little while to do, which can create a "hang" if you try to click on the interface. There are obviously important messages/configuration options that need to be modal, but I'm not sure why last.fm artist image lookups should be modal, for example.
-
Next build:
NEW: Added MCWS/v1/Configuration/ErrorFreeMode to set the program into error free mode.
-
Wow! Thanks.
... but I have installed .51 and cannot find this new option listed anywhere. Where it is? Do I misunderstand your post? ?
THANKS
-
Wow! Thanks.
... but I have installed .51 and cannot find this new option listed anywhere. Where it is? Do I misunderstand your post? ?
THANKS
Open the web service in a browser (search options for 'mcws' and pick 'Open with web browser...')
-
Thanks again ... but yikes ... I feel dumb; how does that HTTP page relate to actually setting this new option on?
It looks to me like just a reference, with examples. I have no idea how to actually activate the new option (e.g., checkbox somewhere).
Also, is this a server-side or client-side setting (I am assuming client-side).
Thanks and sorry for my ignorance. :-\
-
Thanks again ... but yikes ... I feel dumb; how does that HTTP page relate to actually setting this new option on?
Visit this URL to turn on:
http://localhost:52199/MCWS/v1/Configuration/ErrorFreeMode?ErrorFree=1
-
Awesome, thanks.
And this should be done only on any client install that I wish to supress error messages on?
Thanks again.
-
P.S. -- Both the Client and the Server instances are Portable mode; I hope that doesn't matter. (?)
Just out of interest, where exactly does that MCWS parameter get recorded (e.g., filename)?
Thanks.
-
Is this working okay for people? I tried setting it and it didn't seem to help. At least not for the dialogs causing me problems. Will the setting persist or does it need to be set again after exiting?
My setup isn't headless, but I control it remotely quite a bit and it's annoying to have to walk to the computer to clear the error dialog. I think the one I run into the most is when I watch a movie, eject the disc / delete the movie file, forget that I now don't have any songs queued up, and then press play to listen to music. I probably occasionally delete a music file that is queued up, forget to dequeue it, and then press play later.
-tm
-
Is this working okay for people? I tried setting it and it didn't seem to help. At least not for the dialogs causing me problems. Will the setting persist or does it need to be set again after exiting?
My setup isn't headless, but I control it remotely quite a bit and it's annoying to have to walk to the computer to clear the error dialog. I think the one I run into the most is when I watch a movie, eject the disc / delete the movie file, forget that I now don't have any songs queued up, and then press play to listen to music. I probably occasionally delete a music file that is queued up, forget to dequeue it, and then press play later.
-tm
What error are you still seeing specifically? Give the exact text so I can search for it in the code.
Thanks.
-
<bump>
-
"The track named 'xxx' cannot be played because the volume labeled 'xxx' was not found.
Would you like to try again?
Yes No Cancel
-
Something went wrong with playback.
Details:
The volume labled 'xxx' could not be found.
OK Help
-
Something went wrong with playback.
Details.
The file could not be found. Check that the filename in the library matches the filename on disk.
OK Help
-
Something went wrong with playback.
Details:
Playback could not be started on the output 'WASAPI' using the format '44.1kHz 2ch'.
Thous output format may not be supported by your hardware. You can use DSP Studio to chagne the output to a compatible format.
Also, make sure that your system has a valid sound playback device and that it is properly configured in playback options.
OK Help
-
The "Something went wrong with playback" errors are already checking for error free mode. So if you're doing the thing to set us into that mode, you should not see those errors.
-
Any idea why it isn't working for me on that error? I am on build 20.0.93. I reopened the link and it responds with <Response Status="OK"/>. I still got the error so maybe I'm not even getting into error-free mode.
The "Something Went Wrong with Playback" errors aren't ones I run into very often. I'm actually forcing this to happen by disabling exclusive access for the device in its driver/Windows properties.
-tm
-
I'm not sure.
I watched and:
http://localhost:52199/MCWS/v1/Configuration/ErrorFreeMode?ErrorFree=1
Makes my MC go into error free mode.
And once we're in error free mode, we won't show the "Something went wrong with playback" error dialogs.
-
Is there any way I can verify that it is going into that mode? What about the other dialogs? Are those part of error free mode yet?
-
What about the other dialogs? Are those part of error free mode yet?
Any of them that we've noticed have been flagged for error free mode. If you notice others that don't get checked, just let us know.
-
Next build:
Changed: MCWS/v1/Configuration/ErrorFreeMode responds with an ErrorFree indicator for what the current mode is after the change.
-
Thanks. Here is a log snippet that might be of interest:
0005929: 8100: Sharing Plugins: CHTTPListenerWorker::HandleConnection: Start
0005929: 8100: Sharing Plugins: CHTTPListenerWorker::HandleRequest: TCP: 127.0.0.1: GET: http://localhost:52199/MCWS/v1/Configuration/ErrorFreeMode?ErrorFree=1
0005929: 8100: Sharing Plugins: JRWebService::Process: Start
0005929: 8100: Sharing Plugins: JRWebService::Process: URL: /MCWS/v1/Configuration/ErrorFreeMode?ErrorFree=1
0005929: 8100: Sharing Plugins: JRWebService::Process: Finish (0 ms)
0005929: 8100: Sharing Plugins: VHTTPMessage::Write: Wrote 83 bytes
...
0093149: 2724: Playback: CPlayerZone::Play: Playing: <XMLFN version="1.0"><Item Name="Filename">C:\Users\tobyjohnm\Downloads\1Eduardo Castillo - Robot Heart - Burning Man 2014.mp3</Item><Item Name="PlaylistIndex">0</Item><Item Name="AlbumSequentialWithLastTrack">0</Item><Item Name="SampleRate">44100</Item><Item Name="VolumeReset">1</Item><Item Name="Channels">2</Item><Item Name="ErrorFreeMode">0</Item><Item Name="VolumePeakLevels"></Item><Item Name="MediaType">Audio</Item><Item Name="DatabaseKey">126436</Item><Item Name="VolumeTrackMaxSafeGain">-1</Item><Item Name="Bitrate">320</Item><Item Name="Bookmark"></Item><Item Name="BitDepth">16</Item><Item Name="LengthInPCMBlocks"></Item><Item Name="DRMProtected"></Item><Item Name="VolumeLeveling">-10</Item><Item Name="DSP"></Item><Item Name="FileType">mp3</Item><Item Name="UserInterfaceModeChangeEventHandle">000001D4</Item></XMLFN>
Note that the ErrorFreeMode value is 0.
-tm
-
Tried the new build out. If I use this URL:
http://localhost:52199/MCWS/v1/Configuration/ErrorFreeMode?ErrorFree=1
I get back:
<Response Status="OK">
<Item Name="ErrorFree">1</Item>
</Response>
If I then try to check the status with this URL:
http://localhost:52199/MCWS/v1/Configuration/ErrorFreeMode
I get back:
<Response Status="OK">
<Item Name="ErrorFree">0</Item>
</Response>
It seems like it's not getting turned on for me still. I ignored the 0 and tried something that causes an error. I still get an error dialog.
-tm
-
Calling in without a parameter like:
http://localhost:52199/MCWS/v1/Configuration/ErrorFreeMode
is going to turn ErrorFree mode off because the default for no value is "false" or "0".
-
Ok, that explains that. However, I still get the error dialogs, even when it reports back 1. Any ideas?
-tm
-
Ok, that explains that. However, I still get the error dialogs, even when it reports back 1. Any ideas?
-tm
And what's an example error dialog you're still seeing?
I promise the "Something went wrong with playback" errors are protected by the error free mode.
-
The one in reply #15. I didn't try the "Something went wrong with playback" scenario this morning. The other ones I posted are the more common dialogs I hit. Are those protected?
-tm
-
The one in reply #15. I didn't try the "Something went wrong with playback" scenario this morning. The other ones I posted are the more common dialogs I hit. Are those protected?
-tm
That's "Something went wrong with playback."
That error is protected by error free mode, so I don't think you're properly getting the program into that mode (or you're getting a second running copy into it or something).
-
Oops, that's right. I was thinking of the scenario in reply #16. Now I see that most of those I posted are "Something went wrong with playback."
Any ideas why it might not be entering error free mode? The web response indicated success. I've only got one copy running. I know the web interface works, because I have some home automation stuff I wrote tied into it that works fine.
Could a plugin have any effect?
-
Bump. Any more ideas? Is this working for others?