[Release] Repositories Installer Add-on

  Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Temhil Offline
Skilled Python Coder
Posts: 395
Joined: Apr 2008
Reputation: 1
Location: Canada
Post: #31
Nice. I have uploaded only one: http://wiki.xbmc.org/index.php?title=File:Aeon_MQ2.jpg or [File:Aeon MQ2.jpg] in the wiki (not sure what will appear in the HTML)

Sorry I don't have time to do more tonight. I did also changes remove the bold and adding option to display or not the description with or without color.

I will make that available tomorrow (it is already in the google of passion XBMC, but not yet in the repo).

For the 'download all' and ListItem.Plot, I will look into it this weekend.

[Image: passionxbmc_signature.png]
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

[Image: project_thin_badge.gif]
(This post was last modified: 2011-03-18 05:04 by Temhil.)
find quote
Temhil Offline
Skilled Python Coder
Posts: 395
Joined: Apr 2008
Reputation: 1
Location: Canada
Post: #32
About the WindowXML, would you know by any chance whick one is use in XBMC for displaing the info about the repository in XBMC?
That would be pretty good to reuse it for what we want to do.

[Image: passionxbmc_signature.png]
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

[Image: project_thin_badge.gif]
find quote
KiSUAN Offline
Fan
Posts: 536
Joined: Oct 2010
Reputation: 3
Location: Montevideo, Uruguay
Post: #33
Thanks for uploading that image, at least we can begin seeing how to set up the wiki, I've added the image in a 5th column, don't know if you can fetch from that or if that's what you were asking for.

About the Window.xml, I think we are talking about "different" things. Keep in mind that I know almost nothing about python or addons whatsoever, I'm talking just from reasoning and researching.

