Addons4Xbox development

Discussion of XBMC4XBOX development.
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Addons4Xbox development

Post by byron »

What build/s would you prefer I use to do testing with? I've got some time on the weekends, kinda sad for me to say late on a Friday night...but I really got nothin better to do :)
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Addons4Xbox development

Post by byron »

When you interested to help adapting addons for xbmc4xbox your are welcome!
I mess with these from time to time...that's how I ended up modding a skin. I kinda want to make ShoutCast2 work...maybe I could dig in there. Anayway:

DiscloseTv works well

CollegeHumor didn't (I don't think it could import MECHANIZE properly)

--> line 43:

Code: Select all

05:33:36 M: 34619392   ERROR: Error Type: exceptions.ImportError
05:33:36 M: 34619392   ERROR: Error Contents: No module named mechanize
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Addons4Xbox development

Post by skatulskijean »

@Byron

I have many to do this weekend but i fix the the access from the dependencies pyamf and mechanize on the two addons !
This is the problem the installer works but not allmost perfect when i add the dependencies from addon one and the dependencies have self a dependencies i must it add on the addon.xml from ther first addon tot that is on mainline xbmc better!
Is a little fucking to test !
i adapt addon then i must all the scriptmodules delete what i have on my xbox !
Install the addon what i have adapted from the repro and look it is working to when i adapt the next addon i must again all scriptmodules delete and test my next adapted addon to!

Regards Jan
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Addons4Xbox development

Post by byron »

Yea, that sounds a bit agonizing...and I'm sure you guys have probably already discussed this, but why not a "Lame Duck" addon that contains all of the dependencies and is called upon only when needed (AddonX or something)? Like college humor needs mechanize and couldn't find it anywhere else, so looks at AddonX as a last resort...
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Addons4Xbox development

Post by byron »

@ jan...so all I did was add the import for mechanize:

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.collegehumor" name="CollegeHumor" version="2.0.0" provider-name="Tristan Fischer (sphere@dersphere.de)">
  <requires>
    <import addon="xbmc.python" version="2.0"/>
    <import addon="script.module.beautifulsoup" version="3.0.8"/>
    <import addon="script.module.xbmcswift" version="0.2.0"/>
    <import addon="script.module.mechanize" version="0.2.5"/>
    <import addon="plugin.video.youtube" version="3.3.0" />
  </requires>
then I manually installed the module from a4x and it now works...so what else has to be done as far as dependencies? How do I know which plugin to call them from (i.e. this one opens up youtube obviously, but where should it get mechanize?), and how can I add the changes for you or others to test?

Also, if there was an AddonX or something of the like...it could get what it needs from youtube first and then check there for missing imports? After rereading that, it really sounds pretty far fetched
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Addons4Xbox development

Post by skatulskijean »

@Byron
What you think i am cracy!
without my work he hat nothing on addons or scriptmodules what works on xbmc4xbox !
No urlresolver,no xbmcswift and xbmcswift2 , no mechanize.,no [removed] no Youtube ,no jtv , no muzu tv, no icefilms and many , many others to!
I can understand what a addon.xml do!

But thanks for your help with testing the addons this help when we have not look right and simple we have forgotten to add a dependencies on the addon.xml!






regards jan
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Addons4Xbox development

Post by byron »

https://www.dropbox.com/s/nq1nh49k3cea4 ... esting.xml

I plan on making it through all of these eventually. It's a start and I will keep updating this...

I think it's awesome that you keep doing what you do...I was just trying to ask you how to change those things (i.e. how to call the modules into an addon) so that you had less to do, not to insult you


edit:
every time I was finished testing one of these, I deleted all modules but script.module.xbmcaddon, the addon itself, and started over with the next one
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Addons4Xbox development

Post by skatulskijean »

@Byron

Thanks for the list i fixed the problems monday !

Regards Jan
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Addons4Xbox development

Post by byron »

no problem, I'll try to finish the rest of them today


edit:

