<commit_before>import { connect } from 'redux-clazz'
import Player from './Player'

import * as PlayerActions from './PlayerActions'
import * as PlayerSelectors from './PlayerSelectors'
import * as TorrentSelectors from '../Torrent/TorrentSelectors'

export const mapStateToProps = state => ({
  provider     : PlayerSelectors.getProvider(state),
  action       : PlayerSelectors.getAction(state),
  uri          : PlayerSelectors.getUri(state),
  item         : PlayerSelectors.getItem(state),
  torrentStatus: TorrentSelectors.getStatus(state),
})

const MediaPlayer = connect(mapStateToProps, PlayerActions)(Player)

export default MediaPlayer
<commit_msg>Add player status to player container [skip ci]<commit_after>import { connect } from 'redux-clazz'
import Player from './Player'

import * as PlayerActions from './PlayerActions'
import * as PlayerSelectors from './PlayerSelectors'
import * as TorrentSelectors from '../Torrent/TorrentSelectors'

export const mapStateToProps = state => ({
  provider     : PlayerSelectors.getProvider(state),
  action       : PlayerSelectors.getAction(state),
  uri          : PlayerSelectors.getUri(state),
  item         : PlayerSelectors.getItem(state),
  playerStatus : PlayerSelectors.getStatus(state),
  torrentStatus: TorrentSelectors.getStatus(state),
})

const MediaPlayer = connect(mapStateToProps, PlayerActions)(Player)

export default MediaPlayer

{'fraction_non_alphanumeric': 0.10049893086243764, 'fraction_numerical': 0.0, 'mean_word_length': 4.754098360655738, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7638320', 'n_tokens_mistral': 383, 'n_tokens_neox': 384, 'n_words': 97}