Skip to content

Commit

Permalink
Final fixes for 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Moll committed Mar 1, 2019
1 parent 7372aba commit abc8a38
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 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.5.9"
version="0.6.0"
provider-name="MediathekView.de, Leo Moll">
<requires>
<import addon="xbmc.python" version="2.25.0"/>
Expand All @@ -26,7 +26,7 @@
<description lang="de_DE">Ermöglicht den Zugriff auf fast alle deutschen Mediatheken der öffentlich Rechtlichen basierend auf der Datenbank von MediathekView.de</description>
<description lang="en_GB">Gives access to most video-platforms from German public service broadcasters using the database of MediathekView.de</description>
<description lang="it_IT">Fornisce l'accesso a gran parte delle piattaforme video operate dalle emittenti pubbliche tedesche usando la banca dati di MediathekView.de</description>
<news>v0.6.0 (2019-03-XX):
<news>v0.6.0 (2019-03-01):
- Feature: Cache der Anfragen für lokale Datenbanken
- Feature: Natives ultraschnelles Update für SQLite
- Bugfix: Live Streams konnten heruntergeladen werden
Expand Down
3 changes: 1 addition & 2 deletions resources/lib/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,8 @@ def run(self):
Downloader(self).play_movie_with_subs(filmid)

# cleanup saved searches
if mode is None or mode != 'search':
if mode is None or mode != 'newsearch':
self.set_setting('lastsearch1', '')
if mode is None or mode != 'searchall':
self.set_setting('lastsearch2', '')

def exit(self):
Expand Down
6 changes: 3 additions & 3 deletions resources/lib/storesqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,9 @@ def get_shows(self, channelid, initial, showui, caching=True):
elif channelid == 0:
cache_condition = "SHOW:2:" + initial
elif initial:
cache_condition = "SHOW:3:" + channelid + ':' + initial
elif initial:
cache_condition = "SHOW:3:" + channelid
cache_condition = "SHOW:3:" + str(channelid) + ':' + initial
else:
cache_condition = "SHOW:3:" + str(channelid)
cached_data = self._load_cache('get_shows', cache_condition)
if cached_data is not None:
showui.begin(channelid)
Expand Down

0 comments on commit abc8a38

Please sign in to comment.