stringcompares used for detecting bluray,dvd?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Martijn Offline
Team-XBMC
Posts: 10,252
Joined: Jul 2011
Reputation: 153
Location: Dawn of time
Post: #1
What string compares do skinners use for detecting if the movie is a bluray,dvd or 3d movie?

This for downloading the correct moviedisc in Artwork downloader


Edit:
Ok so far I have when a filename contains:

DVD:
  • dvd
  • extension .ifo
  • extension .vob

BluRay:
  • bluray
  • blu-ray
  • brrip
  • bdrip
  • extension .m2ts
  • extension .bdmv

3D:
  • 3d (so even when 3d-bluray or 3dbluray)

When nothing provided in filename it will select on resolution:
  • <720 is DVD
  • =>720 is BluRay

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

For your mediacenter artwork go to
[Image: fanarttv.png]
(This post was last modified: 2012-03-17 15:55 by Martijn.)
find quote
BigNoid Offline
Team-XBMC Member
Posts: 2,922
Joined: Jul 2010
Reputation: 90
Location: Below sea level
Post: #2
Check variables.xml, sourceflagvar of my skin.
find quote