Jump to content

new xbmc compatibility


steve1977

Recommended Posts

steve1977

first of all, thanks for including a new mode allowing xbmc compatible meta data.

 

a few questions:

 

1) is it now possible to keep SB scraping meta data for tv shows? in other words, nfo and posters stored in season folder and only XML stored in metadata folder?

 

2) what exactly is the metadata name for downloads when enabling xbmc mode?

 

3) is there a difference what mbs can read and what it names it when downloading?

Link to comment
Share on other sites

sfnetwork

See the guide that gives an idea on the naming: http://mediabrowser.tv/community/index.php?/topic/1627-xbmc-metadata-saver-plugin/&do=findComment&comment=32764

 

As for SB, personally, I would only have it do the rename and let MB server to the rest as it will do it for MB and XBMC (with saver plugin). Give it a try, you'll see, much simpler and structured IMO.

 

But, from what I verified in SB configuration options, the way it generates the metadata and images, MB server should read them fine.

Let me know if you have issues, I'll test it myself then.

Edited by sfnetwork
Link to comment
Share on other sites

steve1977

Thanks for the quick reply. I had actually read the guide before, but didn't find the answer for my three questions above. Except probably question (2), which I assume is answered by the screenshots of the folder structure?

 

What I want to avoid for sure is to have different naming conventions across different folders

Link to comment
Share on other sites

sfnetwork

Thanks for the quick reply. I had actually read the guide before, but didn't find the answer for my three questions above. Except probably question (2), which I assume is answered by the screenshots of the folder structure?

 

What I want to avoid for sure is to have different naming conventions across different folders

That's why, I'm suggesting to let MB server do it all (except renaming).

