Changes to NFO file format! ALL DEVELOPERS OF THIRD-PARTY MEDIA MANAGERS PLEASE READ!

  Thread Rating:
  • 1 Votes - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
spiff Offline
Grumpy Bastard Developer
Posts: 12,187
Joined: Nov 2003
Reputation: 82
Information  Changes to NFO file format! ALL DEVELOPERS OF THIRD-PARTY MEDIA MANAGERS PLEASE READ! Post: #1
hi guys,

i'm sorry that i have to do this to all of you, but it was necessary as the current state was just embarrassing Smile

please mind http://trac.xbmc.org/changeset/21882

i opted to not keep the old loading code as this would never die. one clean, painful cut Smile

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Nicezia Offline
Fan
Posts: 369
Joined: Nov 2006
Reputation: 0
Location: Montgomery, Alabama
Post: #2
now if we can just get the ability for loading of fanart link info from the nfo my world is complete Big Grin

ScraperXML Open Source Web Scraper Library compatible with XBMC XML Scrapers


I Suck, and if you act now by sending only $19.95 and a self addressed stamped envelop, so can you!

[Image: teamumx_sigline.png]
find quote
althekiller Offline
Team-XBMC Developer
Posts: 4,703
Joined: May 2004
Reputation: 12
Post: #3
Update the NFO "samples" in the wiki!
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,187
Joined: Nov 2003
Reputation: 82
Post: #4
what do you mean nicezia? we can surely load fanart url info from nfo files.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,187
Joined: Nov 2003
Reputation: 82
Post: #5
althekiller Wrote:Update the NFO "samples" in the wiki!

done your holy-exclamation-sign-ness Wink

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
fekker Offline
Posting Freak
Posts: 1,545
Joined: Oct 2008
Reputation: 30
Post: #6
Quick question

If i'm processing an invalid xml file (i.e. one with the imdb string at the end) I can't deserialize it or process it as valid xml

Using a simple regex <thumb>(.*?)</thumb> will load thumbs from actor elements as well as the ones we want to process

I can think of a few ways to clean up the data, the easiest is if the thumb for non actor data must be in the file prior to an <actor> tag. (or strip out all actor info, or attempt to reform the xml, or do a lookaround for actor).


is there an order in which thumb must be listed in the .nfo file?
( i.e. thumb listed before actor information)
(This post was last modified: 2009-07-28 22:08 by fekker.)
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,187
Joined: Nov 2003
Reputation: 82
Post: #7
no order requirements - standard xml rules. if you read c++, you can see CVideoDatabase::UpdateOldversion() v29->30 - that's how i did it.

if you do music (haven't checked lately) it's v13->14

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #8
Note that the (video)database update didn't appear to hit SVN?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,187
Joined: Nov 2003
Reputation: 82
Post: #9
arr!

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
billyad2000 Offline
Media Companion Founder
Posts: 728
Joined: Oct 2007
Reputation: 17
Post: #10
Just read this thread, thanks for the update spiff, it's appreciated, handling thumbs like that was a bit of a headache.

Homepage for XBMC Media Companion, and XBMC-DB - seperate nfo files http://www.billyad2000.co.uk
Forums for XBMC Media Companion http://billyad2000.darkbb.com/
find quote
Post Reply