Skip to content

Commit

Permalink
Merge pull request #1 from YeaSoft/feature/speedup
Browse files Browse the repository at this point in the history
Branch for speedup and 0.2.8
  • Loading branch information
tuxpoldo committed Jan 5, 2018
2 parents e5a6730 + e14f621 commit fc21b37
Show file tree
Hide file tree
Showing 4 changed files with 250 additions and 204 deletions.
13 changes: 6 additions & 7 deletions addon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.mediathekview"
name="MediathekView"
version="0.2.7"
version="0.2.8"
provider-name="YeaSoft International, Leo Moll">
<requires>
<import addon="xbmc.python" version="2.25.0"/>
Expand All @@ -27,12 +27,11 @@
<description lang="de">Ermöglicht den Zugriff auf fast alle deutschen Mediatheken der öffentlich Rechtlichen basierend auf der Datenbank von MediathekView</description>
<description lang="en">Gives access to most video-platforms from German public service broadcasters using the database of MediathekView</description>
<description lang="it">Fornisce l'accesso a gran parte delle piattaforme video operate dalle emittenti pubbliche tedesche usando la banca dati di MediathekView</description>
<news>v0.2.7 (2018-01-05):
- Fixed Naming Exception during update
- Updated English README
- Added German README
- Added Italian README
- Added LICENSE (MIT)</news>
<news>v0.2.8 (2018-01-05):
- Last update time not updated when update aborted
- Dramatic speedup of update with SQLite
- Handling of database corruption
</news>
<platform>all</platform>
<language>de fr</language>
<license>MIT License</license>
Expand Down
9 changes: 9 additions & 0 deletions classes/exceptions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Leo Moll
#

class DatabaseCorrupted( RuntimeError ):
"""This exception is raised when the database throws errors during update"""

class DatabaseLost( RuntimeError ):
"""This exception is raised when the connection to the database is lost during update"""
Loading

0 comments on commit fc21b37

Please sign in to comment.