- August 20, 2007
- 2,159
- 750
- Moderator
- #91
AW: How to Video database section and My Movies get to life
Ok, so I will check with a new/empty DB, so that thumbs are recreated and let you know, if it works...
Edit:
Ok, so I deleted the Videdatabase5.db3 - it's autocreted when starting MePo. But still nothing to see.
The movie gets its entry with description etc., but no picture.
Launching IMDB context also shows movie infos without 8cover) picture.
But:
When refreshing IMDB info - thus reloading infos from internet - info will be downloaded and after that cover appears.
Edit 2:
So ... checking the code of the Plugin, it gets path/names by:
string strThumb = MediaPortal.Util.Utils.GetCoverArtName(Thumbs.MovieTitle, movieDetails.Title);
string LargeThumb = MediaPortal.Util.Utils.GetLargeCoverArtName(Thumbs.MovieTitle, movieDetails.Title);
Did further tests and deleted/renamed Thumbfolder.
With the code above, thumbs are created in ...Thumbs\Video\Title with "Moviename" and "MovienameL".
As you've written, this won't be recognized anymore - you require different naming for display.
What to do?
I could change the code insode the plugin to modify:
strThumb = strThumb + "{" + idMovie.ToString() + "}";
But: MediaPortal.Util.Utils.GetCoverArtName() is a function that might be used by other parts or plugins too.
Two possibilities:
- either change GetCoverartName (might break other things?) or
- alternatively change the code to read old format, if new thumbs can't be found - also not nice, because it might slow down and is not ver "clean"....
For now I will change the code of the plugin and see, if that works ....
Ok, so I will check with a new/empty DB, so that thumbs are recreated and let you know, if it works...
Edit:
Ok, so I deleted the Videdatabase5.db3 - it's autocreted when starting MePo. But still nothing to see.
The movie gets its entry with description etc., but no picture.
Launching IMDB context also shows movie infos without 8cover) picture.
But:
When refreshing IMDB info - thus reloading infos from internet - info will be downloaded and after that cover appears.
Edit 2:
So ... checking the code of the Plugin, it gets path/names by:
string strThumb = MediaPortal.Util.Utils.GetCoverArtName(Thumbs.MovieTitle, movieDetails.Title);
string LargeThumb = MediaPortal.Util.Utils.GetLargeCoverArtName(Thumbs.MovieTitle, movieDetails.Title);
Did further tests and deleted/renamed Thumbfolder.
With the code above, thumbs are created in ...Thumbs\Video\Title with "Moviename" and "MovienameL".
As you've written, this won't be recognized anymore - you require different naming for display.
What to do?
I could change the code insode the plugin to modify:
strThumb = strThumb + "{" + idMovie.ToString() + "}";
But: MediaPortal.Util.Utils.GetCoverArtName() is a function that might be used by other parts or plugins too.
Two possibilities:
- either change GetCoverartName (might break other things?) or
- alternatively change the code to read old format, if new thumbs can't be found - also not nice, because it might slow down and is not ver "clean"....
For now I will change the code of the plugin and see, if that works ....
Croatia