[Ubuntu] Dialog to offer the available Access Points

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
topfs2 Offline
Team-XBMC Developer
Posts: 3,825
Joined: Dec 2007
Reputation: 8
Post: #11
https://github.com/topfs2/xbmc/tree/network_abstraction

If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
find quote
tmacreturns Offline
Junior Member
Posts: 34
Joined: Aug 2011
Reputation: 0
Location: The Netherlands
Post: #12
Thanks for your reply topfs2, but I am afraid that project does not solve my problem.

Maybe I should start a new thread, but my problem now is to implement some sort of fallback for the XML files that cannot be found in the current skin.

For instance, if there is not a DialogKeyboard.xml within the current skin, XBMC would fetch the layout from the default skin instead of not loading the Keyboard Dialog. My goal is to have this but for the access points. I think I´ve kinda solved already my issues with the wireless configuration, now I only need to be able to display the access points in every skin I can download.

Thanks
find quote
ronie Online
Team-XBMC Member
Posts: 8,259
Joined: Jan 2009
Reputation: 108
Post: #13
tmacreturns Wrote:Now that I´ve defined my own DialogAccessPoints.xml and placed it under the skin.confluence/720p/ folder, I would like that GUIDialogAccessPoints.cpp would fallback into this default skin file whenever it can´t find the XML within the current skin folder.

that's something that isn't possible.

tmacreturns Wrote:Obviously, the option to copy the xml file to every skin folder is not the best option.
it is and after copying it, you'll also need to adjust the code to match the skin. :-)

tmacreturns Wrote:I was thinking whether it is possible to have an xml fallback for the skin files as well as for the addons xml´s. Maybe ( and probably) I am missing something very obvious here, but I´ve tried to search in the XBMC wiki and in the Forum, but I´ve got nothing so far.

skin files are not inter-exchangeable, nor can you fallback from one skin to another.

reason is, the code defined in one file depends on (uses) code from a number of other files (Fonts.xml, colors/defaults.xml, includes.xml, defaults.xml and possible several others as well)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
tmacreturns Offline
Junior Member
Posts: 34
Joined: Aug 2011
Reputation: 0
Location: The Netherlands
Post: #14
Thanks for your reply ronie. I was afraid of it, I was thinking of defining a "standard" dialog for the access points, but I guess it would imply to modify quite a lot the source code. However, as far as I understood for defining a dialog you don´t necessarily need to have any include,as if you leave everything to default, only changing the dimension of the font and the containers, that would be enough. Of course, without any image included. Anyway, this would look way too ugly, not compliant with the XBMC standars Smile

Thanks!
find quote
garbear Offline
Team-XBMC Developer
Posts: 426
Joined: Dec 2010
Reputation: 16
Location: gangsta's paradise
Post: #15
tmacreturns,

Do you have a github repo for your work? I've done some work on the wireless portion of xbmc, and I'm interested in following your work as well.

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first
find quote
tmacreturns Offline
Junior Member
Posts: 34
Joined: Aug 2011
Reputation: 0
Location: The Netherlands
Post: #16
Hi garbear,

So far I don´t have it, but I´ll create an account in GitHub and will try to post it as soon as possible. Thanks for your interest
find quote
garbear Offline
Team-XBMC Developer
Posts: 426
Joined: Dec 2010
Reputation: 16
Location: gangsta's paradise
Post: #17
Excellent. hit me up at github.com/garbear. i'll be around

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first
find quote
tmacreturns Offline
Junior Member
Posts: 34
Joined: Aug 2011
Reputation: 0
Location: The Netherlands
Post: #18
Done Smile
find quote
Post Reply