Kodi Community Forum
New Home for Ember Media Manager (Official Thread) - 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: New Home for Ember Media Manager (Official Thread) (/showthread.php?tid=116941)



RE: AW: AW: New Home for Ember Media Manager (Official Thread) - mauzzz - 2013-04-27

(2013-04-26, 15:52)DanCooper Wrote: Can you upload your media.emm? I can check/fix your database if you want.

Have send you a pm.


RE: New Home for Ember Media Manager (Official Thread) - m.savazzi - 2013-04-28

Fixed the bug on Poster scrape in Edit Episode / series


RE: New Home for Ember Media Manager (Official Thread) - hikaricloud - 2013-04-28

(2013-04-28, 16:58)m.savazzi Wrote: Fixed the bug on Poster scrape in Edit Episode / series

Do you mean the bug where it won't create a poster automatically from an episode? If you are, I'm running into that issue now, it refuses to do it automatically or manually from frame extraction...then sometimes it'll create a tbn file with no data and it locks up EMM.

If this is the issue you are talking about, how did you fix it?


RE: New Home for Ember Media Manager (Official Thread) - DanCooper - 2013-04-28

(2013-04-28, 19:39)hikaricloud Wrote:
(2013-04-28, 16:58)m.savazzi Wrote: Fixed the bug on Poster scrape in Edit Episode / series

Do you mean the bug where it won't create a poster automatically from an episode? If you are, I'm running into that issue now, it refuses to do it automatically or manually from frame extraction...then sometimes it'll create a tbn file with no data and it locks up EMM.

If this is the issue you are talking about, how did you fix it?

No.
But your problem will be a wrong configuration. What did you set the option "redownload the series information"? Always?
Ember's dowloaded new information only during rescraping and stores all information that is online. Only be uploaded later images do not automatically bring Ember.


RE: New Home for Ember Media Manager (Official Thread) - hikaricloud - 2013-04-28

(2013-04-28, 19:59)DanCooper Wrote:
(2013-04-28, 19:39)hikaricloud Wrote:
(2013-04-28, 16:58)m.savazzi Wrote: Fixed the bug on Poster scrape in Edit Episode / series

Do you mean the bug where it won't create a poster automatically from an episode? If you are, I'm running into that issue now, it refuses to do it automatically or manually from frame extraction...then sometimes it'll create a tbn file with no data and it locks up EMM.

If this is the issue you are talking about, how did you fix it?

No.
But your problem will be a wrong configuration. What did you set the option "redownload the series information"? Always?
Ember's dowloaded new information only during rescraping and stores all information that is online. Only be uploaded later images do not automatically bring Ember.

I've only had this problem with 7x10 of Doctor Who (2005) so far. My settings are to redownload show info every week (which seems to be the default).

The settings I use for fanart/posters/etc are based off an older guide that was probably more geared towards Eden.

http://www.howtogeek.com/61976/how-to-use-ember-media-manager-to-whip-your-media-collection-into-shape/

I'm using EMM to prep my files for my RPi running OpenELEC with Frodo 12.1 on it, just as background info.


RE: New Home for Ember Media Manager (Official Thread) - m.savazzi - 2013-04-28

(2013-04-28, 19:39)hikaricloud Wrote:
(2013-04-28, 16:58)m.savazzi Wrote: Fixed the bug on Poster scrape in Edit Episode / series

Do you mean the bug where it won't create a poster automatically from an episode? If you are, I'm running into that issue now, it refuses to do it automatically or manually from frame extraction...then sometimes it'll create a tbn file with no data and it locks up EMM.

If this is the issue you are talking about, how did you fix it?

maybe, not clear your issue.
I fixed frame extractor, replacement of poster, deletion of poster.


RE: New Home for Ember Media Manager (Official Thread) - hikaricloud - 2013-04-28

