Author Topic: !!!MAJOR!!! WDTVExt 0.7 - Simple plugin is out  (Read 50039 times)

June 17, 2009, 04:08:22 PM
Read 50039 times

pibos

  • Full Member

  • Offline
  • ***

  • 235
Update 7.
Here is the link the WDTVExt.app.bin 0.7 rar archive: http://www.mediafire.com/?woyal4awqtl
It's a service release, fixing creashes while pressing enter on a weather day menu icon. presing enter on a day still does nothing yet.

What's on my plate for WDTVExt?
Rezmus is gving me a hand with weather detail page (10x m8) and I am working on glueing page related api to lua.
you will be able to:
Create your page and show it when pressing enter on your menu item
Create your page and show it from a button pres on the remote (any button)
Handling page events (timer, key press, button click)
Setting page paremeters (the ones declared with @@xxxxxx in the xml) dinamically in page events handlers
Use system pages(system functionality) : OK/Cancel message page, Keyboard page
Use complex page controls: datalist ...
Hooking system pages (homepage, welcome, etc) events and injecting aditional xml on the fly

As you can see, there is a lot. the implementation will be made gradually, in the order listed above.


Also, by request i've put toghether a simple plugin that has a single menu item: Reboot. :D
Simple plugin app.bin rar archive http://www.mediafire.com/?jjqnikmmfm0
Simple plugin sources rar archive http://www.mediafire.com/?omoz1wm2w1u

tic tac, got to go.
pibos


Update 6.
Here is the link the WDTVExt.app.bin 0.6 rar archive: http://www.mediafire.com/?ujd5yhnzzzf
Here is the link the weather.app.bin  rar archive: http://www.mediafire.com/?mz3vdaonnmx

Source file for the weather plugin can be found here http://www.mediafire.com/?jizwymtjyjt

You need to copy both WDTVExt.app.bin and weather.app.bin on the stick in order to see anything

Verified compatibility: ext3-1.02.07 ext3-1.02.10
Planed compatibility: ext3-1.02.08  WDLXTV(?)


What's new? plugin system is here! powered by Lua scripting engine!
Weather plugin demonstrates it, that we can host a plugin described in a plugin.xml file (see weather.plugin.xml) and execute code at specific moments in plugin lifecycle described in a lua file (see weather.lua).

What's bad?
Weather location cannot be customized for now, is set on my home town Bucharest, Romania.
Weather plugin updates it's data at fixed intervals (10 min).
Off topic, also bad, I still don't know if WDTVExt work with WDLXTV (anyone???)
 

What's next?
plugin configuration pages (how about pushing 'Options' on the remote while having your plugin selected on the screen and showing your plugin configuration page?)
Generic pages hooking - how about being able to inject additional osd xml to any page you like ? how about taping into it's lifecycle: load, timer, keypress?


Technical details:
Weather data is fetched from accuweather at 10 min intervals and updated on screen using a custom lua function called weather_timer representing the plugin timer handler function. For any plugin, the system looks for a init and timer function called "plugin name"_init and "plugin name"_timer;
"plugin name" represents the name of the plugin you have configured in plugin.xml.
 For any of you that want to change this, you need to modify accuweather's location code in weather.lua. Weather.app.bin is packed using assemble-app-bin.sh from elm(10x, great tool) so any change on the mounted app.bin should be persisted.


Now, go find a Lua book, unpack weather.sources.rar and start coding!

pibos.





Update 5.
Here is the link the WDTVExt.app.bin 0.5 rar archive: http://www.mediafire.com/?dtwjigchmzy
Testing widget_keyboard integration. Magnifyer Glass Icon will open search screen.
No functionality implemented, no events are handled yet.
Looking into LUA Language for plugin scripting purposes as it can communicate bidirectionally with WDTVExt library without the overhead of spawning one process per event (in case of shell scripts, scary posibility)

Anouncement:
WDTVExt team(me :)) wishes to add new members.
Hardcore C, ASM developers are wanted.





Update 4.
Here is the link the WDTVExt.app.bin 0.4 rar archive: http://www.mediafire.com/?zwrmyuwtrwv
Slow progress has been made, not as much as I would like.

Progress note:
Added remote tracing facility (debug version; never to included in the released versions)
Added firmware version abstraction layer; now it suports firmware 1.02.07 & 1.02.10 (tested on ext3, I would like to here news about tests on WDLXTV, anybody?)
Degrades gracefully when used on other firmware versions, displaying a message that WDTVExt does not suport firmware x.xx.xxx.

At this moment, we can:
Show page from custom xml
Handle events on page(key, load, etc).
Handle events on buttons
Set progressbar position
Set parametters on page (@@xxxx variables defined in xml)
All above are demonstrated in Extension->About

