<commit_before><!-- GNU LGPL v2.1+: http://www.gnu.org/licenses/lgpl.html -->

<docs>
  ## vc-playcontrols - A container holding the play and seek controls for a song
  ### Props:
  - **project** - The BSE object providing playback API.
</docs>

<style lang="scss">
  @import 'mixins.scss';
  .vc-playcontrols { }
</style>

<template>

  <vc-button-bar
      class="vc-playcontrols" >
    <vc-icon-button hotkey="L"     icon="fa-fast-backward" @click="bclick ('...Last')"></vc-icon-button>
    <vc-icon-button hotkey="B"     icon="fa-backward"      @click="bclick ('...Backwards')"></vc-icon-button>
    <vc-icon-button hotkey="Space" icon="fa-stop"          @click="bclick ('stop')"></vc-icon-button>
    <vc-icon-button hotkey="P"     icon="fa-play"          @click="bclick ('play')"></vc-icon-button>
    <vc-icon-button hotkey="R"     icon="fa-circle"        @click="bclick ('...Record')"></vc-icon-button>
    <vc-icon-button hotkey="F"     icon="fa-forward"       @click="bclick ('...Forwards')"></vc-icon-button>
    <vc-icon-button hotkey="N"     icon="fa-fast-forward"  @click="bclick ('...Next')"></vc-icon-button>
  </vc-button-bar>

</template>

<script>
module.exports = {
  name: 'vc-playcontrols',
  methods:  {
    bclick (method, e) {
      let project = App.project(), m = project[method], message;
      if (m !== undefined) {<commit_msg>EBEAST: playcontrols: implement project prop<commit_after><!-- GNU LGPL v2.1+: http://www.gnu.org/licenses/lgpl.html -->

<docs>
  ## vc-playcontrols - A container holding the play and seek controls for a song
  ### Props:
  - **project** - The BSE object providing playback API.
</docs>

<style lang="scss">
  @import 'mixins.scss';
  .vc-playcontrols { }
</style>

<template>

  <vc-button-bar
      class="vc-playcontrols" >
    <vc-icon-button hotkey="L"     icon="fa-fast-backward" @click="bclick ('...Last')"></vc-icon-button>
    <vc-icon-button hotkey="B"     icon="fa-backward"      @click="bclick ('...Backwards')"></vc-icon-button>
    <vc-icon-button hotkey="Space" icon="fa-stop"          @click="bclick ('stop')"></vc-icon-button>
    <vc-icon-button hotkey="P"     icon="fa-play"          @click="bclick ('play')"></vc-icon-button>
    <vc-icon-button hotkey="R"     icon="fa-circle"        @click="bclick ('...Record')"></vc-icon-button>
    <vc-icon-button hotkey="F"     icon="fa-forward"       @click="bclick ('...Forwards')"></vc-icon-button>
    <vc-icon-button hotkey="N"     icon="fa-fast-forward"  @click="bclick ('...Next')"></vc-icon-button>
  </vc-button-bar>

</template>

<script>
module.exports = {
  name: 'vc-playcontrols',
  props: [ 'project' ],
  methods:  {
    bclick (method, e) {
      let project = this.project, m = project[method], message;
      if (m !== undefined) {
{'fraction_non_alphanumeric': 0.2138728323699422, 'fraction_numerical': 0.001445086705202312, 'mean_word_length': 3.090103397341211, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5869680', 'n_tokens_mistral': 981, 'n_tokens_neox': 976, 'n_words': 186}