Thread Rating:
  • 0 Vote(s) - 0 Average
stringcompares used for detecting bluray,dvd?
#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
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#2
Check variables.xml, sourceflagvar of my skin.
Reply



stringcompares used for detecting bluray,dvd?00