Jump to content

Emby Classic crash every time I try to access music


Ian-Highlander

Recommended Posts

Ian-Highlander

So I've spent the last few months re-sorting, re-tagging and processing all my music files into Emby. Sorting them into the preferred file structure Emby wanted (changing from my previous alphabetical by artist name A-Z folders). Just over 64,000 tracks in total.

 

However every single time I try to go into music from Emby classic it crashes. I can click on the "latest item" in the EHS for music and that will play, but try and go into the music category itself and almost instantaneous crash.

 

Can anyone give any pointers? Works perfectly in the web client but two of my main media PC's use WMC with WMC remotes etc so I would like to be able to use the music through those.

 

Log file from Emby classic attached.

 

Also, not sure if it's worth pointing out but there's also a recurring typo in the logs, I assume this isn't the cause of the crash though and just a typo in the response message.

 

"2015-08-07 17:53:59.4053,Debug,,Keep alive call,, IsCurretntlyVisible=True,1,Application"

 

IsCurretntlyVisible has an extra t in it...

MBClassic-78201500139f89f50349a7ae7cd7e8465bc0c3.log

Edited by Antitheft2
Link to comment
Share on other sites

If you are having an actual crash you need to follow the instructions in the "How to Report a Problem" post and find the error in the event viewer.

Link to comment
Share on other sites

Ian-Highlander

@@ebr
 
Hmm, "Crash" in the technical definition of the word, perhaps not, but same end result: music inaccessible through Emby for WMC other than the "Latest" entries and clicking "Ok" closes Emby back to WMC.
 
Having tested this again this morning (multiple times) it does it every single time but doesn't add anything to the log files for Emby for WMC at all. Infact the last entry in the log files is still last night at 5.54pm. So posting another log file from Emby for WMC would be pointless as it's the same one I posted yesterday. The server log however does have multiple entries in it which appear relevant, so that's attached to this post.
 
More information below...
 
Emby for WMC version: 3.0.283.0
Emby Server version: 3.0.5724.3 (updated it this morning, was on the previous release when I posted this but the result is the same).
 
Client is on WIndows 7 Pro
Server is on Server 2008 R2
 
Nothing in Windows event viewer at all.
 
If I play the individual item from the "Latest" tab it plays fine. Videos/films/Music videos etc work as expected. Click on the music section itself to try and get into choose different music and I get the below...
 

55eededf5169e_error.jpg

server-63577302277.txt

Edited by Antitheft2
Link to comment
Share on other sites

CBers

More information below...

 

Post the Emby Classic log as well.

 

It should be in C:\ProgramData\MediaBrowser-Classic\logs

 

May have changed names if you are a new user to something like C:\ProgramData\Emby-Classic\logs.

Link to comment
Share on other sites

Ian-Highlander

Post the Emby Classic log as well.

 

It should be in C:\ProgramData\MediaBrowser-Classic\logs

 

May have changed names if you are a new user to something like C:\ProgramData\Emby-Classic\logs.

Hi CBers as I said in my latest post that log hasn't changed since last night, nothing is being written to it at all when this happens. it's attached to the first post from when I reported it then.

 

Not a new user, been using Mediabrowser in it's various forms for a long time.

 

Cheers

 

Ian

Edited by Antitheft2
  • Like 1
Link to comment
Share on other sites

There almost has to be an event viewer log if you are getting that dialog message.  Look at everything around that time.  Sometimes it is only labeled as information.

 

That log is the only way I'll be able to see what is actually happening.

Link to comment
Share on other sites

Ian-Highlander

@@ebr

 

Ahh, I apologise, there IS logs in the event viewer, they're in the seperate Media Center Applications and services logs category and I was only looking in the default Application/System ones, my apologies.

 

 

