<commit_before>export const TOGGLE_PLAY = 'TOGGLE_PLAY';
export const CHANGE_CURRENT_SECONDS = 'CHANGE_CURRENT_SECONDS';
export const SEEK = 'SEEK';
export const SET_CURRENT_SONG = 'SET_CURRENT_SONG';
export const SET_DURATION = 'SET_DURATION';

export const togglePlay = {
  type: TOGGLE_PLAY
};

export const changeCurrentSeconds = (seconds) => ({
  type: CHANGE_CURRENT_SECONDS,
  currentSeconds: seconds
});

export const seekToSeconds = (seconds) => ({
  type: SEEK,
  playFromSeconds: seconds
});

export const setCurrentSong = (song) => ({
  type: SET_CURRENT_SONG,
  currentSong: {
    title: song.title,
    artist: song.artist,
    album: song.album,
    albumArt: song.albumArt,
    src: song.src
  }
});

export const setDuration = (duration) => ({
  type: SET_DURATION,
  totalSeconds: duration
});
<commit_msg>Add missing action<commit_after>export const TOGGLE_PLAY = 'TOGGLE_PLAY';
export const CHANGE_CURRENT_SECONDS = 'CHANGE_CURRENT_SECONDS';
export const SEEK = 'SEEK';
export const SET_CURRENT_SONG = 'SET_CURRENT_SONG';
export const SET_DURATION = 'SET_DURATION';
export const CHANGE_VOLUME = 'CHANGE_VOLUME';

export const togglePlay = {
  type: TOGGLE_PLAY
};

export const changeCurrentSeconds = (seconds) => ({
  type: CHANGE_CURRENT_SECONDS,
  currentSeconds: seconds
});

export const seekToSeconds = (seconds) => ({
  type: SEEK,
  playFromSeconds: seconds
});

export const setCurrentSong = (song) => ({
  type: SET_CURRENT_SONG,
  currentSong: {
    title: song.title,
    artist: song.artist,
    album: song.album,
    albumArt: song.albumArt,
    src: song.src
  }
});

export const setDuration = (duration) => ({
  type: SET_DURATION,
  totalSeconds: duration
});

{'fraction_non_alphanumeric': 0.1153619776339023, 'fraction_numerical': 0.0, 'mean_word_length': 4.821917808219178, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '5299577', 'n_tokens_mistral': 591, 'n_tokens_neox': 580, 'n_words': 138}