Networked Media Tank
[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 20/01/11 v1.0.2.7) - Rom - 01-20-2011 09:17 PM

(01-20-2011 07:25 PM)philnort Wrote:  I believe the 1.028 is correct since it was an update to his just released 1.027 (it was to fix the bug I noted re: cast/director fields issue) Also the executable indicates 1.028.

What I would like to see Rom weigh in on is a recent post by Werner:
(Today 07:57 AM) werner wrote:  

we are working also on a new db structure which is currently in testing, it won't come with the next firmware which is planned for February, but we hope that we can speed up the browsing speed..."

does this throw any kind of wrench in your finely tuned app?

The current beta firmware is still the same structure (it is what I am currently using). But to answer your question, yes, it will probably be a major pain for me. It all depends on the extent of the changes they have made.

As a DB programmer/consultant as my main job, I always thought that the DB was a very strange design anyway. Hopefully I will be able to get the changes done to NMJT whilst the firmware with new DB is in beta so there will not be much time between you getting the release and the firmware being supported by NMJT.


RE: NMJToolbox - A Windows editor for the NMJ (Updated 20/01/11 v1.0.2.7) - arjelism - 01-20-2011 09:57 PM

Nice work as usual ROM! this stuff is a real masterpiece! Thanks a lot!


RE: NMJToolbox - A Windows editor for the NMJ (Updated 20/01/11 v1.0.2.7) - philnort - 01-20-2011 10:09 PM

".... Hopefully I will be able to get the changes done to NMJT whilst the firmware with new DB is in beta so there will not be much time between you getting the release and the firmware being supported by NMJT....."

We all have faith in the DB guru....maybe everyone can come out the other end as winners!


RE: NMJToolbox - A Windows editor for the NMJ (Updated 20/01/11 v1.0.2.7) - arjelism - 01-20-2011 10:11 PM

a little off topic question, can someone advise me how to properly name TV series episodes? I used the format: 'series name' sxxexx 'ëpisode title', however when displayed in NMJ episodes are listed in random and not according to seasons..Huh

can anyone please advise? thanks in advance!


RE: NMJToolbox - A Windows editor for the NMJ (Updated 20/01/11 v1.0.2.7) - TheCry - 01-21-2011 10:59 PM

Hi Rom...
At first... Great work!!!!
I like your tool... It is small and it makes the things wheter i need...

One thing... I'd read that some guys ask about the funktion for tv series over the database http://www.thetvdb.com ...
I'd renamed my compete tv series with http://seriesrenamer.wordpress.com/ and this tool works great with the different tv series databases...

Is it not possible to integrate a funktion to the NMJ Toolbox which make the same?
Maybe you can take a look on the source:
svn checkout http://seriesrenamer.googlecode.com/svn/trunk/ seriesrenamer-read-only


RE: NMJToolbox - A Windows editor for the NMJ (Updated 20/01/11 v1.0.2.7) - arjelism - 01-22-2011 02:14 AM

Hi Rom... I'm having error message when I tried to add movies with .iso format..the message says input string was not in correct format..


RE: NMJToolbox - A Windows editor for the NMJ (Updated 20/01/11 v1.0.2.7) - Rom - 01-22-2011 03:24 AM

(01-21-2011 10:59 PM)TheCry Wrote:  Hi Rom...
At first... Great work!!!!
I like your tool... It is small and it makes the things wheter i need...

One thing... I'd read that some guys ask about the funktion for tv series over the database http://www.thetvdb.com ...
I'd renamed my compete tv series with http://seriesrenamer.wordpress.com/ and this tool works great with the different tv series databases...

Is it not possible to integrate a funktion to the NMJ Toolbox which make the same?
Maybe you can take a look on the source:
svn checkout http://seriesrenamer.googlecode.com/svn/trunk/ seriesrenamer-read-only

