Kodi Community Forum
Ember Media Manager NFO/Poster/FanArt Manager for Movies (Open Source VB.NET) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: Ember Media Manager (https://forum.kodi.tv/forumdisplay.php?fid=195)
+---- Thread: Ember Media Manager NFO/Poster/FanArt Manager for Movies (Open Source VB.NET) (/showthread.php?tid=50348)



- cheeky - 2009-07-15

Quick bug report: Using one movie per directory, if the movie's folder name contains a comma, then the "Open containing folder" action on the left context menu thinks that the folder name is the substring proceeding the comma.

E.g. Folder name:
Animatrix, The (2003)
Error:
The path 'The (2003)' does not exist or is not a directory

Note that images, nfos and extrathumb dirs are all created ok. This open folder action must be using a different code path to get the folder location.


- JustinAiken - 2009-07-15

Ah! That explains why some of my movies never scanned right!


- olympia - 2009-07-15

cheeky Wrote:Quick bug report: Using one movie per directory, if the movie's folder name contains a comma, then the "Open containing folder" action on the left context menu thinks that the folder name is the substring proceeding the comma.

E.g. Folder name:
Animatrix, The (2003)
Error:
The path 'The (2003)' does not exist or is not a directory

Note that images, nfos and extrathumb dirs are all created ok. This open folder action must be using a different code path to get the folder location.

Which version are you using?
I cannot reproduce this on the latest SVN version, so if you are using some old one, the new release will solve your issue.

And again, guys, please use the the link from our signature to report bugs/requests!!!


- olympia - 2009-07-15

clock2113 Wrote:Ah! That explains why some of my movies never scanned right!

This is nothing to do with directory scanning? What do you mean here?


- JustinAiken - 2009-07-15

I mean some movies (like "Deuce Bigalow, Male Gigalo") were not showing up in EMM...


- nul7 - 2009-07-15

mark007 Wrote:Very interesting. BUT, (with my limited knowledge, correct me if I am way off), but if you are downloading jpeg's from say imdb, I don't see any reason why your software should have to worry about quality at all. OK if you load a jpeg object into memory for viewing in the gui, and then save that jpeg object to disk, maybe you would need the quality setting, but if a user wants an exact copy, i would imagine you could change the behaivour to just dump exactly what was downloaded from the website as a file... just like a wget, instead of writing that image / gui object to disk.

Put another way, downloading a jpeg from say google images, to disk, I would just save the file directly to disk, not open it in an image editor after saving, to resave with a certain quality value.

I hope you understand what I am saying here..... does what I say make sense. Can you dump exactly what you download, straight to disk as a 1:1 copy, removing the need for a quality setting at all, and we will have 1:1 copies of what was scraped.

Yes, but just for ease of programming, everything was passed through the encoder. I'll re-work some stuff to be able to disable it.

Cosmor Wrote:From V.730 have the German Mpaa Rating a error
and the Mediainfo.dll from V.718 works not correct
The DVD´s with VTS_01_1.VOB (no VIDEO_TS.VOB in the folder) have a Duration of Duration: 0h 0Mn

Dvd´s with VIDEO_TS.VOB have the Correct Duration

And the error would beHuhHuh Just saying something doesn't work doesn't help us to fix it. lol We need to know the "whats, whens, whys, and hows". Wink

mark007 Wrote:Ah cool. Maybe quality settings could be greyed out in the GUI, if no resizing is specified? Would this make things clearer?

EDIT: Unfortunately with the latest version, I get the same error in the log file. Can you make it more verbose? You can see below when i try to reopen the movie and rescrape fanart, I get another error in the log, like the trouble some image isn't there at all or something.

Title: Error
Message: A generic error occurred in GDI+.
StackTrace: at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
at Ember_Media_Manager.Images.Save(String sPath, Int64 iQuality)
Date/Time: 14/07/2009 21:23:28
===========================================================================================

Title: Error
Message: Object reference not set to an instance of an object.
StackTrace: at System.Drawing.Bitmap..ctor(Image original)
at Ember_Media_Manager.dlgImgSelect.GetFanart()
Date/Time: 14/07/2009 21:23:52
===========================================================================================

Unfortunately, that's as verbose as it gets. Those are the complete output of the errors. That's one reason why it makes it so difficult to fix image related errors sometimes because it doesn't tell you exactly what the error is.

patkhoo Wrote:I agree.. If a user did not ask to resize the image, then it should be the exact raw file as downloaded from the net. The quality setting should only come into play if the user asked to resize all the fanart/posters etc..

Sizing != quality. What if I wanted the original size, but with reduced quality? Wink Just having an option to disable the quality encoder will suffice I think.

cheeky Wrote:Quick bug report: Using one movie per directory, if the movie's folder name contains a comma, then the "Open containing folder" action on the left context menu thinks that the folder name is the substring proceeding the comma.

E.g. Folder name:
Animatrix, The (2003)
Error:
The path 'The (2003)' does not exist or is not a directory

Note that images, nfos and extrathumb dirs are all created ok. This open folder action must be using a different code path to get the folder location.

Ah, yes, good catch. Reworked to fix this and to also highlight the selected movie (handy if you have all your movies in one folder).

clock2113 Wrote:I mean some movies (like "Deuce Bigalow, Male Gigalo") were not showing up in EMM...

They should still show up if there's a valid movie in the folder. Is the extension for the video file in that folder listed in your valid extensions list? The comma problem only affected "open containing folder" because of the way the path was being sent to explorer (without quotes around it). Explorer assumed the part after the comma was a second path to process.


- Subzero199 - 2009-07-15

The latest release fixed the problem with not saving the data when changing movie, thank you. I now have a new problem. I cant search for posters for all movies at once, i have to do them one by one. It scans through all the files and just stops as if its done.


- nul7 - 2009-07-15

Subzero199 Wrote:The latest release fixed the problem with not saving the data when changing movie, thank you. I now have a new problem. I cant search for posters for all movies at once, i have to do them one by one. It scans through all the files and just stops as if its done.

Which multi-scraper are you using?


- Subzero199 - 2009-07-15

nul7 Wrote:Which multi-scraper are you using?

I dont really know what that means. All of them are enabled in "Settings>Scraper Images". And i tried all the options under "Scrape Media". Fan art still works but not posters.


- nul7 - 2009-07-16

Subzero199 Wrote:I dont really know what that means. All of them are enabled in "Settings>Scraper Images". And i tried all the options under "Scrape Media". Fan art still works but not posters.

What I mean is, are you using "All -> Auto -> All", or "Missing -> Ask -> Posters", or "New -> Auto -> Fanart", etc?


- Subzero199 - 2009-07-16

nul7 Wrote:What I mean is, are you using "All -> Auto -> All", or "Missing -> Ask -> Posters", or "New -> Auto -> Fanart", etc?

I tried most if not all of those.


- Cosmor - 2009-07-16

I have make a Screen from the error Big Grin

show Mpaa Rating

Image


- Ram2000 - 2009-07-16

Ok i LOVE the look of this have used a few mm's before but none that looks anywhere near as clear and complete as this (apart from the tv option)
Nul7 seems to be working on progressing this 24/7 and i can only say THANKYOU
However I cannot for the life of me getting it working on any of my home Pcs I have two vista pc both fully updated
and My Media PC witch is running win7 I get he same error on all three I cant help feeling I dont have all the programme ?
i get
Quote: CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Xml.Linq
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.1 built by: SP
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.1 built by: SP
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

I have the latest net3.5 sp1 installed have downloaded both parts from the svn trolled through most of the pages in this MASSIVE thread.

PLEASE I am sure its something simple like me any help anyone.....


- nul7 - 2009-07-16

Subzero199 Wrote:I tried most if not all of those.

Please enable error logging and see if an errlog is created. If so, please post it's contents.

EDIT: I am having absolutely no problems downloading posters using a multi-scraper so I'm thinking this is either a mis-configuration or system problem on your part or there must be some particular setting (or combination of) that it is causing it.... just can't find it. Is anyone else having problems using a multi-scraper to download posters??

Cosmor Wrote:I have make a Screen from the error Big Grin

show Mpaa Rating

Image

Ooops.... sorry about that. Fixed.

Ram2000 Wrote:Ok i LOVE the look of this have used a few mm's before but none that looks anywhere near as clear and complete as this (apart from the tv option)
Nul7 seems to be working on progressing this 24/7 and i can only say THANKYOU
However I cannot for the life of me getting it working on any of my home Pcs I have two vista pc both fully updated
and My Media PC witch is running win7 I get he same error on all three I cant help feeling I dont have all the programme ?
i get


I have the latest net3.5 sp1 installed have downloaded both parts from the svn trolled through most of the pages in this MASSIVE thread.

PLEASE I am sure its something simple like me any help anyone.....

What is the actual error? I need the "Exception Text" section from the top. Wink


- Ram2000 - 2009-07-16

Just off to bed but heres what it says...
Quote:Unhandled exception has occurred in your application. If you click
Continue, the application will ignore this error and attempt to continue. If
you click Quit, the application will close

The type initializer for "Ember_Media_Manager.Master" threw an exception

If i continue I can get into the application but what ever I press it brings up this error.
thanks again for any advice.