(2013-04-28, 21:37)m.savazzi Wrote:
(2013-04-28, 19:39)hikaricloud Wrote:
(2013-04-28, 16:58)m.savazzi Wrote: Fixed the bug on Poster scrape in Edit Episode / series

Do you mean the bug where it won't create a poster automatically from an episode? If you are, I'm running into that issue now, it refuses to do it automatically or manually from frame extraction...then sometimes it'll create a tbn file with no data and it locks up EMM.

If this is the issue you are talking about, how did you fix it?

maybe, not clear your issue.
I fixed frame extractor, replacement of poster, deletion of poster.

Basically, I update my library with the new episode, but scraping it doesn't generate a poster from a frame. I try to do it manually, but it won't save. If I hit "change episode" and reselect the correct episode, it creates a .tbn file with no data, which crashes EMM when I select the episode.

EDIT: Here's my error log:

Code:
Title: Error: G:\TV\Doctor Who (2005)\Season 7\Doctor Who - S07E10 - Journey to the Centre of the TARDIS.tbn
Message: Parameter is not valid.
StackTrace:    at System.Drawing.Bitmap..ctor(Stream stream)
   at EmberAPI.Images.FromFile(String sPath)
Date/Time: 4/28/2013 4:08:25 AM



RE: New Home for Ember Media Manager (Official Thread) - michael123 - 2013-04-28

I'm about to clean and rescan my entire media library (films only), is the current version ok for this or should I wait for the new version, what's the ETA on if you suggest waiting.


RE: New Home for Ember Media Manager (Official Thread) - Shadok - 2013-04-28

I'm having a issue when trying to scrape a new movie (using imdb).
I got to the point when the scraping window ask me to choose a corresponding movie then it closes when i chose one and does nothing more.

Code:
Title: Error
Message: Le paramètre n'est pas valide. (no valid parameter)
StackTrace:    à System.Drawing.Image.get_Height()
   à EmberAPI.ImageUtils.ResizePB(PictureBox& pbResize, PictureBox& pbCache, Int32 maxHeight, Int32 maxWidth)
Date/Time: 28/04/2013 21:51:59
===========================================================================================

Title: Error
Message: Impossible d'accéder à un objet supprimé. (unable to access to a deleted object)
Nom de l'objet : 'TreeView'.
StackTrace:    à System.Windows.Forms.Control.CreateHandle()
   à System.Windows.Forms.TreeView.CreateHandle()
   à System.Windows.Forms.Control.get_Handle()
   à System.Windows.Forms.TreeNode.get_State()
   à System.Windows.Forms.TreeNode.get_IsExpanded()
   à System.Windows.Forms.TreeNode.Remove(Boolean notify)
   à System.Windows.Forms.TreeNode.Clear()
   à System.Windows.Forms.TreeNodeCollection.Clear()
   à EmberScraperModule.dlgTMDBSearchResults.SearchResultsDownloaded(MovieSearchResults M)
Date/Time: 28/04/2013 21:53:33
===========================================================================================

Title: Error
Message: Le paramètre n'est pas valide. (no valid parameter)
StackTrace: à System.Drawing.Image.get_Height()
à EmberAPI.ImageUtils.ResizePB(PictureBox& pbResize, PictureBox& pbCache, Int32 maxHeight, Int32 maxWidth)
Date/Time: 28/04/2013 21:53:51
===========================================================================================


RE: New Home for Ember Media Manager (Official Thread) - DanCooper - 2013-04-28

PictureBox errors should all be fixed in the next version. I think tomorrow i can made a new release. We just fix the last error.


Bug in the <movie>.nfo XML - JohnWPB - 2013-04-29

Ok, I just found a bug that is probably going to effect a LOT of people, or at least anyone trying to creates sets in XBMC. It took me quite a few hours to figure out just why the sets were not displaying, after searching and reading tons of threads, trouble shooting ect.

There is a close tag for the </set> command, and no matching opening command for that tag.

To test this:

- I put 4 movies into a temp folder, and deleted the <movie>.nfo files in each of the 4 movie's subfolders.
- I then re-scraped the movies, and new .nfo files were created.
- Then, opening the <movie>.nfo file in Notepad++, in the code, there is a close tag for the "SET" tag. No opening just the " <set />"

Here is a snippit of the .nfo file after rescanning "American Pie"



Quote:<actor>
<name>Chris Weitz</name>
<role>Male Voice in Porn Film (voice) (uncredited)</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMjA2NTMxOTY2OF5BMl5BanBnXkFtZTYwODk4NDk3._V1._SY1080_SX1920_.jpg</thumb>
</actor>
<set />
<fileinfo>
<streamdetails>
<audio>
<channels>2</channels>
<codec>mp3</codec>
<bitrate>113</bitrate>
</audio>




The problem is, that after using the "SetManager" in EMM, it then creates it like this:



Quote:<actor>
<name>Chris Weitz</name>
<role>Male Voice in Porn Film (voice) (uncredited)</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMjA2NTMxOTY2OF5BMl5BanBnXkFtZTYwODk4NDk3._V1._SY1080_SX1920_.jpg</thumb>
</actor>
<set />
<set>Airplane! [Collection]</set>

<fileinfo>
<streamdetails>
<audio>
<channels>2</channels>
<codec>mp3</codec>
<bitrate>113</bitrate>
</audio>

I discovered this when I opened XBMC, none of the sets I created are there, after removing the movies from XBMC and scanning for new content. I then after a lot of diffing I found the extra </set>and removed it. I removed the the movies again from the XBMC library, and then scanned again to add them. After doing this the sets are now appearing correctly. I appears that the extra set close command is confusing XBMC into thinking that the <set> is closed, before it is even openSmile

I checked around 20 random .nfo's from my 3,000 movies, and every one of them has had the abandoned "</set>" in the xml.

There is no way that I have thought of to remove them with a string replace, as just removing abandoned "</set>" would do EVERY one, including the ones in the correct places. The data between the <set> and </set> changes, so no way to do a string replace like that either.

Can a way be created to fix this unopened tag without having to re-scrape EVERYTHING all over again?


RE: Bug in the <movie>.nfo XML - DanCooper - 2013-04-29

(2013-04-29, 00:45)JohnWPB Wrote: Ok, I just found a bug that is probably going to effect a LOT of people, or at least anyone trying to creates sets in XBMC. It took me quite a few hours to figure out just why the sets were not displaying, after searching and reading tons of threads, trouble shooting ect.

There is a close tag for the </set> command, and no matching opening command for that tag.

To test this:

- I put 4 movies into a temp folder, and deleted the <movie>.nfo files in each of the 4 movie's subfolders.
- I then re-scraped the movies, and new .nfo files were created.
- Then, opening the <movie>.nfo file in Notepad++, in the code, there is a close tag for the "SET" tag. No opening just the " <set />"

Here is a snippit of the .nfo file after rescanning "American Pie"



Quote:<actor>
<name>Chris Weitz</name>
<role>Male Voice in Porn Film (voice) (uncredited)</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMjA2NTMxOTY2OF5BMl5BanBnXkFtZTYwODk4NDk3._V1._SY1080_SX1920_.jpg</thumb>
</actor>
<set />
<fileinfo>
<streamdetails>
<audio>
<channels>2</channels>
<codec>mp3</codec>
<bitrate>113</bitrate>
</audio>




The problem is, that after using the "SetManager" in EMM, it then creates it like this:



Quote:<actor>
<name>Chris Weitz</name>
<role>Male Voice in Porn Film (voice) (uncredited)</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMjA2NTMxOTY2OF5BMl5BanBnXkFtZTYwODk4NDk3._V1._SY1080_SX1920_.jpg</thumb>
</actor>
<set />
<set>Airplane! [Collection]</set>

<fileinfo>
<streamdetails>
<audio>
<channels>2</channels>
<codec>mp3</codec>
<bitrate>113</bitrate>
</audio>

I discovered this when I opened XBMC, none of the sets I created are there, after removing the movies from XBMC and scanning for new content. I then after a lot of diffing I found the extra </set>and removed it. I removed the the movies again from the XBMC library, and then scanned again to add them. After doing this the sets are now appearing correctly. I appears that the extra set close command is confusing XBMC into thinking that the <set> is closed, before it is even openSmile

I checked around 20 random .nfo's from my 3,000 movies, and every one of them has had the abandoned "</set>" in the xml.

There is no way that I have thought of to remove them with a string replace, as just removing abandoned "</set>" would do EVERY one, including the ones in the correct places. The data between the <set> and </set> changes, so no way to do a string replace like that either.

Can a way be created to fix this unopened tag without having to re-scrape EVERYTHING all over again?

First, i can't reproduce your fault. I have made the same steps you have described, but i don't have this problem. I think you have a problem with your Ember database.
Secondly, <set /> iis not an unclosed tag, it's an empty string ( </set> is for closing).
Thirdly, you can try to remove the wrong tags with the tool TextCrawler. You can scan all *.nfo together and remove this tag. Then you have to remove all movies from Ember because the wrong tag is also stored in the Ember database or, for safety first, delete the database (Media.emm).

Use this settings for TextCrawler:
File Filter: *.nfo
Start Location: your movies folder

Find (klick on the Edit Find Text button to open a multiline editor and copy the tag from an NFO file with wordwrap and spaces):

Image

Replace: leave this field empty

Now klick the find button and test it with 1 file (safety first! Big Grin)


RE: New Home for Ember Media Manager (Official Thread) - Legion455 - 2013-04-29

XBMC appears to always get its own "mediainfo/metadata" from the movie if it isn't in the nfo,.. I was wondering if there's a way to have EMM "clear metadata" on all marked movies, etc? That way, one wouldn't have to re-do the nfo, when upgrading the movie file from 720 to 1080, etc.

thanks again for a great program!
Legion


RE: New Home for Ember Media Manager (Official Thread) - DanCooper - 2013-04-29

(2013-04-29, 01:14)Legion455 Wrote: XBMC appears to always get its own "mediainfo/metadata" from the movie if it isn't in the nfo,.. I was wondering if there's a way to have EMM "clear metadata" on all marked movies, etc? That way, one wouldn't have to re-do the nfo, when upgrading the movie file from 720 to 1080, etc.

thanks again for a great program!
Legion

If you want to update a single movie you can use this button:

Image


If you want to update more or marked movies you can select "Scrape Media -> Marked Movies ->Automatic -> Meta Data Only".



If you want remove all media info from nfo you can also use TextCrawler with this settings:

Find (Regex):
Code:
\n.*<fileinfo>(.*\n)*

Image


RE: Bug in the <movie>.nfo XML - JohnWPB - 2013-04-29

(2013-04-29, 01:08)DanCooper Wrote: First, i can't reproduce your fault. I have made the same steps you have described, but i don't have this problem. I think you have a problem with your Ember database.
Secondly, <set /> iis not an unclosed tag, it's an empty string ( </set> is for closing).
Thirdly, you can try to remove the wrong tags with the tool TextCrawler. You can scan all *.nfo together and remove this tag. Then you have to remove all movies from Ember because the wrong tag is also stored in the Ember database or, for safety first, delete the database (Media.emm).

Sorry, I did get the close tag /set mixed up when I looked at it. I have been staring at the screen too long today Smile

As for not reproducing it, that I strange for sure. I can do it each and every time I rescan a movie. I am using verion 1.3.0.11. I completely removed EMM from my machine a couple days ago, and installed the latest version.

I will have to dig deeper here and see if I can figure out what is causing it.

Thanks for looking in to it. Much appreciated!