Posters, Banners, FanArt, and other Media Artwork XBMC Naming Convention Standards?

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ppic Offline
Skilled Python Coder
Posts: 2,663
Joined: Feb 2009
Reputation: 10
Location: France idf
Post: #11
for tvshow part: logo downloader handle all kind of image and using custom naming Wink


for wide season, some skin are using it, but name doesn't change, it replace current.

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find quote
Maxoo Offline
Fan
Posts: 329
Joined: Mar 2010
Reputation: 11
Location: Paris, France
Post: #12
I think landscape.jpg should got with banner.jpg and poster.jpg (in your first post). Would be easier to understand I think.
find quote
hendoben Offline
Member
Posts: 88
Joined: Aug 2010
Reputation: 0
Post: #13
teegee543 Wrote:Single Movie folder:
Quote:movie.nfo: movie metadata

In my experience(looking at debugs) this doesn't work. You're better of naming the .nfo as you would for multiple movie folders ... [filename].nfo ...
find quote
Maxoo Offline
Fan
Posts: 329
Joined: Mar 2010
Reputation: 11
Location: Paris, France
Post: #14
I think it only work if you enable "search with directory name" (or something like that, I use XBMC in french) in the scraper settings.
find quote
Fice Offline
Member
Posts: 59
Joined: Jan 2010
Reputation: 3
Star    Post: #15
Hi,

first of all, I find the idea of defining some naming conventions very important, but I would even go a bit further and suggest a tighter coupling within xbmc and make it easier for scrapers to extend what can be scraped.

First of all, the Scraper Addon-XML contains something similar to:

Code:
<extension point="xbmc.metadata.scraper.movies"
             language="en"
             library="tmdb.xml">
   <nfo>
      <type>Title</type>
      <type>Original Title</type>
   </nfo>
    
   <media>
      <pictures>
          <type naming="$FILENAME$-fanart">Fanart</type>
      </pictures
      <audio>
          <type name="theme">Theme</type>
      </audio>
      <video>
          <type name="$FILENAME$-trailer">Trailer</type>
      </video>
   </media>
</extension>

As you can see, there is no file ending to the naming convention, as I find it more powerful when you can add all kind of media in there as long as it is of the correct type and supported by xbmc.

XBMC can then add all those scraped information to the database (making it easy to add special information, especially when the new database design is ready) and copy all media that is found/scraped to 'userdata/thumbnails' as it is currently done with fanart. This would make browsing the database much faster if the thumbnails folder is on a flash drive or if the Movies are on a network share, but the thumbnails folder is local.

Now it should be possible for the skinner (or python scripter) to get those information via:
Code:
Listitem.picture(Fanart)
Listitem.audio(Theme)
Listitem.trailer(Trailer)
Listitem.info(Title)

To make this addition really powerful and more user friendly, you can add several scrapers to a source. The Scraper Settings should be extended so that you can disable a specific meta data.
You could for example download all Meta-Info from a german Website, but disable it to download actor information, then add an english scraper that loads the actor information. If there are two scrapers who download the same information, the information form the first scraper is used (if found, of course).

Plugins like CDArt Downloader or Logo Downloader could now be implemented like normal scrapers who have eg:
Code:
<extension point="xbmc.metadata.scraper.movies"
             language="en"
             library="tmdb.xml">
    
   <media>
      <pictures>
          <type naming="cd-art">CDArt</type>
      </pictures>
   </media>
</extension>

This would make gathering all those information/media much easier and the skinner can support a new type of information/media.

Of course, we still need to have some sort of conventions.

I didn't post this to the "New feature suggestion" forum yet, because I wanted to know what you guys think first, as it would probably require a lot of work to you skinners to port it.

lg
Fice
find quote
teegee543 Offline
Junior Member
Posts: 15
Joined: Aug 2009
Reputation: 0
Post: #16
What's the preferred filename for music CD covers? folder.jpg or cover.jpg
find quote
sjobbels Offline
Senior Member
Posts: 185
Joined: Jun 2007
Reputation: 0
Location: The Netherlands
Post: #17
I use folder.jpg
find quote
Flomaster Offline
Posting Freak
Posts: 1,293
Joined: Jun 2010
Reputation: 6
Location: East Texas
Post: #18
@ the OP

for movies I use poster.jpg and my poster display just fine in Library mode.

-=Jason=-
find quote
rudeboyx Offline
Fan
Posts: 747
Joined: Dec 2007
Reputation: 0
Location: Burnley, UK
Post: #19
teegee543

I see you've updated your first post but under "single movie folder" you've used the same naming structure as "all movies in 1 folder"

they should be exactly.

movie.tbn
movie.nfo
fanrt.jpg

not

(moviename).tbn
(moviename).nfo
(moviename)-fanart.jpg

XBMC knows which film they belong to down to the fact that all these are in the same folder as the movie
find quote
teegee543 Offline
Junior Member
Posts: 15
Joined: Aug 2009
Reputation: 0
Post: #20
rudeboyx, thanks for the feedback. The change was in response to hendoben's post. I'll leave it as rudeboyx's feedback until I get more feedback to the contrary.
find quote