Skip to content

Commit

Permalink
add sky news (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored Feb 15, 2023
1 parent e679960 commit 0560d7f
Show file tree
Hide file tree
Showing 187 changed files with 106 additions and 1,622 deletions.
72 changes: 72 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
pip-wheel-metadata/

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Ipython Notebook
.ipynb_checkpoints

# pyenv
.python-version

# poetry
poetry.lock

10 changes: 10 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@ class NewsSkill(OVOSCommonPlaybackSkill):
"media_type": MediaType.NEWS,
"image": join(dirname(__file__), "ui", "images", "BBC.png"),
"secondary_langs": ["en"]
},
"SN": {
"aliases": ["Sky News"],
"uri": "http://video.news.sky.com/snr/news/snrnews.mp3",
"match_types": [MediaType.NEWS,
MediaType.RADIO],
"playback": PlaybackType.AUDIO,
"media_type": MediaType.NEWS,
"image": join(dirname(__file__), "ui", "images", "sky-news-logo.svg"),
"secondary_langs": ["en"]
}
},
"en-ca": {
Expand Down
204 changes: 0 additions & 204 deletions build/lib/skill_ovos_news/LICENSE

This file was deleted.

6 changes: 0 additions & 6 deletions build/lib/skill_ovos_news/MANIFEST.in

This file was deleted.

Loading

0 comments on commit 0560d7f

Please sign in to comment.