bluenote Wrote:Hey giftie
Sorry to keep harping on this! I set aside some serious time to devote to fixing and troubleshooting the "hang" that occurs with local-streamed trailers and I came up with some very interesting results I think you will be interested in.
First - I completely cleared my movies database, deleted .nfo's, removed the source, etcetera. I re-scanned from scratch. (sigh, my watched status...).
I then did a bunch of troubleshooting on single trailers, etcetera. The funny behaviour I eventually identified is this:
With only 'coming attractions' (it doesnt matter if its coming attractions or theater intro, actually) video enabled + 3 streaming local library trailers, I ran 10 consecutive hangs.
Disable any videos BEFORE trailers, 10 consecutive successes.
I didn't make another log since you said there wasn't really anything to see in the last one, but I am certainly willing to do so again if need be.
One other thing I discovered, pressing stop during the trailers has a high rate of what i will call a "menu hang", where xbmc is "paused" with only background, and responds to nothing. I don't actually care too much about this bug but I tested it vs. pressing stop on trailers launched from info-trailer, and I could not create the hang. [EDIT: actually, this happens pressing stop on the local coming attractions/feature/etc videos too].
I'd really like to get this working and it seems like there's a bug in the plugin or playlist functionality.
EDIT: I noticed when the "trailer hang" happens after coming attractions video (or whatever video) ends, if I bring up the a/v menu and press 'next' it just exits to the menu immediately.
EDIT2: If I use the a/v menu and press 'next' before end of the coming attractions video, I also have a 100% success rate. (trailers play properly) So it seems like its the transition betewen local videos and streams from library.!!!!
I hope this is valuable!!
What to do next?
thanks for your time!
You beat me to it. I did all kinds of testing last night and today. I even reverted back to my 10.0 Dharma Build restore image I had saved which worked 100% before I updated to Dharma 10.1 and SVN nightly builds.
Just as you described, it is something between the handoff of a local video to a streamed video that is causing XBMC to hang.
So here is how it breaks down:
1) Playing movie theater intro videos and/or Coming attractions intro video + streaming trailers =
100% Failure, with XBMC freezing or going back to the menu after pressing the "ESC" button.
2) Playing movie theater intro videos and/or Coming attractions video + downloading streaming trailers while trivia is playing=
100% Failure, with XBMC freezing or going back to the menu after pressing the "ESC" button. Although, in this scenario I would like to point out, that the trailers do in fact still download, as I checked the folder where I assigned the trailers to be downloaded and they are there every single time with NFO's and everything. But for some reason, they don't load when it's time for them to play.
3) Playing movie theater intro videos and/or Coming attractions intro video + local trailers(ie: XBMC movie trailers, previously downloaded trailers, ie) =
100% Success.
4) Disabling all videos (movie theater intro and coming attractions intro) before streaming trailers start =
100% Success
So basically, for me it seems, if I want to play
streamed trailers I have to make sure no videos play before the trailers. After the trailers finish, all other videos (ie: coming attractions outro, countdown, ratings video, movie) play just fine without any problems.
And here I thought I was the only one having this problem.
If an error/debug log is needed, let me know and I can post mine as well.
BTW, I just want to say thank you Giftie for sharing this amazing piece of code. It is an awesome program. My family and I have a blast using this script