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: New Home for Ember Media Manager (Official Thread) - m.savazzi - 2013-02-20

half way down for FanartTV.

API and Json deserializer done...
... now just to add it in Ember Smile

It is strange how they show the data as the pictures appear to be in a different bucket compared to the website.

(2013-02-20, 20:56)Pr.Sinister Wrote:
(2013-02-19, 21:02)m.savazzi Wrote: Additional question: what do you think of rottentomatoes?
It does provide an API too...

OMG i would LOVE to see a Rotten Tomatoes scraper. But i have some ideas on how to make it be compatible with all skins. Some people won't agree with having extra media in their folder but nobody if forcing them to use it...

My idea is to have the scraper generate .png file in the movie folder or a subfolder. The files could be something like

Code:
criticfresh.png
userfresh.png

Those files would only either be a fresh tomato or a rotten one. Or, we could have

Code:
criticfresh.png/criticrotten.png
userfresh.png/userrotten.png

Again, those would only be the image of a fresh or rotten tomato. Just like the one before, this only adds 2 files. Not 4. This option gives the advantage of knowing if the movie is fresh or rotten when you are browsing files outside of XBMC.

Lastly, the ultimate one would be a total of 3 files :

Code:
criticfresh.png/criticrotten.png
userfresh.png/userrotten.png
t-rating.png

The t-rating file would be an actual image of a percentage number between 0 and 100.

The beauty of all this is that it can be implemented in ANY skin right away and that we can keep re-scraping just this to get the latest ratings displayed in the skin on-the-fly. There is no need to update the XBMC library.

What do you think?

-Pr.

I already scrape the rating from TMDB.
For the images that is quite a mod as we have to add properties in settings etc... also it will not be used by any skin...
Not sure is good.

M


RE: New Home for Ember Media Manager (Official Thread) - deh2k7 - 2013-02-21

Does anyone have an up-to-date mediainfo/audiocodec mapping that they can share? 1.3.9 still doesn't have things like DTS-HD, DTS-MA, DD TrueHD, DD+, etc...


RE: New Home for Ember Media Manager (Official Thread) - mwaterbu - 2013-02-21

Not sure if this will help anyone else, but if you are OCD about your movie sets, maybe.
I have YAMJ compatibility mode set in EMM, which unfortunately, is not compatible with XBMC.

YAMJ sets look like this in the .nfo file:
Code:
<sets>
  <set order="4">Star Wars</set>
</sets>

XBMC sets are simply:
Code:
<set>Star Wars</set>

