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

I’m not having any problems with roAppInfo.

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() ?

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.

“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).

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:

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…

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.

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?

Maybe a difference between side-load and private channel?

“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…

@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

“rynop” wrote:
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…
i knew it was going to be something good! Thanks for sharing the puzzle solution
(PS. that would have made for a nasty job interview question)

[upload|99ETu1jeIsqcogL8wtA5SQ==]