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
Area 51 - Testing Area
MP-4212 My Videos internal scrapers rework
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="Deda" data-source="post: 1031315" data-attributes="member: 89768"><p>Thx for logs, in log1 everything is ok on cover change:</p><p></p><p>[CODE]</p><p>// URL link is ok</p><p>[2013-10-05 12:01:33,972] [Log ] [MPMain ] [DEBUG] - GUIVideoInfo: Refresh image: New Image url -> http://cf2.imgobject.com/t/p/w500/4AKwDYbXoZlYZC4Z8UAUzFNHrjU.jpg</p><p></p><p>// Image is downloaded ok</p><p>[2013-10-05 12:01:33,974] [Log ] [MPMain ] [DEBUG] - GUIVideoInfo Refresh image: Downloading image, new Image url -> http://cf2.imgobject.com/t/p/w500/4AKwDYbXoZlYZC4Z8UAUzFNHrjU.jpg</p><p></p><p>// You will not see this if downloaded image do not exists, so all is ok</p><p>[2013-10-05 12:01:33,977] [Log ] [MPMain ] [DEBUG] - GUIVideoInfo Refresh image: Creating new image -> C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Videos\Title\Keep the Lights On{902}.jpg</p><p>[2013-10-05 12:01:34,067] [Log ] [MPMain ] [DEBUG] - GUIVideoInfo Refresh image: Creating new image -> C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Videos\Title\Keep the Lights On{902}L.jpg[/CODE]</p><p></p><p>So there is only few possibilities which can happen outside of MyVideos plugin:</p><p></p><p>1. Downloaded temp file (as image) is the same as original taken from scraper (this could really be a mystery but can happen with a chance to win a lottery with 8 random numbers)</p><p>2. Previous covers in thumb directory are not deleted before but then we should see error like ("Util: FileDelete {0} error: {1}", strFile , ex.Message);</p><p>3. Something weird is going on in function:</p><p>public static bool CreateThumbnail(string thumbnailImageSource, string thumbnailImageDest, int aThumbWidth,</p><p> int aThumbHeight, int iRotate, bool aFastMode, bool autocreateLargeThumbs, bool fallBack)</p><p>in MP core</p><p>4. This do not work as intended sometimes when property parameter is the same as previous but parameter content is different</p><p>GUIPropertyManager.SetProperty("#thumb", strThumb);</p><p></p><p>I put my bet on 3 and 4 but I can't resolve that mystery because it's MP global problem so I need to catch this myself to find the cause. I know that there was many changes in code for 3 and 4 in recent MP releases so maybe something is not good there.</p></blockquote><p></p>
[QUOTE="Deda, post: 1031315, member: 89768"] Thx for logs, in log1 everything is ok on cover change: [CODE] // URL link is ok [2013-10-05 12:01:33,972] [Log ] [MPMain ] [DEBUG] - GUIVideoInfo: Refresh image: New Image url -> http://cf2.imgobject.com/t/p/w500/4AKwDYbXoZlYZC4Z8UAUzFNHrjU.jpg // Image is downloaded ok [2013-10-05 12:01:33,974] [Log ] [MPMain ] [DEBUG] - GUIVideoInfo Refresh image: Downloading image, new Image url -> http://cf2.imgobject.com/t/p/w500/4AKwDYbXoZlYZC4Z8UAUzFNHrjU.jpg // You will not see this if downloaded image do not exists, so all is ok [2013-10-05 12:01:33,977] [Log ] [MPMain ] [DEBUG] - GUIVideoInfo Refresh image: Creating new image -> C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Videos\Title\Keep the Lights On{902}.jpg [2013-10-05 12:01:34,067] [Log ] [MPMain ] [DEBUG] - GUIVideoInfo Refresh image: Creating new image -> C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Videos\Title\Keep the Lights On{902}L.jpg[/CODE] So there is only few possibilities which can happen outside of MyVideos plugin: 1. Downloaded temp file (as image) is the same as original taken from scraper (this could really be a mystery but can happen with a chance to win a lottery with 8 random numbers) 2. Previous covers in thumb directory are not deleted before but then we should see error like ("Util: FileDelete {0} error: {1}", strFile , ex.Message); 3. Something weird is going on in function: public static bool CreateThumbnail(string thumbnailImageSource, string thumbnailImageDest, int aThumbWidth, int aThumbHeight, int iRotate, bool aFastMode, bool autocreateLargeThumbs, bool fallBack) in MP core 4. This do not work as intended sometimes when property parameter is the same as previous but parameter content is different GUIPropertyManager.SetProperty("#thumb", strThumb); I put my bet on 3 and 4 but I can't resolve that mystery because it's MP global problem so I need to catch this myself to find the cause. I know that there was many changes in code for 3 and 4 in recent MP releases so maybe something is not good there. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Area 51 - Testing Area
MP-4212 My Videos internal scrapers rework
Contact us
RSS
Top
Bottom