This XBMC style however, does not have any order built in. Instead, you should use the <sorttitle> tags if you need an order other than the default. Since EMM does not create <sorttitle> tags in this way, I wrote a quick app (C#) to process these .nfo files (with YAMJ sets) and make them compatible with both YAMJ and XBMC, which then allows sets in XBMC with custom orders. This process is very simple.
-Always use YAMJ compatibility mode in EMM to create your sets in the proper order
-Run my app on the folder where your movies and .nfo's are stored
-Done

All the app does is parse each .nfo file, check for YAMJ <sets> tags, and create <set> and <sorttitle> tags from the existing YAMJ <sets> tags (XBMC ignores the <sets> tags since it only uses <set>, so it's fine to keep them both in the files for EMM). This tool will ignore any files already properly formatted and also files that are not part of sets, so it runs very fast. This took about 45 seconds to parse through 1000+ .nfo files (on a network drive) and fix them.

Let me know if you have any questions with this, or if it was helpful for you.
Fix XBMC Sets


RE: New Home for Ember Media Manager (Official Thread) - Cocotus - 2013-02-21

(2013-02-21, 02:29)deh2k7 Wrote: Does anyone have an up-to-date mediainfo/audiocodec mapping that they can share? 1.3.9 still doesn't have things like DTS-HD, DTS-MA, DD TrueHD, DD+, etc...

From xbmc wiki, the naming of codecs should be following:
Quote:ListItem.VideoCodec Shows the video codec of the currently selected video (common values: 3iv2, avc1, div2, div3, divx, divx 4, dx50, flv, h264, microsoft, mp42, mp43, mp4v, mpeg1video, mpeg2video, mpg4, rv40, svq1, svq3, theora, vp6f, wmv2, wmv3, wvc1, xvid)

ListItem.VideoResolution Shows the resolution of the currently selected video (possible values: 480, 576, 540, 720, 1080). Note that 540 usually means a widescreen format (around 960x540) while 576 means PAL resolutions (normally 720x576), therefore 540 is actually better resolution than 576.

ListItem.VideoAspect Shows the aspect ratio of the currently selected video (possible values: 1.33, 1.66, 1.78, 1.85, 2.20, 2.35)

ListItem.AudioCodec Shows the audio codec of the currently selected video (common values: aac, ac3, cook, dca, dtshd_hra, dtshd_ma, eac3, mp1, mp2, mp3, pcm_s16be, pcm_s16le, pcm_u8, truehd, vorbis, wmapro, wmav2)

I commited some changes in Ember to support this:
dtshd_hra, dtshd_ma were scanned and named correctly, but there were'nt flag icons in Ember before. So I added dtshd_hra.png , dtshd_ma.png to Ember so that for this type of movies, flag icon will be shown. Also added another audio codec mapping: from "a_truehd" to "truehd". I suggest to wait until next version of Ember to check this out and see if everything works.


RE: New Home for Ember Media Manager (Official Thread) - Dragen - 2013-02-21

(2013-02-17, 02:19)CaptainKen Wrote:
(2013-02-17, 01:28)Dragen Wrote:
(2013-02-16, 20:06)m.savazzi Wrote: Not sure is meaningful, how you'd envision it should work?
The set is not part of movie details but is a group of movies

Add a field for sets in the details editor. Maybe a pulldown list or something.

Source for the drop down list could be the entries from the Sets Manager.

(2013-02-17, 14:54)m.savazzi Wrote: I'm still not convinced.

Tag: I will add the keywords from TMDB shortly Smile once I finished the new scraper
Genere: is a property of the movie and is imported from the scraper

Set: is not a property of the movie nor can be found online, you can define them as you like, freely

This is why I found a little confusing having a set property in the edit movie...
There is not official-online sets nor an unique way of creating them

M

It's for work flow. When you're adding, let's say, James Bond movies and there's 20 movies in the set, not having to use the sets manager between movies would make it faster. I'm not asking you to add anything to the scraper. Just an option to add/remove/edit the movie's set while working in the detail window.

Actually, I'd rather you didn't add the set to the scraper, as TheMovieDB insists on adding "Collection" to everything. Marvel Cinematic Universe: Phase One is not called Marvel Cinematic Universe: Phase One Collection. Nor is The Dark Knight Trilogy called The Dark Knight Trilogy Collection.
Just a field or dropdown would be nice.


RE: New Home for Ember Media Manager (Official Thread) - Thom0pson - 2013-02-21

The downloads can be found at the project siteImage


RE: New Home for Ember Media Manager (Official Thread) - deh2k7 - 2013-02-21

(2013-02-21, 09:30)Cocotus Wrote:
(2013-02-21, 02:29)deh2k7 Wrote: Does anyone have an up-to-date mediainfo/audiocodec mapping that they can share? 1.3.9 still doesn't have things like DTS-HD, DTS-MA, DD TrueHD, DD+, etc...

From xbmc wiki, the naming of codecs should be following:
Quote:ListItem.VideoCodec Shows the video codec of the currently selected video (common values: 3iv2, avc1, div2, div3, divx, divx 4, dx50, flv, h264, microsoft, mp42, mp43, mp4v, mpeg1video, mpeg2video, mpg4, rv40, svq1, svq3, theora, vp6f, wmv2, wmv3, wvc1, xvid)

ListItem.VideoResolution Shows the resolution of the currently selected video (possible values: 480, 576, 540, 720, 1080). Note that 540 usually means a widescreen format (around 960x540) while 576 means PAL resolutions (normally 720x576), therefore 540 is actually better resolution than 576.

ListItem.VideoAspect Shows the aspect ratio of the currently selected video (possible values: 1.33, 1.66, 1.78, 1.85, 2.20, 2.35)

ListItem.AudioCodec Shows the audio codec of the currently selected video (common values: aac, ac3, cook, dca, dtshd_hra, dtshd_ma, eac3, mp1, mp2, mp3, pcm_s16be, pcm_s16le, pcm_u8, truehd, vorbis, wmapro, wmav2)

I commited some changes in Ember to support this:
dtshd_hra, dtshd_ma were scanned and named correctly, but there were'nt flag icons in Ember before. So I added dtshd_hra.png , dtshd_ma.png to Ember so that for this type of movies, flag icon will be shown. Also added another audio codec mapping: from "a_truehd" to "truehd". I suggest to wait until next version of Ember to check this out and see if everything works.

Awesome job Cocotus! I'm looking forward to checking it out!


RE: New Home for Ember Media Manager (Official Thread) - deh2k7 - 2013-02-21

I have a fix request for the next version. Can someone take a look at multi-disc file-stacking and file recognition? XBMC is now able to recognize movie nfos and artwork without the disc, part, cd, etc indicators:

mymoviename [disc1].mpg
mymoviename [disc2].mpg
mymoviename.nfo
mymoviename-poster.jpg
mymoviename-fanart.jpg

(2013-02-17, 14:54)m.savazzi Wrote: I'm still not convinced.

Tag: I will add the keywords from TMDB shortly Smile once I finished the new scraper
Genere: is a property of the movie and is imported from the scraper

Set: is not a property of the movie nor can be found online, you can define them as you like, freely

This is why I found a little confusing having a set property in the edit movie...
There is not official-online sets nor an unique way of creating them

M

m.savazzi - set is a custom property, but TMDB does track (and it can be scraped) a movie collection field. i have seen other metadata scraping tools successfully use and scrape the <set> tag using this field.

If we use it from TMDB it does a pretty good job of populating the <set> tag in our NFO's, especially if we don't have them populated today, but would like to. Having the ability to scrape this field from TMDB in a selective fashion (i.e. only update the set, but nothing else in the NFO) for existing NFOs (and new ones for that matter) would be a much-appreciated feature.

And then having the <set> field editable in the movie details would address some of the other requests as well.


AW: RE: New Home for Ember Media Manager (Official Thread) - DanCooper - 2013-02-21

(2013-02-21, 17:33)deh2k7 Wrote: I have a fix request for the next version. Can someone take a look at multi-disc file-stacking and file recognition? XBMC is now able to recognize movie nfos and artwork without the disc, part, cd, etc indicators:

mymoviename [disc1].mpg
mymoviename [disc2].mpg
mymoviename.nfo
mymoviename-poster.jpg
mymoviename-fanart.jpg
This I have already fixed for the next release.


RE: New Home for Ember Media Manager (Official Thread) - voip-ninja - 2013-02-21

(2013-02-20, 02:39)Randall Lind Wrote:
(2013-02-20, 02:20)voip-ninja Wrote:
(2013-02-20, 01:53)Randall Lind Wrote: You need to run art download program but, fist set it to skin download folder. That way it look in your folders for art.

But I already have clearart in my series folders, I guess I need to just bite the bullet and look into all the artwork changes Frodo made that I am not aware of yet.

From my understanding you need to run art download to add them into XBMC and if you go into program setting you can set it to scan folders to add what you have already. I believe default is to download from web changing it to folders and it will scan your hard drive for art.

I think I might have sorted it out. Bizarrely what was required is to go into the Artwork Download plugin and then set the option "use local files". I have no idea what this does, but clear-art, etc, started showing after I made this change and re-ran artwork downloader against my TV share.... I'm guessing that it downloads all of the art and stuffs it on a local hard drive of the PC with XBMC on it.


RE: AW: New Home for Ember Media Manager (Official Thread) - deh2k7 - 2013-02-21

(2013-02-21, 18:09)DanCooper Wrote:
(2013-02-21, 17:33)deh2k7 Wrote: I have a fix request for the next version. Can someone take a look at multi-disc file-stacking and file recognition? XBMC is now able to recognize movie nfos and artwork without the disc, part, cd, etc indicators:

mymoviename [disc1].mpg
mymoviename [disc2].mpg
mymoviename.nfo
mymoviename-poster.jpg
mymoviename-fanart.jpg
This I have already fixed for the next release.

Thanks Dan! As always, your hard work is greatly appreciated. Do you have a rough timeframe that you have in mind for the next release?


RE: New Home for Ember Media Manager (Official Thread) - Randall Lind - 2013-02-21

(2013-02-21, 18:11)voip-ninja Wrote:
(2013-02-20, 02:39)Randall Lind Wrote:
(2013-02-20, 02:20)voip-ninja Wrote: But I already have clearart in my series folders, I guess I need to just bite the bullet and look into all the artwork changes Frodo made that I am not aware of yet.

From my understanding you need to run art download to add them into XBMC and if you go into program setting you can set it to scan folders to add what you have already. I believe default is to download from web changing it to folders and it will scan your hard drive for art.

I think I might have sorted it out. Bizarrely what was required is to go into the Artwork Download plugin and then set the option "use local files". I have no idea what this does, but clear-art, etc, started showing after I made this change and re-ran artwork downloader against my TV share.... I'm guessing that it downloads all of the art and stuffs it on a local hard drive of the PC with XBMC on it.

I had a strange issue last night. After 4 days of transferring TV Shows to new drives and reloading them all my logo's were missing. I had to set the art down loader to down load off the web to get them back. They were in the folders so no idea why XBMC art download program would not scan them. I had to switch from Aeon to Neon GIT in order to fix it.


RE: New Home for Ember Media Manager (Official Thread) - &gt;&gt;X&lt;&lt; - 2013-02-21

(2013-02-21, 18:51)Randall Lind Wrote:
(2013-02-21, 18:11)voip-ninja Wrote:
(2013-02-20, 02:39)Randall Lind Wrote: From my understanding you need to run art download to add them into XBMC and if you go into program setting you can set it to scan folders to add what you have already. I believe default is to download from web changing it to folders and it will scan your hard drive for art.

I think I might have sorted it out. Bizarrely what was required is to go into the Artwork Download plugin and then set the option "use local files". I have no idea what this does, but clear-art, etc, started showing after I made this change and re-ran artwork downloader against my TV share.... I'm guessing that it downloads all of the art and stuffs it on a local hard drive of the PC with XBMC on it.

I had a strange issue last night. After 4 days of transferring TV Shows to new drives and reloading them all my logo's were missing. I had to set the art down loader to down load off the web to get them back. They were in the folders so no idea why XBMC art download program would not scan them. I had to switch from Aeon to Neon GIT in order to fix it.

With Frodo you always have to run Artwork downloader even if you have local artwork.

You should know this already

http://forum.xbmc.org/showthread.php?tid=116941&pid=1306673#pid1306673


RE: New Home for Ember Media Manager (Official Thread) - GreenOnyx - 2013-02-21

@ m.savazzi

With the WatTMDB addition from 02/17 (7e11efad9d) I see that we need the two DLL's from your link and the new dependency. Did you just place the dll's in Libraries\Release\ and Libraries\Debug\ for Scraper.EmberCore.TMDB or did you use a different installation method? I simply copied the libraries there but show a RestSharp.xml missing and have some major compile issues. Before I waste a ton of time I was hoping you could tell me if there was a better installation method or anything that's missing in the tree that I'll need.

Also, it appears that there's a team foundation link to xeon:8080, seems like this should be removed?


RE: New Home for Ember Media Manager (Official Thread) - RockDawg - 2013-02-21

Just want to shoot out a reminder about adding .png support. Being that Ember doesn't recognize them, it is always downloading new posters for my movies and then I have to delete them.