SVN REPO INSTALLER

If you need any help with XBMC4XBOX, such as installing or using the software, please post it in here.
Post Reply
o-I-c
Posts: 6
Joined: Sun Jul 28, 2013 7:45 am
Has thanked: 2 times

SVN REPO INSTALLER

Post by o-I-c »

Howdy and thanks to those for xbmc4xbox.
Just plugged it in after many years of it been lost in the shed. running avalaunch 0.49.1
it works and some very old XBMC dated 2005..

Have installed the latest, added some music browsed my PC etc (03.3r31796)
Added the Android XMBC keyboard from the table that's brill.

So now to install plugins I believe I have done what the read-me have advised...
I have SNV in the programs/plugins
addons in the SNV folder

So what happens next do I need to run this SVN , I click on SVN little HDD noise nothing else appears to happen."
Do i need to install something else. All new to me
Have got this far in 2 hours not bad, have not touched the XBox in 5 or more years

Thanks All
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: SVN REPO INSTALLER

Post by Dan Dar3 »

@o-l-c
SVN Repo Installer is not recommended anymore, although it does still give you access to a few working plugins (some that I maintain myself in xbmc4xbox-addons repository).
Of them, I would recommend you the XBMC SVN Installer so you can update XBMC4XBox easier.
http://www.xbmc4xbox.org.uk/forum/viewt ... p?f=7&t=88

The new way is through Addons4Xbox Installer, which is also a Program plugin and it's shipped with XBMC4Xbox - if you say you have 3.3, it's included in.
See a list of working plugins here:
http://www.xbmc4xbox.org.uk/addons/

To help you with debugging your problem, we need a DEBUG log, see more here:
http://www.xbmc4xbox.org.uk/forum/viewt ... p?f=6&t=65
o-I-c
Posts: 6
Joined: Sun Jul 28, 2013 7:45 am
Has thanked: 2 times

Re: SVN REPO INSTALLER

Post by o-I-c »

[quote="Dan Dar3"]@o-l-c
SVN Repo Installer is not recommended anymore, although it does still give you access to a few working plugins (some that I maintain myself in xbmc4xbox-addons repository).

To help you with debugging your problem, we need a DEBUG log,

Thank you

Found log line ERROR: Python: Cannot find 'Q:\system\python\python24.zlib'
My path is 'Q:\system\python\python24.dll

Edit-: Checked the Archive found the missing zlib put it in its place and now all is looking good

Again Thanks
Edit:- Few things not sure of whats happening loaded a couple of music plugins a few script errors i may not be doing things in the correct order log availabale
http://www.xbmclogs.com/show.php?id=40439



Thanks
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: SVN REPO INSTALLER

Post by Dan Dar3 »

The first one, looks like a problem in the plugin - I can't really say without seeing the source (maybe upload to pastebin or send by email):

Code: Select all

10:00:49 M: 31834112  NOTICE: -->Python Initialized<--
10:00:52 M: 28069888   ERROR: Error Type: exceptions.NameError
10:00:52 M: 28069888   ERROR: Error Contents: name '__file__' is not defined
10:00:52 M: 28069888   ERROR: Traceback (most recent call last):
                                              File "Q:\plugins\music\Digitally Imported\default.py", line 48, in ?
                                                parser.read( os.path.dirname(__file__) + "/config.ini" )
                                            NameError: name '__file__' is not defined
The second problem, complaining about xbmcswift2 library, how did you get that?

Code: Select all

10:13:11 M: 31830016   ERROR: Traceback (most recent call last):
                                              File "Q:\plugins\music\Shoutcast 2\default.py", line 20, in ?
                                                from xbmcswift2 import Plugin, xbmc
                                              File "Q:\scripts\.modules\script.module.xbmcswift2\lib\xbmcswift2\__init__.py", line 65, in ?
                                                from xbmcswift2.storage import TimedStorage
                                              File "Q:\scripts\.modules\script.module.xbmcswift2\lib\xbmcswift2\storage.py", line 45
                                                fileobj = open(filename, 'rb' if file_format == 'pickle' else 'r')
                                                                               ^
                                            SyntaxError: invalid syntax
o-I-c
Posts: 6
Joined: Sun Jul 28, 2013 7:45 am
Has thanked: 2 times

