Fixing things up

This commit is contained in:
Correl Roush 2010-07-12 14:10:51 -04:00
parent dc16ffc69d
commit 94bc3914d1
6 changed files with 13 additions and 249 deletions

View file

@ -9,8 +9,8 @@
<extension point="xbmc.python.script"
library="default.py" />
<extension point="xbmc.addon.metadata">
<summary lang="en">Controll Transmission Torrent Client</summary>
<description>Controll Transmission Torrent Client</description>
<summary lang="en">A client for the popular Transmission BitTorrent application</summary>
<description>Currently, Transmission-XBMC supports viewing, adding, removing, starting and stopping torrents. More advanced features may be added in future releases.</description>
<platform>all</platform>
</extension>
</addon>

View file

@ -6,7 +6,7 @@ import xbmcgui
import xbmcaddon
__scriptname__ = "Transmission-XBMC"
__author__ = "Correl Roush <correl@gmail.com>"
__url__ = ""
__url__ = "http://github.com/correl/Transmission-XBMC/tree/xbmc-svn"
__svn_url__ = ""
__credits__ = ""
__version__ = "0.5.0"

View file

@ -44,7 +44,7 @@
<posx>0</posx>
<posy>0</posy>
<height>70</height>
<width>100</width>
<width>110</width>
<align>center</align>
<aligny>top</aligny>
<textoffsety>45</textoffsety>
@ -58,7 +58,7 @@
<posx>0</posx>
<posy>70</posy>
<height>70</height>
<width>100</width>
<width>110</width>
<align>center</align>
<aligny>top</aligny>
<textoffsety>45</textoffsety>
@ -72,7 +72,7 @@
<posx>0</posx>
<posy>150</posy>
<height>70</height>
<width>100</width>
<width>110</width>
<align>center</align>
<aligny>top</aligny>
<textoffsety>45</textoffsety>
@ -86,7 +86,7 @@
<posx>0</posx>
<posy>220</posy>
<height>70</height>
<width>100</width>
<width>110</width>
<align>center</align>
<aligny>top</aligny>
<textoffsety>45</textoffsety>
@ -100,7 +100,7 @@
<posx>0</posx>
<posy>300</posy>
<height>70</height>
<width>100</width>
<width>110</width>
<align>center</align>
<aligny>top</aligny>
<textoffsety>45</textoffsety>
@ -114,7 +114,7 @@
<posx>0</posx>
<posy>370</posy>
<height>70</height>
<width>100</width>
<width>110</width>
<align>center</align>
<aligny>top</aligny>
<textoffsety>45</textoffsety>
@ -128,7 +128,7 @@
<posx>0</posx>
<posy>450</posy>
<height>70</height>
<width>100</width>
<width>110</width>
<align>center</align>
<aligny>top</aligny>
<textoffsety>45</textoffsety>

View file

@ -1,20 +0,0 @@
<window>
<defaultcontrol>20</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<controls>
<control type="label">
<description>textarea</description>
<posx>0</posx>
<posy>0</posy>
<width>720</width>
<height>40</height>
<visible>true</visible>
<label>Transmission XBMC - Details</label>
<font>font11</font>
<textcolor>white</textcolor>
<align>center</align>
</control>
<control type="group">
</control>
</controls>
</window>

View file

