Skip to content

Commit

Permalink
- 23.03.04
Browse files Browse the repository at this point in the history
  • Loading branch information
areqq committed Mar 4, 2023
1 parent abcc5ba commit 5b4a541
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DMnapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def znp_imdb(self, html = None):
imdb = f[i+18:].split('/')[1]
print 'DMnapi - pobranie imdb:', imdb
self.fh['imdb'] = imdb
url = 'http://www.omdbapi.com/?i=%s' % imdb
url = 'http://www.omdbapi.com/?apikey=dd87e662&i=%s' % imdb
getPage(url).addCallback(self.omdbapi).addErrback(self.znp_imdb_e)
print 'DMnapi - pobranie imdb z napiprojekt:', imdb
except:
Expand Down
2 changes: 1 addition & 1 deletion DMnapisubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, session, file = None, auto = False, save = True):
print "DMnapi init plik: %s, auto: %s" % (self.plik, auto)

self["status"] = Label("Hint: in DreamExpoler use TEXT button")
self["info"] = Label("DMnapi 15.11.08 for AFP - http://areq.eu.org/")
self["info"] = Label("DMnapi 23.03.04 for AFP - http://areq.eu.org/")
self["label"] = Label(" Path: %s\n File: %s\n" % ( path, file) )
self["right"] = Label("")

Expand Down
2 changes: 1 addition & 1 deletion dmnapiinst.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/python
# DMnapi for Dreambox-Enigma2
# Version: 15.11.08
# Version: 23.03.04
# Coded by areq (c) 2010-2015
# Support: http://dvhk.pl/
# http://areq.eu.org/
Expand Down
4 changes: 2 additions & 2 deletions dmnapim.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def np_postdata(digest, lang = "PL"):
"downloaded_subtitles_id" : digest,
"mode" : "1",
"client" : "DMnapi",
"client_ver" : "15.11.08",
"client_ver" : "23.03.04",
"downloaded_subtitles_lang" : lang,
"downloaded_subtitles_txt" : "1" }
return urllib.urlencode(data)
Expand Down Expand Up @@ -417,7 +417,7 @@ def parse_n24(lines):
def http_n24(url):
content = ''
try:
req = urllib2.Request(url, headers = {'Referer' : 'http://napisy24.pl', 'User-Agent' : 'DMnapi 13.1.30'})
req = urllib2.Request(url, headers = {'Referer' : 'http://napisy24.pl', 'User-Agent' : 'DMnapi 23.03.04'})
socket.setdefaulttimeout(20)
f = urllib2.urlopen(req)
content = f.read()
Expand Down
2 changes: 1 addition & 1 deletion plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
config.plugins.dmnapi.autodownload = ConfigYesNo(default = True)
config.plugins.dmnapi.autoshowDMnapi = ConfigYesNo(default = True)
config.plugins.dmnapitmp = ConfigSubsection()
config.plugins.dmnapitmp.version = ConfigText(default = '15.11.08')
config.plugins.dmnapitmp.version = ConfigText(default = '23.03.04')
config.plugins.dmnapitmp.box = ConfigText(default = 'unknown')
config.plugins.dmnapitmp.fhd = ConfigYesNo(default = False)
config.plugins.dmnapitmp.upti = ConfigInteger(default=60, limits=(1, 6000))
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from twisted.web.client import getPage

version = '15.11.08'
version = '23.03.04'

def safe_read(file):
try:
Expand Down

0 comments on commit 5b4a541

Please sign in to comment.