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
WebService and Mobile Access
Popular Plugins
MPExtended
WebSkin 2013: WebMP Skinning Contest
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="Oxan" data-source="post: 955222" data-attributes="member: 97484"><p>No, WebMP doesn't support that yet. (Actually, the problem is that the MP Music plugin only stores genres for albums, not for artists). </p><p></p><p>Yes. For what do you want to show it? The code is the same as currently used for covers, except you need a different URL. For movies it's "Fanart" instead of "Cover", for TV Shows the "SeriesFanart" instead of "SeriesBanner". I can look up the others if you need them.</p><p></p><p>Something like this. Untested, let me know if it doesn't work:</p><p>[code]</p><p>@foreach (var artist in movie.Artists) </p><p>{</p><p> var artistName = artist.Substring(0, artist.IndexOf("(")).Trim();</p><p></p><p> <li><a href="/Search/Results?text=@artistName">@artistName</a></li></p><p>}</p><p>[/code]</p><p></p><p></p><p>I'm going to look into that, I'll answer you later <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p></blockquote><p></p>
[QUOTE="Oxan, post: 955222, member: 97484"] No, WebMP doesn't support that yet. (Actually, the problem is that the MP Music plugin only stores genres for albums, not for artists). Yes. For what do you want to show it? The code is the same as currently used for covers, except you need a different URL. For movies it's "Fanart" instead of "Cover", for TV Shows the "SeriesFanart" instead of "SeriesBanner". I can look up the others if you need them. Something like this. Untested, let me know if it doesn't work: [code] @foreach (var artist in movie.Artists) { var artistName = artist.Substring(0, artist.IndexOf("(")).Trim(); <li><a href="/Search/Results?text=@artistName">@artistName</a></li> } [/code] I'm going to look into that, I'll answer you later ;) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
Popular Plugins
MPExtended
WebSkin 2013: WebMP Skinning Contest
Contact us
RSS
Top
Bottom