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 <email@example.com>"
- 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?
12 thoughts on “Make a scope for your YouTube channel in 5 minutes”
That’s strange, I tried to do this for the Ubuntu Channel, the scope is build but empty. I triedwith your channels.json and it’s not working too. What I doo wrong 😦 ?
what do you mean by is empty?
Please note that I had made some small changes, you dont need the scope name in the package domain, and you need to cd into the directory created.
Hello, I have also tried creating a Youtube scope for the Ubuntu IT channel on Youtube following this tutorial, but as winaelWinael says the scope is empty, that means that nothing shows in it, no Youtube videos, but just the scope title and top buttons, nothing under in the space were Youtube content should show up. I have cd into the directory created, made all the changes at put the scope name in the package domain. Have you any suggestions to fix the issue ? I have checked several times with your configurations and everything is the same.
I have made a change to the blog to help if issues like this happen.
Great ! I would like to try, but I only have an Ubuntu emulator, not a physical device. Is there a way (a specific terminal command) to build and test the click package generated directly on the Ubuntu emulator ?
My understanding is that if you run the build command with the emulator launched, and no phone connected to your pc, it should default to use the emulator. Let me know if it doesnt.
Thanks for your guide! But.. It’s not working for me at all.
I followed your guide, and I created my scope. But there is no content in the scope: