AudioTube in KDEReview

Jonah Brüchert jbb at kaidan.im
Mon Jun 21 00:07:01 BST 2021


Hi, thanks for trying it out!
> david at doro:~/kde/audiotube/build$ bin/audiotube
> [youtube] 2ZA27qdiX10: Downloading webpage
> ERROR: 2ZA27qdiX10: YouTube said: Unable to extract video data
> DownloadError: ERROR: 2ZA27qdiX10: YouTube said: Unable to extract 
> video data
>
> At:
>    /usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py(595): trouble
>    /usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py(625): 
> report_error
>    /usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py(821): 
> extract_info
>
> david at doro:~/kde/audiotube/src$ youtube-dl --version
> 2020.03.24
>
> After updating youtube-dl via pip (was installed via apt), it worked.
>
Just to make sure, the application didn't crash but just displayed the 
error message and also printed it on the command line?

With youtube-dl, it's important to always have the latest version, since 
extracting the video info is not supported by youtube and based on 
scraping the website. That means that it can break, and needs quick fixes.

I've been working on packaging a flatpak version that I'm personally 
using most of the time. It will allow to have an up-to-date version of 
youtube-dl even on stable distributions without having to install 
packages using pip.

> Unfortunately it does not have a volume control, it can’t pause with 
> the space
> bar, and it is not controllable through Plasma media player controls. 
> Like
> already noted, seeking does not work.

It's still in its early days. I do want all those features too, and and 
some point they will be there.

However to me it's important to get this into Plasma Mobile gear as soon 
as possible to have a streaming service on PlaMo at all.

> I don’t understand the playlist(?). When I start a track, I expect it 
> to end
> at the end. But there is an arrow button in the bottom-right, and when 
> I click
> that I see the album art and something like a playlist with my track 
> at the
> top, followed by tons of completely unrelated videos. I can remove 
> videos from
> the playlist, but I can’t add videos? I also can’t reorder it. Can I 
> make it
> play only the video I have selected?

Youtube Music works by trying to find similar tracks that you might like 
too, to make it easy to discover new music.

Unfortunately it seems like the algorithm on Youtube's side didn't work 
too well in your case, and that partly comes from their usual tracking 
of course not working in AudioTube, so it can only give you music that 
other people who liked the track you initially played listened to, 
instead of adapting to your personal taste.

If you want to put the playlist together yourself, you can use the "Add 
to Playlist" button on the right. The other button is "Play Next", which 
will put the song into the playlist immediately after the currently 
playing one.

> I suggest to make the user interface a bit more descriptive.
>
> When I select a video from the search results, there is a question box 
> like
> “Video playback not supported [play only audio]”. These boxes are
> accumulating. If I scroll through the results list by click-and-drag, 
> every
> touched video adds such a box. When I click it, it appears to attempt 
> to play
> all these videos. (But without telling me which.)
>
Click and drag to scroll is not supposed to work on the desktop. I know 
it used to work only in QtQuick apps, but that has changed for some time 
now.

The button "play only audio" only plays the audio of the video the 
message was triggered by. I can add the title to the message to make it 
clearer.


Best Regards,

Jonah

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xA81E075ABEC80A7E.asc
Type: application/pgp-keys
Size: 11172 bytes
Desc: OpenPGP public key
URL: <http://mail.kde.org/pipermail/kde-devel/attachments/20210621/33806284/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-devel/attachments/20210621/33806284/attachment.sig>


More information about the kde-devel mailing list