Jump to content

Themed videos + music problem


tman

Recommended Posts

I have two installations of MBC on different Windows 7 PC's pointing to the same MB Server running on Windows. I'm a supporter, and have bought various plugins, including recently the Theme Videos/Theme Music 4 pack.

 

Installation went fine, and the scheduled tasks has downloaded all the media files it can find. Odd thing is, one of my MBC installs shows the background videos fine, the other doesn't (it only shows the static backgrounds). They're identical versions of MBC, and the one that doesn't show the background videos does play the theme music, but the other install does both.

 

I've been through the settings, but there's nothing I can see that I've changed. I'd really like to get this working, as the one that doesn't work is actually my main HTPC on the big TV. The one that does work is just my desktop test PC. I'm using MBC v3.0.238 with MB+ Classic EHS on both. The theme is Subdued.

Link to comment
Share on other sites

Subdued has so many options that there must be something hidden in there somewhere.  Try changing to Chocolate and see if it works.  If so, you know you need to hunt down whatever that option is.

Link to comment
Share on other sites

Well, I worked out that the option to enable this is actually 'Active Backgrounds' under 'View Options'. Toggling this, then restarting MBC will definitely stop/start the feature. I can confirm this is enabled on both installations, but still only one is working.

 

Looking at the logs for when I open a movie with an active background, the only only difference I can see between the installation that works and the one that doesn't are the following entries that are logged when the movie detail view is opened;

 

2014-11-28 22:25:54.6551,Debug,,Setting now playing status to False,1,Application

2014-11-28 22:25:54.6561,Debug,,Theme background stopped - unhooking,1,Application

 

Following this, just the static backgrounds show, but the theme music does play.

Link to comment
Share on other sites

Are those lines from the machine that worked or the one that didn't?  It would be best to post both logs for us to see the entire context.

 

Also, did you by any chance copy configs between these machines?  Is it possible the one that isn't working still has the old theme video plug-in installed on it?

Link to comment
Share on other sites

Thanks ebr. Those lines are from the client that isn't working. I've attached two log files - one from the working client, the other from the non-working one. In this case. I used 'Life of Pi' as the reference movie. The theme background plays fine on my desktop PC, but not on the main HTPC (the main HTPC does play theme music though). My desktop PC plays the background video AND theme music. Both systems have 'Active Backgrounds' enabled.

MBClassic-working-client.log

MBClassic-non-working-client.log

Edited by tman
Link to comment
Share on other sites

I think maybe you labeled those files backwards.  The one you said wasn't working appears to be working fine according to the log.  But the one you said was working has these errors in it:

2014-11-30 18:25:54.4415,Error,,Unable to get media experience for theme backdrop playback,1,Application
2014-11-30 18:25:54.4415,Error,,Unable to get media experience for theme backdrop playback,1,Application

Which, unfortunately, is a internal issue in WMC.  Try running all windows updates and driver updates on the machine that isn't working.

Link to comment
Share on other sites

Mmmm. I thought I got the log files the right way round, but you never know. So that's more of a WMC error then. I tend not to patch my main HTPC as I don't want to risk things breaking, but if you think it's worth a go, then I'll look into it. Both PC's use ATI discreet GPU's as well, so are very similar.

 

Would radeon's suggestion of trying the older MBC plugin make any difference, or would it just be ignored by the new MBC with those features baked in?

 

Sounds like it's going to be a process of trial and error.

Link to comment
Share on other sites

The old plug-in would likely conflict with the current functionality and it really wouldn't be relevant information anyway.

Link to comment
Share on other sites

