Addon with home screen widgets

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
tria Offline
Member
Posts: 73
Joined: Jan 2012
Reputation: 0
Post: #11
el_Paraguayo Wrote:Hope that's enough to get you going but keep asking questions if not.
No that is not enough to get me going. This has cleared everything I needed to know! Smile

As for your script being buggy or messy, I took a quick look at your code (and I am not a python programmer myself), and took a quick look at other addons code (official ones included), and have long experience programming and completing other people work. Trust me your code is easy to read, and clean. Usually those who claim they have something great are the one that I find their code ugly and buggy. But I understand what you are saying, as I share the same feeling about whatever I write even if someone complemented me. I had to say all this, as you deserve complement for helping and sharing.

The only thing that I would suggest for the train addon, is as usual, make it generic, so anyone can write a scrapper, and give your addon "from"/"to"/"time"/"status"...etc. This will make the script general for anyone interested in extending it (and the scrapper idea is easy).

Many thanks.
find quote
el_Paraguayo Offline
Fan
Posts: 448
Joined: Feb 2011
Reputation: 7
Location: London, UK
Post: #12
tria Wrote:The only thing that I would suggest for the train addon, is as usual, make it generic, so anyone can write a scrapper, and give your addon "from"/"to"/"time"/"status"...etc. This will make the script general for anyone interested in extending it (and the scrapper idea is easy).

I will be addding the from/to bits to the train times, unfortunately I haven't had time to do it yet. The stations are just hardcoded in the script for testing purposes.

Good luck with your script, let me know if you have any questions.

MythSuspendAlarm: Suspend xbmc and set ACPI wake alarm based on next scheduled MythTV recording.
BBC Football Scores: Get live football score notifications.
Random Movie Script: Play random movies from user's library (for skinners).
find quote
tria Offline
Member
Posts: 73
Joined: Jan 2012
Reputation: 0
Post: #13
Just to let you know that I successfully wrote my own script based on your helpful directions. I am here to thank you again, you don't know how much this meant to me. Thanks.
find quote
el_Paraguayo Offline
Fan
Posts: 448
Joined: Feb 2011
Reputation: 7
Location: London, UK
Post: #14
No problem at all! Glad you managed to achieve what you wanted.

You should post screenshots of what you've done, chances are someone else might be interested in what you've done.

MythSuspendAlarm: Suspend xbmc and set ACPI wake alarm based on next scheduled MythTV recording.
BBC Football Scores: Get live football score notifications.
Random Movie Script: Play random movies from user's library (for skinners).
find quote
tria Offline
Member
Posts: 73
Joined: Jan 2012
Reputation: 0
Post: #15
I will release it in the end for sure, I just didn't do much so far. I just made sure I was able to present something as a widget under one of the menu items, thanks to you, but I am still working on the data to be shown (processing). Also, I will have to do the settings, skinning, and the addon screens itself. Then I will release it, and submit it.

Do you know if I can make the skin tags for positioning (posx, posy) changeable through the script? I am planing on changing the label control x position based on the processed data (for visual perception purposes). If you don't know then no problem (I should probably ask about it in another thread).

As for people finding it worthy, yes there will be people who will use it. But I am sure that you won't be one of them (due to background, not personality/interest) Smile

Edit: I will make sure to give you credit when I release it
(This post was last modified: 2012-02-19 20:07 by tria.)
find quote
el_Paraguayo Offline
Fan
Posts: 448
Joined: Feb 2011
Reputation: 7
Location: London, UK
Post: #16
tria Wrote:Do you know if I can make the skin tags for positioning (posx, posy) changeable through the script? I am planing on changing the label control x position based on the processed data (for visual perception purposes). If you don't know then no problem (I should probably ask about it in another thread).

As for people finding it worthy, yes there will be people who will use it. But I am sure that you won't be one of them (due to background, not personality/interest) Smile

Edit: I will make sure to give you credit when I release it

I think it should be possible to change the positions but I don't know how to do it. It's probably worth starting another thread.

Oh - and I don't need any credit - everything I've told you I learnt from people on the forum!

MythSuspendAlarm: Suspend xbmc and set ACPI wake alarm based on next scheduled MythTV recording.
BBC Football Scores: Get live football score notifications.
Random Movie Script: Play random movies from user's library (for skinners).
find quote
Post Reply