Kodi Community Forum

Full Version: stringcompares used for detecting bluray,dvd?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Check variables.xml, sourceflagvar of my skin.