Work on integrating with internals is under way (more page lifecyle, widget events, listbox)
Work on the plugin system is unde way (here is a link to a fictional plugin config file http://www.mediafire.com/?uyt24q3m2ej)

pibos.


Update 3.
Fixed issue: Extension top icon not shown properly when focused; screenshot updated;
Here is the link the WDTVExt.app.bin 0.3 rar archive: http://www.mediafire.com/?50eoyiyiomm

Update 2.
Message boxes are shown when custom items are 'clicked'

Update 1.
scrolling vertically is no longer so slow.
Re download the app.bin from the link below


Hi all,

I have created an extension to dmaosd so that icons can be added programatically to the home crossbar menu(this will be used to add functionality from the home screen). Unlimited number of icons can be added on the vertical bar(icon group) and horizontal bar.

Here is a screenshot


More important, here is a link to the WDTVExt.app.bin that just needs to be copyied on the stick to get the above result.
http://www.mediafire.com/?glminzlytzm
The extension is depended on the version of firmware used, I used 1.02.07-ext3-boot-0.9.2


I would apreciate if I would get feedback from ppl testing on the same(or close) version (ext3 9.x, WDLXTV4-5)

thanks all,
pibos
« Last Edit: July 07, 2009, 01:33:05 PM by pibos »
Wanna help WDTVExt for WDTVLive and RemoteView?

June 17, 2009, 04:35:48 PM
Reply #1

dcrutgers

  • Jr. Member

  • Offline
  • **

  • 90
Can't see the screenshot, can you post it again please? Thanks!

June 17, 2009, 08:32:56 PM
Reply #2

mr_murder

  • Newbie

  • Offline
  • *

  • 26
 :o just a proof of concept right? doesn't seem to add any functionalities yet but excellent potential though. testing on same firmware as you, up/down scroll on the crossbar is a bit sluggish, but left/right is smooth. Looking forward to watching this progress.

June 17, 2009, 11:54:44 PM
Reply #3

redindian

  • Hero Member

  • Offline
  • *****

  • 643
    • True Font Family - Any font, any website, any browser
Wow! Works here with 1.02.07-ext3-boot-0.9.2. Excellent work! Bit slow at the moment browsing vertical like said and doesn't do anything. But can't wait for this to work properly.

Interested in how you managed to do this.

June 18, 2009, 12:03:01 AM
Reply #4

realtebo

  • Full Member

  • Offline
  • ***

  • 132
Yes ! This is a great idea. We're waiting for progress !

We, developing app.bin, could have a 'home screen start' for our applications. Great !
weecommand.app.bin
Browse and add IRC download via OSD
Prototype 3
Actually stopped

June 18, 2009, 12:44:02 AM
Reply #5

redindian

  • Hero Member

  • Offline
  • *****

  • 643
    • True Font Family - Any font, any website, any browser
Much faster now! I think it's even faster than 'normal', but probably because it breaks event-osd.

June 18, 2009, 05:01:06 AM
Reply #6

eliafino

  • Full Member

  • Offline
  • ***

  • 101
Very good pibos!!!
And for link functions to your added icons?

June 18, 2009, 05:05:52 AM
Reply #7

pibos

  • Full Member

  • Offline
  • ***

  • 235
Very good pibos!!!
And for link functions to your added icons?

all functionality will always be included in the last version.
Wanna help WDTVExt for WDTVLive and RemoteView?

June 18, 2009, 05:10:17 AM
Reply #8

eliafino

  • Full Member

  • Offline
  • ***

  • 101

June 18, 2009, 05:50:56 AM
Reply #9

redindian

  • Hero Member

  • Offline
  • *****

  • 643
    • True Font Family - Any font, any website, any browser
This is getting better each time I check, and the package keeps getting smaller! :-)

Does this mean we can start any application by just clicking on an icon?

June 18, 2009, 06:31:14 AM
Reply #10

pibos

  • Full Member

  • Offline
  • ***

  • 235
This is getting better each time I check, and the package keeps getting smaller! :-)

Does this mean we can start any application by just clicking on an icon?


We can even better.
I was considering building a plugin system so that ppl could add their custom OSD xml on main screen under menu and optionaly supply data for it using php scripts...

For example a Whether plugin, has a Main Icon and sub icons one for next three days representing forecasting for that day
when you click that icon, you will get to a page where more details are available

how does it sounds?
Wanna help WDTVExt for WDTVLive and RemoteView?

June 18, 2009, 06:38:21 AM
Reply #11

dcrutgers

  • Jr. Member

  • Offline
  • **

  • 90

June 18, 2009, 06:53:19 AM
Reply #12

redindian

  • Hero Member

  • Offline
  • *****

  • 643
    • True Font Family - Any font, any website, any browser
That sounds great to me! :-D

Just noticed the nice popups. Great stuff.

June 19, 2009, 03:37:29 AM
Reply #13

redindian

  • Hero Member

  • Offline
  • *****

  • 643
    • True Font Family - Any font, any website, any browser
Quick question:

Can you handle events on buttons too? So can you capture button clicks for XML files that contains <ctrlgrp> with <button> tags? Or does the WDTV have to be on a page that normally contains buttons?

June 19, 2009, 04:57:07 AM
Reply #14

pibos

  • Full Member

  • Offline
  • ***

  • 235
Quick question:

Can you handle events on buttons too? So can you capture button clicks for XML files that contains <ctrlgrp> with <button> tags? Or does the WDTV have to be on a page that normally contains buttons?

<button> click can be handled.
Wanna help WDTVExt for WDTVLive and RemoteView?