@ -1,216 +0,0 @@
<window>
<defaultcontrol>20</defaultcontrol>
<coordinates>
<system>1</system>
<posx>20</posx>
<posy>20</posy>
</coordinates>
<controls>
<control type="image">
<description>backdrop</description>
<posx>-20</posx>
<posy>-20</posy>
<width>720</width>
<height>576</height>
<texture>black.png</texture>
</control>
<control type="image">
<posx>-10</posx>
<posy>-8</posy>
<width>700</width>
<height>560</height>
<texture>transmission-main.png</texture>
<animation effect="fade" time="200">WindowOpen</animation>
<animation effect="fade" time="200">WindowClose</animation>
</control>
<control type="label">
<description>textarea</description>
<posx>0</posx>
<posy>0</posy>
<width>700</width>
<visible>true</visible>
<label>Transmission</label>
<font>font11</font>
<textcolor>white</textcolor>
<align>center</align>
</control>
<control type="group">
<posx>0</posx>
<posy>10</posy>
<!-- Button Group -->
<control type="button" id="11">
<description>Add torrent</description>
<posx>0</posx>
<posy>0</posy>
<height>70</height>
<width>70</width>
<align>center</align>
<aligny>top</aligny>
<textoffsety>45</textoffsety>
<label>SCRIPT101</label>
<onright>20</onright>
<ondown>12</ondown>
</control>
<control type="button" id="12">
<description>Remove torrent</description>
<posx>0</posx>
<posy>70</posy>
<height>70</height>
<width>70</width>
<align>center</align>
<aligny>top</aligny>
<textoffsety>45</textoffsety>
<label>SCRIPT102</label>
<onright>20</onright>
<onup>11</onup>
<ondown>13</ondown>
</control>
<control type="button" id="13">
<description>Stop torrent</description>
<posx>0</posx>
<posy>150</posy>
<height>70</height>
<width>70</width>
<align>center</align>
<aligny>top</aligny>
<textoffsety>45</textoffsety>
<label>SCRIPT103</label>
<onright>20</onright>
<onup>12</onup>
<ondown>14</ondown>
</control>
<control type="button" id="14">
<description>Start torrent</description>
<posx>0</posx>
<posy>220</posy>
<height>70</height>
<width>70</width>
<align>center</align>
<aligny>top</aligny>
<textoffsety>45</textoffsety>
<label>SCRIPT104</label>
<onright>20</onright>
<onup>13</onup>
<ondown>15</ondown>
</control>
<control type="button" id="15">
<description>Stop all torrents</description>
<posx>0</posx>
<posy>300</posy>
<height>70</height>
<width>70</width>
<align>center</align>
<aligny>top</aligny>
<textoffsety>45</textoffsety>
<label>SCRIPT105</label>
<onright>20</onright>
<onup>14</onup>
<ondown>16</ondown>
</control>
<control type="button" id="16">
<description>Start all torrents</description>
<posx>0</posx>
<posy>370</posy>
<height>70</height>
<width>70</width>
<align>center</align>
<aligny>top</aligny>
<textoffsety>45</textoffsety>
<label>SCRIPT106</label>
<onright>20</onright>
<onup>15</onup>
<ondown>17</ondown>
</control>
<control type="button" id="17">
<description>Exit</description>
<posx>0</posx>
<posy>450</posy>
<height>70</height>
<width>70</width>
<align>center</align>
<aligny>top</aligny>
<textoffsety>45</textoffsety>
<label>SCRIPT107</label>
<onright>20</onright>
<onup>16</onup>
</control>
</control>
<!--
<control type="image">
<posx>90</posx>
<posy>35</posy>
<width>560</width>
<height>500</height>
<texture>blue.png</texture>
</control>
-->
<control type="list" id="20">
<description>Torrent list</description>
<posx>90</posx>
<posy>35</posy>
<width>560</width>
<height>500</height>
<viewtype label="Torrent List">list</viewtype>
<orientation>vertical</orientation>
<visible>true</visible>
<onleft>11</onleft>
<itemlayout width="560" height="70">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>610</width>
<height>70</height>
<texture>list-bg.png</texture>
</control>
<control type="label">
<posx>10</posx>
<posy>0</posy>
<width>640</width>
<height>20</height>
<info>ListItem.label</info>
</control>
<control type="label">
<posx>15</posx>
<posy>20</posy>
<width>635</width>
<height>20</height>
<info>ListItem.label2</info>
</control>
</itemlayout>
<focusedlayout width="560" height="70">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>610</width>
<height>70</height>
<visible>Control.HasFocus(20)</visible>
<texture border="5">list-bg-selected.png</texture>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>610</width>
<height>70</height>
<visible>!Control.HasFocus(20)</visible>
<texture border="5">list-bg-selected-nofocus.png</texture>
</control>
<control type="label">
<posx>10</posx>
<posy>0</posy>
<width>640</width>
<height>20</height>
<info>ListItem.label</info>
<scroll>true</scroll>
</control>
<control type="label">
<posx>15</posx>
<posy>20</posy>
<width>635</width>
<height>20</height>
<info>ListItem.label2</info>
</control>
</focusedlayout>
</control>
</controls>
</window>

View file

@ -1,6 +1,6 @@
<skin>
<defaultresolution>pal</defaultresolution>
<defaultresolutionwide>pal</defaultresolutionwide>
<defaultresolution>720p</defaultresolution>
<defaultresolutionwide>720p</defaultresolutionwide>
<version>2.1</version>
<zoom>0</zoom>
@ -8,4 +8,4 @@
<skinname>default</skinname>
<name>correl</name>
</credits>
</skin>
</skin>