It would be possible to incorporate this into NMJToolbox but I wouls like to see about putting my own function in for TV series. I will be looking at this shortly. However, depending on how quickly Syabas bring out the new DB structure for NMJ v2 I may get tied up with adapting NMJToolbox for that. v2 is still in the internal development stage so it won't be for a little while yet.
(01-22-2011 02:14 AM)arjelism Wrote:  Hi Rom... I'm having error message when I tried to add movies with .iso format..the message says input string was not in correct format..

Just tested this and the issue is down to mediainfo not returning valid data for ISO images. The error is caused by MediaInfo returning null for the movie duration. I have put a fix in for this in the next release.


RE: NMJToolbox - A Windows editor for the NMJ (Updated 20/01/11 v1.0.2.7) - TheCry - 01-22-2011 11:06 AM

This sounds good!
So we know there will be something comming up for tv series..
Thanks...


RE: NMJToolbox - A Windows editor for the NMJ (Updated 20/01/11 v1.0.2.7) - mdxxrave - 01-22-2011 01:00 PM

Can you show the original file path somewhere? Some movies are tagged like 0000 or got the wrong movie name. I have to use my PMC to see what kind of movie it really is.


RE: NMJToolbox - A Windows editor for the NMJ (Updated 20/01/11 v1.0.2.7) - Rom - 01-22-2011 01:08 PM

This is probably asked about every 10 posts or so....

The path is on the episode tab, there is a column called 'PATH' or you can click 'modify' whilst on the Video tab and it will show all of the media files attached to that show. Smile


RE: NMJToolbox - A Windows editor for the NMJ (Updated 20/01/11 v1.0.2.7) - mdxxrave - 01-22-2011 01:26 PM

lol, got it, thanks Big Grin


RE: NMJToolbox - A Windows editor for the NMJ (Updated 20/01/11 v1.0.2.7) - Rom - 01-22-2011 07:55 PM

ATTENTION

XmlException: Root element is missing error....

I have just noticed that in some cases TheMovieDB API is returning errors when NMJToolbox is trying to retrieve movie information.

This error is down to TheMovieDB and not NMJToolbox - it appears that something has gone wrong with their language part of the DB and returning a bad request result (seems to only be with en-GB and en-US). NMJToolbox assumes it will always get a valid response and does not handle this problem.

To try and work around the error (if you are getting it) you could change the language to another language and it should work. I am currently coding to trap this error so that you do not get a windows error when TheMovieDB returns an invalid XML response.

I will post an update later tonight.

EDIT#2

Seems they have now fixed the language error! Smile I have still trapped for it though...


RE: NMJToolbox - A Windows editor for the NMJ (Updated 20/01/11 v1.0.2.7) - mfsav2 - 01-22-2011 08:40 PM

rom,
on empty music:

Code:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** 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)



RE: NMJToolbox - A Windows editor for the NMJ (Updated 20/01/11 v1.0.2.7) - Rom - 01-22-2011 09:16 PM

(01-22-2011 08:40 PM)mfsav2 Wrote:  rom,
on empty music:

Code:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** 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)

What were you doing here to get the error? Do you mean you have no entries in the music portion of the DB and when you select that tab it throws the error?


RE: NMJToolbox - A Windows editor for the NMJ (Updated 20/01/11 v1.0.2.9) - Rom - 01-23-2011 01:46 AM

OK, new update, mainly a bugfix release with a few tweaks for good measure! Wink

1.0.2.9 - 23/01/11

Added/Changed:
Initial startup centred to screen
Check box to select/unselect all images on the TMDB images screen.
Changed MediaInfo source from Library to Format (Library is not always populated)
Defaulted text in the open file dialog to 'media.db'
Save the last language/region setting in a local properties file (file saved as NMJToolbox.parameters).

Fixed:
Adding an ISO causes a windows error.
Error generated when selecting 'MediaInfo' on Edit Episode under certain circumstances.
Catch invalid response received from TheMovieDB with certain language settings.