Re: SVN REPO INSTALLER

Post by o-I-c »

Thanks again

Uninstalled the 2 music plugins
Re installed Shoutcast but used v1.3 worked well instead of v2
Digital imported re installed same error when ran (may be some error in dload will suss it out.

I will fiddle a bit more and come to grips with what is happening when things get installed etc
and get used to using xbmc4xbox and sort out what will and will not work.

Again thanks...more reading of faqs and around the forum.
SVN REPO installer of course is working fine,
But as you mentioned use addons4xbox for plugins and stuff
I gather the rest of the booting of XBMC was to the norm as mentioned have not used XBOX for years plugged it in and it fired up
and installed xbmc4xbox.


Cheers
Bob
whufclee
Posts: 922
Joined: Tue Jul 17, 2012 5:42 pm
Location: Essex, UK
Has thanked: 18 times
Been thanked: 109 times
Contact:

Re: SVN REPO INSTALLER

Post by whufclee »

We still use the old convention of scripts and plugins. On mainbranch xbmc (not xbmc4xbox) everything is now called "Addons" and have a slightly different structure to the xbox, this has been the case for a few years now.

A rough guide - plugins vs scripts:
Plugin: This is something that scrapes content from online sources and shows the results in the form of a list, these results can then be streamed to the xbox. A plugin basically uses existing functions from the xbmc system library to carry out the commands.

Script: This is a program that runs within xbmc, you can still get some scripts that act similar to plugins (Navi-X being the main one) but basically you can make a script do whatever you want and it doesn't have to be anything web related. There are some basic games available in the form of scripts. Although scripts can look very fancy as you can really do whatever you want with them they do use up a lot more system resources. This is why you may find some videos refuse to play in Navi-X but they will play fine via a plugin - it's because it's a program running within a program so the RAM usage is that much more (and we don't have much to play with on the xbox!).
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: SVN REPO INSTALLER

Post by Dan Dar3 »

It's not that easy but I will try - technically most of the XBMC4Xbox "addons" are "plugins". The other type of "addons" is "scripts". There is a technical difference between them: plugins can produce information in lists and the visual results look similar to the rest of the application, where scripts have to build their user interface mostly from scratch. They both are written in Python and some people call both of them scripts, cause technically they are using Python and you're running from sources (http://en.wikipedia.org/wiki/Python_%28 ... anguage%29).

They are placed in different locations - Q:\plugins\video, music and programs for plugins and Q:\scripts for scripts - as XBMC4Xbox will need to run them differently and know which is what. Plugins need to be in their specific section so that the visual lists get the appropriate context, as in "right-clicking" on a video entry you get the contextual menu for playing videos, as opposed to say music.

To add to the confusion, the Q:\scripts\.modules are not really scripts you get to run - that's a location for additional Python modules used by plugins and scripts that you get to run. Because .modules start with a "dot" it's visually hidden - XBMC4Xbox makes those available to plugins / scripts whey they do call "import" statement in the code. If those are not transfered correctly (incomplete), incompatible with the platform or missing, it will cause the plugin you're running to crash.

Now, the "addons" term comes from the general sense as it's used broadly by mainline XBMC for everything: plugins, scrapers, skins etc. For XBMC4Xbox it really means "plugins" (for now anyways, until XBMC4Xbox will follow suit and unify). http://wiki.xbmc.org/?title=Add-ons
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: SVN REPO INSTALLER

Post by Dan Dar3 »

Corrected my post above where I mistaken "xbmcswift2" module for some other library - how did you get that version?
o-I-c
Posts: 6
Joined: Sun Jul 28, 2013 7:45 am
Has thanked: 2 times

Re: SVN REPO INSTALLER

Post by o-I-c »

Dan Dar3 wrote:Corrected my post above where I mistaken "xbmcswift2" module for some other library - how did you get that version?
Not sure, it was just there to be installed. Not very helpful i know. I tried it again still getting an error but not going to go add-on crazy.
Digital Imported I like there style of music it will be my next after the Nasa issue, will get to again very soon

Nasa TV if you have time for a look.
http://www.xbmclogs.com/show.php?id=40721

Is it worth going back to 3.2 or is everything moving forward.?
I noticed that skatulskijean updated a some python files etc I gather that was for the project he was working on and not an overall update?
Post Reply