rynop
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2017
11:45 AM
RoAppInfo.getTitle() always returns "roku"
Brightscript Debugger> ai = CreateObject("roAppInfo")
Brightscript Debugger> print ai.GetTitle()
This ALWAYS returns the string "roku". I've tried loading my zip via web interface, eclipse plugin and atom plugin.
Here is my manifest:
title=ryan
major_version=1
minor_version=0
build_version=0
mm_icon_focus_fhd=pkg:/images/icon-fhd.png
mm_icon_focus_hd=pkg:/images/icon-hd.png
mm_icon_focus_sd=pkg:/images/icon-sd.png
splash_screen_fhd=pkg:/images/splash-fhd.png
bs_libs_required=roku_ads_lib
ui_resolutions=fhd
There is another developer doing the same thing and it is returning the app name from the mainifest file.
Any idea what is going on? I am using the Roku Ad Framework (RAF) and newest roku stick (device model 3600x). OS ver 7.5.0 (247.50E04099A247.50E04099A)
Futher details can be found here: https://github.com/veeta-tv/roku-gamp/pull/15
10 REPLIES 10
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2017
12:43 PM
Re: RoAppInfo.getTitle() always returns "roku"
I'm not having any problems with roAppInfo.
What happens if you try this:
and also try to print any of the other fields in your manifest using GetValue() ?
What happens if you try this:
print CreateObject("roAppInfo").GetValue("title")
and also try to print any of the other fields in your manifest using GetValue() ?
rynop
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2017
12:50 PM
Re: RoAppInfo.getTitle() always returns "roku"
print CreateObject("roAppInfo").GetValue("title")
prints "roku"
Its getting other fields from my manifest cuz if I change `major_version=2` and run
[size=100]print CreateObject("roAppInfo").GetValue("major_version")[/size]
2
print CreateObject("roAppInfo").GetValue("ui_resolutions")
fhd
I have a screen graph app, not sure if that matters.
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2017
12:55 PM
Re: RoAppInfo.getTitle() always returns "roku"
"rynop" wrote:
I have a screen graph app, not sure if that matters.
As long as it's not in the Render thread, it should still work. I'm using it in a Scene Graph channel in Main() and in a Task node.
Maybe it's a problem with your manifest file itself. Try starting with a completely blank, empty file and type in the manifest fields again (no cut n' paste).
rynop
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2017
01:28 PM
Re: RoAppInfo.getTitle() always returns "roku"
thanks. so strange. Fields in my manifest are definately working as things like splash_screen_fhd is working fine (and responds to adjustments in path values to new images)
I created my manifest from scratch, using emacs (I'm on MacOS). I still get roku:
Here is my new manifest
I'm getting the same thing from the Main Thread....
I created my manifest from scratch, using emacs (I'm on MacOS). I still get roku:
Brightscript Debugger> print CreateObject("roAppInfo").gettitle()
roku
Here is my new manifest
title=ryan
major_version=1
minor_version=0
build_version=0
mm_icon_focus_hd=pkg:/images/icon-hd.png
splash_screen_fhd=pkg:/images/splash-fhd.png
ui_resolutions=fhd
bs_libs_required=roku_ads_lib
I'm getting the same thing from the Main Thread....
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2017
01:35 PM
Re: RoAppInfo.getTitle() always returns "roku"
That's very strange. Once more thing I'd try before declaring it a Roku bug, would be to create another channel that contains nothing but a manifest and a Main.brs, where Main() does nothing but print your appInfo title.
joetesta
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2017
02:15 PM
Re: RoAppInfo.getTitle() always returns "roku"
I tested on Roku Premiere and Roku Express and both worked / showed the correct app name from the manifest file.
What model and firmware are you on, in case it matters?
What model and firmware are you on, in case it matters?
aspiring

Komag
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2017
02:11 PM
Re: RoAppInfo.getTitle() always returns "roku"
Maybe a difference between side-load and private channel?
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2017
03:00 PM
Re: RoAppInfo.getTitle() always returns "roku"
"Komag" wrote:
Maybe a difference between side-load and private channel?
No, i don't think so. Looking forward to hear from @rynop what was the reason, my interest is piqued...
rynop
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2017
08:23 AM
Re: RoAppInfo.getTitle() always returns "roku"
@joetesta specs are in my 1st post.
@belltown creating a clean project from eclipse indeed displayed the correct title value from manifest file.
The problem was, when I created the "problem" project in eclipse the 1st time, it created a 2nd manifest file under locale/en_US. This file has the "roku" string as the title...
thanks for all the help
@belltown creating a clean project from eclipse indeed displayed the correct title value from manifest file.
The problem was, when I created the "problem" project in eclipse the 1st time, it created a 2nd manifest file under locale/en_US. This file has the "roku" string as the title...
thanks for all the help