Skip to content
This repository has been archived by the owner on Jun 6, 2018. It is now read-only.

Commit

Permalink
style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Burak Sezer committed Mar 7, 2014
1 parent da64a5a commit 567b6c9
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 11 deletions.
6 changes: 5 additions & 1 deletion Makefile
@@ -1,3 +1,7 @@
current_dir=$(pwd)
builddir=basename $(current_dir)

all: zip
zip:
zip -vr ../plugin.video.putiov2-0.0.3.zip . -x *.git* *.idea*
echo $(builddir)
zip -vr plugin.video.putiov2-0.0.3.zip plugin.video.putiov2/ -x *.git* *.idea*
1 change: 1 addition & 0 deletions addon.xml
Expand Up @@ -17,5 +17,6 @@
<summary lang="en">put.io for XBMC</summary>
<description lang="en">Put.io is a service that combines cloud storage and bittorrent. You need an account to use this plug-in. Get one from https://put.io</description>
<language></language>
<license>GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007</license>
</extension>
</addon>
4 changes: 2 additions & 2 deletions default.py
Expand Up @@ -133,8 +133,8 @@ def __init__(self, pluginId):
self.oauthkey = self.addon.getSetting("oauthkey").replace('-', '')
if not self.oauthkey:
raise PutioAuthFailureException(
self.addon.getLocalizedString(3001),
self.addon.getLocalizedString(3002)
self.addon.getLocalizedString(30001),
self.addon.getLocalizedString(30002)
)

self.apiclient = putio2.Client(self.oauthkey)
Expand Down
Binary file modified icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions resources/language/English/strings.xml
Expand Up @@ -2,11 +2,11 @@

<strings>
<!-- Setting Categories -->
<string id="1000">Put.io Settings</string>
<string id="30000">Put.io Settings</string>
<!-- Messages -->
<string id="3001">Authentication Failure</string>
<string id="3002">Please insert your oauth key settings!</string>
<string id="30001">Authentication Failure</string>
<string id="30002">Please insert your oauth key settings!</string>
<!-- Settings -->
<string id="3003">OAuth2 Token</string>
<string id="3004">Download Directory</string>
<string id="30003">OAuth2 Token</string>
<string id="30004">Download Directory</string>
</strings>
6 changes: 3 additions & 3 deletions resources/settings.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<settings>
<category label="1000">
<setting id="oauthkey" type="text" label="3003" default="" />
<setting id="download_dir" type="folder" label="3004" default="" />
<category label="30000">
<setting id="oauthkey" type="text" label="30003" default="" />
<setting id="download_dir" type="folder" label="30004" default="" />
</category>
</settings>

0 comments on commit 567b6c9

Please sign in to comment.