Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Changes in JS
#3
(06-07-2022, 06:41 PM)Nutul Wrote: Hi everybody,

in relation to my thread about the missing album-art with FLAC + CUE-sheets of a few days ago, I had a look at the code, both PHP and JS, and it seems like the JS code makes a couple of wrong assumptions when generates the hash for the image name it expects to be generated by thmcache.php.

I would like to test some changes to check my theory (presumably just a couple of lines for some substring) into player.js and scripts.library.js.

My problem is I have no clue about how to minimize and obfuscate the JS code, in order to just obtain the three JS files in the /var/www folder (config.min.js, lib.min.js and main.min.js). I am pretty sure my changes will affect just lib.min.js, but as I said, I don't know how to regenerate it from the original source code.

Thanks in advance to anybody for the help.
Cheers, Al.

If the changes are relatively straight forward feel free to post them here along with an explanation of what they are fixing or enhancing and I can run some quick tests on my end.

This will give you some time to work through setting up a Gulp development environment.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Changes in JS - by Nutul - 06-07-2022, 06:41 PM
RE: Changes in JS - by TheOldPresbyope - 06-07-2022, 06:52 PM
RE: Changes in JS - by Nutul - 06-07-2022, 07:21 PM
RE: Changes in JS - by Tim Curtis - 06-07-2022, 07:12 PM
RE: Changes in JS - by Nutul - 06-07-2022, 07:28 PM
RE: Changes in JS - by Tim Curtis - 06-07-2022, 08:02 PM
RE: Changes in JS - by Nutul - 06-08-2022, 11:24 PM
RE: Changes in JS - by Nutul - 06-09-2022, 07:17 PM
RE: Changes in JS - by Tim Curtis - 06-09-2022, 09:29 PM
RE: Changes in JS - by Nutul - 06-09-2022, 10:32 PM
RE: Changes in JS - by bitlab - 06-09-2022, 07:40 PM
RE: Changes in JS - by TheOldPresbyope - 06-10-2022, 03:43 AM
RE: Changes in JS - by Nutul - 06-10-2022, 09:24 AM
RE: Changes in JS - by TheOldPresbyope - 06-13-2022, 08:38 PM
RE: Changes in JS - by Nutul - 06-15-2022, 07:53 AM
RE: Changes in JS - by TheOldPresbyope - 06-16-2022, 07:48 PM
RE: Changes in JS - by Tim Curtis - 06-16-2022, 10:24 PM
RE: Changes in JS - by Nutul - 06-16-2022, 11:27 PM

Forum Jump: