Skip to content

Commit ac991f1

Browse files
author
ronie
committed
[script.kodi.loguploader] 1.0.5
1 parent c9168bb commit ac991f1

File tree

87 files changed

+10148
-9
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+10148
-9
lines changed

script.kodi.loguploader/addon.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<addon id="script.kodi.loguploader" name="Kodi Logfile Uploader" version="1.0.4" provider-name="Team Kodi">
2+
<addon id="script.kodi.loguploader" name="Kodi Logfile Uploader" version="1.0.5" provider-name="Team Kodi">
33
<requires>
44
<import addon="xbmc.python" version="3.0.0"/>
55
<import addon="script.module.pyqrcode" version="1.2.1+matrix.1"/>
@@ -18,6 +18,6 @@
1818
<assets>
1919
<icon>resources/icon.png</icon>
2020
</assets>
21-
<news>- allow 2MB uploads</news>
21+
<news>- fix logfile cleaning</news>
2222
</extension>
2323
</addon>

script.kodi.loguploader/changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
v1.0.5
2+
- fix cleaning of the logfile before upload
3+
14
v1.0.4
25
- changes for kodi 20
36

script.kodi.loguploader/lib/loguploader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def readLog(self, path):
166166
def cleanLog(self, content):
167167
for pattern, repl in REPLACES:
168168
content = re.sub(pattern, repl, content)
169-
return content
169+
return content
170170

171171
def postLog(self, data):
172172
self.session = requests.Session()
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
# Kodi Media Center language file
2+
# Addon Name: Kodi Logfile Uploader
3+
# Addon id: script.kodi.loguploader
4+
# Addon Provider: Team Kodi
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Kodi add-ons\n"
8+
"Report-Msgid-Bugs-To: [email protected]\n"
9+
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
10+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11+
"Last-Translator: Automatically generated\n"
12+
"Language-Team: none\n"
13+
"Language: af_za\n"
14+
"MIME-Version: 1.0\n"
15+
"Content-Type: text/plain; charset=UTF-8\n"
16+
"Content-Transfer-Encoding: 8bit\n"
17+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
18+
19+
msgctxt "Addon Summary"
20+
msgid "Uploads your kodi.log file."
21+
msgstr ""
22+
23+
msgctxt "Addon Description"
24+
msgid "Uploads your kodi.log file and returns an url you can post on http://forum.kodi.tv/"
25+
msgstr ""
26+
27+
msgctxt "#32001"
28+
msgid "The file is empty"
29+
msgstr ""
30+
31+
msgctxt "#32002"
32+
msgid "Failed to read the file"
33+
msgstr ""
34+
35+
msgctxt "#32003"
36+
msgid "Failed to connect to the server"
37+
msgstr ""
38+
39+
msgctxt "#32004"
40+
msgid "Failed to retrieve the paste url"
41+
msgstr ""
42+
43+
msgctxt "#32005"
44+
msgid "This file is too large. Max size is 2MB."
45+
msgstr ""
46+
47+
msgctxt "#32006"
48+
msgid "Post this url or scan QRcode for your %s, together with a problem description, on the Kodi forum: %s"
49+
msgstr ""
50+
51+
msgctxt "#32007"
52+
msgid "Error posting the logfile."
53+
msgstr ""
54+
55+
msgctxt "#32011"
56+
msgid "Error posting the kodi.log file"
57+
msgstr ""
58+
59+
msgctxt "#32012"
60+
msgid "Error posting the old log file"
61+
msgstr ""
62+
63+
msgctxt "#32013"
64+
msgid "Error posting the crashlog file"
65+
msgstr ""
66+
67+
msgctxt "#32021"
68+
msgid "No old log file found"
69+
msgstr ""
70+
71+
msgctxt "#32022"
72+
msgid "No crashlog file found"
73+
msgstr ""
74+
75+
msgctxt "#32023"
76+
msgid "Windows crashlogs are not supported, please disable this option in the addon settings"
77+
msgstr ""
78+
79+
msgctxt "#32024"
80+
msgid "Android crashlogs are not supported, please disable this option in the addon settings"
81+
msgstr ""
82+
83+
msgctxt "#32031"
84+
msgid "logfile"
85+
msgstr ""
86+
87+
msgctxt "#32032"
88+
msgid "old log"
89+
msgstr ""
90+
91+
msgctxt "#32033"
92+
msgid "crashlog"
93+
msgstr ""
94+
95+
msgctxt "#32040"
96+
msgid "Do you want to view your %s or upload it to http://paste.kodi.tv/?"
97+
msgstr ""
98+
99+
msgctxt "#32041"
100+
msgid "view"
101+
msgstr ""
102+
103+
msgctxt "#32042"
104+
msgid "upload"
105+
msgstr ""
106+
107+
msgctxt "#32501"
108+
msgid "Advanced options"
109+
msgstr ""
110+
111+
msgctxt "#32502"
112+
msgid "Additional logfiles to post"
113+
msgstr ""
114+
115+
msgctxt "#32503"
116+
msgid "Post the old logfile, from the last time Kodi ran"
117+
msgstr ""
118+
119+
msgctxt "#32504"
120+
msgid "Post the crashlog (available on linux/osx/ios only)"
121+
msgstr ""
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
# Kodi Media Center language file
2+
# Addon Name: Kodi Logfile Uploader
3+
# Addon id: script.kodi.loguploader
4+
# Addon Provider: Team Kodi
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Kodi add-ons\n"
8+
"Report-Msgid-Bugs-To: [email protected]\n"
9+
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
10+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11+
"Last-Translator: Automatically generated\n"
12+
"Language-Team: none\n"
13+
"Language: am_et\n"
14+
"MIME-Version: 1.0\n"
15+
"Content-Type: text/plain; charset=UTF-8\n"
16+
"Content-Transfer-Encoding: 8bit\n"
17+
"Plural-Forms: nplurals=2; plural=n > 1;\n"
18+
19+
msgctxt "Addon Summary"
20+
msgid "Uploads your kodi.log file."
21+
msgstr ""
22+
23+
msgctxt "Addon Description"
24+
msgid "Uploads your kodi.log file and returns an url you can post on http://forum.kodi.tv/"
25+
msgstr ""
26+
27+
msgctxt "#32001"
28+
msgid "The file is empty"
29+
msgstr ""
30+
31+
msgctxt "#32002"
32+
msgid "Failed to read the file"
33+
msgstr ""
34+
35+
msgctxt "#32003"
36+
msgid "Failed to connect to the server"
37+
msgstr ""
38+
39+
msgctxt "#32004"
40+
msgid "Failed to retrieve the paste url"
41+
msgstr ""
42+
43+
msgctxt "#32005"
44+
msgid "This file is too large. Max size is 2MB."
45+
msgstr ""
46+
47+
msgctxt "#32006"
48+
msgid "Post this url or scan QRcode for your %s, together with a problem description, on the Kodi forum: %s"
49+
msgstr ""
50+
51+
msgctxt "#32007"
52+
msgid "Error posting the logfile."
53+
msgstr ""
54+
55+
msgctxt "#32011"
56+
msgid "Error posting the kodi.log file"
57+
msgstr ""
58+
59+
msgctxt "#32012"
60+
msgid "Error posting the old log file"
61+
msgstr ""
62+
63+
msgctxt "#32013"
64+
msgid "Error posting the crashlog file"
65+
msgstr ""
66+
67+
msgctxt "#32021"
68+
msgid "No old log file found"
69+
msgstr ""
70+
71+
msgctxt "#32022"
72+
msgid "No crashlog file found"
73+
msgstr ""
74+
75+
msgctxt "#32023"
76+
msgid "Windows crashlogs are not supported, please disable this option in the addon settings"
77+
msgstr ""
78+
79+
msgctxt "#32024"
80+
msgid "Android crashlogs are not supported, please disable this option in the addon settings"
81+
msgstr ""
82+
83+
msgctxt "#32031"
84+
msgid "logfile"
85+
msgstr ""
86+
87+
msgctxt "#32032"
88+
msgid "old log"
89+
msgstr ""
90+
91+
msgctxt "#32033"
92+
msgid "crashlog"
93+
msgstr ""
94+
95+
msgctxt "#32040"
96+
msgid "Do you want to view your %s or upload it to http://paste.kodi.tv/?"
97+
msgstr ""
98+
99+
msgctxt "#32041"
100+
msgid "view"
101+
msgstr ""
102+
103+
msgctxt "#32042"
104+
msgid "upload"
105+
msgstr ""
106+
107+
msgctxt "#32501"
108+
msgid "Advanced options"
109+
msgstr ""
110+
111+
msgctxt "#32502"
112+
msgid "Additional logfiles to post"
113+
msgstr ""
114+
115+
msgctxt "#32503"
116+
msgid "Post the old logfile, from the last time Kodi ran"
117+
msgstr ""
118+
119+
msgctxt "#32504"
120+
msgid "Post the crashlog (available on linux/osx/ios only)"
121+
msgstr ""
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
# Kodi Media Center language file
2+
# Addon Name: Kodi Logfile Uploader
3+
# Addon id: script.kodi.loguploader
4+
# Addon Provider: Team Kodi
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Kodi add-ons\n"
8+
"Report-Msgid-Bugs-To: [email protected]\n"
9+
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
10+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11+
"Last-Translator: Automatically generated\n"
12+
"Language-Team: none\n"
13+
"Language: ar_sa\n"
14+
"MIME-Version: 1.0\n"
15+
"Content-Type: text/plain; charset=UTF-8\n"
16+
"Content-Transfer-Encoding: 8bit\n"
17+
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
18+
19+
msgctxt "Addon Summary"
20+
msgid "Uploads your kodi.log file."
21+
msgstr ""
22+
23+
msgctxt "Addon Description"
24+
msgid "Uploads your kodi.log file and returns an url you can post on http://forum.kodi.tv/"
25+
msgstr ""
26+
27+
msgctxt "#32001"
28+
msgid "The file is empty"
29+
msgstr ""
30+
31+
msgctxt "#32002"
32+
msgid "Failed to read the file"
33+
msgstr ""
34+
35+
msgctxt "#32003"
36+
msgid "Failed to connect to the server"
37+
msgstr ""
38+
39+
msgctxt "#32004"
40+
msgid "Failed to retrieve the paste url"
41+
msgstr ""
42+
43+
msgctxt "#32005"
44+
msgid "This file is too large. Max size is 2MB."
45+
msgstr ""
46+
47+
msgctxt "#32006"
48+
msgid "Post this url or scan QRcode for your %s, together with a problem description, on the Kodi forum: %s"
49+
msgstr ""
50+
51+
msgctxt "#32007"
52+
msgid "Error posting the logfile."
53+
msgstr ""
54+
55+
msgctxt "#32011"
56+
msgid "Error posting the kodi.log file"
57+
msgstr ""
58+
59+
msgctxt "#32012"
60+
msgid "Error posting the old log file"
61+
msgstr ""
62+
63+
msgctxt "#32013"
64+
msgid "Error posting the crashlog file"
65+
msgstr ""
66+
67+
msgctxt "#32021"
68+
msgid "No old log file found"
69+
msgstr ""
70+
71+
msgctxt "#32022"
72+
msgid "No crashlog file found"
73+
msgstr ""
74+
75+
msgctxt "#32023"
76+
msgid "Windows crashlogs are not supported, please disable this option in the addon settings"
77+
msgstr ""
78+
79+
msgctxt "#32024"
80+
msgid "Android crashlogs are not supported, please disable this option in the addon settings"
81+
msgstr ""
82+
83+
msgctxt "#32031"
84+
msgid "logfile"
85+
msgstr ""
86+
87+
msgctxt "#32032"
88+
msgid "old log"
89+
msgstr ""
90+
91+
msgctxt "#32033"
92+
msgid "crashlog"
93+
msgstr ""
94+
95+
msgctxt "#32040"
96+
msgid "Do you want to view your %s or upload it to http://paste.kodi.tv/?"
97+
msgstr ""
98+
99+
msgctxt "#32041"
100+
msgid "view"
101+
msgstr ""
102+
103+
msgctxt "#32042"
104+
msgid "upload"
105+
msgstr ""
106+
107+
msgctxt "#32501"
108+
msgid "Advanced options"
109+
msgstr ""
110+
111+
msgctxt "#32502"
112+
msgid "Additional logfiles to post"
113+
msgstr ""
114+
115+
msgctxt "#32503"
116+
msgid "Post the old logfile, from the last time Kodi ran"
117+
msgstr ""
118+
119+
msgctxt "#32504"
120+
msgid "Post the crashlog (available on linux/osx/ios only)"
121+
msgstr ""

0 commit comments

Comments
 (0)