Exception System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.

 
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
   at Microsoft.MediaCenter.UI.Template.FastPropertyInfo.FastClrPropertyInfo.GetValue(Object obj)
   at Microsoft.MediaCenter.UI.ObjectPath.PropertyOperations.Get(Object instance, String stPath, Boolean fThrowOnError)
   at Microsoft.MediaCenter.UI.ObjectPath.Get(Object instance, Int32 idxStart, Int32 nCount, Boolean fErrorOnNullReturn, Boolean fThrowOnError)
   at Microsoft.MediaCenter.UI.RulesPropertyObjectListener.AddTrackingForObjectPath(ObjectPath iip)
   at Microsoft.MediaCenter.UI.RulesPropertyObjectListener.ListenToSources(IList listSources)
   at Microsoft.MediaCenter.UI.Template.ViewBlueprint.Build(Object objContext, Object objRoot)
   at Microsoft.MediaCenter.UI.Host.OnPreInitialize()
   at Microsoft.MediaCenter.UI.ViewItem.PreInitializeTreeWorker()
   at Microsoft.MediaCenter.UI.ViewItem.PreInitializeTreeWorker()
   at Microsoft.MediaCenter.UI.ViewItem.PreInitializeTreeWorker()
   at Microsoft.MediaCenter.UI.ViewItem.PreInitializeTreeWorker()
   at Microsoft.MediaCenter.UI.ViewItem.PreInitializeTreeWorker()
   at Microsoft.MediaCenter.UI.ViewItem.PreInitializeTreeWorker()
   at Microsoft.MediaCenter.UI.ViewItem.PreInitializeTreeWorker()
   at Microsoft.MediaCenter.UI.ViewItem.PreInitializeTreeWorker()
   at Microsoft.MediaCenter.UI.ViewItem.PreInitializeTreeWorker()
   at Microsoft.MediaCenter.UI.ViewItem.PreInitializeTreeWorker()
   at Microsoft.MediaCenter.UI.ViewItem.PreInitializeTreeWorker()
   at Microsoft.MediaCenter.UI.ViewItem.PreInitializeTreeWorker()
   at Microsoft.MediaCenter.UI.ViewItem.PreInitializeTreeWorker()
   at Microsoft.MediaCenter.UI.ViewItem.PreInitializeTreeWorker()
   at Microsoft.MediaCenter.UI.ViewItem.PreInitializeTreeWorker()
   at Microsoft.MediaCenter.UI.NewUiZone.DeliverInitializations()
   at Microsoft.MediaCenter.UI.NewUiZone.ImplementUiTask(UiTask task, Object param)
   at Microsoft.MediaCenter.UI.UiZone.ProcessUiTask(UiTask task, Object param)
   at Microsoft.MediaCenter.UI.UiSession.ProcessInitialization()
   at Microsoft.MediaCenter.Queues.Dispatcher.MainLoop(Queue queue)
   at Microsoft.MediaCenter.UI.UIDispatcher.MainLoop(Queue queue, LoopCondition condition)
   at MediaCenter.Extensibility.Host.Main(String[] args)
 
InnerException System.IndexOutOfRangeException: Index was outside the bounds of the array.
 