@ jan

The list above is up to date...52 addons tested: MUSIC and VIDEO (not fun)!!! Hopefully the debug info I left for you is good enough, if you need me to I will retest and give full debug logs. You have a busy day in front of you ;)
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Addons4Xbox development

Post by skatulskijean »

byron wrote:no problem, I'll try to finish the rest of them today


edit:

@ jan

The list above is up to date...52 addons tested: MUSIC and VIDEO (not fun)!!! Hopefully the debug info I left for you is good enough, if you need me to I will retest and give full debug logs. You have a busy day in front of you ;)
Thanks, again!
Most Problems on you List since the dependencies from the dependencies from the addons on the addon.xml.
Netzkino is working on Germany!
Xstream you must go on the settings and turn the Sites on what you wan!
Thanks i Hope i have Tomorrow Time to fix the Problems from you Test - List!

Regstes Jan
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Addons4Xbox development

Post by skatulskijean »

To shoutcast 2 :
Shoutcast 2 is a scriptmodule.xbmcswift2 addon and dersphere=sphere have it adapted for me!
That problem is not on xbmcswift 2 .
Have the same Problems with most other newer addons when i it have adapted it give a error Argument 1 must be string or unicode!
The Solutionis to search with print on the parsed url or on the listitem for the error but that is a solution for one or two addons better is we loock why python 2.4 it complete different handled as the main xbmc4xbox python version to fix this issue for all addons what have this error!
This is this wath i do!

have a different version from the Songs.to addon on my testing xmc4xbox with a different python24.zlib to integration libs and functions what python 2.4 not have as example functools ,hashlib and collections module with namedtuple defaultdict and ordereddict what the standart python 2.4 not have next what i do is add the fuction from timeout the python 2.5 and later way on the python 2.4 urllib and add a later on python integrated function on the Queue from python 2.4 to addapt the scriptmoduöle requests what bring urllib3 function to python 2 Versions!
i look for reintigration lastfm the pay service the only aviable to xbmc4xbox and a first easy Dropbox integration on Music ,Picture and Video Folder to access the media what we have on you own Dropbox accout! I have addet the addons4xbox installer on confluence light system sub-menue with the name add-ons to follow more the main xbmc way! then i look why the python 2.4 userdict no can clear a temp like the main xbmc!
sphere -dersphere is working on Youtube Filme as addon and on a urlresolver with the base on Youtube.dll (_i hat the same idea but spehere do it) i hope i can when he it relased it backward ported to xbmc4xbox!

i am very to interested to integrate the airplay service to xmc4xbox but i must look what bonjour service over the bonjour.py do!

on the hardware site i have make a SlimXbox what i can with little cost bring to the xbmc4xbox user to access money for ask Developer to help xbmc4xbox only on germany!


Regards Jan
Last edited by skatulskijean on Tue Jan 15, 2013 8:54 am, edited 1 time in total.
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Addons4Xbox development

Post by byron »

I wish I knew more so I could HELP you...what does regstes translate to in english btw? Best I could find was "fired up" :)
Have the same Problems with most other newer addons when i it have adapted it give a error Argument 1 must be string or unicode!
that's the syntax error....how to get to api? I was trying hillbilly hacks, even 2.5 might work for that. It's really hard to read so much so fast....sorry.

you know so much freind...and you just completely mind fucked me! was it good for you?
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Addons4Xbox development

Post by skatulskijean »

byron wrote:I wish I knew more so I could HELP you...what does regstes translate to in english btw? Best I could find was "fired up" :)
Have the same Problems with most other newer addons when i it have adapted it give a error Argument 1 must be string or unicode!
that's the syntax error....how to get to api? I was trying hillbilly hacks, even 2.5 might work for that.
Sorry for my bad english!
But unfortanly you help with testing and nice where you give the boxee insperat skin a look and solve the Problems what it have on xbmc4xbox !
I give you a link for the skin and adapted dependencies (scripts) from the skin it is very nice to have on home from the skin a video rss and when you click on the generated picture is will playing this video!


