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
AlbumInfo.image is always empty
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="jameson_uk" data-source="post: 943877" data-attributes="member: 11220"><p>Never actually used that method before but it is not quite doing what is says in the name.</p><p> </p><p>It retrieves a list of albums from the database but then returns a collection of AlbumInfo which is normally the class used to model the album info scraped from allmusic.com. It is creating an instance of AlbumInfo on the fly but only setting artist, album artist and album hence why the image is not set.</p><p> </p><p>If you want a list of albums and their thumbs you can do this using the code you have in combination with some thumb code</p><p> </p><p>The code the music plugin uses to load local thumbs is</p><p>[code]string strThumb = Util.Utils.GetAlbumThumbName(strArtistName, strAlbumName);[/code]</p><p>it then goes on to look for a folder thumb if one is not found.</p></blockquote><p></p>
[QUOTE="jameson_uk, post: 943877, member: 11220"] Never actually used that method before but it is not quite doing what is says in the name. It retrieves a list of albums from the database but then returns a collection of AlbumInfo which is normally the class used to model the album info scraped from allmusic.com. It is creating an instance of AlbumInfo on the fly but only setting artist, album artist and album hence why the image is not set. If you want a list of albums and their thumbs you can do this using the code you have in combination with some thumb code The code the music plugin uses to load local thumbs is [code]string strThumb = Util.Utils.GetAlbumThumbName(strArtistName, strAlbumName);[/code] it then goes on to look for a folder thumb if one is not found. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
AlbumInfo.image is always empty
Contact us
RSS
Top
Bottom