19 Nov 2019 - TVDB are still in the process of fixing a number of bugs that have broken the TVDB scraper and any add-on that relies on TVDB data. TVDB are still working to rectify the problems.

Long folder names issue
#1
Hello everyone.
I am new to Kodi, I've installed 18.1 x64 version, played around a bit, customized interface to my needs etc.
I have noticed that there's limit in length of folder names which is present in Confuence as well but it is better there (longer name and 3 dots at the end).

Here are screenshots so easier to understand what this is about.

is there any way to make this look like in Confuence? Currently it is cut directly through one letter. Confused

Image

Image
Reply
#2
I would suggest you take a read on this article. 
https://kodi.wiki/view/Artist_informatio...pulated.3F
Reply
#3
(2019-09-20, 22:38)garson Wrote: Hello everyone.
I am new to Kodi, I've installed 18.1 x64 version, played around a bit, customized interface to my needs etc.
I have noticed that there's limit in length of folder names which is present in Confuence as well but it is better there (longer name and 3 dots at the end).

Here are screenshots so easier to understand what this is about.

is there any way to make this look like in Confuence? Currently it is cut directly through one letter. Confused

ImageImage
It will require a modification of the skin.  It's been on my list to track down to fix in my mod, but I haven't made time to do it.  Unfortunately that means I can't tell you exactly which XML file you need to modify to fix this.
Providing a debug log: Log_file/Easy (wiki)
Leia Estuary mod: 333143 (thread)
Artist Slideshow: Add-on:Artist_Slideshow (wiki)
SpeedFan Information Display: Add-on:SpeedFan_Information_Display (wiki)
Reply
#4
(2019-09-21, 01:51)pkscout Wrote:
(2019-09-20, 22:38)garson Wrote: Hello everyone.
I am new to Kodi, I've installed 18.1 x64 version, played around a bit, customized interface to my needs etc.
I have noticed that there's limit in length of folder names which is present in Confuence as well but it is better there (longer name and 3 dots at the end).

Here are screenshots so easier to understand what this is about.

is there any way to make this look like in Confuence? Currently it is cut directly through one letter. Confused

ImageImage
It will require a modification of the skin.  It's been on my list to track down to fix in my mod, but I haven't made time to do it.  Unfortunately that means I can't tell you exactly which XML file you need to modify to fix this. 
Thanks a lot. Blush  Looking forward to fixing this "bug" or whatever. I am ok if it looks same as in Confuence skin but perfect would be, if possible, scrolling of names like file names are being scrolled already.
I see a lot of xml files, hard to track that for a newbie like me.

I'm not sure how I can use Artist Information Folder, nor that I actually need that. Confused
Reply
#5
Any update on this issue?
Reply
#6
(2019-11-04, 15:44)garson Wrote: Any update on this issue?
Not from me. I think about doing it every time I see a truncated name and then get side tracked by life and don't get to it...
Providing a debug log: Log_file/Easy (wiki)
Leia Estuary mod: 333143 (thread)
Artist Slideshow: Add-on:Artist_Slideshow (wiki)
SpeedFan Information Display: Add-on:SpeedFan_Information_Display (wiki)
Reply
#7
To change the width of the label you need to adjust https://github.com/xbmc/xbmc/blob/master...s.xml#L853

Currently the width set to 900 but note that anything above 1000 will start to interfere with the Now Playing file details which appear at the top governed by https://github.com/xbmc/xbmc/blob/master...#L915-L964

The alternative is to keep the existing widths in the topbar but to make the fonts used smaller, for the folder name labels this is governed by https://github.com/xbmc/xbmc/blob/master....xml#L1072 so if you wanted to make it a similar size to Confluence change it from font45 to font14
Reply
#8
(2019-11-05, 15:31)jjd-uk Wrote: To change the width of the label you need to adjust https://github.com/xbmc/xbmc/blob/master...s.xml#L853

Currently the width set to 900 but note that anything above 1000 will start to interfere with the Now Playing file details which appear at the top governed by https://github.com/xbmc/xbmc/blob/master...#L915-L964

The alternative is to keep the existing widths in the topbar but to make the fonts used smaller, for the folder name labels this is governed by https://github.com/xbmc/xbmc/blob/master....xml#L1072 so if you wanted to make it a similar size to Confluence change it from font45 to font14

Thank you very much. I have adjusted it in includes.xml.
Is there a way to add three dots like in Confluence, if label is longer than what is set in width?
Reply
#9
(2019-11-07, 04:20)garson Wrote: Thank you very much. I have adjusted it in includes.xml.
Is there a way to add three dots like in Confluence, if label is longer than what is set in width?