Thing is this, when you mention the window.xml + being a program addon + that you already asked in dev section I went to the thread you made there, with that info I decided to research. I find another addon that is under the "program addon" category (I infer that's what you mean when you say "program addon") , that addon is Advance Launcher. Advance Launcher uses several tags, one of them LisitItem.Plot, I know because I coded several views for it. From what I know AVL creates a file (what I infer window.xml is) named launchers.xml in the folder C:\Users\User Name\AppData\Roaming\XBMC\userdata\addon_data\plugin.program.advanced.launcher were it stores all the info that later gets fetched by XBMC or the skin. How to code this in the addon and the difficulty of it I don't know, I also searched for "Plot" in the AVL files finding that it's coded into launcher_plugin.py and every datas_scraper.py. I think the second (datas_scraper.py) is not very relevant as it should be the fetch from the web and all data and the important things for you should be in the launcher_plugin.py, that must specify were to save the info, how and all that, launchers.xml in this case I suppose.

Well, pretty much all guessing from my part, as I told you early I have no idea of python, addons, so it wouldn't be strange I'm completely wrong. I just wanted to explain as thorough as possible to avoid more confusion/mistakes and don't waste your time.

Night [MOD] Purity

[url=http://forum.xbmc.org/showthread.php?tid=86759"]
Purity Media Flags & RD XBMC Icon
[/url]
[url=http://forum.xbmc.org/showthread.php?tid=99554"]
Film/Movie/Game Studio Flags Repository
[/url]
(This post was last modified: 2011-03-18 05:56 by KiSUAN.)
find quote
Temhil Offline
Skilled Python Coder
Posts: 395
Joined: Apr 2008
Reputation: 1
Location: Canada
Post: #34
Version 1.0.2 available in Passion-XBMc repository:

Changelog:
Code:
2011-03-17 Version 1.0.2 by Temhil
- Added option to add or not description from title
- Added option for activating or not color of description (set it by default)
- Removed Bold Title

[Image: passionxbmc_signature.png]
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

[Image: project_thin_badge.gif]
find quote
Temhil Offline
Skilled Python Coder
Posts: 395
Joined: Apr 2008
Reputation: 1
Location: Canada
Post: #35
KiSUAN Wrote:Thanks for uploading that image, at least we can begin seeing how to set up the wiki, I've added the image in a 5th column, don't know if you can fetch from that or if that's what you were asking for.
Thanks for adding the column for image.
Looking at the generated HTMl it is possible we are going to have a problem thus. Since the image has been resized, the URL availbale is the on of the thumb: http://wiki.xbmc.org/images/thumb/8/8b/A...on_MQ2.jpg and not the one of the real sized image (which we want for the addon): http://wiki.xbmc.org/images/8/8b/Aeon_MQ2.jpg

It seems this the only difference in the URL is /thumb/ so if it the case for all the image we should be good. I will look at it this weekend if I can

KiSUAN Wrote:About the Window.xml, I think we are talking about "different" things. Keep in mind that I know almost nothing about python or addons whatsoever, I'm talking just from reasoning and researching.

Thing is this, when you mention the window.xml + being a program addon + that you already asked in dev section I went to the thread you made there, with that info I decided to research. I find another addon that is under the "program addon" category (I infer that's what you mean when you say "program addon") , that addon is Advance Launcher. Advance Launcher uses several tags, one of them LisitItem.Plot, I know because I coded several views for it. From what I know AVL creates a file (what I infer window.xml is) named launchers.xml in the folder C:\Users\User Name\AppData\Roaming\XBMC\userdata\addon_data\plugin.program.advanced.launcher were it stores all the info that later gets fetched by XBMC or the skin. How to code this in the addon and the difficulty of it I don't know, I also searched for "Plot" in the AVL files finding that it's coded into launcher_plugin.py and every datas_scraper.py. I think the second (datas_scraper.py) is not very relevant as it should be the fetch from the web and all data and the important things for you should be in the launcher_plugin.py, that must specify were to save the info, how and all that, launchers.xml in this case I suppose.

Well, pretty much all guessing from my part, as I told you early I have no idea of python, addons, so it wouldn't be strange I'm completely wrong. I just wanted to explain as thorough as possible to avoid more confusion/mistakes and don't waste your time.
Thank for the info, I will look into it. I think in all the case I will have to create or adapt an existing windowXML for the Info view about a repo.

That the reason why I am wondering which WIndowXML is used in the skin in order to create the Window for displaying info about a repo, my guess is I can almost reuse it as it is and I would have to do it only for the main skins.

That will come probably later on when I will have more time, I didn't do WindowXML for a while :o.

[Image: passionxbmc_signature.png]
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

[Image: project_thin_badge.gif]
find quote
anarchintosh Offline
Fan
Posts: 302
Joined: Jul 2010
Reputation: 4
Post: #36
for the image column, why not add a url to the repo image in the svn repo?

i've done this for xbmc-adult on the unofficial repos page as an example.

no one really needs the icons when browsing the wiki page (especially that small), its only in xbmc that it is of any use.

also its a lot of work uploading every image to the wiki.
find quote
Temhil Offline
Skilled Python Coder
Posts: 395
Joined: Apr 2008
Reputation: 1
Location: Canada
Post: #37
anarchintosh Wrote:for the image column, why not add a url to the repo image in the svn repo?

i've done this for xbmc-adult on the unofficial repos page as an example.

no one really needs the icons when browsing the wiki page (especially that small), its only in xbmc that it is of any use.

also its a lot of work uploading every image to the wiki.

Yes I think too it would be the best, so when we have the icon available somewhere else we put the direct link to it, and for the one available in the wiki we put also the direct link (without thumb display) instead of [file:myicon.png], so the addon will take the direct URL as it without caring about the location (wiki or outside).

[Image: passionxbmc_signature.png]
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

[Image: project_thin_badge.gif]
find quote
hudo Offline
Fan
Posts: 450
Joined: Feb 2009
Reputation: 5
Location: xbmcmediacenter.com
Post: #38
Looking good, guys. Great work.
I also agree that the icon link is far better than showing the icon so small. No real use for it in the wiki anyway.

@Temhil, I started adding an extra column with the forum/support threads to every repo listed. I will not upload it to the wiki before it's ready because, from previous posts, I understand it will brake the add-on.

What do you suggest to have it broken for the least amount of time? I add the extra column and immediately warn you so you can change the code?

h.udo

[Image: phrase_6.gif]
find quote
Temhil Offline
Skilled Python Coder
Posts: 395
Joined: Apr 2008
Reputation: 1
Location: Canada
Post: #39
hudo Wrote:Looking good, guys. Great work.
I also agree that the icon link is far better than showing the icon so small. No real use for it in the wiki anyway.

@Temhil, I started adding an extra column with the forum/support threads to every repo listed. I will not upload it to the wiki before it's ready because, from previous posts, I understand it will brake the add-on.

What do you suggest to have it broken for the least amount of time? I add the extra column and immediately warn you so you can change the code?

h.udo
If you add it after the repo URL so instead of after the icon column that shouldn't break anything.
You can test it and if it does not work you can always revert the change in the wiki, otherwise we will need to synchronize, but it shouldn't be a big deal ti make the change, the only think I don't always have access to XBMC, so it could be few hours before I make the changes

[Image: passionxbmc_signature.png]
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

[Image: project_thin_badge.gif]
find quote
hudo Offline
Fan
Posts: 450
Joined: Feb 2009
Reputation: 5
Location: xbmcmediacenter.com
Post: #40
Thanks. I'll do it as you suggest.

h.udo

[Image: phrase_6.gif]
find quote
Post Reply