Hi, I've been using this excellent tool to manage my jukebox for quite a few months now without a problem. This week i started adding trailers to my jukebox and the program now crashes when i click get movies.
I've played around and found it's only a few movie locations causing the issue so wondered if anyone can advise on how to turn on debugging so that i can work out where the issue is. The error i'm getting is:
************** Exception Text **************
System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at JustLearning.JukeBoxXMLRoutines.ValidateXML(String xmlToValidate)
at JustLearning.cJukeboxUtilities.GetXMLFiles(Stack`1 MovieDirs, Boolean ModifiedOnly, cFilmshare Filmshare)
at JustLearning.frmManualJukebox.GetFilms()
at JustLearning.frmManualJukebox.cmdGetFilms_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Edit:
It would appear that a number of my moviename.xml files had been modified to be zero size. A removal of these files and the aggregator runs smoothly again.
Problem solved.