Based on changing https://github.com/xbmc/xbmc/blob/master...s.xml#L853 to <width>1000</width>

Then change https://github.com/xbmc/xbmc/blob/master....xml#L1076 from <width>auto</width> to <width min="0" max="900">auto</width>

Also the clock might seem out of proportion now to the rest of the topbar. Clock section is found within same Topbar include at https://github.com/xbmc/xbmc/blob/master...#L990-L997 so I've 2 suggestions here.

1. You can make the font size the same as the Breadcrumbs for folder name so change it from font_clock to font14

2. Alternatively you can keep similar font size proportion were the clock is larger but more in keeping. In font.xml I can see the original font45 for the Breadcrumbs has a 45pt size and that font_clock is 70pt so font_clock was roughly 1.5 times the font used for the Breadcrumbs. Using font14 which is 33pt size then 1.5 times that would be about 50pt, so you could change https://github.com/xbmc/xbmc/blob/master...nt.xml#L77 from <size>70</size> to <size>50</size>
Reply
#10
(2019-11-07, 12:18)jjd-uk Wrote:
(2019-11-07, 04:20)garson Wrote: Thank you very much. I have adjusted it in includes.xml.
Is there a way to add three dots like in Confluence, if label is longer than what is set in width?

Based on changing https://github.com/xbmc/xbmc/blob/master...s.xml#L853 to <width>1000</width>

Then change https://github.com/xbmc/xbmc/blob/master....xml#L1076 from <width>auto</width> to <width min="0" max="900">auto</width>

Also the clock might seem out of proportion now to the rest of the topbar. Clock section is found within same Topbar include at https://github.com/xbmc/xbmc/blob/master...#L990-L997 so I've 2 suggestions here.

1. You can make the font size the same as the Breadcrumbs for folder name so change it from font_clock to font14

2. Alternatively you can keep similar font size proportion were the clock is larger but more in keeping. In font.xml I can see the original font45 for the Breadcrumbs has a 45pt size and that font_clock is 70pt so font_clock was roughly 1.5 times the font used for the Breadcrumbs. Using font14 which is 33pt size then 1.5 times that would be about 50pt, so you could change https://github.com/xbmc/xbmc/blob/master...nt.xml#L77 from <size>70</size> to <size>50</size> 
This is awsome!
I have stretched folder names a bit, and clock still looks good to me.
Here's how it looks now.
Image
Reply
#11
(2019-11-05, 01:41)pkscout Wrote:
(2019-11-04, 15:44)garson Wrote: Any update on this issue?
Not from me. I think about doing it every time I see a truncated name and then get side tracked by life and don't get to it... 
Maybe you can implement solution posted by jjd-uk in your mod?  Angel Definitely a lot better with 3 dots then just cut off in the middle of some word.
Reply
#12
(2019-11-07, 19:04)garson Wrote: This is awsome!
I have stretched folder names a bit, and clock still looks good to me.
Here's how it looks now.
Image

Looks like you extended the widths further than I suggested, did you remove the bit that governs display of the Now Playing file details which would also appear at the top as soon as you play anything? as if you haven't you'll get overlapped labels.
Reply
#13
(2019-11-07, 19:06)garson Wrote:
(2019-11-05, 01:41)pkscout Wrote:
(2019-11-04, 15:44)garson Wrote: Any update on this issue?
Not from me. I think about doing it every time I see a truncated name and then get side tracked by life and don't get to it...  
Maybe you can implement solution posted by jjd-uk in your mod?  Angel Definitely a lot better with 3 dots then just cut off in the middle of some word. 
I've got a working update here that uses the smaller font and includes the ellipses at the end.  With the smaller font you're going to have to have a *really* long breadcrumb for the ellipses, so I couldn't test that, but all my other long stuff now fits with the smaller font.  I have some other stuff I have to get done today, but I'll get the update into the repo later today or tomorrow.
Providing a debug log: Log_file/Easy (wiki)
Leia Estuary mod: 333143 (thread)
Artist Slideshow: Add-on:Artist_Slideshow (wiki)
SpeedFan Information Display: Add-on:SpeedFan_Information_Display (wiki)
Reply
#14
(2019-11-07, 20:31)jjd-uk Wrote:
(2019-11-07, 19:04)garson Wrote: This is awsome!
I have stretched folder names a bit, and clock still looks good to me.
Here's how it looks now.
Image

Looks like you extended the widths further than I suggested, did you remove the bit that governs display of the Now Playing file details which would also appear at the top as soon as you play anything? as if you haven't you'll get overlapped labels.
I forgot to add that I am using external players for audio and video, so Now playing shouldn't be issue for me. But thanks anyway, this can be helpful for other people, I guess.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Long folder names issue00