Kodi DSPlayer – DirectShow Player for Windows
(2015-10-06, 13:15)Bjur Wrote:
(2015-09-25, 12:12)*Roma* Wrote:
(2015-09-25, 11:53)Bjur Wrote: Hi Roma the profile doesn't work. The error in madVR is:

expected some sort of "and" or "or" statement

Fixed: (checked on madVR v0.89.2)
Code:
if (filePath == "*rtsp:/*") or (fileExt == "tsbuffer") or (fileExt == "ts")  "MediaPortal PVR profile"
else if (srcWidth = 1920) or ((srcHeight > 720) and (srcHeight <= 1080)) "1080p"
else if (srcWidth = 1280) or ((srcHeight > 540) and (srcHeight <= 720)) "720p"
else if ((srcWidth <= 960) or (srcHeight <= 540)) "SD"

Hi Roma. I have a question I hope you can help with:

Regarding the statement above. Is it possible to separate it further to also have 720p and 1080i Mediaportal PVR Profiles?
Code:
if ((filePath == "*rtsp:/*") or (fileExt == "tsbuffer") or (fileExt == "ts")) and ((srcWidth = 1920) or ((srcHeight > 720) and (srcHeight <= 1080))) "MediaPortal PVR 1080p profile"
else if ((filePath == "*rtsp:/*") or (fileExt == "tsbuffer") or (fileExt == "ts")) and ((srcWidth = 1280) or ((srcHeight > 540) and (srcHeight <= 720))) "MediaPortal PVR 720p profile"
else if (srcWidth = 1920) or ((srcHeight > 720) and (srcHeight <= 1080)) "1080p"
else if (srcWidth = 1280) or ((srcHeight > 540) and (srcHeight <= 720)) "720p"
else if ((srcWidth <= 960) or (srcHeight <= 540)) "SD"
Reply


Messages In This Thread
Lockup on STOP issue resolved! - by MKANET - 2015-04-11, 21:59
RE: 4G aware patch - by MagikMark - 2015-09-08, 03:27
RE: Kodi DSPlayer – DirectShow Player for Windows - by *Roma* - 2015-10-06, 22:41
Alt-F4 no longer quits - by JeffA - 2015-10-31, 20:38
H265 playback - by rew88 - 2017-11-04, 00:41
RE: H265 playback - by ashlar - 2017-11-04, 16:21
RE: H265 playback - by rew88 - 2017-11-05, 01:34
RE: H265 playback - by ashlar - 2017-11-05, 16:48
RE: H265 playback - by rew88 - 2017-11-05, 23:08
RE: H265 playback - by ashlar - 2017-11-06, 12:00
Leia 18 - by terpsarlington - 2017-11-21, 03:51
RE: Leia 18 - by spencerjford - 2017-11-21, 06:24
Display Modes / Refresh Rates - by goofer69 - 2019-09-20, 00:19
RE: Display Modes / Refresh Rates - by ashlar - 2019-09-20, 00:39
RE: Display Modes / Refresh Rates - by ashlar - 2019-09-20, 19:35
DSPlayer 23.810 to 23.976 - by Runakanta - 2018-05-09, 03:24
RE: DSPlayer 23.810 to 23.976 - by Warner306 - 2018-05-10, 01:32
Logout Mark Read Team Forum Stats Members Help
Kodi DSPlayer – DirectShow Player for Windows47