Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Georgia: A dynamically generated fb2k theme (Read 95463 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Georgia: A dynamically generated fb2k theme

Reply #250
Does anybody know why my PUBLISHER (Label) tags don't work with $meta_sep(?
Anytime I have more than one label now it doesn't show the logos in the bottom right corner, it just thinks it's one label, even though I separate them with semicolons.

Code: [Select]
{ "label": "Label", "val": "[$meta_sep(PUBLISHER, • )]" }, // The label(s) or publisher(s) that released the album.
-from my georgia-config.jsonc file

Really stumped on this

 

Re: Georgia: A dynamically generated fb2k theme

Reply #251
Does anybody know why my PUBLISHER (Label) tags don't work with $meta_sep(?
Anytime I have more than one label now it doesn't show the logos in the bottom right corner, it just thinks it's one label, even though I separate them with semicolons.

Code: [Select]
{ "label": "Label", "val": "[$meta_sep(PUBLISHER, • )]" }, // The label(s) or publisher(s) that released the album.
-from my georgia-config.jsonc file

Really stumped on this
You're saying this stopped working recently? Are you positive that you've set PUBLISHER as a Multi-value field (check it in Preferences: Advanced =>Display => Properties dialog => Multivalue fields).

The line from the config you referenced is just for the entry in the meta grid on the left. The images are actually generated by calling $meta_sep on both LABEL and PUBLISHER fields (customizable by editing the tf.labels found in settings.js).

Re: Georgia: A dynamically generated fb2k theme

Reply #252
You're saying this stopped working recently? Are you positive that you've set PUBLISHER as a Multi-value field (check it in Preferences: Advanced =>Display => Properties dialog => Multivalue fields).

The line from the config you referenced is just for the entry in the meta grid on the left. The images are actually generated by calling $meta_sep on both LABEL and PUBLISHER fields (customizable by editing the tf.labels found in settings.js).
Yep, that fixed it. It's been so long since I've had to go into settings.js, I completely forgot about it. I didn't know it generated an image for the bullet point, interesting how that works.

Thank you, the theme looks especially flawless now with the ui hacks.

Re: Georgia: A dynamically generated fb2k theme

Reply #253
Link to Georgia.txt is broken, can't install.

Re: Georgia: A dynamically generated fb2k theme

Reply #254
Link to Georgia.txt is broken, can't install.
Georgia.txt is included in the download package (only for JSP, for SMP georgia-install.js is included)


Re: Georgia: A dynamically generated fb2k theme

Reply #256
JScript Panel vs Spider Monkey Panel.


Re: Georgia: A dynamically generated fb2k theme

Reply #258
Link to Georgia.txt is broken, can't install.
Georgia.txt is included in the download package (only for JSP, for SMP georgia-install.js is included)

How do I know that as a first time user? Also I have no idea what JSP and SMP are.
@NateHigs: sorry for having been too short here. Are the other steps of the installation guide here from @MordredKLB clear? Please do not hesitate to ask futher questions!

Re: Georgia: A dynamically generated fb2k theme

Reply #259
Georgia Theme is literally gorgeous, and thanks for all your hard works.
I'm trying to change fonts since my native language isn't English, and 'HelveticaNeueLT Pro' font doesn't look good when printing other languages.
I modified all stuffs in fontList in 'georgia-theme.js' and 'georgia-main.js' which are look like this.
Code: [Select]
//georgia-theme.js
    const fontLight = 'HelveticaNeueLT Pro 45 Lt';
    const fontBold = 'HelveticaNeueLT Pro 65 Md';
Code: [Select]
//georgia-main.js
    const fontThin = 'HelveticaNeueLT Pro 35 Th';
    const fontLight = 'HelveticaNeueLT Pro 45 Lt';
    const fontRegular = 'HelveticaNeueLT Pro 55 Roman';
    const fontBold = 'HelveticaNeueLT Pro 65 Md';
    const fontLightAlternate = 'NeueHaasGroteskDisp Pro XLt';
    const fontGuiFx = 'Guifx v2 Transports';

    var fontList = [fontThin, fontLight, fontRegular, fontBold, fontLightAlternate, fontGuiFx];
This worked with past versions, but doesn't work with v2.0.0-beta4.
It may be rude to modify your code since I'm an user, not a developer, but I will be happy using Georgia with my nice looking native language.
Can you help me with where to edit code to change theme fonts?
Thanks a lot!



Re: Georgia: A dynamically generated fb2k theme

Reply #260
@linuxlight You can ignore georgia-theme.js for now. The font code in georgia-main.js hasn't been touched in 8-12 months at least. What doesn't work if you change, say, fontThin to a different font? Are you positive you've got the name right? Right click the otf/ttf font in Windows and select Preview and then usually the correct font name to use will be listed as Font Name up at the top. Sometimes it's not the correct way to address it though.

Re: Georgia: A dynamically generated fb2k theme

Reply #261
Version 2.0 has finally been released. It's been pretty much all I've worked on for the last 8 months. Thanks to the amazing folks who helped me beta test, reported issues, and prodded me for features/improvements. It's really improved the quality of this theme.

I also spent a ton of time over the last week creating all new documentation, and writing up everything I could think of and taking tons of screenshots. I even recorded a new installation walkthrough.

Get the new version here.

Changelog is too big to post, but it can be found here.

Re: Georgia: A dynamically generated fb2k theme

Reply #262
@MordredKLB , you can fix the bugged search bar text colour in gh pages by changing `.search-input` variable - https://github.com/TheQwertiest/foo_spider_monkey_panel/blob/gh-pages/_sass/custom/colours.scss (colours.scss is included via custom.css)

Re: Georgia: A dynamically generated fb2k theme

Reply #263
@MordredKLB , you can fix the bugged search bar text colour in gh pages by changing `.search-input` variable - https://github.com/TheQwertiest/foo_spider_monkey_panel/blob/gh-pages/_sass/custom/colours.scss (colours.scss is included via custom.css)
Somehow I hadn't even noticed. Thanks for the tip!

Also, thanks for showing me that gh-pages could have a decent looking documentation format besides the mostly terrible defaults!

Re: Georgia: A dynamically generated fb2k theme

Reply #264
Thank you very much for the new version of Georgia! However it keeps showing up an error from spider monkey panel and foobar crashes (I'm using latest version 1.6.4):

Error: Spider Monkey Panel v1.4.1 (Georgia: Georgia v2.0.0 by Mordred)
DrawString failed:
GdiPlus error: DrawString failed with error (0xb): ValueOverflow

File: georgia-main.js
Line: 408, Column: 8
Stack trace:
  draw_ui@georgia-main.js:408:8
  on_paint@georgia-main.js:949:2

Re: Georgia: A dynamically generated fb2k theme

Reply #265
Thank you very much for the new version of Georgia! However it keeps showing up an error from spider monkey panel and foobar crashes (I'm using latest version 1.6.4):
Before line 408 can you paste this line:
Code: [Select]
console.log('>>>>', infoLeft, geo.top_bg_h - trackInfoHeight - scaleForDisplay(15), maxInfoWidth, trackInfoHeight);
Open the console, and then get it to crash again, and then paste the contents of that line to me.

Also when encountering the crash do you have cdArt?
albumArt?
Have you edited settings.extraTrackInfo at all?

In the mean time you can just comment out the gr.DrawString line on 408 to skip the crash while I try and figure out what's going wrong.

Re: Georgia: A dynamically generated fb2k theme

Reply #266
I have vinylArt and the crash happens when skipping songs. I didn't edit nothing on settings.extraTrackInfo.

How do I edit georgia-main.js to be able to paste that line?

Re: Georgia: A dynamically generated fb2k theme

Reply #267
I have vinylArt and the crash happens when skipping songs. I didn't edit nothing on settings.extraTrackInfo.

How do I edit georgia-main.js to be able to paste that line?
Just replace it with the attached file.

Re: Georgia: A dynamically generated fb2k theme

Reply #268
Ok, I've replaced it and now it gives this error:

Error: Spider Monkey Panel v1.4.1 (Georgia: Georgia v2.0.0 by Mordred)
DrawString failed:
GdiPlus error: DrawString failed with error (0xb): ValueOverflow

File: georgia-main.js
Line: 409, Column: 8
Stack trace:
  draw_ui@georgia-main.js:409:8
  on_paint@georgia-main.js:950:2

Re: Georgia: A dynamically generated fb2k theme

Reply #269
Yeah, sorry, I didn't disable the crash in that file. Can you paste the contents of the console? (I just need the line that starts with ">>>>")

Re: Georgia: A dynamically generated fb2k theme

Reply #270
Ok, here it is:

>>>> NaN 123.46200180053711 NaN 21.53799819946289

This line comes just before the error, when is fetching new art.

Re: Georgia: A dynamically generated fb2k theme

Reply #271
Well that explains it, but I still can't figure out how it's getting in that state. Can you try this one and paste the same line from the console afterwards?

Re: Georgia: A dynamically generated fb2k theme

Reply #272
With the new georgia-main.js the line is now:

>>>> 1918 20 516 NaN - flac | -4.38dB

One thing I noticed is that the error happens almost immediately in shuffle tracks or random mode, but if I play them in default mode, it takes many more time (several album covers changes) for it to occur.

Re: Georgia: A dynamically generated fb2k theme

Reply #273
With the new georgia-main.js the line is now:

>>>> 1918 20 516 NaN - flac | -4.38dB

One thing I noticed is that the error happens almost immediately in shuffle tracks or random mode, but if I play them in default mode, it takes many more time (several album covers changes) for it to occur.
Fixed! I was able to reproduce and squashed it. Seems to have been a race condition that occurred when switching from an album that had disc art to one without. Didn't happen all the time but should be good now.

Re: Georgia: A dynamically generated fb2k theme

Reply #274
It's working perfectly now! Thank you very much for your help.