![]() |
|
[NMJ v1] NMJToolbox - A Windows editor for the NMJ (Updated 15/10/2012 v1.0.4.6) - Printable Version +- Networked Media Tank (http://www.networkedmediatank.com) +-- Forum: NMT Software & Settings (/forumdisplay.php?fid=19) +--- Forum: NMJ - Networked Media Jukebox (/forumdisplay.php?fid=108) +---- Forum: Guides - Tutorials - User Apps (/forumdisplay.php?fid=110) +---- Thread: [NMJ v1] NMJToolbox - A Windows editor for the NMJ (Updated 15/10/2012 v1.0.4.6) (/showthread.php?tid=46103) |
RE: NMJToolbox - A Windows editor for the NMJ (Updated 03/01/11 v1.0.2.3) - jcfay - 01-04-2011 07:31 PM (01-04-2011 05:56 PM)mau98 Wrote: I apologize, I read the previous posts but I could not understand .... Cool, glad you got it. That's what I was going to ask. Before I work on the database, I always save a copy locally but then work on the copy on the actual media drive. That way I don't get the message. Not a big deal either way so long as you remember to always have copies. Now I have a question: Working in NMJT, I updated the Video thumbnails and posters with my own images, but when are the Episode thumbnail and posters ever visible? Are one or both of them visible when clicking on the episode? What about items that are a single video (but also exist as an episode, of course, since every video has to be an episode just because of the db structure)? Do those ever show up? Thanks again all RE: NMJToolbox - A Windows editor for the NMJ (Updated 03/01/11 v1.0.2.3) - arjelism - 01-04-2011 08:14 PM hi rom does the update solved the path issue with the leading "/" for added media files? thanks..ur NMJT is really a great one! RE: NMJToolbox - A Windows editor for the NMJ (Updated 03/01/11 v1.0.2.3) - mau98 - 01-04-2011 08:40 PM I too have a question: Now I have a folder of my home movies with NMJT and everything is very nice In another folder on the same disk NAS also holds the ISO of my DVD and now the question is: if I update the db with NMJ risk, again to alter the records already in place? It would be a disaster ... I spent an afternoon ... Manually insert the dvd it would take much time, too many RE: NMJToolbox - A Windows editor for the NMJ (Updated 03/01/11 v1.0.2.3) - noj - 01-04-2011 08:54 PM (01-04-2011 08:14 PM)arjelism Wrote: hi rom I can confirm that it is fixed for blurays BDMV, a previous post stated it was fixed for them also. RE: NMJToolbox - A Windows editor for the NMJ (Updated 03/01/11 v1.0.2.3) - Rom - 01-04-2011 09:29 PM The '/' issue should be fixed. I say 'should' as it is not an actual bug in the program, more to do with windows and the way it processes. It appears it was getting ahead of itself in some cases and storing the path before it had finished my processing to strip the / off the path. All I did was put in a delay (for people who program a DoEvents()) and for good measure, after the delay, I check the path and re-strip any leading '/'. Its not that it wasn't stripping it, its that it sometimes stipped it a bit late.....bloody Windows ![]() As to copying the DB locally, the NMJ is coded to handle this (this is how I test anyway, I never edit in-situ). NMJT will try to work out which mapped drive the DB you have opened belongs to. It actually does this by getting a list of the mapped drives on your PC, selecting a random video file in the DB you have opened and then it tries to locate the file on the drives you have mapped. If you have everything set up correctly, it should work fine. However, sometimes it may not find the correct mapped drive or you may have mapped it to a different folder level. What is important to remember is that the 'Actual NMT Drive' letter at the top of toolbox is important for NMJT to get your media paths correct. It is also the default location it opens when you browse for media files. RE: NMJToolbox - A Windows editor for the NMJ (Updated 03/01/11 v1.0.2.3) - congo181 - 01-04-2011 11:02 PM ROM. I am using your toolkit to try and find out why NMJ will not build my database properly. The movies get built OK, but the MNJ scan stops during the audio scan. When I open the media.db with NMJT, it see the movies but gives a JIT error when I try and look at the music albums. I attach most of the JIT error that NMJT gives, in the hope that you may be able to tell why NMJ has stopped building the DB - I would love to give this info to Syabas. Unhandled exception error blah blah... Index was out of range. Must be nin negative and less than the size of the collection. Parameter name: index. ************** Exception Text ************** System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.Collections.ArrayList.get_Item(Int32 index) at System.Windows.Forms.DataGridViewSelectedCellCollection.get_Item(Int32 index) at NMJToolbox.frmMain.UpdateSelected() at NMJToolbox.frmMain.RefreshDataView() at NMJToolbox.frmMain.tabControl1_SelectedIndexChanged(Object sender, EventArgs e) at System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs e) at System.Windows.Forms.TabControl.WmSelChange() at System.Windows.Forms.TabControl.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) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- Edit - I've just noticed that all the music is scanned by track, but no album IDs. It gives the error when I look at the albums only Any ideas? Thanks. RE: NMJToolbox - A Windows editor for the NMJ (Updated 03/01/11 v1.0.2.3) - Rom - 01-04-2011 11:13 PM The only pointers I can give you are for these three lines (as these are blocks that I have coded, the rest are windows internal functions): at NMJToolbox.frmMain.UpdateSelected() at NMJToolbox.frmMain.RefreshDataView() at NMJToolbox.frmMain.tabControl1_SelectedIndexChanged(Object sender, EventArgs e) tabControl1_SelectedIndexChanged - This is then you click on a different tab (Video, Episode, Album, Track). It in turn calls RefreshDataView() which retrieves the table that corresponds to the tab that you clicked - eg if you click on Music(Album) then it will retrieve all records from the MUSIC_ALBUM table. It then populates the datagrid with these records. Lastly UpdateSelected() which displays the details, posters, thumbnails, coverart etc for the row selected on the grid. If it is just displaying (ie you just changed tabs) it would be the first row as windows automatically selects the first row. If you want me to debug your DB and tell you exactly what is causing the error you can upload your media.db file and I can debug the program and tell you exactly what is causing the error. RE: NMJToolbox - A Windows editor for the NMJ (Updated 03/01/11 v1.0.2.3) - congo181 - 01-04-2011 11:23 PM Thanks very much for the offer. I may take you up on it if I have no luck with the current scan. I suspect that for some reason, the album section is never getting written to in the DB - if thats possible. Would you know how NMJ determines albums, and in what order it scans? I suspect it does Movies, Tracks, Albums, and I'm not sure about photos. My media is stored as follows: //SATA_DISK/share/music/artist name/album name/track 1 //SATA_DISK/share/music/artist name/album name/track 2 etc... for each album, for each artist. All my tracks and movies appear in NMJT - but NO album info at all. Could the unhandled exception in NMJT be as a result of album count = 0? Jim RE: NMJToolbox - A Windows editor for the NMJ (Updated 03/01/11 v1.0.2.3) - Wombass - 01-05-2011 02:20 AM How can I use NMJToolbox MediaInfo with DVD .iso's. Searched but could no info. Cheers Wombass RE: NMJToolbox - A Windows editor for the NMJ (Updated 03/01/11 v1.0.2.3) - zombiehunter - 01-05-2011 03:14 AM MediaInfo does not work directly with Iso's, Iso's are not a media type but a generic disk image to be able to read the media info you must first mount the ISO in a virtual drive then look for the media file Not sure if Rom mounts ISO's in his Add title feature<hr> If he has I'll have to bribe him for the code as it is a little difficult to do in .net RE: NMJToolbox - A Windows editor for the NMJ (Updated 03/01/11 v1.0.2.3) - Wombass - 01-05-2011 04:41 AM Thank You, maybe in things to do Cheers Wombass RE: NMJToolbox - A Windows editor for the NMJ (Updated 03/01/11 v1.0.2.3) - sacrom - 01-05-2011 08:57 AM (01-04-2011 11:23 PM)congo181 Wrote: Thanks very much for the offer. I may take you up on it if I have no luck with the current scan. Did you edit the ID3 tags of the audio files? (in case of mp3, flac tags/vorbis comment in case of flac audio files). The NMJ only uses that information to attach together the music tracks into an album. RE: NMJToolbox - A Windows editor for the NMJ (Updated 03/01/11 v1.0.2.3) - congo181 - 01-05-2011 10:19 AM Hi sacrom - yes, all my music tracks have tags. RE: NMJToolbox - A Windows editor for the NMJ (Updated 03/01/11 v1.0.2.3) - TeMpL - 01-05-2011 10:49 AM (01-05-2011 10:19 AM)congo181 Wrote: Hi sacrom - yes, all my music tracks have tags. use mp3tag to open and save tags (again) it wil save tags in all formats.. It should work then. RE: NMJToolbox - A Windows editor for the NMJ (Updated 03/01/11 v1.0.2.3) - sacrom - 01-05-2011 11:25 AM (01-05-2011 10:49 AM)TeMpL Wrote: use mp3tag to open and save tags (again) it wil save tags in all formats.. If it didn't work, you my also try saving the tags using ID3v2.3. I've found problems with ID3v2.4 (there should be an option on mp3tag/easytag preferences) |