<commit_before># NowPlaying
Python command line tool to control iTunes playback and see what song is currently playing **(OS X only)**.


#### Usage

Requirements: Python 3.

+ Clone project 
   
    ```
    git clone http://github.com/kshvmdn/nowplaying && cd nowplaying
    ```

+ Install requirements
    
    ```
    pip install -r requirements.txt
    ```

+ Run `main.py` to see current song.

    ```
    $ python main.py
    Can't Tell Me Nothing - Kanye West
    Graduation (Deluxe Edition)
    ```

+ Commands:

    + View now playing - `main.py np` (also can be used to open iTunes & play song if iTunes is not open)
    + Play - `main.py play`
    + Pause - `main.py pause`
    + Stop - `main.py stop`
    + Play next - `main.py next`
    + Play previous  - `main.py prev`
    + Close iTunes - `main.py close`

+ _Optional_ step: create [aliases](http://tldp.org/LDP/abs/html/aliases.html) in your `.bashrc` to run without the `python main.py`.

    + `nowplaying="python /path/to/main.py"`
    + `playsong="python /path/to/main.py play"`
    + `next="python /path/to/main.py next"`

#### Contribute

Feel free to open an [issue](https://github.com/kshvmdn/nowplaying/issues) or make a [pull request](https://github.com/kshvmdn/nowplaying/pulls). All contributions are welcome.<commit_msg>Use new filename, update command list<commit_after># NowPlaying
Python command line tool to control iTunes playback and see what song is currently playing **(OS X only)**.


#### Usage

Requirements: Python 3.

+ Clone project 
   
    ```
    git clone http://github.com/kshvmdn/nowplaying && cd nowplaying
    ```

+ Install requirements
    
    ```
    pip install -r requirements.txt
    ```

+ Run `./nowplaying.py` to see current song.

    ```
    $ ./nowplaying.py np
    Can't Tell Me Nothing - Kanye West
    Graduation (Deluxe Edition)
    ```

+ Commands (replace `np` with w/e command you want to use):

    + View now playing - `np` (also can be used to open iTunes & play song if iTunes is not open)
    + Play - `play`
    + Pause - `pause`
    + Stop - `stop`
    + Play next - `next`
    + Play previous  - `prev`
    + Close iTunes - `close`

+ _Optional_ step: create [aliases](http://tldp.org/LDP/abs/html/aliases.html) in your `.bashrc` to run without the `./nowplaying.py`.

    + `np="/path/to/nowplaying.py np"`
    + `play="/path/to/nowplaying.py play"`
    + `next="/path/to/nowplaying.py next"`

#### Contribute

Feel free to open an [issue](https://github.com/kshvmdn/nowplaying/issues) or make a [pull request](https://github.com/kshvmdn/nowplaying/pulls). All contributions are welcome.
{'fraction_non_alphanumeric': 0.13783886979763268, 'fraction_numerical': 0.0007636502481863307, 'mean_word_length': 2.858615611192931, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '1480269', 'n_tokens_mistral': 904, 'n_tokens_neox': 845, 'n_words': 267}