the shoutcast api is on the shoutcast 2 api on the resources folder from the shoutcast2 addon ! i hope i have right understand what you mean!

Regards Jan
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Addons4Xbox development

Post by byron »

I just had a major case of "deja-vu" Sorry for my bad german! Please by all means send me the link, I'd love to have a go at it...I'm gonna need some time to get acclimated with it before I can help you though, so you're gonna need to be patient there
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Addons4Xbox development

Post by skatulskijean »

@ Byron
i give a downloadlink from the skin and scripts and scriptmodules on the evening!

Have a little bit to do for cash with update a i pad 2 to ios 5.11 and jailbreak it and add xbmc (stable Eden ) and the most on germany wanted addons for it then i must the same do with a appletv2!

But i think on evening you have the link!

Regards Jan
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Addons4Xbox development

Post by skatulskijean »

@ Byron
i give a downloadlink from the skin and scripts and scriptmodules on the evening!

Have a little bit to do for cash with update a i pad 2 to ios 5.11 and jailbreak it and add xbmc (stable Eden ) and the most on germany wanted addons for it then i must the same do with a appletv2!

But i think on evening you have the link!

Regards Jan
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Addons4Xbox development

Post by skatulskijean »

@ byron!

Sorry , here is the zip https://dl.dropbox.com/u/83714583/%20sk ... client.zip

Copy boxe insperat skin to your xbox skin directory and the rssclient script to your script directory the rssclient standalone is optional!
You must have the Youtube addon installed!
Skin Problems can not access Settings and Power Menu on Homescreen , can not change the view for tumbnails the skin hanging on the Filter!
access the video menue on Home screen will not work!
I have the rssclient basicly working on xbmc4xbox this mean its generate the pictures and you can play the stream ! I look to solve the Problems when the skin is working , the default home videos rss snce given over a yahoo-pipe (you can make your own Yagoo-Pipe) you see the access to the rssclient and yahoo pipe on the home.xml from the Skin!
You can the rssclient access on your own skins!
Nice where Different Themes on the homescreen for the icons and background so that the user not only have the default look and can switch to a more modernn metro look!


Thanks Jan
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Addons4Xbox development

Post by skatulskijean »

Hey, Hey Nice lastfm is basicly working again the pay Service thanks to xbmcnerds user cricke for the first steps on this for main xbmc !
Its works over the pylast python module what normal not python 2.4 compatible but my collectionsxbox.py works and give namedtuples and the other collections fuctions what come from python 2.5, 2.6 , and 2.7!

On moment you have only access to the last playit radiostations but the search will follow!
You must living on a country what the lastfm pay radio service have and a apikey and secret and you username and pass!
On germany the service costs 3,00 Euro on !
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Addons4Xbox development

Post by skatulskijean »

Hey, Hey Nice lastfm is basicly working again the pay Service thanks to xbmcnerds user cricke for the first steps on this for main xbmc !
Its works over the pylast python module what normal not python 2.4 compatible but my collectionsxbox.py works and give namedtuples and the other collections fuctions what come from python 2.5, 2.6 , and 2.7!

On moment you have only access to the last playit radiostations but the search will follow!
You must living on a country what the lastfm pay radio service have and a apikey and secret and you username and pass!
On germany the service costs 3,00 Euro on !
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Addons4Xbox development

Post by skatulskijean »

Hey, Hey Nice lastfm is basicly working again the pay Service thanks to xbmcnerds user cricke for the first steps on this for main xbmc !
Its works over the pylast python module what normal not python 2.4 compatible but my collectionsxbox.py works and give namedtuples and the other collections fuctions what come from python 2.5, 2.6 , and 2.7!

On moment you have only access to the last playit radiostations but the search will follow!
You must living on a country what the lastfm pay radio service have and a apikey and secret and you username and pass!
On germany the service costs 3,00 Euro on !
Post Reply