Ok, this is a long shot. The PC that works has IE11 installed. My main HTPC still has IE9 (didn't use it, so never needed to upgrade it). I know a lot of streaming can tap into IE API's (inc WMC), so I'm wondering if this might be worth upgrading.

Edited by tman
Link to comment
Share on other sites

  • 2 weeks later...

Been offline on this a while, but can confirm updating to IE11 made no difference. I'm not totally up to date on Windows patches, but then neither is my other PC that works. Really bugging me now. Can't for the life of me see why it's not working. I know you identified something in the logs, but even with debug mode on, I can't see these now. MBClassic log files on both PC's appear to show the same debug log entries when entering and leaving a movie to TV show with active background - ie, both indicating everything is normal.

Link to comment
Share on other sites

  • 3 weeks later...

Still been working on this. Hopefully I have some more relevant information to post this time.

 

I've grabbed some new logs, which might (or might not) help. Looking at the two files, there's little difference between the 'pc working' and 'pc not working' files, but there are some.

 

On the 'pc working' log for MB Classic, the important lines are as follows for, in this case, the movie Zero Dark Thirty;

 

2014-12-28 11:18:38.1326,Debug,,Loading full details for Zero Dark Thirty,1,Application
2014-12-28 11:18:38.4256,Debug,,Setting now playing status to True,1,Application
2014-12-28 11:18:38.9326,Debug,,Environment property changed - hooking transport,1,Application
 
On the 'pc not working', I see the following;
 
2014-12-29 12:04:21.1619,Debug,,Loading full details for Zero Dark Thirty,1,Application
2014-12-29 12:04:21.7409,Debug,,Setting now playing status to True,1,Application
 
So, we don't see the 'Environment property changed' message. This could be important.
 
I also pasted the http://192.168.0.10:8096/mediabrowser/Users/3ab3d063-61f5-ce61-86f5-68a7ecd9b343/Items/5d3f280d-c1ac-7018-c1c9-0141335d1bd6?format=Json,1,Application line straight into a browser on both PC's and this yielded something very interesting;
 
On the 'pc working' I get the following;
 
{"ThemeVideosResult":{"OwnerId":"5d3f280dc1ac7018c1c90141335d1bd6","Items":[{"Name":"theme","ServerId":"6e458c87c2124cc791c37ab78a095872","Id":"9748877d7bb9bdbe889832d79f22d85a","DateCreated":"2014-11-23T07:55:57.8343661Z","SupportsSync":true,"SortName":"theme","ExternalUrls":[],"MediaSources":[{"Protocol":"File","Id":"9748877d7bb9bdbe889832d79f22d85a","Path":"\\\\whs2\\movies\\HD\\Zero Dark Thirty\\backdrops\\theme.mp4","Type":"Default","Container":"mp4","Size":40612395,"Name":"720P/H264/AAC","RunTimeTicks":1067320000,"ReadAtNativeFramerate":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","Language":"und","IsInterlaced":false,"BitRate":2912457,"BitDepth":8,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":720,"Width":1280,"AverageFrameRate":23.97602,"RealFrameRate":23.97602,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"PixelFormat":"yuv420p","Level":31,"IsAnamorphic":false,"IsCabac":true},{"Codec":"aac","Language":"und","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":128023,"Channels":2,"SampleRate":44100,"IsDefault":true,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"Level":0}],"PlayableStreamFileNames":[],"Formats":["mov","mp4","m4a","3gp","3g2","mj2"],"Bitrate":3044065,"RequiredHttpHeaders":{},"DefaultAudioStreamIndex":1}],"Path":"\\\\whs2\\movies\\HD\\Zero Dark Thirty\\backdrops\\theme.mp4","Taglines":[],"Genres":[],"RunTimeTicks":1067320000,"PlayAccess":"Full","IsPlaceHolder":false,"RemoteTrailers":[],"ProviderIds":{},"IsHD":true,"IsFolder":false,"Type":"Video","People":[],"Studios":[],"ParentBackdropItemId":"5d3f280dc1ac7018c1c90141335d1bd6","ParentBackdropImageTags":["74650d36407233c4753788f04f65d77b","17924562f22b29688ea978247b2d2ea4","7e3338420d1525dfbc306564590b6365"],"UserData":{"PlaybackPositionTicks":0,"PlayCount":0,"IsFavorite":false,"Played":false,"Key":"9748877d-7bb9-bdbe-8898-32d79f22d85a"},"DisplayPreferencesId":"d82491aa65daa4655f5f038d41ec6127","Tags":[],"Keywords":[],"PrimaryImageAspectRatio":1.78571428571429,"OriginalPrimaryImageAspectRatio":1.78571428571429,"MediaStreams":[{"Codec":"h264","Language":"und","IsInterlaced":false,"BitRate":2912457,"BitDepth":8,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":720,"Width":1280,"AverageFrameRate":23.97602,"RealFrameRate":23.97602,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"PixelFormat":"yuv420p","Level":31,"IsAnamorphic":false,"IsCabac":true},{"Codec":"aac","Language":"und","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":128023,"Channels":2,"SampleRate":44100,"IsDefault":true,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"Level":0}],"VideoType":"VideoFile","DisplayMediaType":"Video","SupportsPlaylists":true,"ImageTags":{"Primary":"06f7f0d0f449ead5eb230a8e7e680faa"},"BackdropImageTags":[],"ScreenshotImageTags":[],"ParentArtItemId":"5d3f280dc1ac7018c1c90141335d1bd6","ParentArtImageTag":"e8e6343541e9ac449e21f33b9f45838b","ParentThumbItemId":"5d3f280dc1ac7018c1c90141335d1bd6","ParentThumbImageTag":"85a40a00a392bd4bce53a65f7f6e1ebd","Chapters":[],"LocationType":"FileSystem","MediaType":"Video","ProductionLocations":[],"LockedFields":[],"LockData":false}],"TotalRecordCount":1},"ThemeSongsResult":{"OwnerId":"5d3f280dc1ac7018c1c90141335d1bd6","Items":[{"Name":"Northern Territories","ServerId":"6e458c87c2124cc791c37ab78a095872","Id":"8e3e1da4434cd3142400897e48ee33a2","DateCreated":"2014-11-22T18:28:29.8661274Z","SupportsSync":true,"SortName":"0006 - Northern Territories","ExternalUrls":[],"MediaSources":[{"Protocol":"File","Id":"8e3e1da4434cd3142400897e48ee33a2","Path":"\\\\whs2\\movies\\HD\\Zero Dark Thirty\\theme.mp3","Type":"Default","Container":"mp3","Size":3631474,"Name":"Northern Territories","RunTimeTicks":2269260000,"ReadAtNativeFramerate":false,"MediaStreams":[{"Codec":"mp3","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":128000,"Channels":2,"SampleRate":44100,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"Level":0}],"PlayableStreamFileNames":[],"Formats":["mp3"],"Bitrate":128023,"RequiredHttpHeaders":{}}],"Path":"\\\\whs2\\movies\\HD\\Zero Dark Thirty\\theme.mp3","Taglines":[],"Genres":["Score"],"RunTimeTicks":2269260000,"PlayAccess":"Full","ProductionYear":2012,"IndexNumber":6,"RemoteTrailers":[],"ProviderIds":{},"IsFolder":false,"Type":"Audio","People":[],"Studios":[],"ParentBackdropItemId":"5d3f280dc1ac7018c1c90141335d1bd6","ParentBackdropImageTags":["74650d36407233c4753788f04f65d77b","17924562f22b29688ea978247b2d2ea4","7e3338420d1525dfbc306564590b6365"],"UserData":{"PlaybackPositionTicks":0,"PlayCount":1,"IsFavorite":false,"LastPlayedDate":"2014-12-26T19:47:11.3502326Z","Played":true,"Key":"8e3e1da4-434c-d314-2400-897e48ee33a2"},"DisplayPreferencesId":"61bba315f137702baa296a1c417faada","Tags":[],"Keywords":[],"Artists":["Alexandre Desplat"],"Album":"Zero Dark Thirty","MediaStreams":[{"Codec":"mp3","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":128000,"Channels":2,"SampleRate":44100,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"Level":0}],"DisplayMediaType":"Audio","SupportsPlaylists":true,"ImageTags":{},"BackdropImageTags":[],"ScreenshotImageTags":[],"ParentArtItemId":"5d3f280dc1ac7018c1c90141335d1bd6","ParentArtImageTag":"e8e6343541e9ac449e21f33b9f45838b","ParentThumbItemId":"5d3f280dc1ac7018c1c90141335d1bd6","ParentThumbImageTag":"85a40a00a392bd4bce53a65f7f6e1ebd","LocationType":"FileSystem","MediaType":"Audio","ProductionLocations":[],"LockedFields":[],"LockData":false}],"TotalRecordCount":1},"SoundtrackSongsResult":{"OwnerId":"5d3f280dc1ac7018c1c90141335d1bd6","Items":[],"TotalRecordCount":0}}

 

This all looks fine as far as I can tell, but on the 'pc not working', if I paste the exact same line into a browser, I see this;

 

{"ResponseStatus":{"ErrorCode":"SecurityException","Message":"Access token is invalid or expired.","StackTrace":"   at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.ValidateSecurityToken(IServiceRequest request, String token)\r\n   at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.ValidateUser(IServiceRequest request, IAuthenticationAttributes authAttribtues)\r\n   at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.Authenticate(IServiceRequest request, IAuthenticationAttributes authAttribtues)\r\n   at MediaBrowser.Controller.Net.AuthenticatedAttribute.RequestFilter(IRequest request, IResponse response, Object requestDto)\r\n   at ServiceStack.ServiceStackHost.ApplyRequestFiltersSingle(IRequest req, IResponse res, Object requestDto)\r\n   at ServiceStack.ServiceStackHost.ApplyRequestFilters(IRequest req, IResponse res, Object requestDto)\r\n   at ServiceStack.Host.RestHandler.ProcessRequestAsync(IRequest httpReq, IResponse httpRes, String operationName)"}}

 

I would say this looks like a conclusive error, but I'm not sure how to resolve it - it indicates a security problem. Both PC uses the same account to access the system, and this account is an 'Administrator' in MBS. I've checked, and I can playback the 'theme.mp4' within wmplayer with no errors on both PC's

 

Does this help any?

 

pc - not working.txt

pc - working.txt

Link to comment
Share on other sites

I've forgotten, is the PC that works also your server machine?  Pasting that url in a browser should produce the security exception - unless maybe it comes from localhost.

Link to comment
Share on other sites

Thanks ebr. No, the server is a totally separate WHS2011 box which both clients access. I've never had MBS installed on the PC that isn't working. I also noticed that the PC that isn't working doesn't appear in the 'Devices' list in MBS, but the working one does.

Link to comment
Share on other sites

I did pick up on this link. It sounds like a similar issue, but I don't want to re-install MBS - it appears to be working fine. Would a complete re-install of MBC be a possible solution? It is up to date, but has been updated a lot (it's on the beta channel). Worth a shot?

Link to comment
Share on other sites

I don't think a re-install of MBC or MBS would have an effect.  The only error we've been able to nail down here is one within WMC on that one machine.  Removing and re-adding WMC may be worth a shot.

Link to comment
Share on other sites

  • 2 months later...

Not wanting to flog a dead horse with this problem, but I have made an interesting observation on my main HTPC which doesn't appear to play the movie/tv theme videos.

 

When opening the detail view of a movie that has a theme, I can hear the theme music, but not see the background video. I backed out of the movie, then closed MB, and what I noticed was that the theme video was playing, just as the background to the main MC interface! I scrolled up/down the menus, and the video kept playing, only when I pressed 'Stop' on the remote did it end.

 

I can repeat this for all movies/tv theme videos - they just play as the background in the MC display, and not the MB movie background. Hopefully that makes sense. Now, how to fix that!

Link to comment
Share on other sites

Make sure you are using a theme that displays the now playing viewport in the background of its pages.

Link to comment
Share on other sites

Cheesegeezer

Make sure you are using a theme that displays the now playing viewport in the background of its pages.

Something has changed when you moved our plugin to the core. Subdued, classic, iridium and xenon only play sound, no video. I've checked, checked and double checked my code. Hell i even changed it to copy chocolate's and its still not displaying. If i manually install the old themevideo backdrops, everything works fine.

Link to comment
Share on other sites

It sounds like the visibility of the static backdrop vs. the NPV is maybe tied to the wrong property?

Link to comment
Share on other sites

Cheesegeezer

That would be in the core code then i assume. So how has chocolate circum navigated around this? My properties are correct and tier structures are correct.

Link to comment
Share on other sites

I'll have to look in a bit.  Somewhere, when I made this change, I think I documented the property that needed to be used.

Link to comment
Share on other sites

Cheesegeezer

Ahh, cool, let us know when you find it and i can get the fixes in, you'll have to add it to classic too. I've not tried any of ST's themes, but can give them a quick whirl later on and report back.

 

Chhers

Link to comment
Share on other sites

Classic works fine.  It is just that it has never been designed with a full-screen NPV so it shows them in the little NPV window that it has.

Link to comment
Share on other sites

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...