Jump to content

Recommended Posts

Posted

264 seems to have resolved my lock-ups (fingers crossed).

 

Spoke too soon.

I still get lock-ups on stopping/finishing playing video files (not every time, maybe 30%-50% of the time).  Nothing good in the log.

 

It's funny because when it locks up it's as though I get a couple seconds to "play" with.  Meaning if the file finishes and I do nothing, it's stuck.  If I immediately try to navigate back, I get a couple seconds watching the screen half populate before it locks up.

 

Again, all my slow navigation (fixed with 264) and lockups started happening when I updated all my images to much higher quality/size.  No issues prior.

BeppoMonkeyBoy
Posted

It cannot play that avi file.  I've had similar problems with AVIs and have had to farm them out to MPC-HC.

It does that for all seasons and series since the new build, when I use the context menu for playing, didn't happen in the previous build.

Posted

Are you sure there hasn't been some other change with your codecs as well?  Both examples above are AVI and WMC is not able to play them.  Can you play those exact items when attempted individually?

BeppoMonkeyBoy
Posted

Yes, files play individualy fine, system has had no other changes, and I can replicate on a self contained VM, odd thing is..it work fine on the Xbox extenders.

Posted

If you reinstall the release version of MBC, does it work then?

Posted

That means I may require @@paul777 help in debugging this...

solidus28
Posted

I just installed the update this morning and Play Random doesn't work for me either. Came here to look for a solution and saw this post. Let me know if there is something you need from me. It doesn't crash or anything, just does nothing at all. I have to browse to an individual TV episode and play from there.

  • Like 2
Posted (edited)

Ebr,

 

My video backdrops are playing behind the details screen... Makes it look like theme music, sound with no video. I have enabled/disabled the custom player. Removed Crystal... Anything I try doesn't seem to fix it. Any ideas??

 

Using Subdued theme. Both release and Beta versions of EmbyMCE is doing it.

 

Edit: Might be Subdued related. Switched to Chocolate and it works.

 

@@Cheesegeezer please see above issue.

Edited by Xzener
Posted

Scratch that. Somehow the "Now Playing" was set to small, which isn't working as it should. Set back to backdrop. It's working now... Darn Subdued and its hundreds of settings. ;)

  • Like 1
Posted

I'm having the exact same issue. random and play all from here are no longer working. My codecs have not been changed, and I don't use.avi files, only mkv.

 

 

Sent from my iPad using Tapatalk

Posted

@@paul777  I need some help figuring out what is causing the play all and random to not work anymore...

Macburp
Posted (edited)

I usually use MBC through my extender, but happened to try deleting some files using MBC at my host PC. Got an error message 'Media Center Extensibility Host has encountered a user-defined breakpoint'. I was able to cancel this and continue with the deletion. Haven't notice this on my extender.

Edited by Macburp
  • Like 1
Posted

I had a host of those happen the other night and could never figure out what it was.  I'm afraid a programmatic break was left in somewhere in the last round of changes.

Posted

Yep - there are a couple spots where there are unconditional debugger break statements in there.  I'll get those out of there and put up a new beta.

Posted

I usually use MBC through my extender, but happened to try deleting some files using MBC at my host PC. Got an error message 'Media Center Extensibility Host has encountered a user-defined breakpoint'. I was able to cancel this and continue with the deletion. Haven't notice this on my extender.

 

Did it offer you anymore information by any chance? I'd really like to get a stack for this as it suggests we may still have some bad threading in there.

Posted

Did it offer you anymore information by any chance? I'd really like to get a stack for this as it suggests we may still have some bad threading in there.

 

There were only two places where there was an unconditional break statement left in the code (you can see where I removed them in the commit) but they may have been called from just about anywhere.  Could have been a theme or other mcml reference too.

Posted (edited)

Apologies - a) for not seeing this thread, I'm not that active on the forums so didn't see it until ebr pm'd me. and b ) for introducing the bug!

 

I have a fix for the Play All and Shuffle not doing anything - very simple bug - and will create a pull request shortly.

Edited by paul777
Posted

There were only two places where there was an unconditional break statement left in the code (you can see where I removed them in the commit) but they may have been called from just about anywhere.  Could have been a theme or other mcml reference too.

Yes, I'm guessing it was asking for the AddInHost from a thread it shouldn't have been which would be good to fix, if it was this one it should also have written a useful stack to the log if @@Macburp is able to look in the logs for the string "MediaCenterEnvironment accessed from non-UI thread"

 

Posted

Hopefully, he can find that.  I guess it couldn't have been an MCML ref though since that would have had to be on the UI thread.

Macburp
Posted

Yes, I'm guessing it was asking for the AddInHost from a thread it shouldn't have been which would be good to fix, if it was this one it should also have written a useful stack to the log if @@Macburp is able to look in the logs for the string "MediaCenterEnvironment accessed from non-UI thread"

 

 

I hope this is the log you need. Let me know if you need anything more.

 

https://www.dropbox.com/s/btqut3iiy8h2or9/MBClassic-25420151296245598304e0ebb8157c3d58e4964.log?dl=0

Posted

That's the one, Application.DeleteMediaItem was running async and doing a lot of UI work, I have changed this to invoke onto the UI thread and submitted a pull request but don't have the means to test it - my library is read only.

 

I also notice some strange Sleep(1000) and Sleep(7000) in there that may want to be looked at as it seems a successful delete will always take upwards for 8seconds to perform. They seem to be something to do with making sure the server has processed the delete.

Posted

Since the delete involves a request to the server, that is still handled asynchronously, right (sorry, out and can't look at the code right now)?

Posted (edited)

No - it would all be handled sync - it's all a bit messy with calls to both the server and the UI interleaved, to be able to do the server delete (and other calls) async would need some work - we wouldn't want to UI going off and doing something else but we also want to be able to timeout the server calls I guess. It is all in Application.DeleteMediaItem if you want to take a look later.

Edited by paul777
Posted

My concern, of course is the potential to hang the UI thread if the server doesn't respond right away - producing the dreaded "Not responding".  Basically, we want to avoid any network operations on the UI thread.  So, this could be a bit trickier than just invoking onto the main thread.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...