Hydrogenaudio Forums

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: MordredKLB on 2018-06-29 16:33:02

Title: Georgia: A dynamically generated fb2k theme
Post by: MordredKLB on 2018-06-29 16:33:02
(https://i.imgur.com/pspQQeb.png)

At long last I'm pleased to announce that my theme Georgia is available for public use. Georgia is a dynamically generated theme which uses album art to choose colors for it's panels. It was originally designed for running full screen on HTPCs, but also works well in a standard desktop environment. Georgia also looks amazing in 4k.

Gallery of what's possible with Georgia (https://imgur.com/a/TtjUS)

Inspired by XBMC/Kodi, I might have created the first fanart based fb2k theme years ago, and Georgia is the logical conclusion of that work. It supports band logos, record label images, cdArt/vinylArt, multiple covers, etc. It's designed primarily to look good, and look good on a big screen, so it is lacking some functionality that other themes have.

Get Georgia now (https://github.com/kbuffington/Georgia). Be sure to follow the installation instructions.

NOTE: Georgia is currently in beta. There will probably be some bugs/crashes. I'm pretty sure the lyrics display is not working correctly. I'm hoping some of you folks will be kind enough to help me test this out and iron out any kinks.

Components recommended for this theme:

This theme would not be possible without the hard work of Peter, marc2003, and TheQwertiest.
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: MordredKLB on 2018-06-29 16:34:28
Reserved
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: davideleo on 2018-06-29 16:59:40
So you are that Mordred! I didn't connect until today, but the reason I got into foobar2000 is because about three years ago, while searching for inspiring music player layouts, I stumbled on this one (https://www.deviantart.com/mordredklb/art/WSHtpc-Mordred-0-8-0-427251767) which definitely looks like Georgia's forefather. Well, thanks for inspiring me  :)
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: Vicas on 2018-06-29 17:09:18
Looks nice! I might give it a try. ;)
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: MordredKLB on 2018-06-29 17:09:46
So you are that Mordred! I didn't connect until today, but the reason I got into foobar2000 is because about three years ago, while searching for inspiring music player layouts, I stumbled on this one (https://www.deviantart.com/mordredklb/art/WSHtpc-Mordred-0-8-0-427251767) which definitely looks like Georgia's forefather. Well, thanks for inspiring me  :)
Haha, yep! If by some crazy chance you're still running that one, you should definitely upgrade. It hurts me to look at now (and I was running it up until December!) Glad you stumbled onto my stuff and the fb2k community!
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: Rozzo on 2018-06-30 13:26:53
It doesn't load properly:

Code: [Select]
Error: JScript Panel v2.1.5.2 (Georgia by Mordred)
Error in JavaScript execution time:
'PanelProperties' is not defined
File: C:\Users\puran\AppData\Roaming\foobar2000\georgia\js\globals.js
Line: 2, Col: 1
<source text only available at compile time>

 :'(
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: MordredKLB on 2018-06-30 21:23:53
It doesn't load properly:

 :'(
Thanks! Right before releasing I updated some file paths for TheQwertiest's playlist manager, but apparently didn't push the commit. There's a new release which should fix the problem.
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: Rozzo on 2018-06-30 23:12:31
Got it working, thank you!

Hmm...

It crashes foobar if I add music through foo-input-spotify...
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: MordredKLB on 2018-07-01 05:03:15
And this is why I need beta testers. Never used foo-input-spotify, but I'll check it out and see what's going on. Thanks for reporting!

Edit: The crash of foobar is either a bug in foobar itself or foo_input_spotify. What's causing it is attempting to retrieve %directoryname%. I was able to replicate it with 3 lines of Javascript. I reported a bug to Peter as I think it's foobar's problem, but can't tell for certain.

Skipping any calls that would process that field, I did run into a couple other issues which I've fixed but not pushed up yet. Doesn't look like I'm getting any album art though. Do you typically see art in other themes?
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: Rozzo on 2018-07-01 12:17:33
Quote
... Doesn't look like I'm getting any album art though. Do you typically see art in other themes?

I was thinking that no art was possible through foo-input-spotify, at least not in the themes I tried (mainly foobox 4.2), buy yesterday I tried it with Br3tt js-smooth-playlist and it gets Spotiy art.



Title: Re: Georgia: A dynamically generated fb2k theme
Post by: MordredKLB on 2018-07-01 15:45:34
Quote
... Doesn't look like I'm getting any album art though. Do you typically see art in other themes?

I was thinking that no art was possible through foo-input-spotify, at least not in the themes I tried (mainly foobox 4.2), buy yesterday I tried it with Br3tt js-smooth-playlist and it gets Spotiy art.
Yeah, I saw in the console it was attempting to retrieve art, but it didn't appear available to the theme. I'll need to look into that.
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: MordredKLB on 2018-07-02 00:52:38
I was thinking that no art was possible through foo-input-spotify, at least not in the themes I tried (mainly foobox 4.2), buy yesterday I tried it with Br3tt js-smooth-playlist and it gets Spotiy art.
I've got artwork working with spotify now, and fixed some crashes. Give it a try and let me know if you're still having issues there.
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: Rozzo on 2018-07-02 12:30:28
 Wow! Working now with Spotify and showing the Spotify art!!! Also working the flags, band logos etc.

I'll tell you if something doesn't go.

Title: Re: Georgia: A dynamically generated fb2k theme
Post by: TheQwertiest on 2018-07-04 13:41:19
MordredKLB: good job on the theme! Probably gonna end up stealing some features getting some inspiration from it :D
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: MordredKLB on 2018-07-23 22:46:06
Version 0.9.9 released.

