stringcompares used for detecting bluray,dvd?

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Martijn Offline
Team Kodi
Posts: 13,123
Joined: Jul 2011
Reputation: 181
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

Ok so far I have when a filename contains:

  • dvd
  • extension .ifo
  • extension .vob

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

  • 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-Kodi Member
Posts: 3,246
Joined: Jul 2010
Reputation: 108
Location: Below sea level
Post: #2
Check variables.xml, sourceflagvar of my skin.
find quote