LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Help fixing clive (https://www.linuxquestions.org/questions/programming-9/help-fixing-clive-4175643556/)

lucmove 12-03-2018 10:35 AM

Help fixing clive
 
Clive is a media download script that runs on command line. It was working until two days ago. Today it isn't. I didn't install or update anything except some winetricks stuff. I get this error now:

Checking ... .. .. libquvi: error: /usr/share/libquvi-scripts/0.9/media/youtube.lua:121: no match: url_encoded_fmt_stream_map

Clive seems abandoned so I guess I'm on my own.

I had a look into it and couldn't fix it myself. Does anyone here want to try?

KenJackson 12-03-2018 11:54 AM

I installed "clive" from the Fedora Linux repo. No matter what command I try, I get this error:
Quote:

Checking ...error: `--category-http' is not a quvi command. See 'quvi help'.
I could probably track it down if I had too. But clive also installed quvi. You must have it installed too. Have you tried a more direct command like this?
Code:

quvi get https://www.youtube.com/watch?v=moZ4qoFIeUE
There's also a package named youtube-dl that seems to work the same way.

lucmove 12-03-2018 01:12 PM

Quote:

Originally Posted by KenJackson (Post 5932878)
Code:

quvi get https://www.youtube.com/watch?v=moZ4qoFIeUE
There's also a package named youtube-dl that seems to work the same way.

When I saw the error mention quvi, I checked it and... I didn't have it. It just wasn't installed. But I swear I have been using clive for many years. So I installed it, and clive still doesn't work.

I also have youtube-dl, but I hate it because it's too slow, it always performs some lengthy and annoying conversion that takes a long time while clive did none of that. And it's failing with one particular video I've been trying to get and I'd like to try clive on it. It seems that youtube-dl downloads it, but then some conversion fails and it produces a 48k file out of a 240Mb mp4 file that obviously does not work. I used the -k option to keep the mp4 file, and that file only plays for about a second.

Your example with pure quvi works for me, but not with the video I am trying to download. It produces that same error that clive was generating. Then I tried clive again, this time on your video and... it works! So there seems to be something wrong with the one video I was trying to download specifically. I've tried three times and it failed every time, so...

I guess I'll have to give up on it. Looks like there isn't anything wrong with clive yet. That's good news because I would hate to rely solely on youtube-dl.

Not sure if I should mark this as solved.

Thank you for your assistance.

ondoho 12-04-2018 02:17 AM

Quote:

Originally Posted by lucmove (Post 5932886)
I also have youtube-dl, but I hate it because it's too slow, it always performs some lengthy and annoying conversion that takes a long time while clive did none of that.

can be switched off.
read the documentation (mine has a nice long man page).

you really, really want to use youtube-dl for this (*).
it plugs straight into mpv, and mpv in turn can plug into smplayer.

(*) but it needs to be updated constantly because of race with youtube, so installing from repos is not so good. the downloadable standalone has a -U switch.

lucmove 12-05-2018 11:29 PM

Quote:

Originally Posted by ondoho (Post 5933070)
can be switched off.
read the documentation (mine has a nice long man page).

you really, really want to use youtube-dl for this (*).
it plugs straight into mpv, and mpv in turn can plug into smplayer.

Thanks. I didn't know about that. I don't know what "plugs into" really means, but I will find out. It's a looong read...

ondoho 12-06-2018 04:26 AM

Quote:

Originally Posted by lucmove (Post 5933886)
I don't know what "plugs into" really means

it means that mpv will automatically find youtube-dl in your PATH and use it, so you can pass youtube links directly to mpv, and it will play the content directly (also without any conversion i think).
Code:

mpv https://www.youtube.com/watch?v=SoMeViDeO
it's really fairly simple and intuitive, except for those whose fingers are atrophied into a constant mouse clicking claw.

lucmove 12-06-2018 06:12 AM

Quote:

Originally Posted by ondoho (Post 5933954)
it's really fairly simple and intuitive, except for those whose fingers are atrophied into a constant mouse clicking claw.

Intuitive? But this is Linux and Linux has never been very interested in being intuitive so I've come to no longer count on intuitive behavior after 12 years using it every day. It's like Murphy's Law: when it doesn't go wrong, THAT is where it went wrong. By being really intuitive, Linux becomes counter intuitive.


All times are GMT -5. The time now is 05:50 PM.