Not long back Chris Wayne published a post about a scope creator tool. Last week, I was visiting bq and we decided with Victor Gonzalez that we should have a scope for Canal bq. The folks at bq do an excellent job at creating “how to” and “first steps” videos, and they have started publishing some for the bq Aquaris E4.5 Ubuntu Edition.
Here is a few screenshots of the scope that is now available to download from the store:
The impressive thing is that it took us about 5 min to get a working version of the scope. Here is what needed to do:
- First, we followed Chris’ instructions to install the scope creator tool.
- Once we had it set up on my laptop, we run:
scopecreator create youtube com.ubuntu.developer.victorbq canalbq
- Next, we configured the scope. The configuration is done in a json file called manifest.json. This file describes the content of what you will publish later to the store. You need to care about: “title”, “description”, “version” and “mantainer”. The rest are values populated by the tool:
scopecreator edit config
"description": "Canal bq",
"title": "Canal bq",
"maintainer": "Victor Gonzalez <firstname.lastname@example.org>"
- The following step was to set up the branding: Easy! Branding is define on an .ini file. “Display name” will be the name listed on the “manage” window once installed, and also will be the title of your scope if you don’t use a “PageHeader.Logo”. the [Appearance] section describes the colours and logos to use when banding a scope.
scopecreator edit branding
Description=Youtube custommized channel
- The final part is to define the departments (drop down menu) for the scope. This is also a json file and it is unique the youtube scope template. You can either use “playlists” or “channels” (or both) as departments. The id PLjQOV_HHlukyNGBFaSVGFVWrbj3vjtMjd corresponds to a play list from youtube, with url= https://www.youtube.com/playlist?list=PLjQOV_HHlukyNGBFaSVGFVWrbj3vjtMjd
scopecreator edit channels
“reminder”:”Aquaris E4,5 Ubuntu Edition”
“reminder”: “aula bq”
“reminder”: “primeros pasos”
After this, the only thing left to do is replace the placeholder icon, with the bq logo:
And build, check and publish the scope:
This last command generates the click file that you need to upload to the store. If you have a device (for example a Nexus4 or an emulator ), it can also install it so you can test it. If you get any issues getting the scope to run, you might want to check your json files on http://jsonlint.com/. It is a great web tool that will help you make sure your json doc is ship shaped!
It is super simple to create a scope for a youtube channel! so what are you going to create next?