How to get Minitube working?

Asked by michael

Ubuntu 20.04
Dell Inspiron 620
Minitube 3.4.2

About three or four days ago, Minitube started having problems. It quit two days ago. Yesterday I found that I needed Google API key. This is what I tried to do.

Google API Key
Google is now requiring an API key in order to access YouTube Data web services.
The key must be specified at compile time as shown below. Alternatively Minitube can read an API key from the GOOGLE_API_KEY environment variable.
Build instructions
Clone from Github:
git clone --recursive https://github.com/flaviotordini/minitube.git

You need Qt >= 5.10 and MPV >= 0.29.0. The following Qt modules are needed: core, gui, widgets, network, sql (using the Sqlite plugin), declarative, dbus, x11extras.
To be able to build on a Debian (or derivative) system:
sudo apt install build-essential qt5-default qttools5-dev-tools qt5-qmake qtdeclarative5-dev libqt5sql5-sqlite libqt5x11extras5-dev libmpv-dev

Compiling:
qmake "DEFINES += APP_GOOGLE_API_KEY=YourAPIKeyHere"
make

Running:
build/target/minitube

Installing on Linux:
This is for packagers. End users should not install applications in this way.
sudo make install

This did not work. Do not understand why it says Installing on Linux:
This is for packagers. End users should not install applications in this way.
If it is not the way to install Minitube, why would they put it in instructions?

I have removed Minitube, downloaded it today. Still not working. Went to this site.

https://flavio.tordini.org/minitube

Found no answers. I know I should question flavio.tordini.org, but haven't been able to get any answer, except (Build instructions) above. Tried the instructions, did not work. Thank You for any help.

https://imgur.com/a/NRXXyUR

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Do you have an API key?
Have you tried entering it with the "Enter API key..." button in minuitube (as shown on your imgur picture)?

Why are you trying to compile that software yourself, if there are ready-made .deb packages for easy install on Ubuntu?

Revision history for this message
michael (yellupcm-gmail) said :
#2

No, I do not have an API key.

I thought the way to get key was to follow the instructions above.

The key must be specified at compile time as shown below. Alternatively Minitube can read an API key from the GOOGLE_API_KEY environment variable.
Build instructions
Clone from Github:
git clone --recursive https://github.com/flaviotordini/minitube.git

I thought this was the way to get key.

I downloaded below, to have depends.

To be able to build on a Debian (or derivative) system:
sudo apt install build-essential qt5-default qttools5-dev-tools qt5-qmake qtdeclarative5-dev libqt5sql5-sqlite libqt5x11extras5-dev libmpv-dev

Approximately this time yesterday, I removed Minitube, downloaded new Minitube and installed. It still gives me.

https://imgur.com/a/NRXXyUR

How do I get a key? When I Google that, I get.

How do you get a YouTube API Key?

        The first step is to log in or create an account on https://developers.google.com/.

When I go there, I get many, many things, but nothing about creating an account or getting a key.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3
Revision history for this message
michael (yellupcm-gmail) said :
#4

I understand what I did wrong. I have no need for Google Cloud. I must sign up for Cloud before getting the YouTube key. You answered my question. Many thanks.

Revision history for this message
michael (yellupcm-gmail) said :
#5

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Kai Kasurinen (kai-kasurinen) said :
#6

https://flavio.tordini.org/minitube-3-5-and-musictube-1-13

"I had to rush this release because Google restricted the Youtube API only to manually approved projects. And their terms forbid any other viewer apart from their own."