(2020-12-14, 02:31)vonson Wrote: So multiple entries in genre or director is still a single string with the elements separated by comma, not a list?
The skin is Estuary, my favorite view modes are list or wall, depending on use case. I just experimented with the other view modes, and this is interesting. In mode 'Shift' and 'WideList' the genre actually gets displayed. Other than that, in all the other views I get only the plot field.
But I was refering to the info page that opens when I select one item from the list, and the section on the right side of that page.
Concerning code and screenshot:
Code: I just tried posting an excerpt of the code, but how do I insert it here without it losing its indentations?
Screenshot: Is there a way to attach a local screenshot from my HD without uploading it somewhere else? With the 'Image'-button I only can insert a link. ?...
Correct, elements separated by commas, not a list. 'genrea, genreb, grnrec'
Try adding this line before your end of directory line:
xbmcplugin.setContent(addon_handle, 'movies')
See if that helps. I looked at the Estuary view modes and only shift adds other metadata like genre, director, writer and first aired date. Here's
a screenshot. This is all controlled by the skin.
What I did for music, which you can do here, is modify the plot field with additional information, formatting and such.
Here's a simple example:
desc_text2 = 'Genre: ' + genre_text + '\nDirector: ' + creator_text + '\n\n' + description_text
info = {
'duration': getSeconds(duration_text),
'genre': genre_text,
'year': release_year_text,
'title': title,
'plot': desc_text2,
'director': creator_text,
'tagline': tagline_text,
'writer': writer_text,
'cast': artist_text.split(','),
'artist': artist_text.split(','),
'rating': rating_val,
'code': imdb_text,
'mediatype': categories_text,
'season': season_text,
'episode': episode_text,
'lastplayed': last_played_text,
'aired': aired_text,
'mpaa':content_rating_text,
'studio':production_company_text,
'playcount':playcount,
'trailer':trailerurl,
'tvshowtitle':album_text,
}
li.setInfo(mediaClass_text, info)
With this the plot field will always have what you want. if you want to get creative with improved formatting and colors see my media.py file and look for :
def mComment(minfo, mduration): # Update music metadata comments
You'll see some formatting that I use for music to do the same thing.
Jeff