Skip to content

Commit

Permalink
Fix Travis CI too
Browse files Browse the repository at this point in the history
  • Loading branch information
dagwieers committed Mar 28, 2019
1 parent 38d88f5 commit 44a228c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 28 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,12 @@ msbuild.wrn
# Visual Studio 2015
.vs/


# Test caches
.pytest_cache/
.tox/
# Packages
*.zip

# Temporary files
*.new
*.orig
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ python:
sudo: false

env:
PYTHONPATH: plugin.video.vrt.nu
PYTHONPATH: .

install:
- pip install -r requirements.txt

script:
- tox
- pylint plugin.video.vrt.nu/*.py
- pylint plugin.video.vrt.nu/resources/lib/*/*.py
- python plugin.video.vrt.nu/vrtnutests/vrtplayertests.py
- pylint *.py
- pylint resources/lib/*/*.py
- python test/vrtplayertests.py
23 changes: 0 additions & 23 deletions resources/lib/vrtplayer/metadatacreator.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ def __init__(self):
self._subtitle = None
self._brands = None
self._geolocked = None
self._videoid = None
self._whatsonid = None

@property
def title(self):
Expand Down Expand Up @@ -155,22 +153,6 @@ def geolocked(self):
def geolocked(self, value):
self._geolocked = value

@property
def videoid(self):
return self._videoid

@videoid.setter
def videoid(self, value):
self._videoid = value

@property
def whatsonid(self):
return self._whatsonid

@whatsonid.setter
def whatsonid(self, value):
self._whatsonid = value

def get_video_dict(self):
video_dict = dict()

Expand Down Expand Up @@ -223,11 +205,6 @@ def get_video_dict(self):
if self.url:
video_dict['path'] = self.url

if self.whatsonid:
video_dict['dbid'] = self.whatsonid
#if self.videoid:
# video_dict['dbid'] = self.videoid

if self.brands:
# NOTE: Does not seem to have any effect
video_dict['channelname'] = self.brands[0] if isinstance(self.brands, list) else self.brands
Expand Down

0 comments on commit 44a228c

Please sign in to comment.