Skip to content

Enable the user to either choose Live K.K. songs or Aircheck songs #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
JdotCarver opened this issue Oct 5, 2015 · 1 comment
Closed
Labels
enhancement For improving the extension features help wanted

Comments

@JdotCarver
Copy link
Contributor

I've tried to fiddle around with the files to realize that the best way I can see to do this would be by:

  • adding a checkbox underneath the 3 K.K. options saying "Play K.K. Aircheck songs instead"
  • which would replace the value of currentMusic to kkac in:
// get path of a song file
    function setAudioUrl(file) {
        if (checkKK()) {
            currentMusic = 'kk';
        }
        else {
            currentMusic = options.music;
            file += 'm';
        }
        audio.src = '../' + currentMusic + '/' + file + '.ogg';

The kkac music is in the Resources category on the readme

@JdotCarver JdotCarver added enhancement For improving the extension features help wanted labels Oct 5, 2015
@PikaDude
Copy link
Member

Closed in d2dd047

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement For improving the extension features help wanted
Development

No branches or pull requests

2 participants