By
Alex
Build Your First App for webOS TV
Web apps are written using HTML with copious amounts of CSS and JavaScript for style and functionality. Any modern Web browser can deliver this type of apps to the user. With webOS TV, web apps are elevated to the lofty title of a first class citizen - web apps on webOS TV are given access to the same hardware, and OS features that typically available to native apps.
Web apps built for webOS TV are very similar to standard web apps. Like the standard web applications, you can create web apps for webOS TV using standards based web technologies like HTML, CSS, and JavaScript. Anyone with experience in building web applications can easily start developing web apps for webOS TV.
Now, just create your app using the CLI.
Run the webOS TV CLI.
Create new app with Enyo bootplate.
ares-generate -t moonstone-2014 first-app
Now you can continue developing and testing your app.
Edit ./first-app/appinfo.json file. Update "id" and "title" properties in appinfo.json file with text editor as below.
{
"id": "com.yourdomain.app.firstapp",
"version": "0.0.1",
"vendor": "My Company",
"type": "web",
"main": "index.html",
"title": "singlepane",
"icon": "icon.png",
...
}
Package your app from app directory. If app is packaged successfully, you can see the created .ipk file.
ares-package first-app
Run the webOS TV Emulator.
Install your app to emulator. Be sure to use the correct file name for your package.
ares-install com.yourdomain.app.firstapp_0.0.1_all.ipk
Launch your app on emulator.
ares-launch com.yourdomain.app.firstapp
Question
Nick Payne
I run a media server using Serviio on a Raspberry Pi (several thousand files just organised by folder structure), and I use the DLNA client built into WebOS to play the files from the server. For the past five years I've had an LG OLED55B6T, and due to a bit of burn-in on the screen, I've just replaced it with an OLED65G1PTA. One thing I notice with the new set is that it's much slower to navigate through the folder structure on the media server to get to the file I want to play. The difference seems to be that the DLNA client on the old TV just shows folders with a generic folder icon, whereas the new one wants to thumbnail each folder that's visible on the screen before it will allow me to continue. I haven't found anything in the settings to stop this behaviour - you can choose to display the folders as a grid or list, but either way it still tries to thumbnail each folder.
As an experiment I installed Kodi on a Chromecast with Google TV that I have attached to the new set, as it can also act as a DLNA client, and it is also much faster to navigate through the folder structure on the media server. However, it has the drawback that if I stop watching a video part way through, it doesn't remember the point I was up to when I restart watching, whereas the client in the TV does.
Any suggestions on a possible fix for speeding up the navigation?
Link to comment
Share on other sites
Top Posters For This Question
1
Popular Days
Dec 7
1
Top Posters For This Question
Nick Payne 1 post
Popular Days
Dec 7 2021
1 post
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.