After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760657 - Possibility to Drop libquvi support
Possibility to Drop libquvi support
Status: RESOLVED OBSOLETE
Product: totem-pl-parser
Classification: Core
Component: General
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: totem-pl-parser-maint
totem-pl-parser-maint
Depends on:
Blocks:
 
 
Reported: 2016-01-15 06:18 UTC by darkxst
Modified: 2019-03-20 10:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
example output from youbtube-dl (35.02 KB, text/x-log)
2016-01-15 06:18 UTC, darkxst
Details

Description darkxst 2016-01-15 06:18:07 UTC
Created attachment 319076 [details]
example output from youbtube-dl

libquvi seems pretty dead upstream, hasnt seen any activity at all in over 2 years. Also totem-pl-parser is probably the only remaining active downstream.

Debian/Ubuntu are having to transition to the quvi libraries to quvi 0.9, to get recent grilo-plugins workings, but this is pretty much an abanded development version so far as I can tell.

It would be nice to replace quvi with some alternative, that is actively maintained. It would also get the quvi libraries off our default installs but that is probably a small point.

youtube-dl seems to fit this, its only a CLI python script, but mpv uses it, so should be available already in all distros. given totem-pl-parser is already using a wrapper script, shouldn't make a huge difference. Perhaps this would be an option?

From a quick look, its easy to get a json dump of all metadata for the URI

youtube-dl --print-json --skip-download <uri>

That seems like it would have most of the info totem-pl-parser requires. (it also support many other sites not just youtube)
Comment 1 Eddy Castillo 2016-03-20 17:35:00 UTC
Yes, please.

youtube-dl is very active as developers and users seem to like it, and it has support for big sites in other languages like korea (naver, badum), chinese (baidu, qq, weibo), japanese (nicovideo, fc2), russian (yandex, vk), spanish (el país, rtve), etc.. Also, other websites like The NYT, The Washington Post, Periscope, Twitter, Patreon, Twitch, which have became popular in the last 2 years that quvi developers have stopped updating.

Another advantage is that youtube-dl supports subtitles from these websites if available, not only youtube. Which is important for some websites that stream content with subtitles in different languages.

I don't know if this would be counted as a good feature, but youtube-dl can accept authentication on websites through the ~/.netrc file. Although these credentials could be saved in other places or requested and then passed directly to youtube-dl.

So, for me the change would be very welcomed, because it would mean that a) it would be useful not only on english speaking countries but also on the rest of the world, and b) it provides other features that can be taken advantage of.
Comment 2 Eddy Castillo 2016-07-31 23:31:50 UTC
I found Bug 749977 and a github repo with a python script for a older version of totem-pl-parser [1]. For testing I modified it a bit and it worked.

There will be websites that don't play because...
- "f4m" support (e.g. abcnews, Bug 728497).
- "rtmps" didn't play in totem (e.g. crunchyroll) but it did in mpv. IDK.
- missing authentication which results in 403 error (e.g. nicovideo).

Also, is Bug 765305 relevant for subtitles in totem?

So, thanks to Bastien it's possible to add a new script, in this case for youtube-dl. I think this should be the approach instead. Maybe the bug should be "Add youtube-dl support".

I lack the skills to do it. Just writing this comment for others to see.

[1] https://github.com/MathieuDuponchelle/totem-pl-parser/blob/youtube_dl/plparse/youtube_dl_url_resolver.py

[2] http://imgur.com/a/QVASs
Comment 3 GNOME Infrastructure Team 2019-03-20 10:40:03 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/totem-pl-parser/issues/17.