<commit_before># Readme: weo

**watch episode of:**
`weo` is a very simple video-podcast-script to watch the last episode of a RSS-feed with video-content in MP4-format.

*A future version of "weo" will not just support `mplayer`, but others as well. The motivation for this script is to use it for `omxplayer` on a Raspberry Pi to avoid using Kodi to manage your favourite video-podcasts.*


## Dependencies

Following Python3-libs need to be installed on your system:

- feedparser


## Install

- just copy "weo" to a folder in your `$PATH`.


## Usage

- edit (or create if not already done) "`~/.weofeeds`" with your favourite editor; this is the format:

```.json
{
    "feed": {
        "url": "http://feed.tld/rss",
        "match": 0,
        "match_type": "d"
    }
}
```

- **`match_type`:** any value of `"d"` (day), `"w"` (week) or `"m"` (month).
- **`match`:** if `0` the current day, week or month (match_type) needs to match, otherwise the last days, weeks or months are valid. If the last eposide is not in that time frame, "weo" will ask

*A future version of "weo" will enable you adding podcast-feeds without editing the JSON-formatted feeds-file yourself*


## License

No license.
<commit_msg>readme: add usage example<commit_after># Readme: weo

**watch episode of:**
`weo` is a very simple video-podcast-script to watch the last episode of a RSS-feed with video-content in MP4-format.

*A future version of "weo" will not just support `mplayer`, but others as well. The motivation for this script is to use it for `omxplayer` on a Raspberry Pi to avoid using Kodi to manage your favourite video-podcasts.*


## Dependencies

Following Python3-libs need to be installed on your system:

- feedparser


## Install

- just copy "weo" to a folder in your `$PATH`.


## Usage

- edit (or create if not already done) "`~/.weofeeds`" with your favourite editor; this is the format:

```.json
{
    "feed": {
        "url": "http://feed.tld/rss",
        "match": 0,
        "match_type": "d"
    }
}
```

- **`match_type`:** any value of `"d"` (day), `"w"` (week) or `"m"` (month).
- **`match`:** if `0` the current day, week or month (match_type) needs to match, otherwise the last days, weeks or months are valid. If the last eposide is not in that time frame, "weo" will ask

### Usage example

```.sh
$ weo -l
following feeds are configured in "~/.weofeeds":
  feed
$ weo feed
last episode of "Video-Feed in HD" is from 17.11.2016
play anyway? [y/N] y
playing ..
```

*A future version of "weo" will enable you adding podcast-feeds without editing the JSON-formatted feeds-file yourself*


## License

No license.

{'fraction_non_alphanumeric': 0.12485768500948767, 'fraction_numerical': 0.0060721062618595825, 'mean_word_length': 3.521440823327616, 'pattern_counts': {'":': 9, '<': 3, '<?xml version=': 0, '>': 3, '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': '6282501', 'n_tokens_mistral': 880, 'n_tokens_neox': 837, 'n_words': 377}