Your comments

So I was thinking, what might be neat/a little cleaner visually, would be the option to mark "Favorites" with a star. This would then put them at the beginning of the list. I'm thinking of going either of 2 directions with this:


1) Set it via a function, like the Featured publishers, saved in the html. This would show up on all devices/for all users.

or

2) Make it a javascript control that would save to localstorage (basically saved inside your browser). This wouldn't carry over between devices/users.

I think I've incorporated all of your wizardry now. :) Thanks!

The latest version should work for you!


It checks uname for Darwin, and uses Mac-friendly sed commands, will allow a CVInfo file instead of just cvinfo, and fixes the issue I found with CVInfo urls (outdated ComicVine numbering). Let me know if the new version sorts out your issues.

Also I'll need to add a check for "CVInfo", since I didn't realize that was the case of files made by ComicRack, since Mylar uses "cvinfo" (but should still work fine).


Edit: I actually grabbed a ComicRack CVInfo file and the url's are slightly different, and I'm getting the same issue. Next release should be Mac-ready!

You might not need Mylar then, I believe ComicRack also makes cvinfo files in the comic folders (Mylar added it because ComicRack had it). But without those files, this won't work.


Edit: After getting a ComicRack CVInfo file, I was able to make the script work. So if you've got a Mac, the same steps should work with the last release of PageBuilder.

Thus far the Mac guy hasn't had a successful run, though it's close. Windows would take some work, but I'll see what I can do.

So if you're on linux, it should be as easy as this (commands in bold):


Go to PageBuilder folder.

Open PageBuilder.sh and paste your comicvine api key between the quotes (same key used in Mylar)

sudo -s

Enter root password.

chmod +x PageBuilder.sh

chmod +x imageGet.sh

chmod +x jq (might not be necessary)

exit

PageBuilder.sh /path/to/comic/folder/cvinfo


That should be it, theoretically. If there are no cvinfo files, they need to be enabled in Mylar's advanced settings (and then you'll either have to wait for your comics to be refreshed, or manually refresh each comic, to generate the file).


Edit: For those completely unfamiliar, everything between sudo and exit are only needed once to make the scripts executable. Every run after that, all you need to do is the last line.

Here's a fix for the Marvel css if you wanted to roll back.


.imprintNav {

position: relative;
top: -215px;
margin-bottom: -11px;

}


Just add that to the Marvel folder's folder.css, and it'll look like the rest of them.

Ohh, yeah. I get it now. A lot of themed elements don't persist onto the second page, so that's probably causing conflicts. Totally didn't think of that at the time, since it's probably conflicting with stuff hardcoded for the New/Search pages.

PageBuilder update! I stripped a lot of unused stuff from ImageGet, and added in the arguments code from MediaBot 666 (thanks for that!). PageBuilder itself now gives progress messages, which should be helpful for debugging.

Be sure to put your comicvine api key in PageBuilder.sh, or you'll get "jq: error: Cannot index array with string".

Comic folder images might still be a little imprecise, since the year is being passed only as part of the filename (so it doesn't potentially overlap if being run more than once simultaneously). So Action Comics could turn up the 2011 series or the 2016 series, regardless of year.

New download should be in the link in the first post. Enjoy!