Luke worked hard to make sure only the necessary files were created to allow all environments to read the data and images. (and also using Frodo new naming standard (much simpler).

 

Basically, MB server will do everything perfectly for both environment (well even Plex, with the nfo importer scrapper). But SB will be the best for renaming since it know the TV show it downloaded and you can really control how it is renamed.

But to answer your questions, I will have to test using SB to do everything and see what it did exactly in the structure. I'll try it tonight or tomorrow.

  • Like 1
Link to comment
Share on other sites

steve1977

Great, thanks! And one more question: can you see whether XBMC "prefers" fanart.jpg over thumb.jpg? One issue I had in the past was that XBMC used thumb.jpg as fanart rather than backdrop.jpg.

 

To make everything consistent, I am getting prepared to delete / rename all my metadata. Will be a lot of work, but this may be easiest to have the consistency. I could then either go with MB2/MB3 or with XBMCcompatibility. Any pros and cons of the two options?

Link to comment
Share on other sites

sfnetwork

Fanart.jpg = backdrop

Thumb.jpg = thumb  :P

backdrop.jpg aren't necessary anymore (I had to delete them all since MB was seeing duplicate)

XBMC wiki is confusing because of the multiple standards (from Eden to Gotham) + it's different if movie files are all in same parent folder.

 

***Test it in one movie folder to see before rolling it to the entire library.

 

After a lot of testing with Luke, this structure is exactly what is needed for both environments using all available items.

2013-10-16%202-00-38%20PM.png

Any extra files than those above aren't necessary (like backdrop.jpg)

 

In XBMC, from my tests, if the the poster isn't "poster.jpg", it falls back to thumb.jpg (if you ever saw this issue...) and the same for your issue with "backdrop.jpg"; it needs to be fanart.jpg in XBMC.

 

"extrafanart" will have all backdrops additionally to the fanart.jpg in main folder and "extrathumbs" the thumbs (more used in some XBMC skins)

 

TV shows as well have the "perfect structure" for all to read

2013-10-16%202-26-53%20PM.png

 

So basically, any specific MB image file isn't necessary anymore (like backdrop.jpg) when using this setting and XBMC saver.

 

Hope it helps...

Edited by sfnetwork
  • Like 2
Link to comment
Share on other sites

Yea Steve, SF really stepped up on this and thanks to him our Xbmc fetching is top notch, in my opinion.

  • Like 2
Link to comment
Share on other sites

sfnetwork

FYI, the music part, still needs optimization... (nfo fields are completely different than movies/TV)

The focus was more on movies and TV shows. Luke made sure it was 100% compatible. Next step, I presuime, later, will be for music.

Edited by sfnetwork
  • Like 2
Link to comment
Share on other sites

steve1977

Thanks and no worries. I found music already to be pretty much compatible at this stage with XBMC. What is missing with music is better access to musicbrainz, but XBMC is not doing better on this dimension either (besides having the option to "just" take the MP3tag metadata). I am glad to read though that there is also more to come on the music side.

 

Reason why I wrote the post in the music thread is that nobody has ever succeeded to develop a music media manager (NOT for songs, but scraping artist and album NFO, fanart, etc.). If you search on the XBMC forum, there are 20+ threads requesting this, but nobody ever developed it. Of course, XBMC has a music scraping functionality, but I am referring to a real media manager (like EMM, TMM, etc.).

 

Anyhow, thanks again for all the hard work on the movie/tvshow manager part. This is really fantastic and will bring the two projects (and hopefully also the developers) much closer together!!!

  • Like 1
Link to comment
Share on other sites

This update is great, it is exactly what I was considering making a request for, thanks for reading my mind. One issue, I have tested on a couple of movie folders (50 First Dates and Alice in Wonderland) by clearing out and refreshing and every thing comes out perfect, as detailed above, except I am not getting a poster file created and a screen shot is extracted instead for the the primary image. IMDB and TMDB id's exist and the last time I went through this exercise (not sure which versions of MBS and XMBC plugin) I got the duplicate folder and poster files, now neither.

Link to comment
Share on other sites

sfnetwork

This update is great, it is exactly what I was considering making a request for, thanks for reading my mind. One issue, I have tested on a couple of movie folders (50 First Dates and Alice in Wonderland) by clearing out and refreshing and every thing comes out perfect, as detailed above, except I am not getting a poster file created and a screen shot is extracted instead for the the primary image. IMDB and TMDB id's exist and the last time I went through this exercise (not sure which versions of MBS and XMBC plugin) I got the duplicate folder and poster files, now neither.

So the "poster.jpg" doesn't get created when doing the refresh?

Can you try to move one of the folder out of the monitored folder, delete everything except the video file then put it back in it just to confirm? (that's how I tested it)

And maybe a screenshot of the folder after MB server processed it...

Just want to reproduce this...

Link to comment
Share on other sites

Sorry for the size not sure how to make smaller but here is my original folder. This was originally created with MCM but then refreshed with MBS with prior version of XBMC data plugin so there are some extra files and images that MBS did not add.

 

52755721e7d9e_Original.png

 

Here is the folder after clearing everything except .mkv file.

 

527557cd5298b_Cleared.png

 

And here is the folder after refresh.

 

527557f48a8c1_refreshed.png

 

Hope that is what you wanted.

Link to comment
Share on other sites

sfnetwork

You're missing the poster.jpg
Can you try to move the folder out of the monitored folder, delete everything except the video file then move it back in the collection folder. See if the result is different. Just in case refresh doesn't do the same as new media.

 

***Updated, I just tested it both ways (move and refresh). Both ways should work (including the poster,jpg).

You might double check your metadata settings:

 

2013-11-02%208-03-40%20PM.jpg

2013-11-02%208-04-08%20PM.jpg

 

In case version has something to do with it:

2013-11-02%208-04-53%20PM.jpg

 

Results:

2013-11-02%208-07-42%20PM.jpg

No extra since no more than one found in this specific case.

Edited by sfnetwork
Link to comment
Share on other sites

I have done it both ways on 2 different movies and am not getting a poster.jpg. My server setting are exactly like yours above except I didn't have Enable automatic TVDB updates set so I even tried that but did not help as expected. Here is the portion of the log showing my latest try at removing the whole movie folder updating then recreating the folder with only the .mkv file in it an updating again (scan media library from tasks in the dashboard not refresh in web UI).

 

 

2013-11-02 23:56:39.6216, Info, App, Executing Scan media library
2013-11-02 23:56:39.6216, Info, App, Sending web socket message ScheduledTaskStarted
2013-11-02 23:56:39.6216, Debug, HttpServer, Response code 200 sent to [fe80::484a:16c5:2c39:1c20%13]:54992. Response time: 12.0012 ms
Headers: X-Powered-By=ServiceStack/3.962 Win32NT/.NET,Access-Control-Allow-Origin=*,Access-Control-Allow-Methods=GET, POST, PUT, DELETE, OPTIONS,Access-Control-Allow-Headers=Content-Type,Content-Length=0
2013-11-02 23:56:39.6216, Info, App, Validating media library
2013-11-02 23:56:39.6386, Debug, HttpServer, HTTP GET request received from [fe80::484a:16c5:2c39:1c20%13]:54992
Headers: Connection=keep-alive,Accept=application/json, text/javascript, */*; q=0.01,Accept-Charset=ISO-8859-1,utf-8;q=0.7,*;q=0.3,Accept-Encoding=gzip,deflate,sdch,Accept-Language=en-US,en;q=0.8,Authorization=MediaBrowser Client="Dashboard", Device="Chrome 18.0.1025.142", DeviceId="311ff8eeee79cffcb30e2ad5fc418ef1b67272f3", Version="3.0.5050.37565", UserId="f6c51e6fd330e59d16f4cc52886702e1",Cookie=JSESSIONID=ve546h6p5gwmocfh1egkdp1e,Host=server:8096,Referer=http://server:8096/mediabrowser/dashboard/scheduledtasks.html,User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.142 Safari/535.19
2013-11-02 23:56:39.6536, Debug, HttpServer, Response code 200 sent to [fe80::484a:16c5:2c39:1c20%13]:54992. Response time: 20.002 ms
Headers: Vary=Accept-Encoding,X-Powered-By=ServiceStack/3.962 Win32NT/.NET,Access-Control-Allow-Origin=*,Access-Control-Allow-Methods=GET, POST, PUT, DELETE, OPTIONS,Access-Control-Allow-Headers=Content-Type,Content-Type=application/json,Content-Encoding=deflate,Transfer-Encoding=chunked
2013-11-02 23:56:39.6796, Debug, BaseItem, Movies changed - original creation: 3/21/2013 3:30:27 AM new creation: 3/21/2013 3:30:27 AM original modified: 11/3/2013 5:41:53 AM new modified: 11/3/2013 5:54:21 AM
2013-11-02 23:56:39.6846, Info, App, Validating collection folders within C:\Users\Administrator\AppData\Roaming\MediaBrowser-Server\root\default
2013-11-02 23:56:42.2280, Debug, ProviderManager, Running ImageFromMediaLocationProvider for \\SERVER\Movies\50 First Dates (2004)\50 First Dates (2004).mkv
2013-11-02 23:56:42.2280, Debug, ProviderManager, Running FFProbeVideoInfoProvider for \\SERVER\Movies\50 First Dates (2004)\50 First Dates (2004).mkv
2013-11-02 23:56:42.2436, Debug, MediaEncoder, C:\Users\Administrator\AppData\Roaming\MediaBrowser-Server\ffmpeg\ffmpeg20131011\ffprobe.exe -i file:"\\SERVER\Movies\50 First Dates (2004)\50 First Dates (2004).mkv" -threads 0 -v info -print_format json -show_streams -show_format
2013-11-02 23:56:42.4964, Debug, ProviderManager, Running MovieDbProvider for \\SERVER\Movies\50 First Dates (2004)\50 First Dates (2004).mkv
2013-11-02 23:56:42.4964, Info, MovieDbProvider, MovieDbProvider: Finding id for item: 50 First Dates
2013-11-02 23:56:42.7694, Debug, MovieDbProvider, Match 50 First Dates for 50 First Dates
2013-11-02 23:56:42.7764, Debug, ProviderManager, Running MovieDbImagesProvider for \\SERVER\Movies\50 First Dates (2004)\50 First Dates (2004).mkv
2013-11-02 23:56:42.7884, Debug, ProviderManager, Running FanArtMovieProvider for \\SERVER\Movies\50 First Dates (2004)\50 First Dates (2004).mkv
2013-11-02 23:56:42.7884, Info, App, HttpClientManager.Get url: http://assets.fanart.tv/fanart/movies/1824/hdmovielogo/50-first-dates-5123a8a827ea5.png
2013-11-02 23:56:43.2315, Info, App, HttpClientManager.Get url: http://assets.fanart.tv/fanart/movies/1824/hdmovieclearart/50-first-dates-5205e52cbe5f6.png
2013-11-02 23:56:44.2881, Info, App, HttpClientManager.Get url: http://assets.fanart.tv/fanart/movies/1824/moviedisc/50-first-dates-502f9dbe78294.png
2013-11-02 23:56:45.6628, Info, App, HttpClientManager.Get url: http://assets.fanart.tv/fanart/movies/1824/moviebanner/50-first-dates-5052f1e7b4494.jpg
2013-11-02 23:56:45.8658, Info, App, HttpClientManager.Get url: http://assets.fanart.tv/fanart/movies/1824/moviethumb/50-first-dates-5059a66d7a75a.jpg
2013-11-02 23:56:46.6395, Info, App, HttpClientManager.Get url: http://assets.fanart.tv/fanart/movies/1824/moviebackground/50-first-dates-4ff943edc87c3.jpg
2013-11-02 23:56:48.5208, Info, App, HttpClientManager.Get url: http://assets.fanart.tv/fanart/movies/1824/moviebackground/50-first-dates-5024610abad44.jpg
2013-11-02 23:56:50.7668, Debug, ProviderManager, Running OpenMovieDatabaseProvider for \\SERVER\Movies\50 First Dates (2004)\50 First Dates (2004).mkv
2013-11-02 23:56:50.7668, Info, App, HttpClientManager.Get url: http://www.omdbapi.com/?i=tt0343660&tomatoes=true
2013-11-02 23:56:50.9798, Debug, ProviderManager, Running MovieGenreCleaner for \\SERVER\Movies\50 First Dates (2004)\50 First Dates (2004).mkv
2013-11-02 23:56:50.9798, Debug, ProviderManager, Running RottenTomatoesProvider for \\SERVER\Movies\50 First Dates (2004)\50 First Dates (2004).mkv
 
Movie was 50 First Dates (if not obvious) and everything else in the log not shown just had to do with information on boxset errors that seem to get thrown with every scan.
Link to comment
Share on other sites

OK, so a little more digging (looked at TMDB and Fanart.tv sites) and it looks like all that is being downloaded are the art from Fanart.tv. In both of my cases Fanart.tv does not have a poster.jpg file while TMDB does. Looking at sfnetworks example above, 127 Hours does have a poster.jpg in Fanart.tv but he also mentions that there is only one background/fanart available which is true in Fanart.tv but there are more in TMDB and if artwork was being grabed from there, as enabled in his settings (and mine), then he should have had more then 1 downloaded. As well, I should be getting the posters from TMDB.

Link to comment
Share on other sites

sfnetwork

It looks like it... I can't reproduce it...

Are you using Covert Art? (I don't, I'm just trying to figure out the differences...). From the other post, CA seemed to have triggered this issue... (or may be coincidence...)

Link to comment
Share on other sites

sfnetwork

CA triggered what issue?  The not downloading images...?

I'm just trying to reproduce the issue and find the differences...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...