at MediaBrowser.LibraryManagement.Helper.FirstCharOrDefault(String str, Boolean capitalize)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.<DistinctIterator>d__7a`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at MediaBrowser.Library.FolderModel.GetJilOptions()
   at MediaBrowser.Library.FolderModel.get_JilOptions()
Edited by Antitheft2
Link to comment
Share on other sites

Thanks.  Best I can tell, you have some item in your music library that has an empty sort name.  Typically, that wouldn't happen - it would be null instead.  Anyway, I think I've handled that now.

 

If you change your update level to Dev inside EMC and then do an update, it should fix it.

Link to comment
Share on other sites

Ian-Highlander

Thanks @@ebr that's fast (and appreciated) work.

 

In a crazily badly timed situation, my server has suffered a fairly major hardware failure this afternoon and I've spent the entire evening (still up at 1.40am doing it now) rebuilding my main array and trying to get mediabrowser back up to speed from backups.

 

As such I haven't had chance to test this yet, but hope to tomorrow and will report back if successful.

Link to comment
Share on other sites

Ian-Highlander

@@ebr

 

A massive improvement (and top work) but there's still an issue somewhere.

 

With the dev build I can now get into both the Music and Music Albums categories which were causing the problem above before and they now seem to be as I would expect them to be with the exception of the below, excellent and thanks for the fast response so far. :)

 

However, something's still not quite right. If I go into music albums, I see all 12,026 albums in my library listed but if I go into the music category I only see 3,733 of 64,013 tracks available.

 

No log generated at all by Emby Classic, new server log attached though.

 

Any help once again appreciated.

server-63577394264.txt

Edited by Antitheft2
Link to comment
Share on other sites

There almost has to be a log for EMC unless you turned off logging.

 

You'll need to give me a few more details about exactly where you are trying to go but I will tell you that the WMC app was never designed to handle huge lists of items.  In fact, I'm pretty sure I disabled navigating to a straight song list because I knew it would not be able to handle it.  You should be able to get to everything via albums, artists, genres etc. though - assuming things are tagged and setup properly on the server end.

Link to comment
Share on other sites

Ian-Highlander

@@ebr

 

Sorry not been around for a few days...

 

I didn't remember turning off logging, but it is the sort of idiotic thing me as a techy would do in a "it works so why do I need to log it" sort of way and sure enough it was off, apologies again (I seem to be getting in the habit of apologising to you) I've re-enabled it and new log attached.

MBClassic-139201571ede47f1b8a4668bbe81f8ceb76f5ae.log

Link to comment
Share on other sites

Thanks but again I need some more information about what you are actually trying to do.  What is the "music category"?  Screen shots would probably really help.

 

It also looks like that log was grabbed while the system was still retrieving information.

Link to comment
Share on other sites

Ian-Highlander

@@ebr

 

That's strange with the log file, I started the system up, clicked to the "Music Album" section and went into it, saw that was fine, came out and clicked into the "Music" section and saw it was only listing 3733 items, exited out, closed Emby down, closed WMC and then copied the log file and posted it.

 

Will leave it sitting on the music section for a while to see if it is trying to "catch up" with the listing or not and post back shortly with relevant screenshots.

 

As for "what I am trying to actually do", please don't take offense, but that seems like a slightly strange question, I'm using Emby Classic to play back all our media (TV shows/Films/Music Videos/Music). There's nothing particularly special about my setup except perhaps the music collection is quite large (but I'm sure it's not the largest around by a long way). I added a music folder into the media library configuration and imported all our music all categorised by album as per the recommendations, a "Music" category appeared as expected in Emby classic and I expected to be able to go into it and see my music and search/play what I want from it. However it seems it's only listing a fraction of the collection, what's there is playable now thanks to your earlier fix, but there's a vast majority of the collection missing.

 

Thanks again for your help and patience so far.

 

Edit: to add some basic screenshots to try and help illustrate.

 

Standard Emby Classic interface using Chocolate (I never use any other theme).

 

55f6d8dfe512b_music1.jpg

 

If I go into the "Music Albums" section you see there are 12,026 albums available by name (not all are complete, I've just sorted them by album into the system as recommended).

 

55f6d94a9f9b0_musicalbums.jpg

 

However, if I go into the "Music" section, it only lists 3,733 tracks but there are 64,013 on the system.

 

55f6d9779b503_music2.jpg

Edited by Antitheft2
Link to comment
Share on other sites

Ian-Highlander

Ok, WMC shut down completely, Emby classic log file deleted, Emby classic restarted, switched to music folder, still only 3733 items showing, left it idling in "Music" for an hour incase it was updating in the background, no changes still showing the same, exited Emby classic and WMC completely again. New log file from just this session alone attached.

 

@@ebr

MBClassic-1492015f316b3df50724a11a9e326dc17b8a041.log

Edited by Antitheft2
Link to comment
Share on other sites

Are you using Legacy Browsing mode?  Or have you disabled the enhanced views for your music library on the server?

 

When you go into the "Music" entry there on the EHS it should give you several different folder options to view your music by album or genre etc.  A straight song list option (which would appear in the web client or other apps) will not be shown because the design of EMC would not allow browsing something that is likely that large.

Link to comment
Share on other sites

Ian-Highlander

Are you using Legacy Browsing mode?  Or have you disabled the enhanced views for your music library on the server?

 

When you go into the "Music" entry there on the EHS it should give you several different folder options to view your music by album or genre etc.  A straight song list option (which would appear in the web client or other apps) will not be shown because the design of EMC would not allow browsing something that is likely that large.

That may explain it, I'll have a quick check later on, am at work at the moment, I normally just connect remotely for screenshots/logs/testing you ask for etc if it's during the day, but my wife's using the system at home at the moment, can't kick her off, more than my life's worth  :lol:

 

I do tend to switch off things that mean I require extra folder levels as using a remote I want to be able to get to things with as few button presses as possible. Will report back later.

Edited by Antitheft2
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...