Posts: 54
Joined: Apr 2021
Reputation:
1
2021-05-22, 19:41
Thanks, black_eagle, for your response. I've found what I was looking for and I'm now playing around with the different preset fonts ... (with the original zip file safe and sound; don't worry, jjd-uk !!)
Thanks also, jjd-uk, the problem is, I did read your post #37 fully, I "just" didn't comprehend all the information contained in every detail ("sensory overload" is highly individual ...).
Posts: 54
Joined: Apr 2021
Reputation:
1
Hi jjd-uk, having started to modify your beautiful codes, I'm stumbling across two hurdles, for which I know you have the "shortcuts" (apparently I really don't get it where you place your commas, full stops, square brackets etc. ...):
i) how would your code line look like for the following (i.e. line 4, bottom line, last code block):
Next: Artist Album title [year] track title
with the following formats (everything the same size):
Next: green, regular
Artist blue, regular
Album title white, regular
[ ] white, regular
year blue, regular
track title white, Italics
ii) re the fonts the lay person can see the following in font.xml:
<name>font14</name>
<filename>NotoSans-Regular.ttf</filename>
<size>33</size>
<style>lighten</style>
and further down the lines:
<name>font14</name>
<filename>arial.ttf</filename>
<size>30</size>
if I change the fonts in your musicvisualisation.xml file, I only enter "font14", the question, hence, would be how the system distinguishes between Arial and NotoSans? Has this something to do with the line
<fontset id="Arial" idloc="31053"> and the respective one for NotoSans?
Short: how can I swap/chose between these two font styles as "font14" alone is not good enough?
Your kind help with that is, as always, greatly appreciated !!
Posts: 54
Joined: Apr 2021
Reputation:
1
2021-05-23, 15:42
(This post was last modified: 2021-05-23, 15:50 by PeterD..)
To add to the one question above (code for this particular "Next: ..." line) I have three more quick questions for you:
i) how would this code look like, if I wanted to add one more format on top of another, say i.e. the artist in blue (as above) plus in bold; all the remaining line stays the same
ii) the "now playing" screen (with the modified four lines) fades away after about 10 seconds (default). Where would be the code line in MusicVisualisation.xml to alter the duration?
iii) and an even more trivial one: on your screen shots there are artist images displayed. Where within Kodi would be the setting for that? What would be the terminus for that? Where are these images retrieved from?
Your answers to my 4 questions (these three plus the previous one) would be immensely appreciated.
Posts: 54
Joined: Apr 2021
Reputation:
1
Thanks for your recent ("overlapping"), very detailed post. This sort of precise break down is really very helpful. If I still don't get it, I can rest assured that I'm just too stupid for that ...
Posts: 54
Joined: Apr 2021
Reputation:
1
Thanks for your recent post. The explanatory break down really helps, but I still haven't quite found the "entrance" to your world of codes ...
Hence, I'm eagerly waiting for your answers to my three questions in post #51 and the one remaining question in post #53, as these would for sure be helpful as well.
Posts: 54
Joined: Apr 2021
Reputation:
1
Thanks, black_eagle, for your kind response to three of my open questions.
Why am I not getting rid of the feeling that the answers to my (presumably) simple questions are always more complicated than I expected ...
In this context, could you please prepare an advancedsettings.xml file for me containing the line that controls the "now playing screen" to fade away after say 30 seconds rather than the default ten. This file together with some informations re its implementation on my device would be very helpful, if you have some spare time ...
Also, maybe this one goes out to jjd-uk: could I please ask you for your kind help with the code line for question i) in post #51 (two different formats for one and the same label).
Posts: 10,552
Joined: Oct 2011
Reputation:
643
jjd-uk
Team-Kodi Member
Posts: 10,552
The background art in my screenshots is just normal Artist fanart that is fetched by the Artist scraper when doing a Query All Artists, I do not use any addon for that. To display the fanart in the Music Viz window then it's a setting on the OSD (under the cog).
I'll get to the remaining questions sometime tomorrow.