Req in2streams plugin
#1
Wink 
Hi,

I'm new to xbmc and love it so far. I'd like to request a plugin for in2streams.com

If this is unlikely to happen for any reason, I'm happy to have a go at developing one myself. I don't have any Pythong experience but do work as a developer so have a fair chance of success if there's a good place to ask for suggestions / get input.

I have to say the help files I've found so far are a little generic and don't seem to include quite enough information for a complete newbie - eg what exactly should a video plugin include in the addon.xml?

So far, I only have the following addon.xml...

Code:
<?xml version="1.0" encoding="utf-8"?>
<addon
  id="plugin.in2streams"
  version="0.0.1"
  name="in2streams"
  provider-name="Basic">
  <requires>
    <import addon="xbmc.gui" version="2.11" optional="false" />
  </requires>
  <extension
    point="xbmc.addon.video"
    defaultresolution="720p"
    defaultresolutionwide="720p"
    defaultthemename="textures.xbt"
    effectslowdown="0.75"
    debugging="false"/>
  <extension point="xbmc.addon.metadata">
    <language>en</language>
    <summary>Allows you to access your in2streams library</summary>
    <description>This plugin will allow you to access the In2Streams library from your xbmc. It requires an In2Streams account to actually stream videos</description>
    <disclaimer>This plugin is provided as-is and is NOT officially supported by in2streams.com. In addition, this plugin is currently in a BETA state so may be missing certain functionality</disclaimer>
    <platform>all</platform>
  </extension>
</addon>

Which I'm fairly sure is wrong (requires xbmc.gui? really?)

and resources/settings.xml...

Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
    <category label="32001">
        <setting label="32010" type="lsep"/>
        <setting label="32011" type="text"   id="username" default=""/>
        <setting label="32012" type="text"   id="password" option="hidden"  enable="!eq(-1,)" default=""/>
        <setting type="sep"/>
        <setting id="debug" type="bool" label="32013" default="false"/>
    </category>
</settings>

with the appropriate language file (Which seems surprisingly simple!)

Anyway, if someone with some experience could provide either an i2s plugin or a good guide/advice on how to write one, it would be greatly appreciated (I get the principles, it's the implementation I'm unclear about).

Many thanks
Reply

Logout Mark Read Team Forum Stats Members Help
in2streams plugin0