Change log:
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: IP974 on 2018-08-12 08:58:14
MordredKLB, can you share a portable version, because I can not install it, yet I followed the information. thank you very much
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: MordredKLB on 2018-08-13 05:53:05
MordredKLB, can you share a portable version, because I can not install it, yet I followed the information. thank you very much
Are you saying you have a portable version of foobar and it doesn't work, or you want me to give you .fcl files?
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: IP974 on 2018-08-13 08:04:43
MordredKLB, share portable version please, I want one. Thank
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: jazzthieve on 2018-08-13 23:12:10
He's probably asking for the complete foobar folder as portable.
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: IP974 on 2018-08-14 04:13:35
that's it, jazzthieve.
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: MordredKLB on 2018-08-14 16:49:03
I apologize, but that's not something I'm able to provide at the moment. I can try and walk you through the issues you're having installing the theme if you like. What exactly isn't working for you?
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: IP974 on 2018-08-14 17:44:54
JScript Panel v2.1.6 (Georgia by Mordred): initialised in 10 ms
Error: JScript Panel v2.1.6 (Georgia by Mordred)
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\polyfills.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\helpers.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\hyperlinks.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\CaTRoX_QWR\js_marc2003\js\lodash.min.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\CaTRoX_QWR\js_marc2003\js\helpers.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\CaTRoX_QWR\Common.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\CaTRoX_QWR\Utility_LinkedList.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\globals.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\CaTRoX_QWR\Control_ContextMenu.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\CaTRoX_QWR\Control_HtaMsgBox.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\CaTRoX_QWR\Control_HtaGroupPresetsMngr.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\CaTRoX_QWR\Control_Scrollbar.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\CaTRoX_QWR\Control_List.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\CaTRoX_QWR\Panel_Playlist.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\CaTRoX_QWR\Control_Button.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\color.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\themes.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\Image_Caching.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\georgia-main.js
Failed to load: C:\Users\hld97\Desktop\Georgia-master\foobar2000\georgia\js\lyrics.js
JScript Panel v2.1.6 (Georgia by Mordred): initialised in 8 ms
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: MordredKLB on 2018-08-14 19:01:58
@IP974 Looks like the issue is your paths are wrong. It's looking for the theme in "C:\Users\hld97\Desktop\Georgia-master\foobar2000\" but it doesn't seem the files are there.

Find where those files are and move them to the correct location.
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: MordredKLB on 2018-11-03 05:34:35
v1.0.0 was just released (https://github.com/kbuffington/Georgia/releases). Major addition this time around is the integration of WilB's LibraryTree. There are also a ton of bug fixes, speed improvements, fit-and-finish updates, etc. It's a much more solid theme this time around, with a lot more configurable options in the Options menu.

A selected changelist:

As always, let me know if you have any issues setting this up.
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: Rozzo on 2018-11-04 19:49:01
Working fine here, thanks!!
Ys
Rozzo
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: 3vilgenius on 2018-11-05 18:31:05
Hi, I'm on a QHD screen and for somereason the scaling of the library tree gets really wonky and scrunched together when full screen. and it looks pretty small when it is not full screen up to a certain size. Not only that but the scroll bar will not go away even when unchecked in the options for that. I'm attaching a pic so you can see the scaling issue I'm talking about:  https://imgur.com/u4JzksF

Btw thanks for all your work on this, its just a plain beautiful theme and I look forward to helping let ya know the kinks I find.
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: 3vilgenius on 2018-11-05 19:12:34
Also, what are the metadata sections for things like the Record label and such that I can add to file properties so that they will show up in the theme? Should I add to the metadata a section called "Record Label" and then add the name for example?
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: MordredKLB on 2018-11-05 20:41:24
Hi, I'm on a QHD screen and for somereason the scaling of the library tree gets really wonky and scrunched together when full screen. and it looks pretty small when it is not full screen up to a certain size. Not only that but the scroll bar will not go away even when unchecked in the options for that. I'm attaching a pic so you can see the scaling issue I'm talking about:  https://imgur.com/u4JzksF

Btw thanks for all your work on this, its just a plain beautiful theme and I look forward to helping let ya know the kinks I find.
Crap, I thought I had that fixed, and unfortunately no longer have a 4k display to test on.

For now you can right click on the background, select Properties, and then scroll down to the bottom and change user.row.height from the default of 20 to 40. That ought to fix the problem.

Also, what are the metadata sections for things like the Record label and such that I can add to file properties so that they will show up in the theme? Should I add to the metadata a section called "Record Label" and then add the name for example?
All metadata tag definitions are set in globals.js (although some reference Properties). Record label is a special case which currently exists, and already looks for both label and publisher tags. These are set in the tf.labels array in globals.js. If you're using another one, let me know and I can add it to that array so that other people don't have to manually update it.

If you want to add a completely new field you can do that in the tf.grid object. Just add a label, and then a titleformatting value.

Let me know if you're still having issues.
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: 3vilgenius on 2018-11-29 00:53:39
Hey thanks for the info! It took me a while to remember this site. I'll let you know if I got any more problems for sure :)
Title: Re: Georgia: A dynamically generated fb2k theme
Post by: MordredKLB on 2019-01-25 18:00:52
I published v1.0.1 of this theme a couple days ago which was primarily a bug fix release.

Changelist:
 - Fixed a bunch of errors related to 4k mode
 - Added ability to set 4k detection mode (auto, always, never)
 - Pre-init Library tree after delay for snappier initial load of the library tab (if you wait 10 seconds first)
 - Much improved handling of long artist names (optimal font detection)

I've got some more stuff in the works so hopefully I'll have a 1.1 release out in a week or two.
SimplePortal 1.0.0 RC1 © 2008-2019