home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Trailers Plugin v1.3.0 (Play/Stream/DL for MovingPictures, My Films, My Videos..) [2020-02-23]
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ltfearme" data-source="post: 1269390" data-attributes="member: 52219"><p>Thanks [USER=156898]@DHosein[/USER], I see what your problem is.</p><p></p><p>According to your settings, you have chosen 'LQ' (Low Quality) trailers and none are found at that resolution or lower. I suggest you choose HD or HQ.</p><p></p><p>For Example:</p><p>[code]</p><p>2020-03-01 18:20:01.492 [INFO] [AutoDownload][36]: Checking for trailer downloads, Title: Gremlins, Year: 1984, IMDb: tt0087363, TMDb: 927</p><p>2020-03-01 18:20:01.507 [INFO] [AutoDownload][36]: Getting download options for video, Name: Gremlins (1984) Official Trailer #1 - Horror Comedy, Quality: 720, Source: XBEVwaJEgaA, Type: Trailer</p><p>2020-03-01 18:20:01.518 [DEBG] [AutoDownload][36]: Getting download and playback options, URL = 'http://www.youtube.com/watch?v=XBEVwaJEgaA'</p><p>2020-03-01 18:20:02.477 [DEBG] [AutoDownload][36]: Found download option, Source URL = 'https://r1---sn-aigzrner.googlevideo.com/videoplayback?expire=1583108399&ei=z_xbXrKsB8K51wbYqIrwCw&ip=90.255.162.118&id=o-AO9Z--AJGTXzQJSVSAMRTs7vw7TleTXGPLmH08QUENnz&itag=18&source=youtube&requiressl=yes&mm=31%2C26&mn=sn-aigzrner%2Csn-5hne6nsr&ms=au%2Conr&mv=m&mvi=0&pl=19&initcwndbps=1762500&vprv=1&mime=video%2Fmp4&gir=yes&clen=7061774&ratebypass=yes&dur=120.929&lmt=1406572070125201&mt=1583086724&fvip=1&fexp=23842630%2C23882514&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt&sig=ADKhkGMwRQIgcTtb5L9D9433j4088xlch98pqIWMbivh25WYsAPs7rsCIQChxGow5WUWeeFU9dJEncJDzD2tXS0osB5dwqLKCptTug%3D%3D&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=ABSNjpQwRgIhAPlLXJoGnrQO-ggPTvvBxmxQ64Ztt4NJ3KVeokM_X3uvAiEAx172O-HNq1iV6uy8nKPLe6rmFX6a0TUOAj_unxEeRio%3D', Quality = '640x360 | (18)'</p><p>2020-03-01 18:20:02.485 [DEBG] [AutoDownload][36]: Found download option, Source URL = 'https://r1---sn-aigzrner.googlevideo.com/videoplayback?expire=1583108399&ei=z_xbXrKsB8K51wbYqIrwCw&ip=90.255.162.118&id=o-AO9Z--AJGTXzQJSVSAMRTs7vw7TleTXGPLmH08QUENnz&itag=22&source=youtube&requiressl=yes&mm=31%2C26&mn=sn-aigzrner%2Csn-5hne6nsr&ms=au%2Conr&mv=m&mvi=0&pl=19&initcwndbps=1762500&vprv=1&mime=video%2Fmp4&ratebypass=yes&dur=120.929&lmt=1509153307218369&mt=1583086724&fvip=1&fexp=23842630%2C23882514&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cratebypass%2Cdur%2Clmt&sig=ADKhkGMwRQIgHhqgnnmnmHakhoGF09CM2puC6M6bHAINWsGoPcP-_8wCIQCidBdL89Hi-K9-kdOe28ErXJjLFggOJ30bBnVO1Rs1ag%3D%3D&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=ABSNjpQwRgIhAPlLXJoGnrQO-ggPTvvBxmxQ64Ztt4NJ3KVeokM_X3uvAiEAx172O-HNq1iV6uy8nKPLe6rmFX6a0TUOAj_unxEeRio%3D', Quality = '1280x720 | (22)'</p><p>2020-03-01 18:20:02.557 [WARN] [AutoDownload][36]: Could not find any matching resolution or lower for download, skipping trailer download</p><p>[/code]</p><p></p><p>Gremlins has trailers at 640x360 and 1280x720. Neither of these match a 'LQ' setting, from code this is 426x or 320x:</p><p>[code]</p><p> if (preferredQuality == "HD")</p><p> {</p><p> var options = downloadOptions.Where(o => o.Key.Contains("1280x"));</p><p> if (options.Count() > 0)</p><p> {</p><p> // get the low audio bitrate version as the high bit rate seems to fail</p><p> return new KeyValuePair<string, string>(options.First().Value, "HD");</p><p> }</p><p> else</p><p> {</p><p> // no HD available, check next highest quality</p><p> return GetPreferredQualityOption(downloadOptions, "HQ");</p><p> }</p><p> }</p><p> else if (preferredQuality == "HQ")</p><p> {</p><p> // get the next highest quality</p><p> var options = downloadOptions.Where(o => o.Key.Contains("640x"));</p><p> if (options.Count() > 0)</p><p> {</p><p> // get the low audio bitrate version as the high bit rate seems to fail</p><p> return new KeyValuePair<string, string>(options.First().Value, "HQ");</p><p> }</p><p> else</p><p> {</p><p> // no HQ available, check next highest quality</p><p> return GetPreferredQualityOption(downloadOptions, "LQ");</p><p> }</p><p> }</p><p> else if (preferredQuality == "LQ")</p><p> {</p><p> var options = downloadOptions.Where(o => o.Key.Contains("426x"));</p><p> if (options.Count() > 0)</p><p> {</p><p> return new KeyValuePair<string, string>(options.First().Value, "LQ");</p><p> }</p><p> else</p><p> {</p><p> options = downloadOptions.Where(o => o.Key.Contains("320x"));</p><p> if (options.Count() > 0)</p><p> {</p><p> return new KeyValuePair<string, string>(options.First().Value, "LQ");</p><p> }</p><p> }</p><p> }</p><p></p><p> // no mp4 videos available</p><p> return new KeyValuePair<string, string>(null, null);</p><p> }</p><p></p><p>[/code]</p><p></p><p>[ATTACH=full]204420[/ATTACH]</p></blockquote><p></p>
[QUOTE="ltfearme, post: 1269390, member: 52219"] Thanks [USER=156898]@DHosein[/USER], I see what your problem is. According to your settings, you have chosen 'LQ' (Low Quality) trailers and none are found at that resolution or lower. I suggest you choose HD or HQ. For Example: [code] 2020-03-01 18:20:01.492 [INFO] [AutoDownload][36]: Checking for trailer downloads, Title: Gremlins, Year: 1984, IMDb: tt0087363, TMDb: 927 2020-03-01 18:20:01.507 [INFO] [AutoDownload][36]: Getting download options for video, Name: Gremlins (1984) Official Trailer #1 - Horror Comedy, Quality: 720, Source: XBEVwaJEgaA, Type: Trailer 2020-03-01 18:20:01.518 [DEBG] [AutoDownload][36]: Getting download and playback options, URL = 'http://www.youtube.com/watch?v=XBEVwaJEgaA' 2020-03-01 18:20:02.477 [DEBG] [AutoDownload][36]: Found download option, Source URL = 'https://r1---sn-aigzrner.googlevideo.com/videoplayback?expire=1583108399&ei=z_xbXrKsB8K51wbYqIrwCw&ip=90.255.162.118&id=o-AO9Z--AJGTXzQJSVSAMRTs7vw7TleTXGPLmH08QUENnz&itag=18&source=youtube&requiressl=yes&mm=31%2C26&mn=sn-aigzrner%2Csn-5hne6nsr&ms=au%2Conr&mv=m&mvi=0&pl=19&initcwndbps=1762500&vprv=1&mime=video%2Fmp4&gir=yes&clen=7061774&ratebypass=yes&dur=120.929&lmt=1406572070125201&mt=1583086724&fvip=1&fexp=23842630%2C23882514&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt&sig=ADKhkGMwRQIgcTtb5L9D9433j4088xlch98pqIWMbivh25WYsAPs7rsCIQChxGow5WUWeeFU9dJEncJDzD2tXS0osB5dwqLKCptTug%3D%3D&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=ABSNjpQwRgIhAPlLXJoGnrQO-ggPTvvBxmxQ64Ztt4NJ3KVeokM_X3uvAiEAx172O-HNq1iV6uy8nKPLe6rmFX6a0TUOAj_unxEeRio%3D', Quality = '640x360 | (18)' 2020-03-01 18:20:02.485 [DEBG] [AutoDownload][36]: Found download option, Source URL = 'https://r1---sn-aigzrner.googlevideo.com/videoplayback?expire=1583108399&ei=z_xbXrKsB8K51wbYqIrwCw&ip=90.255.162.118&id=o-AO9Z--AJGTXzQJSVSAMRTs7vw7TleTXGPLmH08QUENnz&itag=22&source=youtube&requiressl=yes&mm=31%2C26&mn=sn-aigzrner%2Csn-5hne6nsr&ms=au%2Conr&mv=m&mvi=0&pl=19&initcwndbps=1762500&vprv=1&mime=video%2Fmp4&ratebypass=yes&dur=120.929&lmt=1509153307218369&mt=1583086724&fvip=1&fexp=23842630%2C23882514&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cratebypass%2Cdur%2Clmt&sig=ADKhkGMwRQIgHhqgnnmnmHakhoGF09CM2puC6M6bHAINWsGoPcP-_8wCIQCidBdL89Hi-K9-kdOe28ErXJjLFggOJ30bBnVO1Rs1ag%3D%3D&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=ABSNjpQwRgIhAPlLXJoGnrQO-ggPTvvBxmxQ64Ztt4NJ3KVeokM_X3uvAiEAx172O-HNq1iV6uy8nKPLe6rmFX6a0TUOAj_unxEeRio%3D', Quality = '1280x720 | (22)' 2020-03-01 18:20:02.557 [WARN] [AutoDownload][36]: Could not find any matching resolution or lower for download, skipping trailer download [/code] Gremlins has trailers at 640x360 and 1280x720. Neither of these match a 'LQ' setting, from code this is 426x or 320x: [code] if (preferredQuality == "HD") { var options = downloadOptions.Where(o => o.Key.Contains("1280x")); if (options.Count() > 0) { // get the low audio bitrate version as the high bit rate seems to fail return new KeyValuePair<string, string>(options.First().Value, "HD"); } else { // no HD available, check next highest quality return GetPreferredQualityOption(downloadOptions, "HQ"); } } else if (preferredQuality == "HQ") { // get the next highest quality var options = downloadOptions.Where(o => o.Key.Contains("640x")); if (options.Count() > 0) { // get the low audio bitrate version as the high bit rate seems to fail return new KeyValuePair<string, string>(options.First().Value, "HQ"); } else { // no HQ available, check next highest quality return GetPreferredQualityOption(downloadOptions, "LQ"); } } else if (preferredQuality == "LQ") { var options = downloadOptions.Where(o => o.Key.Contains("426x")); if (options.Count() > 0) { return new KeyValuePair<string, string>(options.First().Value, "LQ"); } else { options = downloadOptions.Where(o => o.Key.Contains("320x")); if (options.Count() > 0) { return new KeyValuePair<string, string>(options.First().Value, "LQ"); } } } // no mp4 videos available return new KeyValuePair<string, string>(null, null); } [/code] [ATTACH type="full"]204420[/ATTACH] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Trailers Plugin v1.3.0 (Play/Stream/DL for MovingPictures, My Films, My Videos..) [2020-02-23]
Contact us
RSS
Top
Bottom